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

Bug#510815: 2.6.26.11 oops on adding via-velocity NIC to bridge



Package: kernel
Version: 2.6.26-12
Tags: lenny

I am facing repeatable kernel oopses when adding a via-velocity driven NIC
to a bridge. The conditions are:

* bridge set up automatically by means of /etc/network/interfaces.
---8<---
auto br0
iface br0 inet dhcp
  bridge_ports eth0 eth1
  bridge_fd 4
  bridge_hello 1
  bridge_stp on
--->8---
* eth0 is VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (via-velocity)
* as soon as eth0 is enslaved the kernel oops
* the same issue occurs when setting up the bridge manually

I am using a custom kernel to circumvent bug #508527 (BTS Bug ID). The
via-velocity driver was diffed and patched against the current git 
version of via-velocity.*

The kernel config is stock lenny.

---8<---
[   63.811501] Bridge firewalling registered
[   63.876011] br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
[   64.020028] BUG: unable to handle kernel NULL pointer dereference at 00000000
[   64.020028] IP: [<00000000>]
[   64.020028] *pde = 00000000
[   64.020028] Oops: 0000 [#1] SMP
[   64.020028] Modules linked in: bridge dm_crypt crypto_blkcipher raid1 md_mod dm_snapshot dm_mirror dm_log dm_mod via_rng rng_core loop tpm_infineon tpm tpm_bios snd_pcm snd_timer snd soundcore snd_page_alloc pcspkr i2c_viapro i2c_core button shpchp via_agp pci_hotplug agpgart evdev ext3 jbd mbcache ide_disk ide_pci_generic usb_storage sd_mod via82cxxx ide_core ehci_hcd uhci_hcd ata_generic ahci libata scsi_mod via_rhine mii usbcore dock via_velocity crc_ccitt thermal processor fan thermal_sys
[   64.020028]
[   64.020028] Pid: 2136, comm: brctl Not tainted (2.6.26viagitpatched #1)
[   64.020028] EIP: 0060:[<00000000>] EFLAGS: 00010046 CPU: 0
[   64.020028] EIP is at 0x0
[   64.020028] EAX: 000000a3 EBX: 00003d20 ECX: 01bd8000 EDX: c0371940
[   64.020028] ESI: c0371940 EDI: 00000000 EBP: 000000a3 ESP: f7aafd5c
[   64.020028]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[   64.020028] Process brctl (pid: 2136, ti=f7aae000 task=f748f180 task.ti=f7aae000)
[   64.020028] Stack: c0105f8b 3218f23e 00000000 00000000 3218f227 c010434b 3218 f23e 01bd8000
[   64.020028]        0000004d 00000000 00000000 3218f227 3218f2bc 0000007b 0000 007b 000000d8
[   64.020028]        ffffff5c c01e42e1 00000060 00000246 000003eb 00000000 0000 00d7 b7fa2000
[   64.020028] Call Trace:
[   64.020028]  [<c0105f8b>] do_IRQ+0x4d/0x66
[   64.020028]  [<c010434b>] common_interrupt+0x23/0x28
[   64.020028]  [<c01e42e1>] delay_tsc+0x1d/0x50
[   64.020028]  [<c01e434f>] __const_udelay+0x29/0x2a
[   64.020028]  [<f884166f>] velocity_mii_read+0x1a/0x6b [via_velocity]
[   64.020028]  [<f8841702>] check_connection_type+0x42/0x8e [via_velocity]
[   64.020028]  [<f8841762>] velocity_get_settings+0x14/0x63 [via_velocity]
[   64.020028]  [<f8d05ef7>] port_cost+0x30/0xa2 [bridge]
[   64.020028]  [<f8d0619d>] br_add_if+0xeb/0x23f [bridge]
[   64.020028]  [<f8d06796>] add_del_if+0x3e/0x58 [bridge]
[   64.020028]  [<f8d067b0>] br_dev_ioctl+0x0/0x572 [bridge]
[   64.020028]  [<f8d06d16>] br_dev_ioctl+0x566/0x572 [bridge]
[   64.020028]  [<c0184e25>] dput+0x16/0xdb
[   64.020028]  [<c0167516>] __vma_link+0x51/0x5b
[   64.020028]  [<c0167ad2>] vma_adjust+0x394/0x40e
[   64.020028]  [<c0115949>] do_page_fault+0x0/0x637
[   64.020028]  [<c01896de>] mntput_no_expire+0x18/0xf3
[   64.020028]  [<c025b702>] __dev_get_by_name+0x60/0x6b
[   64.020028]  [<f8d067b0>] br_dev_ioctl+0x0/0x572 [bridge]
[   64.020028]  [<c025e0e8>] dev_ifsioc+0x262/0x27c
[   64.020028]  [<c025e5ef>] dev_ioctl+0x4ed/0x586
[   64.020028]  [<c02575b4>] skb_dequeue+0x42/0x48
[   64.020028]  [<c02524b7>] sock_ioctl+0x19f/0x1c1
[   64.020028]  [<c0252318>] sock_ioctl+0x0/0x1c1
[   64.020028]  [<c018066c>] vfs_ioctl+0x1c/0x5f
[   64.020028]  [<c01808eb>] do_vfs_ioctl+0x23c/0x24e
[   64.020028]  [<c018093e>] sys_ioctl+0x41/0x5b
[   64.020028]  [<c01038f7>] sysenter_past_esp+0x78/0xb1
[   64.020028]  =======================
[   64.020028] Code:  Bad EIP value.
[   64.020028] EIP: [<00000000>] 0x0 SS:ESP 0068:f7aafd5c
[   64.020028] Kernel panic - not syncing: Fatal exception in interrupt
--->8---

Architecture: i686

Thanks in advance,
  Christoph


Reply to: