Hi all,

while doing some tests with our new switches i discovered that rebooting
the switch sometimes causes a breakdown of the kernel on one of my test 
machines.

The environment is:
- nortel Baystack 5510-48T switch
- network card: Intel Pro 1000 Desktop GT 
- kernel 2.4.32 (from www.kernel.org)
- debian 3.1

After max of 3 reboots, the machine is frozen, showing the following message:
kernel BUG at e1000_hw.c:5101!
invalid operand: 0000
CPU:    0
EIP:    0010:[<d0836370>]       Not tainted
EFLAGS: 00010213
... 
(please excuse me for not posting the complete message, as i only have a 
hardcopy as
jpg of it. I will if it is necessary)

I looked at line 5101 and it shows up as 

            msec_delay(20);

after googling around i noticed that there seem to be some problems with that 
function
and that it was sometimes replaced by udelay. 
So i changed all occurences of msec_delay to udelay in the specific function 
(e1000_config_dsp_after_link_change), recompiled the module and everything works
as expected. I know this is some kind of dirty hack, so please if someone else 
can
look into it, would be great!

attached is a patch that just changes msec_delay to udelay.


regards,
            arne


[EMAIL PROTECTED]
www.uptime-isc.de 
Eiffestrasse 426
20537 Hamburg
Telefon  +49 40 254 137-00
Fax      +49 40 254 137-22

Attachment: e1000.patch
Description: e1000.patch

Reply via email to