[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#311357: via-rhine still not working...



Hi

I tried your latest patched 2.6.8 and 2.6.11 kernels on my home firewall.

(The home firewall was working fine with a 2.4 kernel last week, and
had been for many months. The hard disk failed, so I thought I would
test the new distribution and 2.6 kernel with the new disk.  Apart from
a replacement hda, the hardware is exactly the same. I am now *using*
raid !)

The via rhine driver in the new kernel is much better in that it actually
appears as an eth* device, and it works by itself.  As previously
reported, this was not the case with the 2.6 kernel in the 3.1r0
distribution.

BUT

When you have the via-rhine sharing an interrupt with another netcard
as I have, it dies horribly.  The via-rhine is my private network,
and the dec tulip the internet.

Both kernels fail, here I am running your 2.6.11
==========================
mark@wiggle:~$ uname -a
Linux wiggle 2.6.11-1-386 #1 Fri May 27 16:55:08 JST 2005 i586 GNU/Linux
mark@wiggle:~$
mark@wiggle:~$ apt-cache showpkg kernel-image-2.6.11-1-386
Package: kernel-image-2.6.11-1-386
Versions:
2.6.11-5.hls.2005052700(/var/lib/apt/lists/debian.vergenet.net_testing_kernel-image-2.6.11-i386_._Packages)(/var/lib/dpkg/status)
 
Reverse Depends:
Dependencies:
2.6.11-5.hls.2005052700 - initrd-tools (2 0.1.76) coreutils (16 (null)) fileutils (2 4.0) module-init-tools (2 0.9.13) lilo (18 19.1) grub (0 (null)) fdutils (0 (null)) kernel-doc-2.6.11 (16 (null)) kernel-source-2.6.11 (0 (null)) hotplug (3 0.0.20040105-1)
Provides:
2.6.11-5.hls.2005052700 - kernel-image-2.6 kernel-image
Reverse Provides:
mark@wiggle:~$
==========================


Here is output from lspci
==========================
mark@wiggle:~$ lspci -tv
-[00]-+-00.0  ALi Corporation M1541
      +-01.0-[01]----00.0  Cirrus Logic GD 5465 [Laguna]
      +-02.0  ALi Corporation USB 1.1 Controller
      +-07.0  ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
      +-08.0  Promise Technology, Inc. 20269
      +-09.0  VIA Technologies, Inc. VT86C100A [Rhine]
      +-0a.0  Digital Equipment Corporation DECchip 21041 [Tulip Pass 3]
      \-0f.0  ALi Corporation M5229 IDE
mark@wiggle:~$

mark@wiggle:~$ lspci -v
0000:00:00.0 Host bridge: ALi Corporation M1541 (rev 04)
        Subsystem: ALi Corporation ALI M1541 Aladdin V/V+ AGP System Controller
        Flags: bus master, slow devsel, latency 32
        Capabilities: <available only to root>
 
0000:00:01.0 PCI bridge: ALi Corporation M1541 PCI to AGP Controller (rev 04) (prog-if 00 [Normal decode])
        Flags: bus master, slow devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        Memory behind bridge: d0000000-d3ffffff
 
0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Flags: bus master, medium devsel, latency 32, IRQ 11
        Memory at d6004000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <available only to root>
 
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] (rev c3)
        Flags: bus master, medium devsel, latency 0
        Capabilities: <available only to root>
 
0000:00:08.0 Unknown mass storage controller: Promise Technology, Inc. 20269 (rev 02) (prog-if 85)
        Subsystem: Promise Technology, Inc. Ultra133TX2
        Flags: bus master, 66MHz, slow devsel, latency 32, IRQ 5
        I/O ports at 2c00 [size=8]
        I/O ports at 3000 [size=4]
        I/O ports at 3400 [size=8]
        I/O ports at 3800 [size=4]
        I/O ports at 2000 [size=16]
        Memory at d6000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <available only to root>
 
0000:00:09.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06)
        Subsystem: D-Link System Inc DFE-530TX rev A
        Flags: bus master, medium devsel, latency 32, IRQ 9
        I/O ports at 2400 [size=128]
        Memory at d6005000 (32-bit, non-prefetchable) [size=128]
 
0000:00:0a.0 Ethernet controller: Digital Equipment Corporation DECchip 21041 [Tulip Pass 3] (rev 21)
        Subsystem: D-Link System Inc DE-530+
        Flags: bus master, medium devsel, latency 32, IRQ 9
        I/O ports at 2800 [size=128]
        Memory at d6006000 (32-bit, non-prefetchable) [size=128]
 
0000:00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c2) (prog-if fa)
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at 3c00 [size=16]
        Capabilities: <available only to root>
 
0000:01:00.0 VGA compatible controller: Cirrus Logic GD 5465 [Laguna] (rev 03) (prog-if 00 [VGA])
        Subsystem: Cirrus Logic: Unknown device 0000
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
        Memory at d0000000 (32-bit, non-prefetchable) [size=32M]
        Memory at d3000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: <available only to root>
 

==========================

Here is a log for a controlled experiment: unload (with modprobe -r)
the via-rhine, unload the de2104x, load (with modprobe) the via-rhine,
load the de2104x, up eth0, (you can now do stuff on the private network),
up eth1, bang missing interrupt handler.

==========================
Jun 24 08:05:57 localhost kernel: via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
Jun 24 08:05:57 localhost kernel: PCI: Found IRQ 9 for device 0000:00:09.0
Jun 24 08:05:57 localhost kernel: eth0: VIA Rhine at 0x12400, 00:50:ba:e3:9b:8b, IRQ 9.
Jun 24 08:05:57 localhost kernel: eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 45e1.
Jun 24 08:06:05 localhost kernel: de2104x PCI Ethernet driver v0.7 (Mar 17, 2004)
Jun 24 08:06:05 localhost kernel: PCI: Found IRQ 9 for device 0000:00:0a.0
Jun 24 08:06:05 localhost kernel: de0: SROM leaf offset 30, default media 10baseT auto
Jun 24 08:06:05 localhost kernel: de0:   media block #0: 10baseT-FD
Jun 24 08:06:05 localhost kernel: de0:   media block #1: BNC
Jun 24 08:06:05 localhost kernel: de0:   media block #2: 10baseT-HD
Jun 24 08:06:05 localhost kernel: eth1: 21041 at 0xc890a000, 00:80:c8:5a:e6:f9, IRQ 9
Jun 24 08:06:14 localhost kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jun 24 08:06:24 localhost kernel: eth0: no IPv6 routers present
Jun 24 08:08:29 localhost kernel: eth1: enabling interface
Jun 24 08:08:29 localhost kernel: eth1: set link 10baseT auto
Jun 24 08:08:29 localhost kernel: eth1:    mode 0x7ffc0040, sia 0x10c4,0xffffef01,0xffffffff,0xffff0008
Jun 24 08:08:29 localhost kernel: eth1:    set mode 0x7ffc0040, set sia 0xef01,0xffff,0x8
Jun 24 08:08:29 localhost kernel: irq 9: nobody cared!
Jun 24 08:08:29 localhost kernel:  [__report_bad_irq+49/119] __report_bad_irq+0x31/0x77
Jun 24 08:08:29 localhost kernel:  [note_interrupt+76/113] note_interrupt+0x4c/0x71
Jun 24 08:08:29 localhost kernel:  [__do_IRQ+147/189] __do_IRQ+0x93/0xbd
Jun 24 08:08:29 localhost kernel:  [do_IRQ+25/36] do_IRQ+0x19/0x24
Jun 24 08:08:29 localhost kernel:  [common_interrupt+26/32] common_interrupt+0x1a/0x20
Jun 24 08:08:29 localhost kernel:  [__do_softirq+44/125] __do_softirq+0x2c/0x7d
Jun 24 08:08:29 localhost kernel:  [do_softirq+34/38] do_softirq+0x22/0x26
Jun 24 08:08:29 localhost kernel:  [do_IRQ+30/36] do_IRQ+0x1e/0x24
Jun 24 08:08:29 localhost kernel:  [common_interrupt+26/32] common_interrupt+0x1a/0x20
Jun 24 08:08:29 localhost kernel:  [pg0+141388238/1070076928] de_set_rx_mode+0x10/0x12 [de2104x]
Jun 24 08:08:29 localhost kernel:  [pg0+141390453/1070076928] de_init_hw+0x6e/0x75 [de2104x]
Jun 24 08:08:29 localhost kernel:  [pg0+141391148/1070076928] de_open+0x5f/0xe0 [de2104x]
Jun 24 08:08:29 localhost kernel:  [dev_open+48/102] dev_open+0x30/0x66
Jun 24 08:08:29 localhost kernel:  [dev_change_flags+74/238] dev_change_flags+0x4a/0xee
Jun 24 08:08:29 localhost kernel:  [devinet_ioctl+591/1268] devinet_ioctl+0x24f/0x4f4
Jun 24 08:08:29 localhost kernel:  [inet_ioctl+69/111] inet_ioctl+0x45/0x6f
Jun 24 08:08:29 localhost kernel:  [sock_ioctl+512/524] sock_ioctl+0x200/0x20c
Jun 24 08:08:29 localhost kernel:  [do_ioctl+38/79] do_ioctl+0x26/0x4f
Jun 24 08:08:29 localhost kernel:  [vfs_ioctl+364/377] vfs_ioctl+0x16c/0x179
Jun 24 08:08:29 localhost kernel:  [sys_ioctl+70/98] sys_ioctl+0x46/0x62
Jun 24 08:08:29 localhost kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
Jun 24 08:08:29 localhost kernel: handlers:
Jun 24 08:08:29 localhost kernel: [pg0+141644312/1070076928] (rhine_interrupt+0x0/0x1aa [via_rhine])
Jun 24 08:08:29 localhost kernel: Disabling IRQ #9
Jun 24 08:08:34 localhost kernel: eth1: link up, media 10baseT auto
Jun 24 08:08:40 localhost kernel: eth1: no IPv6 routers present
==========================

With the interrupt disabled, neither card works, despite being 'UP'.
This is repeatable, and the same happens at boot time.
Look forward to your comments.

Thanks

M.

-- 
Mark Ferguson

ClearSpeed Technology plc                      Tel: +44 117 3172000
3110 Great Western Court, Hunts Ground Road    Fax: +44 117 3172002
Stoke Gifford, BRISTOL BS34 8HP England        http://www.clearspeed.co.uk



Reply to: