Modify

Opened 4 years ago

Last modified 3 years ago

#15738 new defect

ath10k firmware crash using monitor mode on horst

Reported by: mario_lopes Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

Hi.

After launch the following commands:

iw dev wlan0 interface add mon0 type monitor
horst -i mon0

horst stops working after few seconds and the dmesg output is as follows:

[ 2033.680000] device mon0 entered promiscuous mode
[ 2034.680000] ath10k: firmware crashed!
[ 2034.690000] ath10k: hardware name qca988x hw2.0 version 0x4100016c
[ 2034.690000] ath10k: firmware version: 999.999.0.636
[ 2034.700000] ath10k: target register Dump Location: 0x0040AC14
[ 2034.700000] ath10k: target Register Dump
[ 2034.710000] ath10k: [00]: 0x4100016C 0x00000000 0x009C4521 0x00000000
[ 2034.710000] ath10k: [04]: 0x009C4521 0x00060530 0x00000019 0x00955A00
[ 2034.720000] ath10k: [08]: 0x001E6635 0x00000000 0x0040CC94 0x00000020
[ 2034.730000] ath10k: [12]: 0x00000000 0x00000000 0x00958360 0x0095836B
[ 2034.730000] ath10k: [16]: 0x80991091 0x0040AD94 0x0042FF5C 0x00000000
[ 2034.740000] ath10k: [20]: 0x0000FFFF 0x00000000 0x0042FF5C 0x00000000
[ 2034.750000] ath10k: [24]: 0x809A0978 0x0040AD94 0x00439304 0x7998D436
[ 2034.750000] ath10k: [28]: 0x809AD1A2 0x0040ADE4 0x00439304 0x0043FD8C
[ 2034.760000] ath10k: [32]: 0x809B01DA 0x00000010 0x00410110 0x0041937C
[ 2034.770000] ath10k: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2034.770000] ath10k: [40]: 0x00000000 0x00000000 0x00000000 0x00412700
[ 2034.780000] ath10k: [44]: 0x00439C00 0x00000000 0x00000000 0x00400000
[ 2034.780000] ath10k: [48]: 0x809AE0B4 0x0040AE04 0x00400000 0x0043FD8C
[ 2034.790000] ath10k: [52]: 0x00000001 0x00000000 0x004231F0 0x00400000
[ 2034.800000] ath10k: [56]: 0x809AE17E 0x0040AE44 0x0040FE6C 0x0040D310
[ 2035.800000] ath10k: suspend timed out - target pause event never came
[ 2036.000000] ath10k: tx failed (-108). dropping packet.
[ 2036.320000] ieee80211 phy0: Hardware restart was requested
[ 2037.870000] ath10k: firmware crashed!
[ 2037.880000] ath10k: hardware name qca988x hw2.0 version 0x4100016c
[ 2037.880000] ath10k: firmware version: 999.999.0.636
[ 2037.890000] ath10k: target register Dump Location: 0x00401930
[ 2037.900000] ath10k: target Register Dump
[ 2037.900000] ath10k: [00]: 0x4100016C 0x00000000 0x00996814 0x00000000
[ 2037.910000] ath10k: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.910000] ath10k: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.920000] ath10k: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.920000] ath10k: [16]: 0x00000000 0x00000000 0x00000000 0x00996814
[ 2037.930000] ath10k: [20]: 0x00000000 0x00401930 0x00000000 0x00000000
[ 2037.940000] ath10k: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.940000] ath10k: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.950000] ath10k: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.960000] ath10k: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.960000] ath10k: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.970000] ath10k: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.980000] ath10k: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.980000] ath10k: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2037.990000] ath10k: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
[ 2040.870000] ath10k: Monitor vdev 1 stop failed: -11
[ 2045.870000] ath10k: Monitor_down sync failed, vdev 1: -110
[ 2048.870000] ath10k: Monitor vdev 1 start failed: ret -11
[ 2051.870000] ath10k: mac failed to set 2g txpower 30 (-11)
[ 2054.870000] ath10k: mac failed to set 5g txpower 30 (-11)
[ 2057.870000] ath10k: could not set wmm params -11
[ 2060.870000] ath10k: could not set wmm params -11
[ 2063.870000] ath10k: could not set wmm params -11
[ 2066.870000] ath10k: could not set wmm params -11
[ 2069.870000] ath10k: mac failed to set 2g txpower 30 (-11)
[ 2072.870000] ath10k: mac failed to set 5g txpower 30 (-11)
[ 2075.870000] ath10k: Failed to set PS Mode: 0 for VDEV: 0
[ 2075.870000] ath10k: could not setup powersave (-11)
[ 2075.880000] ath10k: Monitor mode already enabled
[ 2078.880000] ath10k: Monitor vdev 1 start failed: ret -11
[ 2078.880000] ath10k: Unable to start monitor mode
[ 2081.890000] ath10k: Failed to set beacon interval for vdev 0: -11
[ 2084.890000] ath10k: Failed to set CTS prot for vdev 0: -11
[ 2087.890000] ath10k: Failed to set erp slot for vdev 0: -11
[ 2090.890000] ath10k: Failed to set preamble for vdev 0: -11
[ 2090.890000] ath10k: device is wedged, will not restart
[ 2090.900000] device mon0 left promiscuous mode
[ 2090.900000] ath10k: could not start hw scan (-70)

I'm using r40585 on Gateworks GW2388-4 with Compex wle600v5-23, configured in AP-STA mode.

Thanks.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by kubrick

I have a similar issue on an Archer C7 v2.0, I even tried upgrading the firmware to 10.1.467.3-1.

The issue arise when I try connecting in WDS client mode to a WDS AP (same hardware, same openwrt version) on the 5GHz interface. WDS on the 2.4GHz interface works fine.

Wed Oct  1 12:16:41 2014 kern.info kernel: [  704.270000] wlan0: authenticate with e8:de:27:d6:af:98
Wed Oct  1 12:16:42 2014 kern.info kernel: [  705.280000] wlan0: send auth to e8:de:27:d6:af:98 (try 1/3)
Wed Oct  1 12:16:42 2014 kern.info kernel: [  705.280000] wlan0: authenticated
Wed Oct  1 12:16:42 2014 kern.info kernel: [  705.300000] wlan0: associate with e8:de:27:d6:af:98 (try 1/3)
Wed Oct  1 12:16:42 2014 kern.info kernel: [  705.300000] wlan0: RX AssocResp from e8:de:27:d6:af:98 (capab=0x11 status=0 aid=2)
Wed Oct  1 12:16:42 2014 kern.info kernel: [  705.310000] wlan0: associated
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.310000] ath10k: firmware crashed!
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.320000] ath10k: hardware name qca988x hw2.0 version 0x4100016c
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.320000] ath10k: firmware version: 10.1.467.3-1
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.330000] ath10k: target register Dump Location: 0x00401930
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.340000] ath10k: target Register Dump
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.340000] ath10k: [00]: 0x4100016C 0x00000000 0x009A123A 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.350000] ath10k: [04]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.350000] ath10k: [08]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.360000] ath10k: [12]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.370000] ath10k: [16]: 0x00000000 0x00000000 0x00000000 0x009A123A
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.370000] ath10k: [20]: 0x00000000 0x00401930 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.380000] ath10k: [24]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.390000] ath10k: [28]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.390000] ath10k: [32]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.400000] ath10k: [36]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.410000] ath10k: [40]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.410000] ath10k: [44]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.420000] ath10k: [48]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.430000] ath10k: [52]: 0x00000000 0x00000000 0x00000000 0x00000000
Wed Oct  1 12:16:42 2014 kern.err kernel: [  705.430000] ath10k: [56]: 0x00000000 0x00000000 0x00000000 0x00000000

comment:2 in reply to: ↑ description Changed 3 years ago by michal.kazior@…

Replying to mario_lopes:

Hi.

After launch the following commands:

iw dev wlan0 interface add mon0 type monitor
horst -i mon0

horst stops working after few seconds and the dmesg output is as follows:

[ 2033.680000] device mon0 entered promiscuous mode
[ 2034.680000] ath10k: firmware crashed!
[ 2034.690000] ath10k: hardware name qca988x hw2.0 version 0x4100016c
[ 2034.690000] ath10k: firmware version: 999.999.0.636

Firmware 999.999.0.636 has very poor monitor support and is known to
crash very often. It is advised to use 10.x firmware for
monitor/sniffing.

comment:3 Changed 3 years ago by anonymous

Hi,

Sorry, I should probably have opened a new bug as I'm using firmware 10.1.467.3-1.
F

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.