Hello Ben, On Fri, 10 Jun 2011 03:29:19 +0100 Ben Hutchings <b...@decadent.org.uk> wrote:
> On Thu, 2011-06-09 at 19:44 +0200, Joerg wrote: > > Package: linux-2.6 > > Version: 2.6.39-2 > > Severity: normal > > > > > > Adding a tap-interface to a bridge works fine. But adding eth0 to the bridge > > brctl addif br0 eth0 > > causes the system to crash. > > Works for me. You must provide the 'oops' message. here is the data from kernel.log. Adding eth1 to the bridge worked fine, only eth0 causes this error (different cards). kernel:[ 0.877653] r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9000061a000, 00:1f:d0:8f:38:c7, XID 1c4000c0 IRQ 41 {info} kernel:[ 0.958228] 8139too 0000:03:06.0: eth1: RealTek RTL8139 at 0xffffc90000648000, 00:00:cb:62:d1:b4, IRQ 20 {info} kernel:[ 10.652325] r8169 0000:02:00.0: eth0: link down {info} kernel:[ 10.652333] r8169 0000:02:00.0: eth0: link down {info} kernel:[ 10.653002] ADDRCONF(NETDEV_UP): eth0: link is not ready {info} kernel:[ 12.308206] r8169 0000:02:00.0: eth0: link up {info} kernel:[ 12.308822] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready {info} ... kernel:[ 64.395835] Bridge firewalling registered {notice} kernel:[ 70.084207] device eth1 entered promiscuous mode {info} kernel:[ 83.316593] BUG: unable to handle kernel NULL pointer dereference at (null) {alert} kernel:[ 83.316754] IP: [< (null)>] (null) {alert} kernel:[ 83.316948] Oops: 0010 [#1] SMP {emerg} kernel:[ 83.317015] last sysfs file: /sys/devices/virtual/net/lo/operstate {emerg} kernel:[ 83.320277] Stack: {emerg} kernel:[ 83.320277] Call Trace: {emerg} kernel:[ 83.316350] device eth0 entered promiscuous mode {info} kernel:[ 83.316853] PGD 1266ef067 PUD 128457067 PMD 0 {warning} kernel:[ 83.317126] CPU 0 {warning} kernel:[ 83.317163] Modules linked in: bridge stp bnep rfcomm bluetooth rfkill powernow_k8 mperf cpufreq_conservative cpufreq_userspace cpufreq_stats uinput cpufreq_powersave ip6t_REJECT ip6t_LOG nf_conntrack_ipv6 nf_defrag_ipv6 ip6t_rt ip6table_filter ip6_tables ipt_REJECT ipt_LOG xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_comment iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss snd_hwdep ir_lirc_codec snd_mixer_oss lirc_dev snd_seq_midi snd_rawmidi snd_pcm snd_seq_midi_event ir_sony_decoder snd_seq snd_timer snd_seq_device stv0299 ir_jvc_decoder ir_rc6_decoder rc_hauppauge ir_rc5_decoder ir_nec_decoder snd budget_ci budget_core processor shpchp dvb_core saa7146 ttpci_eeprom rc_core thermal_sys pci_hotplug soundcore wmi i2c_piix4 edac_core snd_page_alloc i2c_core edac_mce_amd kvm_amd kvm psmouse evdev pcspkr serio_raw k8temp it87 hwmon_vid button loop autofs4 ext 3 jbd mbcache {warning} kernel: sg sd_mod sr_mod cdrom crc_t10dif ata_generic pata_atiixp ahci ohci_hcd 8139too libahci libata ehci_hcd scsi_mod usbcore 8139cp r8169 mii [last unloaded: scsi_wait_scan] {info} kernel:[ 83.319435] {warning} kernel:[ 83.319468] Pid: 2024, comm: brctl Not tainted 2.6.39-2-amd64 #1 Gigabyte Technology Co., Ltd. GA-MA78GM-S2H/GA-MA78GM-S2H {warning} kernel:[ 83.319675] RIP: 0010:[<0000000000000000>] [< (null)>] (null) {warning} kernel:[ 83.319811] RSP: 0018:ffff880126e3fd20 EFLAGS: 00010202 {warning} kernel:[ 83.319904] RAX: 00000000000005ae RBX: 00000000000005ae RCX: ffff880126f54748 {warning} kernel:[ 83.320277] RDX: ffffffffa0509900 RSI: ffffffffa0507471 RDI: ffff880126f54f78 {warning} kernel:[ 83.320277] RBP: ffff880126f54000 R08: 0000000000000000 R09: 0000000000000020 {warning} kernel:[ 83.320277] R10: ffff880126f54740 R11: ffff8801290481c0 R12: ffff880126f54740 {warning} kernel:[ 83.320277] R13: ffff8801265a8538 R14: 0000000000000000 R15: 0000000000000000 {warning} kernel:[ 83.320277] FS: 00007fa143ce5700(0000) GS:ffff88012fc00000(0000) knlGS:0000000000000000 {warning} kernel:[ 83.320277] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b {warning} kernel:[ 83.320277] CR2: 0000000000000000 CR3: 0000000125f19000 CR4: 00000000000006f0 {warning} kernel:[ 83.320277] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 {warning} kernel:[ 83.320277] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 {warning} kernel:[ 83.320277] Process brctl (pid: 2024, threadinfo ffff880126e3e000, task ffff880125fa6b20) {warning} kernel:[ 83.320277] ffffffffa04fd1e7 ffff880126f54000 ffff88012698a000 ffff880126f54740 {warning} kernel:[ 83.320277] ffffffff81279c96 ffff8801265a8400 ffffffffa04feaf3 ffff880126f54740 {warning} kernel:[ 83.320277] 00000000000089a2 ffffffff817fbf40 ffff880126e3fde8 0000000000000000 {warning} kernel:[ 83.320277] [<ffffffffa04fd1e7>] ? br_change_mtu+0x50/0x6f [bridge] {warning} kernel:[ 83.320277] [<ffffffff81279c96>] ? dev_set_mtu+0x35/0x5b {warning} kernel:[ 83.320277] [<ffffffffa04feaf3>] ? br_add_if+0x2fa/0x37b [bridge] {warning} kernel:[ 83.386073] Code: Bad RIP value. {emerg} kernel:[ 83.386073] RIP [< (null)>] (null) {alert} kernel:[ 83.386073] CR2: 0000000000000000 {emerg} kernel:[ 83.320277] [<ffffffff8127c96e>] ? dev_ioctl+0x564/0x643 {warning} kernel:[ 83.386073] [<ffffffff811063ca>] ? path_lookupat+0x31d/0x33f {warning} kernel:[ 83.386073] [<ffffffff812686b2>] ? sock_do_ioctl+0x2f/0x36 {warning} kernel:[ 83.386073] [<ffffffff81268ab9>] ? sock_ioctl+0x205/0x212 {warning} kernel:[ 83.386073] [<ffffffff8110899d>] ? do_vfs_ioctl+0x445/0x492 {warning} kernel:[ 83.386073] [<ffffffff8110c7e5>] ? dput+0xdc/0xe8 {warning} kernel:[ 83.386073] [<ffffffff81110fee>] ? mnt_get_count+0x3a/0x49 {warning} kernel:[ 83.386073] [<ffffffff81108a35>] ? sys_ioctl+0x4b/0x72 {warning} kernel:[ 83.386073] [<ffffffff810f9fa3>] ? filp_close+0x64/0x6c {warning} kernel:[ 83.386073] [<ffffffff81338dd2>] ? system_call_fastpath+0x16/0x1b {warning} kernel:[ 83.386073] RSP <ffff880126e3fd20> {warning} kernel:[ 83.386808] ---[ end trace d8a82ad4fd8c9235 ]--- {warning} grep eth /var/log/dmesg (this is not [ 0.916785] r8169 0000:02:00.0: eth0: Features changed: 0x00004980 -> 0x00004180 [ 0.917191] r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9000061a000, 00:1f:d0:8f:38:c7, XID 1c4000c0 IRQ 41 [ 0.965438] 8139too 0000:03:06.0: eth1: RealTek RTL8139 at 0xffffc90000648000, 00:00:cb:62:d1:b4, IRQ 20 [ 11.036317] r8169 0000:02:00.0: eth0: link down [ 11.036324] r8169 0000:02:00.0: eth0: link down [ 11.036938] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 12.671301] r8169 0000:02:00.0: eth0: link up [ 12.671865] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready lspci -v -s 02:00.0 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard Flags: bus master, fast devsel, latency 0, IRQ 41 I/O ports at de00 [size=256] Memory at fdaff000 (64-bit, prefetchable) [size=4K] Memory at fdae0000 (64-bit, prefetchable) [size=64K] [virtual] Expansion ROM at fda00000 [disabled] [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Count=2 Masked- Capabilities: [d0] Vital Product Data Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel Capabilities: [160] Device Serial Number 12-34-56-78-12-34-56-78 Kernel driver in use: r8169 > > > With the previous kernel (2.6.29-1) this was working well. > [...] > > I assume that's a typo for '2.6.39-1'. Yes cheers Joerg -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org