#18248: Open vSwitch module could not be loaded
---------------------------------------+------------------------
 Reporter:  anonymous                  |      Owner:  developers
     Type:  defect                     |     Status:  new
 Priority:  normal                     |  Milestone:
Component:  packages                   |    Version:  Trunk
 Keywords:  open vswitch, openvswitch  |
---------------------------------------+------------------------
 I built the Open vSwitch package (including the kernel module). Although I
 managed to make it run on a device (Netgear WNDR3700v2), I noticed that it
 does not load the module by default. I manually tried to insert the
 module, but it failed (Segmentation Fault on the console after "insmod
 openvswitch").

 Here is part of dmesg:

 [  489.290000] openvswitch: Open vSwitch switching datapath 2.1.2, built
 Oct 28 2014 20:31:18
 [  489.300000] CPU 0 Unable to handle kernel paging request at virtual
 address 65000100, epc == 82f1a698, ra == 82f1a668
 [  489.310000] Oops[#1]:
 [  489.310000] CPU: 0 PID: 1470 Comm: insmod Not tainted 3.10.49 #9
 [  489.310000] task: 82e90000 ti: 82eea000 task.ti: 82eea000
 [  489.310000] $ 0   : 00000000 00000000 65000000 ffff7fff
 [  489.310000] $ 4   : 82ee9e00 82f20000 83b4d000 80394b50
 [  489.310000] $ 8   : 00000000 80064910 82ed5400 82cf88c0
 [  489.310000] $12   : 00000014 00000001 00000000 00000001
 [  489.310000] $16   : 82ee9e00 00000006 80323cd8 00000000
 [  489.310000] $20   : 8032a4f4 80323d40 82f1e060 00000004
 [  489.310000] $24   : 00000000 800f9b44
 [  489.310000] $28   : 82eea000 82eebd40 00000124 82f1a668
 [  489.310000] Hi    : 00000007
 [  489.310000] Lo    : 00000000
 [  489.310000] epc   : 82f1a698 ovs_netdev_detach_dev+0x48/0x90
 [openvswitch]
 [  489.310000]     Not tainted
 [  489.310000] ra    : 82f1a668 ovs_netdev_detach_dev+0x18/0x90
 [openvswitch]
 [  489.310000] Status: 1000fc03 KERNEL EXL IE
 [  489.310000] Cause : 00800008
 [  489.310000] BadVA : 65000100
 [  489.310000] PrId  : 00019374 (MIPS 24Kc)
 [  489.310000] Modules linked in: openvswitch(+) ath9k ath9k_common pppoe
 ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4
 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211
 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit
 xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc
 nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv6 nf_defrag_ipv4
 nf_conntrack_irc nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle
 iptable_filter ipt_REJECT ip_tables crc_ccitt compat ledtrig_usbdev
 ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables
 x_tables ip_gre ip_tunnel tun libcrc32c gre ipv6 arc4 crypto_blkcipher
 ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base
 usb_common crc32c crypto_hash
 [  489.310000] Process insmod (pid: 1470, threadinfo=82eea000,
 task=82e90000, tls=77029440)
 [  489.310000] Stack : 82f1de68 00000004 82f1ddc8 82f1cd90 82f1e060
 83b4d000 00000006 82f135a8
 [  489.310000]    00000000 80390000 ffff7fff 80202d14 00000000 82f1e020
 83b4d000 80285bac
 [  489.310000]    82f1ddc8 8008f0bc 00000000 82f20000 80390000 ffffffef
 00000000 00000000
 [  489.310000]    82f20000 82f20000 82f1cd90 82ee0198 8108217c 82f1d49c
 82f1e060 ffffffff
 [  489.310000]    00000000 82ee0068 82eebee0 80390000 00000000 80330000
 80330000 00000000
 [  489.310000]    ...
 [  489.310000] Call Trace:
 [  489.310000] [<82f1a698>] ovs_netdev_detach_dev+0x48/0x90 [openvswitch]
 [  489.310000] [<82f135a8>] cleanup_module+0xc4/0x12c [openvswitch]
 [  489.310000]
 [  489.310000]
 [  489.310000] Code: 8e020098  3c03ffff  24637fff <8c440100> 00831824
 ac430100  0c06dd1e  8e040098  8e110098
 [  489.550000] ---[ end trace e14ff4cb50a82de9 ]---


 I should note that I am using Open vSwitch version 2.1.2, but it does not
 seems to relate to that. I tried to run klogd and syslogd, but could not
 get any further information out of those logs.

 By looking at dmesg, it seems that the problem is with function
 "ovs_netdev_detach_dev" in datapath/linux/vport-netdev.c. This function is
 probably called from module clean up.

--
Ticket URL: <https://dev.openwrt.org/ticket/18248>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to