$ 0 0 default settings is internal 1Mhz (ATMEGA128A) what fusebits did you setup for ext 8Mhz ? (low = xx High = xx)