Tulip 21040 hangs with ifconfig promisc

3 messages, 2 authors, 2004-03-17 · open the first message on its own page

Tulip 21040 hangs with ifconfig promisc

From: Krzysztof Halasa <khc@pm.waw.pl>
Date: 2004-03-14 17:02:53

Hi,

This is:
Linux version ~2.6.4 (Red Hat Linux 3.3.2-1)) SMP kernel, UNI CPU.
(as of Mar 12 in bkcvs/linux-2.5/).

Acorp VIA77 mobo - AMD-K6 3D 500 MHz + VIA MVP3 chipset.
SMC EtherPower^2 (dual DECchip 21040 + 21050 PCI-PCI bridge)
All running out of ramdisk.

Doing "ifconfig eth0 promisc" kills the ethernet. Interrupts are gone,
nothing in dmesg. -promisc nor ifconfig down/up doesn't fix it,
only driver rmmod/insmod does.

de2104x PCI Ethernet driver v0.6 (Sep 1, 2003)
eth0: 21040 at 0xca81e000, 00:00:c0:d8:66:e0, IRQ 11
eth1: 21040 at 0xca820000, 00:00:c0:16:1b:c0, IRQ 12
eth0: enabling interface
eth0: set link 10baseT-HD
eth0:    mode 0xfffc0040, sia 0xffffffc4,0xffff8f01,0xffffffff,0xffff0000
eth0:    set mode 0xfffc0000, set sia 0x8f01,0xffff,0x0
eth0: link up, media 10baseT-HD
device eth0 entered promiscuous mode

Any idea?
-- 
Krzysztof Halasa, B*FH

[PATCH] 2.6.x Re: Tulip 21040 hangs with ifconfig promisc

From: Krzysztof Halasa <khc@pm.waw.pl>
Date: 2004-03-17 16:29:34

Hi,

Bug (2.6.x Linux, DE21040 tulip):
Doing "ifconfig eth0 promisc" kills the ethernet. Interrupts are gone,
nothing in dmesg. -promisc nor ifconfig down/up doesn't fix it,
only driver rmmod/insmod does.
The attached patch fixes the problem: de->macmode variable,
meant to shadow MacMode (CSR6) register, was used inconsistently,
causing some updates to this register to be dropped.

2.4 kernel doesn't shadow this register at all, so I removed
shadowing from 2.6 as well.
-- 
Krzysztof Halasa, B*FH

[PATCH] old-tulip 2104x update

From: Jeff Garzik <hidden>
Date: 2004-03-17 19:36:01

Here's a patch versus 2.6 upstream, and also the complete driver if 
that's easier.

Anybody wanna give it a test?

And Rask, don't you have some other patches?

	Jeff


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help