Project

General

Profile

Actions

Bug #190

closed

batman-adv: kernel oops: Cannot find parent device on OpenWRT ar71xx kernel 3.14.x

Added by Paul B over 9 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Target version:
-
Start date:
08/09/2014
Due date:
% Done:

0%

Estimated time:

Description

batman-adv-devel from trunk commit:c7cc2d4 gives oops on startup in cannot find parent device under kernel 3.14.x on ar71xx platform running OpenWRT trunk r42082 on Netgear WNDR3700v4 router in source:hard-interface.c:92 batadv_hardif_disable_interface+0x4a0/0x7b0 [batman_adv]()

Here is the output from dmesg showing the oops:

[   19.340000] ------------[ cut here ]------------
[   19.340000] WARNING: CPU: 0 PID: 1129 at /mnt/hd/backup/openwrt-cc/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/batman-adv-devel/batman-adv-c7cc2d4/hard-interface.c:92 batadv_hardif_disable_interface+0x4a0/0x7b0 [batman_adv]()
[   19.360000] Cannot find parent device
[   19.360000] Modules linked in: batman_adv(+) xt_set ip_set_list_set ip_set_hash_netport ip_set_hash_netiface ip_set_hash_net ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink sr_mod cdrom ip6t_NPT ip6t_MASQUERADE ip6table_nat nf_nat_ipv6 nf_nat ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 msdos ipddp appletalk ip6_gre ip_gre gre ifb sit l2tp_netlink l2tp_core ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel tun af_key xfrm_user xfrm_ipcomp xfrm_algo vfat fat ntfs cifs nls_utf8 nls_iso8859_2 nls_iso8859_1 nls_cp437 nls_cp1250 ipv6 chainiv eseqiv crypto_wq algif_skcipher algif_hash af_alg sha256_generic sha1_generic krng rng md5 md4 hmac ecb des_generic cbc authenc aead arc4 crypto_blkcipher usb_storage dwc2_platform dwc2 ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug xfs libcrc32c ext4 jbd2 mbcache usbcore nls_base usb_common exportfs mii crc32c crypto_hash
[   19.480000] CPU: 0 PID: 1129 Comm: kmodloader Not tainted 3.14.16 #1
[   19.490000] Stack : 00000000 00000000 00000000 00000000 8040c1c6 00000038 87bdd4e8 803a7d88
[   19.490000]       80349e48 8039fecf 00000469 80403c1c 87bdd4e8 803a7d88 00000000 80410000
[   19.490000]       ffff7fff 802dc65c 00000003 80212838 0000005c 803a7d88 8034d010 871e9c5c
[   19.490000]       00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   19.490000]       00000000 00000000 00000000 00000000 00000000 00000000 00000000 871e9be8
[   19.490000]       ...
[   19.520000] Call Trace:
[   19.530000] [<80251274>] show_stack+0x48/0x70
[   19.530000] [<802eee68>] warn_slowpath_common+0x84/0xb4
[   19.540000] [<802eeec4>] warn_slowpath_fmt+0x2c/0x38
[   19.540000] [<868a9450>] batadv_hardif_disable_interface+0x4a0/0x7b0 [batman_adv]
[   19.550000] 
[   19.550000] ---[ end trace 6fd9e67053e2805a ]---
[   19.550000] batman_adv: B.A.T.M.A.N. advanced c7cc2d4 (compatibility version 15) loaded

Such behavior does not occur when running same revision of batman-adv-devel under kernel 3.10.x and OpenWRT trunk or Barrier Breaker RC2 release.

Please let me know if anything else is needed in helping resolve this issue. Thank you.

Actions #1

Updated by Paul B over 9 years ago

After speaking with d0tslash on #batman, he pointed out that the development version i used was older than what is being shipped with batman-adv 2014.0.2 which is under packages.

After using the latest master git commit 84f23eac from openmesh.org kernel module loads fine.

Will run more tests with the latest git...

Actions #2

Updated by Simon Wunderlich over 9 years ago

Please note that you should not just load, but also use the module. That disable_interface() call spitting the warning after batman-adv getting an interface turned off, so it has been enabled before - and after loading, no interfaces are enabled by default. :)

Thanks for reporting, we are looking forward to your findings!

Actions #3

Updated by Paul B over 9 years ago

Can we close this ticket, please? All is good now with the latest batman. Thank you.

Actions #4

Updated by Simon Wunderlich over 9 years ago

  • Status changed from New to Closed
Actions #5

Updated by Sven Eckelmann about 7 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF