Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2016 09:48:48 +0200
From:      Andrew Stevenson <andrew@ugh.net.au>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, Willem@offermans.rompen.nl
Subject:   Re: bf_next not NULL!
Message-ID:  <8292C80F-9A18-450D-9A2A-D4C63D0EA99A@ugh.net.au>
In-Reply-To: <CAJ-Vmo=-BSOFwAd820q=4hfBwpRRDEvZa45iMEWi=xWeuwJE=Q@mail.gmail.com>
References:  <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <CAJ-VmomwtRwk8aNcCn3pKzbLspPHN0UKPC4J%2BdS0ebOvHom73g@mail.gmail.com> <A0ED3F72-21EF-4B97-BF4B-AA0AEA336958@ugh.net.au> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <CAJ-VmokctaK2kgE59C64ugUzwmsbhj5p24EJ126pyosqmwe=2w@mail.gmail.com> <CAJ-Vmo=4tGEE6Owuxtsc9g%2BM5hF%2BpXfq3n3=Txi7LnF0UHo2cQ@mail.gmail.com> <F90C8D26-19D6-4CD1-AFB0-789170678D5D@ugh.net.au> <CAJ-VmonpN_f%2Bp5rE_qNdhDBKsfr2-4xELLLa5HMwY7B6QbGviQ@mail.gmail.com> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> <CAJ-VmonXg1XAB-FeajcbQ2NG9e=oV3X-R%2BO%2BY92quNTckZgGEw@mail.gmail.com> <DFCDAD37-8EA2-4D5B-AC46-221050E9FD44@ugh.net.au> <CAJ-Vmo=Zeh-83C2B756JTviOAs6jhF07xa%2BOQ4dAQmmFwRGuLA@mail.gmail.com> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> <CAJ-VmokbLnw75mWeQcB2WaPa8CeBXxckUzedW05jPAqAQ6YpcA@mail.gmail.com> <40DE7FBD-8206-4388-806D-4D4BE169ACEB@ugh.net.au> <BFCC3EEA-822D-4944-9709-DEF42ECDDBDD@ugh.net.au> <CAJ-Vmo=-BSOFw Ad820q=4hfBwpRRDEvZa45iMEWi=xWeuwJE=Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
OK a bit less incompetently this time. This is dmesg with duplicate =
lines suppressed. The first field is the number of times the line was =
duplicated.

164     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
32      ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -120
0       NF calibrated [ctl] [chain 1] is -120
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -120
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -120 adjust 24
204     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
87      ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
150     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
138     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar5416DoCalibration: sample 0 of 1 finished
0       0: Chn 0 pmi=3D0x127e79ea;pmq=3D0x13347b9d;iqcm=3D0xffca20b5;
0       0: Chn 1 pmi=3D0x10bfb290;pmq=3D0x116a15ed;iqcm=3D0xff899551;
0       0: Chn 2 pmi=3D0x00000000;pmq=3D0x00000000;iqcm=3D0x00000000;
0       Start IQ Cal and Correction for Chain 0
0       Orignal: iq_corr_meas =3D 0xffca20b5
0        pwr_meas_i =3D 0x127e79ea
0        pwr_meas_q =3D 0x13347b9d
0        iqCorrNeg is 0x00000001
0        iCoff =3D 0x00000001
0        qCoff =3D 0xfffffffd
0       New:  iCoff =3D 0x00000001
0        : iCoff =3D 0x1  qCoff =3D 0xfffffffd
0       IQ Cal and Correction done for Chain 0
0       Start IQ Cal and Correction for Chain 1
0       Orignal: iq_corr_meas =3D 0xff899551
0        pwr_meas_i =3D 0x10bfb290
0        pwr_meas_q =3D 0x116a15ed
0        iqCorrNeg is 0x00000001
0        iCoff =3D 0x00000003
0        qCoff =3D 0xfffffffd
0       New:  iCoff =3D 0x00000003
0        : iCoff =3D 0x3  qCoff =3D 0xfffffffd
0       IQ Cal and Correction done for Chain 1
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
1       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -120
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -122
0       NF calibrated [ext] [chain 0] is -122
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -120
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -120 adjust 24
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ath0: stuck beacon; resetting (bmiss count 4)
0       ar5416StopDmaReceive: dma failed to stop in 10ms
0       AR_CR=3D0x00000024
0       AR_DIAG_SW=3D0x42000020
0       ar5416StopTxDma: queue 9 DMA did not stop in 400 msec
0       ar5416StopTxDma: QSTS 0x500 Q_TXE 0x202 Q_TXD 0x200 Q_CBR 0x0
0       ar5416StopTxDma: Q_MISC 0x8a2 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN =
0x100
0       ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing =
last frame
0       ar5416StopTxDma: queue 1 DMA did not stop in 400 msec
0       ar5416StopTxDma: QSTS 0x1 Q_TXE 0x202 Q_TXD 0x2 Q_CBR 0x0
0       ar5416StopTxDma: Q_MISC 0x800 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN =
0x100
0       ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing =
last frame


<this is about where I ran sysctl dev.ath.0.forcebstuck=3D1 and things =
recovered>


0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D0
0       ar5416InitCal: enable ADC DC Calibration.
0       ar5416InitCal: enable IQ Calibration.
0       ar5416SetupMeasurement: start ADC DC calibration
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ath0: stuck beacon; resetting (bmiss count 4)
0       ar5416StopTxDma: queue 9 DMA did not stop in 400 msec
0       ar5416StopTxDma: QSTS 0x400 Q_TXE 0x202 Q_TXD 0x200 Q_CBR 0x0
0       ar5416StopTxDma: Q_MISC 0x8a2 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x0
0       ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing =
last frame
0       ar5416StopTxDma: queue 1 DMA did not stop in 400 msec
0       ar5416StopTxDma: QSTS 0x1 Q_TXE 0x202 Q_TXD 0x2 Q_CBR 0x0
0       ar5416StopTxDma: Q_MISC 0x800 Q_RDYTIMECFG 0x0 Q_RDYTIMESHDN 0x0
0       ar5416StopTxDma: Failed to stop Tx DMA in 4 msec after killing =
last frame
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D0
0       ar5416InitCal: enable ADC DC Calibration.
0       ar5416InitCal: enable IQ Calibration.
0       ar5416SetupMeasurement: start ADC DC calibration
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
31      ar5416DoCalibration: ADC DC Calibration, state 2, calValid 0x0
0       ar5416DoCalibration: sample 0 of 1 finished
0       0: Chn 0 oddi=3D0xfffffee7; eveni=3D0xfffffe6a; oddq=3D0x00000159;=
 evenq=3D0xfffffffb;
0       0: Chn 1 oddi=3D0xffffff34; eveni=3D0xfffffd75; oddq=3D0xfffffe75;=
 evenq=3D0xfffffeef;
0       0: Chn 2 oddi=3D0x00000000; eveni=3D0x00000000; oddq=3D0x00000000;=
 evenq=3D0x00000000;
0       Starting ADC DC Offset Cal for Chain 0
0        pwr_meas_odd_i =3D -281
0        pwr_meas_even_i =3D -406
0        pwr_meas_odd_q =3D 345
0        pwr_meas_even_q =3D -5
0        dc_offset_mismatch_i =3D 0x000001fe
0        dc_offset_mismatch_q =3D 0x00000005
0       ADC DC Offset Cal done for Chain 0
0       Starting ADC DC Offset Cal for Chain 1
0        pwr_meas_odd_i =3D -204
0        pwr_meas_even_i =3D -651
0        pwr_meas_odd_q =3D -395
0        pwr_meas_even_q =3D -273
0        dc_offset_mismatch_i =3D 0x000001f9
0        dc_offset_mismatch_q =3D 0x000001fe
0       ADC DC Offset Cal done for Chain 1
0       ar5416SetupMeasurement: start IQ Mismatch calibration
260     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -122
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
181     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
110     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -122
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -122][4: -121]
0       2462 raw nf -121 adjust 25
118     ar5416DoCalibration: IQ Calibration, state 2, calValid 0x4
0       ar5416DoCalibration: sample 0 of 1 finished
0       0: Chn 0 pmi=3D0x1125f992;pmq=3D0x11617ba6;iqcm=3D0xffda1104;
0       0: Chn 1 pmi=3D0x10372c81;pmq=3D0x10b4af8f;iqcm=3D0xffd907b7;
0       0: Chn 2 pmi=3D0x00000000;pmq=3D0x00000000;iqcm=3D0x00000000;
0       Start IQ Cal and Correction for Chain 0
0       Orignal: iq_corr_meas =3D 0xffda1104
0        pwr_meas_i =3D 0x1125f992
0        pwr_meas_q =3D 0x11617ba6
0        iqCorrNeg is 0x00000001
0        iCoff =3D 0x00000001
0        qCoff =3D 0xffffffff
0       New:  iCoff =3D 0x00000001
0        : iCoff =3D 0x1  qCoff =3D 0xffffffff
0       IQ Cal and Correction done for Chain 0
0       Start IQ Cal and Correction for Chain 1
0       Orignal: iq_corr_meas =3D 0xffd907b7
0        pwr_meas_i =3D 0x10372c81
0        pwr_meas_q =3D 0x10b4af8f
0        iqCorrNeg is 0x00000001
0        iCoff =3D 0x00000001
0        qCoff =3D 0xfffffffe
0       New:  iCoff =3D 0x00000001
0        : iCoff =3D 0x1  qCoff =3D 0xfffffffe
0       IQ Cal and Correction done for Chain 1
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
1       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -122
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0
0       ar9287olcTemperatureCompensation: initPDADC=3D126, currPDADC=3D124=

0       ar9287olcTemperatureCompensation: delta=3D1
0       NF calibrated [ctl] [chain 0] is -121
0       NF calibrated [ctl] [chain 1] is -121
0       NF calibrated [ext] [chain 0] is -121
0       NF calibrated [ext] [chain 1] is -121
0       CCA: [0: -121][1: -121][3: -121][4: -121]
0       2462 raw nf -121 adjust 25
0       ar5416GetMibCycleCounts: cycle counter wrap. ExtBusy =3D 0


Thanks,

Andrew=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8292C80F-9A18-450D-9A2A-D4C63D0EA99A>