Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup
Package: kernel Version: 2.6.26-11 Tags: lenny I get an kernel oops while booting lenny after dist-upgrading from etch. The oops occurs when usually the VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (via-velocity) is getting configured. Its 100% reproducible, booting a fresh weekly build lenny installer result in the same crashes. ---8<--- [ 60.663481] BUG: unable to handle kernel NULL pointer dereference at [ 60.664009] IP: [<>] [ 60.664009] *pde = [ 60.664009] Oops: [#1] SMP [ 60.664009] Modules linked in: dm_crypt crypto_blkcipher dm_snapshot dm_mirror dm_log dm_mod via_rng rng_core loop evdev tpm_infineon tpm tpm_bios serio_raw snd_pcm sns [ 60.664009] [ 60.664009] Pid: 2062, comm: ifconfig Not tainted (2.6.26-1-686 #1) [ 60.664009] EIP: 0060:[<>] EFLAGS: 00010046 CPU: 0 [ 60.664009] EIP is at 0x0 [ 60.664009] EAX: 00a3 EBX: 3d20 ECX: 01bd7000 EDX: c0372940 [ 60.664009] ESI: c0372940 EDI: EBP: 00a3 ESP: f7b1fe50 [ 60.664009] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 60.664009] Process ifconfig (pid: 2062, ti=f7b1e000 task=f744f940 task.ti=f7b1e000) [ 60.664009] Stack: c0105f3a f7847000 f74019c0 f7847c10 80d0 c01042a7 f7847000 00fc [ 60.664009]1000 f74019c0 f7847c10 80d0 007b 007b 00d8 [ 60.664009]ff5c c0171d01 0060 00010216 f77963e0 f7b38100 f7afc000 [ 60.664009] Call Trace: [ 60.664009] [] do_IRQ+0x4d/0x63 [ 60.664009] [] common_interrupt+0x23/0x28 [ 60.664009] [] __kmalloc+0x9c/0xb2 [ 60.664009] [] velocity_init_td_ring+0x32/0xe1 [via_velocity] [ 60.664009] [] velocity_open+0x16d/0x20f [via_velocity] [ 60.664009] [] dev_open+0x64/0x95 [ 60.664009] [] dev_change_flags+0x92/0x13b [ 60.664009] [] devinet_ioctl+0x232/0x52c [ 60.664009] [] sock_ioctl+0x19f/0x1c1 [ 60.664009] [] sock_ioctl+0x0/0x1c1 [ 60.664009] [] vfs_ioctl+0x1c/0x5d [ 60.664009] [] do_vfs_ioctl+0x24a/0x261 [ 60.664009] [] sys_ioctl+0x41/0x5a [ 60.664009] [] sysenter_past_esp+0x78/0xb1 [ 60.664009] === [ 60.664009] Code: Bad EIP value. [ 60.664009] EIP: [<>] 0x0 SS:ESP 0068:f7b1fe50 [ 60.664009] Kernel panic - not syncing: Fatal exception in interrupt --->8--- -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#508527: 2.6.26-11 oops on initial NIC (via-velocity) setup
Thanks Moritz and "junk mail" for pointing out. I can confirm both ways do work. Taking via-velocity.* from git or 2.6.28 sources will fix this issue. I pulled the current version of via-velocity.* from git diffed and patched against linux-source-2.6.26. I did some basic testing like sending jumbo frames and putting some load to the NIC. It looks like the 2.6.28 kernel makes not use of the latest git version of via-velocity.* nevertheless it works too. Have fun Christoph -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
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 [ 64.020028] IP: [<>] [ 64.020028] *pde = [ 64.020028] Oops: [#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:[<>] EFLAGS: 00010046 CPU: 0 [ 64.020028] EIP is at 0x0 [ 64.020028] EAX: 00a3 EBX: 3d20 ECX: 01bd8000 EDX: c0371940 [ 64.020028] ESI: c0371940 EDI: EBP: 00a3 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 3218f227 c010434b 3218 f23e 01bd8000 [ 64.020028]004d 3218f227 3218f2bc 007b 007b 00d8 [ 64.020028]ff5c c01e42e1 0060 0246 03eb 00d7 b7fa2000 [ 64.020028] Call Trace: [ 64.020028] [] do_IRQ+0x4d/0x66 [ 64.020028] [] common_interrupt+0x23/0x28 [ 64.020028] [] delay_tsc+0x1d/0x50 [ 64.020028] [] __const_udelay+0x29/0x2a [ 64.020028] [] velocity_mii_read+0x1a/0x6b [via_velocity] [ 64.020028] [] check_connection_type+0x42/0x8e [via_velocity] [ 64.020028] [] velocity_get_settings+0x14/0x63 [via_velocity] [ 64.020028] [] port_cost+0x30/0xa2 [bridge] [ 64.020028] [] br_add_if+0xeb/0x23f [bridge] [ 64.020028] [] add_del_if+0x3e/0x58 [bridge] [ 64.020028] [] br_dev_ioctl+0x0/0x572 [bridge] [ 64.020028] [] br_dev_ioctl+0x566/0x572 [bridge] [ 64.020028] [] dput+0x16/0xdb [ 64.020028] [] __vma_link+0x51/0x5b [ 64.020028] [] vma_adjust+0x394/0x40e [ 64.020028] [] do_page_fault+0x0/0x637 [ 64.020028] [] mntput_no_expire+0x18/0xf3 [ 64.020028] [] __dev_get_by_name+0x60/0x6b [ 64.020028] [] br_dev_ioctl+0x0/0x572 [bridge] [ 64.020028] [] dev_ifsioc+0x262/0x27c [ 64.020028] [] dev_ioctl+0x4ed/0x586 [ 64.020028] [] skb_dequeue+0x42/0x48 [ 64.020028] [] sock_ioctl+0x19f/0x1c1 [ 64.020028] [] sock_ioctl+0x0/0x1c1 [ 64.020028] [] vfs_ioctl+0x1c/0x5f [ 64.020028] [] do_vfs_ioctl+0x23c/0x24e [ 64.020028] [] sys_ioctl+0x41/0x5b [ 64.020028] [] sysenter_past_esp+0x78/0xb1 [ 64.020028] === [ 64.020028] Code: Bad EIP value. [ 64.020028] EIP: [<>] 0x0 SS:ESP 0068:f7aafd5c [ 64.020028] Kernel panic - not syncing: Fatal exception in interrupt --->8--- Architecture: i686 Thanks in advance, Christoph -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org