NetBSD-Bugs archive

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

Re: port-i386/35045: Netbsd 4.99.3 panic on ath0 mediaopt change



The following reply was made to PR port-i386/35045; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-i386/35045: Netbsd 4.99.3 panic on ath0 mediaopt change
Date: Sun, 4 Apr 2021 12:27:29 +0300

 This bug is still present in -current as of source date
 2021.04.03.07.38.11.  Here's a backtrace:
 
 # ifconfig ath0 media DS11 mediaopt hostap
 # ifconfig ath0 up
 # ifconfig ath0 media DS11 mediaopt monitor
 panic: kernel diagnostic assertion "srate >= 0" failed: file "/tmp/build/2021.04.03.07.38.11-i386-baremetal/src/sys/dev/ic/athrate-sample.c", line 674 fixed rate 3 not in rate set
 [ 254.8563803] cpu0: Begin traceback...
 [ 254.8563803] vpanic(c1192b34,d9aa57f8,d9aa5834,c0538455,c1192b34,c111c1ff,c1192c1b,c119294c,2a2,3) at netbsd:vpanic+0x139
 [ 254.8563803] kern_assert(c1192b34,c111c1ff,c1192c1b,c119294c,2a2,3,c21d3c18,c3856004,c0a90764,c1427600) at netbsd:kern_assert+0x23
 [ 254.8563803] ath_rate_newassoc(c21d3000,c3856004,1,c21d3000,d9aa58bc,c0530265,c21d3000,4,0,c0a925a8) at netbsd:ath_rate_newassoc+0x424
 [ 254.8563803] ath_rate_newstate(c21d3000,4,0,c0a925a8,c1427600,d96b4000,8120,4,c237a000,c21d3000) at netbsd:ath_rate_newstate+0x39
 [ 254.8563803] ath_newstate(c21d3490,4,ffffffff,0,d9aa58e4,c21d3490,c21d3030,7,d,c21d3030) at netbsd:ath_newstate+0x2bb
 [ 254.8563803] ath_init(c21d3030,c21d3cd8,d9aa5928,c0d5f055,c21d3030,6,c20a2902,c24d4640,c21d3cd8,c21d3cd8) at netbsd:ath_init+0x228
 [ 254.8563803] ath_media_change(c21d3030,6,c20a2902,c24d4640,c21d3cd8,c21d3cd8,c21d3cd8,d9aa5964,c0d5f3c4,c21d3cd8) at netbsd:ath_media_change+0x39
 [ 254.8563803] ifmedia_change(c21d3cd8,c21d3030,187,0,d9aa5a14,8,0,c1924628,c2449d60,287) at netbsd:ifmedia_change+0x31
 [ 254.8563803] ifmedia_ioctl(c21d3030,c3765800,c21d3cd8,c0906937,0,0,c17eafa4,d9aa59d0,c0c1b2ba,d9aa59fc) at netbsd:ifmedia_ioctl+0xc5
 [ 254.8563803] ieee80211_ioctl(c21d3490,c0906937,c3765800,d7b118ff,9edee6b0,874d6d7e,d982f90a,c21d3490,0,89de1783) at netbsd:ieee80211_ioctl+0x519
 [ 254.8563803] ath_ioctl(c21d3030,c0906937,c3765800,c21d3030,c0906937,0,c21d3030,c3765800,c21d8843,0) at netbsd:ath_ioctl+0x70
 [ 254.8563803] doifioctl(c37b22b4,c0906937,c3765800,c24d4640,c2439cf0,c24df740,c0906937,d9aa5f68,c3765800,d9aa5f38) at netbsd:doifioctl+0x2e2
 [ 254.8563803] soo_ioctl(c24df740,c0906937,c3765800,c37c8580,c24d4640,d9aa5eac,c0c29203,c17bae24,c24df740,c3765800) at netbsd:soo_ioctl+0x168
 [ 254.8563803] sys_ioctl(c24d4640,d9aa5f68,d9aa5f60,c2082588,0,36,d9aa5f60,d9aa5f68,0,0) at netbsd:sys_ioctl+0x320
 [ 254.8563803] syscall() at netbsd:syscall+0x20c
 [ 254.8563803] --- syscall (number 54) ---
 [ 254.8563803] b0a6c7e7:
 [ 254.8563803] cpu0: End traceback...
 
 [ 254.8563803] dumping to dev 0,1 offset 1463
 [ 254.8563803] dump 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 succeeded
 
 I would be happy to test patches for this or other ath bugs.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index