Search Linux Wireless

Re: [ath9k-devel] [PATCH] ath9k: create a common debugfs_root for all device instances

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sujith írta:
> Gabor Juhos wrote:
>> The driver are trying to create an 'ath9k' directory in debugfs for each
>> device currently. If there are more than one device in the system, the
>> second try will always fail.
> 
> Looks good. Thanks.

Thank you for the review.

> 
> Also, reading 'rcstat' when the interface is down would cause a NULL
> pointer dereference. 

Indeed. :)

root@OpenWrt:/# cat /tmp/debug/ath9k/phy0/rcstat
CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc ==
c02886c8, ra == c0288674
Oops[#1]:
Cpu 0
$ 0   : 00000000 fffffff8 00000000 00000000
$ 4   : ffffffff 00000200 c02a0000 00000005
$ 8   : 00000000 80000008 ffffffff 00000000
$12   : 82d8d080 00000000 2ab935ac 00404995
$16   : 00000017 82f30ae0 82f30ae0 00000000
$20   : 00000000 7fc3d130 00001000 82d9bf18
$24   : 00000166 c028853c
$28   : 82d9a000 82d9bab0 00000003 c0288674
Hi    : 0000025b
Lo    : 000001df
epc   : c02886c8 0xc02886c8
    Not tainted
ra    : c0288674 0xc0288674
Status: 1000f403    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019374 (MIPS 24Kc)
Modules linked in: leds_gpio nf_nat_tftp nf_conntrack_tftp nf_nat_irc
nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUi
Process cat (pid: 852, threadinfo=82d9a000, task=82ddba18, tls=00000000)
Stack : 8027809c 00000000 c029b96c c029b974 83889f48 00000001 80278098 00000200
        00000000 2aaed0d8 20202052 61746520 20202020 20205375 63636573 730a0a00
        00000001 00000044 00000000 2aaed0d8 00000000 001200d2 81065c60 8284b2a8
        82897528 82897528 00000001 00000200 81065c60 00000000 800bee0c 800bee0c
        82897528 82897528 82e904b4 00000000 00000001 00000005 2aaed000 81065c60
        ...

> Will send out a patch fixing this.

Superb.

Gabor
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux