netdev
[Top] [All Lists]

Re: PROBLEM: network driver causes kernel panic

To: jgarzik@xxxxxxxxx
Subject: Re: PROBLEM: network driver causes kernel panic
From: Mikael Pettersson <mikpe@xxxxxxxxx>
Date: Sat, 5 Jun 2004 14:15:04 +0200 (MEST)
Cc: dctucker@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 04 Jun 2004 16:47:13 -0400, Jeff Garzik wrote:
>Mikael Pettersson wrote:
>> This confirms that eth1 is a 21041 driven by the de2104x driver.
>> 
>> I've seen something very similar to Casey's problem, on a PowerMac
>> with a built-in 21041. Booting it with no network cable connected
>> causes a timer to hit a BUG() in de2104x about a second after
>> the device is ifup:d.
>> 
>> The 2.4 kernel's tulip driver works just fine.
>> 
>> I reported this last year, but nothing happened.
>
>
>Well, I'm very interested in debugging it.  There were a flurry of 
>de2104x patches in the past year, I thought that took care of the issues.
>
>Please email details to netdev@xxxxxxxxxxx and jgarzik@xxxxxxxxxxxx

Booting 2.6.7-rc1 with the de2104x driver built-in and eth0
disconnected from the LAN leads to the following oops about
a second after INIT tried to ifup eth0:

eth0: timeout expired stopping DMA
kernel BUG in de_set_media at drivers/net/tulip/de2104x.c:919!
<register dump omitted>
Call trace:
de21041_media_timer
run_timer_softirq
__do_softirq
do_softirq
timer_interrupt
ret_from_except
ppc6xx_idle
cpu_idle
rest_init
start_kernel

The PowerPC kernel decides to panic() after a brief delay
at this point, so I can't capture the oops text except by
typing it down manually. Besides, I doubt the ppc register
dump would be useful; we know which BUG() was hit.

/Mikael

<Prev in Thread] Current Thread [Next in Thread>