Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11373 closed defect (no_response)

kmod-rt2500-usb causes segfault and crash on ar71xx (TP-LINK MR3020) when bringin up interface

Reported by: janneoo25@… Owned by: developers
Priority: response-needed Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I have following hardware:

TP-Link MR3020
Linksys WUSB54G ver 4.

with latest trunk r31506 attempt to bring up rt2500 causes
segfault. System stays responsive, but hangs at next console command. Same configuration works on DIR-825.

[  587.140000] ------------[ cut here ]------------
[  587.140000] WARNING: at /builds/openwrt/slave/ar71xx/build/build_dir/linux-ar71xx_generic/compat-wireless-2012-04-17/net/mac80211/iface.c:162 ieee80211_wk_cancel_remain_on_channel+0x4fc/0x12a4 [mac80211]()
[  587.160000] Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack)
[  587.220000] Call Trace:
[  587.220000] [<8028547c>] dump_stack+0x8/0x34
[  587.230000] [<800715dc>] warn_slowpath_common+0x78/0xa4
[  587.230000] [<80071620>] warn_slowpath_null+0x18/0x24
[  587.240000] [<8148cc90>] ieee80211_wk_cancel_remain_on_channel+0x4fc/0x12a4 [mac80211]
[  587.240000]
[  587.250000] ---[ end trace e8dd21c79d9b3cbf ]---
ifconfig: SIOCSIFFLAGS: Invalid argument
[  587.470000] CPU 0 Unable to handle kernel paging request at virtual address 0000004c, epc == 801ee090, ra == 8149eab8
[  587.470000] Oops[#1]:
[  587.470000] Cpu 0
[  587.470000] $ 0   : 00000000 80350000 0000004c 00000001
[  587.470000] $ 4   : 00000000 00000001 81c7301c 0000000c
[  587.470000] $ 8   : 00000000 81c72af8 00000001 80300000
[  587.470000] $12   : 00000000 7fca3760 802967a0 00000000
[  587.470000] $16   : 815f0380 81c72a60 00000001 00000001
[  587.470000] $20   : 81c7313c 000000ff 0000000c 00000074
[  587.470000] $24   : 00000000 80094c44
[  587.470000] $28   : 81744000 81745c80 00000004 8149eab8
[  587.470000] Hi    : 00000000
[  587.470000] Lo    : 00000000
[  587.470000] epc   : 801ee090 __netif_schedule+0x14/0x84
[  587.470000]     Tainted: G        W  O
[  587.470000] ra    : 8149eab8 ieee80211_propagate_queue_wake+0x118/0x23c [mac80211]
[  587.470000] Status: 1000dc02    KERNEL EXL
[  587.470000] Cause : 00800008
[  587.470000] BadVA : 0000004c
[  587.470000] PrId  : 00019374 (MIPS 24Kc)
[  587.470000] Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack)
[  587.470000] Process ifconfig (pid: 1385, threadinfo=81744000, task=81f8c850, tls=77a08440)
[  587.470000] Stack : 00000428 81745cf8 81c73760 81fb74ac 815f0380 8149eab8 0000003e 0000003c
[  587.470000]         81745cf8 00000002 815f0380 00000002 00000001 81f84088 0000003c 00000000
[  587.470000]         00000000 7ff030a8 00000001 00000000 00000003 8149ebf8 00000022 0000fffe
[  587.470000]         81f84078 81f84088 81f84078 81fbb6bc 000001f4 81c73760 03005d08 00000002
[  587.470000]         81c738c8 81c73760 81f840b4 81fbb700 81c73760 00000000 814b41e8 00000000
[  587.470000]         ...
[  587.470000] Call Trace:
[  587.470000] [<801ee090>] __netif_schedule+0x14/0x84
[  587.470000] [<8149eab8>] ieee80211_propagate_queue_wake+0x118/0x23c [mac80211]
[  587.470000] [<8149ebf8>] ieee80211_wake_queue_by_reason+0x1c/0x3c [mac80211]
[  587.470000] [<81fbb6bc>] rt2x00queue_start_queue+0x90/0xa8 [rt2x00lib]
[  587.470000] [<81fbb700>] rt2x00queue_start_queues+0x2c/0x6c [rt2x00lib]
[  587.470000] [<81fb8b88>] rt2x00lib_enable_radio+0xa0/0xe8 [rt2x00lib]
[  587.470000] [<81fb95c4>] rt2x00lib_start+0xb0/0xec [rt2x00lib]
[  587.470000] [<8148ec68>] __ieee80211_recalc_idle+0x95c/0xf28 [mac80211]
[  587.470000] [<801f0a68>] __dev_open+0xcc/0x124
[  587.470000] [<801f0d18>] __dev_change_flags+0xc0/0x160
[  587.470000] [<801f0e60>] dev_change_flags+0x20/0x6c
[  587.470000] [<80243c68>] devinet_ioctl+0x2ac/0x664
[  587.470000] [<801dc2d8>] sock_ioctl+0x294/0x2f4
[  587.470000] [<800e9044>] do_vfs_ioctl+0x598/0x5ec
[  587.470000] [<800e90e8>] sys_ioctl+0x50/0x98
[  587.470000] [<80069e24>] stack_done+0x20/0x40
[  587.470000]
[  587.470000]
[  587.470000] Code: afb00010  24030001  2482004c <c0450000> 00a33025  e0460000  10c0fffc  00000000  30a20001
[  587.760000] ---[ end trace e8dd21c79d9b3cc0 ]---
Segmentation fault

/etc/config/wireless

config wifi-device  radio1
        option type     mac80211
        option channel  11
        option macaddr  00:12:17:7c:b5:0c
        option hwmode   11g

        # REMOVE THIS LINE TO ENABLE WIFI:
#        option disabled 1

config wifi-iface
        option device   radio1
        option network  lan
        option mode     ap
        option ssid     OpenWrt2
        option encryption none

Result will be same in STA mode.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by janneoo25@…

To be precise, DIR-825 works with Backfire 10.03.1-rc4

comment:2 Changed 6 years ago by nbd

  • Priority changed from normal to response-needed

please try latest trunk

comment:3 Changed 6 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.