KVM serial i/o not outputting correct bits
Hi,
I am running windows XP, virtualised using KVM (with VT-d) and I am trying to upgrade the firmware on the radios we make. This uses a serial port and I can do a lot of interaction with the radio, like reading its configuration etc, but when I try to download a new firmware to it, it fails. After a lot of research into exactly what's happening we have discovered that it occurs when an ascii NULL is being sent. It comes out the other side of KVM as either 0xFF or 0x80 (depending on how you measure it). 0xFF came from a wire sniffer and 0x80 came from directing output to a file, but curiously, in the file, I sent 10 NULLs and only every second character came out as 0x80. It isn't the serial driver in the kernel as I can download firmware using wine (I just can't do anything else, like read the radio's config). Does anyone have any ideas on what might be happening?
Thanks,
Michael
|