Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Hi
My e1000 driver is having troubles sending any packets, basically, the e1000 card never writes to my transmit descriptor's status field. I m wondering if there are any tools to help me debug this?
I''ve seen MIT's JOS lab mentioned a qemu flag that can do this, in this web page
Note that E1000_DEBUG only works in the 6.828 version of QEMU.
They patched their qemu...
If you want to get debugging information from qemu (which can be a very useful approach if you're stuck and don't mind reading qemu code), you'll have to patch it as well. hw/net/e1000.c already has quite a few DBGOUT() calls which write to stderr if they are enabled in debugflags, and you can still add more of them if the information you're looking for is missing.