I'm having trouble uploading to an Arduino Diecimila board from Linux (Debian Etch). I can upload to the board just fine from my Win XP machine at work, so I think that rules out a board fault.
I've worked my way through the troubleshooting guide and not found the solution, so I'm posting here as suggested.
The board is sat on a non-conductive surface and I'm sure I've got the right serial port (dmesg output indicates that this serial port is created when I plug in the board). Being a Diecimila I don't think I need to press reset to make the upload work (and it works without on the WinXP machine). The board serial number is Q2124 and it came from Cool Components in the UK.
Here's my verbose output for an attempt to upload the blink example:
Binary sketch size: 1098 bytes (of a 14336 byte maximum) hardware/tools/avrdude -Chardware/tools/avrdude.conf -v -v -v -v -pm168 -cstk500 v1 -P/dev/ttyUSB0 -b19200 -D -Uflash:w:/home/lwr20/arduino/arduino-0011/examples /Digital/Blink/applet/Blink.hex:i avrdude: Version 5.4-arduino, compiled on Oct 22 2007 at 13:15:12 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ System wide configuration file is "hardware/tools/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/ttyUSB0 Using Programmer : stk500v1 Overriding Baud Rate : 19200 avrdude: Send: 0   avrdude: Send: 0   avrdude: Send: 0   avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding avrdude: Send: Q   avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding
After I click upload, there is a pause (while the program compiles), then I see the L led flash once, then the Tx and Rx leds flash 3 times, pause, then the Rx flashes once more. The Tx and Rx flashes seem to correspond with the sending of 0   and the final Rx flash seems to correspond to the Q  
Speculating as to what might be wrong: it seems we have a communication problem between the Arduino IDE and the board. Perhaps the baud rate is wrong (but I see that 19200 is the norm for a Diecimila). Perhaps my serial drivers are broken and we can send to the port but not receive from it?
I think I'll try flashing the board at work with a program which sends and receives data over the serial port and see if I can see the data going both ways on the linux machine. Unless someone has a better idea?
Thanks in advance,
Additional after reading more forum posts: I'm running it as root to avoid any problems with permissions. The arduino IDE is 0011 alpha. There is nothing else plugged into the board apart from the USB cable.