Re: state updates on porting of dde linux26
On 10-6-7 上午5:18, Thomas Schwinge wrote: > Hello! > > On Wed, May 12, 2010 at 05:37:45PM +0800, Da Zheng wrote: >> e100 doesn't work in qemu. Maybe I can find some hints by debugging it. > > I have a e100 card that needs a binary firmware blob loaded before it is > usable: > > 00:0c.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro > 100 (rev 08) > > I don't really think that's the issue with QEMU, though. The problem of e100 has been fixed. Zheng Da
Re: state updates on porting of dde linux26
Hello! On Wed, May 12, 2010 at 05:37:45PM +0800, Da Zheng wrote: > e100 doesn't work in qemu. Maybe I can find some hints by debugging it. I have a e100 card that needs a binary firmware blob loaded before it is usable: 00:0c.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08) I don't really think that's the issue with QEMU, though. Regards, Thomas signature.asc Description: Digital signature
Re: state updates on porting of dde linux26
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:/~hurd-web/user/zhengda/ Zheng Da
Re: state updates on porting of dde linux26
On 10-5-11 下午2:18, Samuel Thibault wrote: > Da Zheng, le Tue 11 May 2010 09:35:34 +0800, a écrit : >> 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. > > Yay \o/ Fortunately, e100 doesn't work in qemu. Maybe I can find some hints by debugging it. Zheng Da
Re: state updates on porting of dde linux26
On 10-5-12 上午6:14, Samuel Thibault wrote: > Hello, > > I do not have the time to try it myself, just commenting: > > Da Zheng, le Tue 11 May 2010 09:35:34 +0800, a écrit : >> Linux drivers use jiffies to measure time. Unfortunately, Mach doesn't >> provide it > > Mmm, but Mach's time device provides a read-only page where the current > time is available. Isn't that enough? Mach provides the time in seconds and microseconds, but the Linux drivers need jiffies. DDE has to convert microseconds into jiffies so `jiffies' in the porting of DDE is defined as a macro instead of a variable. It sometimes causes some troubles because some Linux structures have a field named jiffies. Zheng Da
Re: state updates on porting of dde linux26
Hello, I do not have the time to try it myself, just commenting: Da Zheng, le Tue 11 May 2010 09:35:34 +0800, a écrit : > Linux drivers use jiffies to measure time. Unfortunately, Mach doesn't > provide it Mmm, but Mach's time device provides a read-only page where the current time is available. Isn't that enough? Samuel
Re: state updates on porting of dde linux26
Da Zheng, le Tue 11 May 2010 09:35:34 +0800, a écrit : > 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. Yay \o/ Samuel
state updates on porting of dde linux26
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. 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:/~hurd-web/user/zhengda/ Best regards, Zheng Da