#19337: current trunk - tplink 1043: ieee80211_tx_prepare_skb when connecting to
wifi
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  kernel     |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 # cat /var/sysinfo/model
 TP-Link TL-WR1043N/ND v1

 # uname -a
 Linux OpenWrt 3.18.9 #1 Sat Mar 28 04:37:21 UTC 2015 mips GNU/Linux

 version: r45064

 Steps to reproduce:
 1. Install r45064 on TL-WR1043N
 2. set wan to pppoe
 3. receive IPv6 subnet from provider
 4. connect to wifi

 {{{
 [   36.890000] CPU 0 Unable to handle kernel paging request at virtual
 address 00000000, epc == 00000000, ra == 80e243d8
 [   36.900000] Oops[#1]:
 [   36.900000] CPU: 0 PID: 774 Comm: odhcpd Not tainted 3.18.9 #1
 [   36.900000] task: 819cf070 ti: 80fa2000 task.ti: 80fa2000
 [   36.900000] $ 0   : 00000000 00000000 00000000 00000023
 [   36.900000] $ 4   : 80ed4b00 80f51240 80ed5338 80ed5338
 [   36.900000] $ 8   : 8164d238 0000000c 00000000 025c1618
 [   36.900000] $12   : 00000000 bd784ba7 00000000 00000000
 [   36.900000] $16   : 80fa3924 80d9b600 80ed4b00 80f50b60
 [   36.900000] $20   : 80f51240 00000000 80fa3924 00000000
 [   36.900000] $24   : 00000000 80c85a7c
 [   36.900000] $28   : 80fa2000 80fa38b8 000000f8 80e243d8
 [   36.900000] Hi    : 20e63337
 [   36.900000] Lo    : 6500f1fb
 [   36.900000] epc   : 00000000   (null)
 [   36.900000]     Not tainted
 [   36.900000] ra    : 80e243d8 ieee80211_tx_prepare_skb+0x69c/0x1270
 [mac80211]
 [   36.900000] Status: 1000dc03 KERNEL EXL IE
 [   36.900000] Cause : 10800008
 [   36.900000] BadVA : 00000000
 [   36.900000] PrId  : 00019374 (MIPS 24Kc)
 [   36.900000] Modules linked in: 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_REJECT 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_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_ftp nf_nat
 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache
 nf_conntrack_irc nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle
 iptable_filter ip_tables crc_ccitt compat ledtrig_usbdev ip6t_REJECT
 nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle
 ip6table_filter ip6_tables x_tables ipv6 arc4 crypto_blkcipher
 ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore
 nls_base usb_common
 [   36.900000] Process odhcpd (pid: 774, threadinfo=80fa2000,
 task=819cf070, tls=77a63440)
 [   36.900000] Stack : 01000000 80e23f5c 00000001 ffffffff 8164d238
 8164d238 00000000 80dd3b80
           00000802 00000001 80d9b600 80ed4b00 000000f8 80f50442 00000000
 00000000
           80d260e8 80380000 8037f150 80e244f0 000000c3 800a92a4 81bd0800
 00000001
           00000000 80d9ba80 00000000 80fa3924 80fa3924 00000000 80ed4b00
 80f50440
           00000000 00000000 00080000 00000000 80f50000 80f50440 80d260e8
 80f50000
           ...
 [   36.900000] Call Trace:
 [   36.900000] [<80e23f5c>] ieee80211_tx_prepare_skb+0x220/0x1270
 [mac80211]
 [   36.900000] [<80e244f0>] ieee80211_tx_prepare_skb+0x7b4/0x1270
 [mac80211]
 [   36.900000] [<800a92a4>] __nla_put+0x1c/0x3c
 [   36.900000] [<80e26238>] __ieee80211_subif_start_xmit+0x8c/0xa0
 [mac80211]
 [   36.900000] [<80e2625c>] ieee80211_subif_start_xmit+0x10/0x20
 [mac80211]
 [   36.900000] [<802d5ae4>] validate_xmit_skb.isra.112.part.113+0x28/0x2c0
 [   36.900000] [<80127274>] dev_hard_start_xmit+0x298/0x350
 [   36.900000] [<8025abf0>] sch_direct_xmit+0x84/0x1c4
 [   36.900000] [<801f3498>] netdev_pick_tx+0x48/0xd4
 [   36.900000] [<80093640>] __dev_queue_xmit+0x2a4/0x4b0
 [   36.900000] [<8008dde4>] __br_deliver+0x0/0x9c
 [   36.900000] [<800f2bc0>] br_dev_queue_push_xmit+0x1b8/0x1d0
 [   36.900000] [<80cc4704>] ip6t_do_table+0x534/0x704 [ip6_tables]
 [   36.900000] [<8008dde4>] __br_deliver+0x0/0x9c
 [   36.900000] [<80122894>] deliver_clone+0x50/0x6c
 [   36.900000] [<80c7219c>] nf_conntrack_in+0x1d4/0x6cc [nf_conntrack]
 [   36.900000] [<8008dde4>] __br_deliver+0x0/0x9c
 [   36.900000] [<801da738>] maybe_deliver+0x54/0x70
 [   36.900000] [<800f45b0>] br_flood+0x98/0x174
 [   36.900000] [<80cc4704>] ip6t_do_table+0x534/0x704 [ip6_tables]
 [   36.900000] [<800f46b0>] br_flood_deliver+0x24/0x30
 [   36.900000] [<800f3030>] br_dev_xmit+0x25c/0x280
 [   36.900000] [<80127274>] dev_hard_start_xmit+0x298/0x350
 [   36.900000] [<802d5ae4>] validate_xmit_skb.isra.112.part.113+0x28/0x2c0
 [   36.900000] [<800a3ad4>] __kmalloc_reserve.isra.38+0x40/0xa4
 [   36.900000] [<8009374c>] __dev_queue_xmit+0x3b0/0x4b0
 [   36.900000] [<801f9454>] nf_hook_slow+0x98/0x164
 [   36.900000] [<8014a524>] dst_output+0x0/0x1c
 [   36.900000] [<80c8597c>] ip6_fragment+0xd5c/0xe5c [ipv6]
 [   36.900000] [<80c81f98>] ac6_proc_exit+0x51c/0xa70 [ipv6]
 [   36.900000] [<80c85b94>] ip6_output+0x118/0x134 [ipv6]
 [   36.900000] [<80c83bb0>] ip6_push_pending_frames+0x4ec/0x5c0 [ipv6]
 [   36.900000] [<80ca04d4>] udplite6_proc_exit+0x17d0/0x1874 [ipv6]
 [   36.900000] [<8019b72c>] ip_generic_getfrag+0x0/0xb4
 [   36.900000] [<801d50b0>] lookup_fast+0x274/0x2e4
 [   36.900000] [<8015f1c0>] find_get_entry+0x24/0x9c
 [   36.900000] [<80209cd0>] pagecache_get_page+0x5c/0x244
 [   36.900000] [<80281278>] sock_sendmsg+0x70/0xa0
 [   36.900000] [<801d50b0>] lookup_fast+0x274/0x2e4
 [   36.900000] [<8015fb18>] find_lock_entry+0x30/0xb0
 [   36.900000] [<8013afb8>] do_last.isra.58+0x9dc/0xb5c
 [   36.900000] [<80083578>] ___sys_sendmsg.part.30+0x184/0x220
 [   36.900000] [<801550b8>] extract_buf+0xe0/0xfc
 [   36.900000] [<800b6c6c>] __sys_sendmsg+0x54/0x88
 [   36.900000] [<80062b5c>] handle_sys+0x11c/0x140
 [   36.900000]
 [   36.900000]
 Code: (Bad address in epc)
 [   36.900000]
 [   37.350000] ---[ end trace 8b2528775769c994 ]---
 [   37.360000] Kernel panic - not syncing: Fatal exception in interrupt
 [   37.360000] Rebooting in 3 seconds..
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19337>
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