[c_lug] Debian 3.1 on a Power Macintosh 5500/225

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2005 : Group Archive : Group : All Groups

From: Glen Stewart <root@...>
Date: Sun, 1 May 2005 17:42:24 -0400
Just to document it somewhere...

The All-in-One PowerMac 5500/225 has a bug in the Tulip ethernet driver in the 
Linux 2.6 kernel from at least version 2.6.7 through 2.6.11 (which I tested).  

Use the 2.4.x series kernel instead, if you install on this machine.

Author: Mikael Pettersson
Date: 2004-06-05 08:15 -400
To: jgarzik
CC: dctucker, linux-kernel, netdev
Subject: Re: PROBLEM: network driver causes kernel panic
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@??? and jgarzik@???...

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
-- 
Associate.com - THE Place to Associate!                   http://associate.com
Is Your E-mail Group Here?  See http://associate.com/faq/your-group-here.shtml