Unexpected CERR/LCAR from Ethernet controller
Posted: Mon Jan 02, 2012 11:20 pm
Hi,
I am working on a driver for the Am79C970 Ethernet controller in VirtualBox. I have managed to receive interrupts for the completion of initialization and for transmit, but the transmits always come back with errors. The status register has CERR (Collision Error) set and the transmit descriptor has LCAR (Loss of Carrier) set. To me this sounds like the controller believes something has gone wrong with the physical link, but this is virtual hardware so that seems dubious. Any suggestions on what might be going wrong?
Thanks, Ryan
I am working on a driver for the Am79C970 Ethernet controller in VirtualBox. I have managed to receive interrupts for the completion of initialization and for transmit, but the transmits always come back with errors. The status register has CERR (Collision Error) set and the transmit descriptor has LCAR (Loss of Carrier) set. To me this sounds like the controller believes something has gone wrong with the physical link, but this is virtual hardware so that seems dubious. Any suggestions on what might be going wrong?
Thanks, Ryan