e1000 driver bug?

Ulisses Furquim <[email protected]>
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
Hi,

I'm experiencing some problems when using etherboot's 5.4.0 e1000
driver together with grub 0.97. I made some changes in grub's code to
make pxegrub work with my e1000-82540em card.  I'm having problems
when grub tries to get an IP using DHCP. I enabled debug and I also
added some more printfs and could see the e1000_poll() function says
it has arrived a frame 346 bytes long (containing the DHCP OFFER reply
from my DHCP server), but ethereal tells me this frame has 342 bytes
only. Besides, that frame seems to be shifted, because the frame type
comes zeroed and doesn't match a frame type of an IP packet (0x0800).
What is even curious is that after some time retrying, a frame
containing exactly the same DHCP OFFER from my DHCP server is sent and
everything just works (e1000's driver still reports the length of this
frame is 346 bytes!!!). Does anyone have a clue?

Best,

-- Ulisses

PS: I'm sending the log of what ethereal captured and I can post my
patch for grub 0.97 if necessary, but it seems the bug is in e1000's
driver.
log-eth1-2.gz (application/x-gzip, 111 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.