Its an invalid device signature message, which mostly caused by the micro is unknown by avrdude.
As gen6 has independent ISP connection (MOSI/MISO/SCK), i would say that your atmega644 shall be replaced.
As gen6 has independent ISP connection (MOSI/MISO/SCK), i would say that your atmega644 shall be replaced.