[ovs-discuss] [Open vSwitch 0.99.2] Kernel panic with eth0 in the bridge

Amin Tootoonchian amin at cs.toronto.edu
Sun Mar 28 06:08:28 UTC 2010


Hi,

openvswitch_mod kernel module causes a kernel panic when it adds eth0
to the bridge. It seems to run fine with all the interfaces except
eth0 (which is connected to a switch). I verified that I have no
problems with Linux bridging with the same set of interfaces. Do you
know what is wrong?


Thanks,
Amin

== OS
Debian Lenny 2.6.26-2-openvz-686 (32 bit)

== ovs.conf
bridge.mybr.port=eth0
bridge.mybr.port=veth31100.0
bridge.mybr.port=veth31101.0

== kernel panic
Mar 28 01:32:59|00001|cfg|INFO|using "ovs.conf" as configuration file,
".ovs.conf.~lock~" as lock file
[  205.739294] device mybr entered promiscuous mode
Mar 28 01:32:59|00002|ofproto|INFO|using datapat[  205.799984] device
eth0 entered promiscuous mode
h ID 002320e2fe55
Mar 28 01:32:59|00003|bridge|[  205.828857] device veth31100.0 entered
promiscuous mode
[  205.839293] device veth31101.0 entered promiscuous mode

Mar 28 01:32:59|00004|bridge|INFO|created port eth0 on bridge mybr
Mar 28 01:32:59|00005|bridge|INFO|created port veth31100.0 on bridge mybr
Mar 28 01:32:59|00006|bridge|INFO|created port veth31101.0 on bridge mybr
Mar 28 01:32:59|00007|ofproto|INFO|datapath ID changed to 001851e34ae8
[  205.949500] BUG: unable to handle kernel NULL pointer dereference at 00000000
[  205.967857] IP: [<00000000>]
[  205.980949] *pdpt = 0000000026074001 *pde = 0000000000000000
[  205.996952] Oops: 0000 [#1] SMP
[  205.999713] Modules linked in: brcompat_mod openvswitch_mod
vzethdev vznetdev simfs vzrst vzcpt tun vzdquota vzmon ipv6 vzdev
xt_tcpudp xt_length ipt_ttl xt_tcpmss xt_TCPMSS iptable_mangle
iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT ip_tables
x_tables nfs lockd nfs_acl sunrpc psmouse ipmi_si hpilo pcspkr
ipmi_msghandler serio_raw container shpchp button pci_hotplug evdev
ext3 jbd mbcache sg sr_mod cdrom sd_mod usbhid hid ff_memless ata_piix
ata_generic libata scsi_mod dock ide_pci_generic uhci_hcd ehci_hcd
ide_core usbcore tg3 e1000e thermal processor fan thermal_sys [last
unloaded: scsi_wait_scan]
[  206.191244]
[  206.191244] Pid: 3733, comm: ovs-vswitchd Not tainted
(2.6.26-2-openvz-686 #1 036test001)
[  206.191244] EIP: 0060:[<00000000>] EFLAGS: 00010297 CPU: 3
[  206.191244] EIP is at 0x0
[  206.191244] EAX: e7935b40 EBX: e5036800 ECX: 4baeea0b EDX: e7992a40
[  206.191244] ESI: e7935b40 EDI: c03888e8 EBP: e5036800 ESP: e58bbe40
[  206.191244]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  206.191244] Process ovs-vswitchd (pid: 3733, veid: 0, ti=e58ba000
task=e752eb50 task.ti=e58ba000)
[  206.191244] Stack: c0260ae6 e5036800 00000003 e7935b40 e6000008
c0263244 c0166cdd 0000003c
[  206.191244]        e7935b40 000005dc e6000008 e95fd1ce 0000002a
e50a4000 e58bbeec 00000002
[  206.191244]        e6925b00 e6001aa0 e95fd340 e58bbeec e6925b00
e50a4000 e5409fa0 00000282
[  206.191244]  Call Trace:
[  206.191244]  [<c0260ae6>] dev_hard_start_xmit+0x1fd/0x286
[  206.191244]  [<c0263244>] dev_queue_xmit+0x211/0x2c5
[  206.191244]  [<c0166cdd>] __alloc_pages_internal+0x3ac/0x3c7
[  206.191244]  [<e95fd1ce>] dp_xmit_skb+0x79/0x82 [openvswitch_mod]
[  206.191244]  [<e95fd340>] execute_actions+0x128/0x6fc [openvswitch_mod]
[  206.191244]  [<c025b852>] __alloc_skb+0x5c/0x120
[  206.191244]  [<e95ff376>] openvswitch_ioctl+0xd08/0xd63 [openvswitch_mod]
[  206.191244]  [<c011b424>] do_page_fault+0x515/0x8cd
[  206.191244]  [<c02c5cfa>] error_code+0x72/0x78
[  206.191244]  [<e95fe66e>] openvswitch_ioctl+0x0/0xd63 [openvswitch_mod]
[  206.191244]  [<c018ecf8>] vfs_ioctl+0x1c/0x5d
[  206.191244]  [<c018ef83>] do_vfs_ioctl+0x24a/0x261
[  206.191244]  [<c01e2d5c>] __copy_to_user_ll+0x21/0x2c
[  206.191244]  [<c018efc6>] sys_ioctl+0x2c/0x42
[  206.191244]  [<c0108976>] syscall_call+0x7/0xb
[  206.191244]  [<c02c0000>] init_amd+0x11c/0x66e
[  206.191244]  =======================
[  206.191244] Code:  Bad EIP value.
[  206.191244] EIP: [<00000000>] 0x0 SS:ESP 0068:e58bbe40

Message from syslogd at xyz at Mar 28 01:33[  207.656913] Kernel panic -
not syncing: Fatal exception in interrupt




More information about the discuss mailing list