Programmer stopped responding

Hi, I'm running Debian Etch and am trying to program an Arduino Diecimila board. I get: avrdude: stk500_recv(): programmer is not responding when I try to upload a new program. Everything was working correctly before this happened and I had just uploaded a servo control program and connected the board to a servo motor, disconnecting the USB cable for a moment while doing this. The previous program I uploaded is still running and responds to serial commands correctly so the microcontroller seems to be working.

When I try to reprogram the board, the pin 13 led flashes once, the TX/RX leds blink three times, and then I get the above error. I've tried unplugging and replugging the board, rebooting the computer, etc.. without any luck.

UPDATE: I can reprogram the board under Windows without any problem, so it is probably an FTDI driver issue, but I would really like to be able to use it under Linux.

UPDATE2: Okay, it started working again on Linux after another reboot. I'm guessing that this is due to some serial port parameter not being properly initialized when programming.

UPDATE3: It stopped working again. Restoring the serial port settings with stty did not help. It will probably work again on reboot, and then fail soon after.