Can't load to new UNO ATmega328

I just purchased an Arduino board from Ebay. It's a UNO R3 ATmega328P

I've tried several types of boards from the IDE, including UNO and Duemilanove with 328 processor.
I have 2 led's lite solid.

I get an error message when I try to download my sketch. (just using Blink)

The message is ....ioctl("TIOCMGET"): Inappropriate ioctl for device
Problem uploading to board.

Anybody have any ideas? I'm a newbie. Would appreciate any help or direction.

Thanks.

Being a new board, it should be running "blink LED" by default. Is it?
How are are you powering the board (USB)?

From e-bay, who can even assume either chip is properly programmed?
Which 2 LEDs are on? Power & L?

Blink wasn't working when I plugged it in. I'm powering off the USB and both LED's light when I plug in the cable. Power and L.

I think you have a board with unprogrammed chips.
Power light will be on all the time.
L will come on when D13 floats high and the op amp drives the LED.

Can you provide the url from Ebay that describes the board that you bought ?