Arduino Mini 04 with ATmega328

Does it think the mini is has a ATmega 168?

That isn't the problem. AVRDUDE isn't reaching the microcontroller. You could have a Motorola 68000 processor on the other end and the symptom would be the same.

avrdude: ser_open(): setting dtr

Looks like AVRDUDE is getting stuck in the kernel driver. I can think of two things to try...

  1. Ensure you are using the latest drivers for the "mini USB extension adapter"

  2. Different USB cable