On 10-5-11 上午9:35, Da Zheng wrote:
Hello,
I'm testing the porting of DDE Linux26 with different types of NIC drivers on VMWare and qemu. I tested pcnet32, ne2k-pci, rtl8139, e1000. pcnet32 works in both VMWare and qemu. Only qemu emulates ne2k-pci and rtl8139 cards and both DDE drivers work well in qemu.
The odd thing occurs to e1000. VMWare and qemu both emulate e1000. DDE e1000 doesn't work in VMWare but work quite well in qemu. I don't know why.
The bug in e1000 is finally fixed. It should be caused by the problem cache coherency. After I made the DMA buffer cacheline-aligned, e1000 driver works well in VMWare.
All code (DDE Linux26 and modified gnumach) is in the dde branch of incubator and in master-user_level_drivers branch of the gnumach repository. I appreciate if someone can help me test the drivers in a real machine or test other NIC drivers. Instructions to build and run drivers can be found at http://www.bddebian.com:8888/~hurd-web/user/zhengda/
Zheng Da