Re: Atheros support no longer works on -CURRENT (kldload, possibly ACPI?)

From: Jeffrey Katcher <jmkatcher_at_yahoo.com>
Date: Mon, 7 Jun 2004 21:53:25 -0700 (PDT)
--- Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw> wrote:
> My T40 with IBM Atheros A/B/G miniPCI works well with 5/25 kernel. However,
> I have to backout sys/dev/acpica/acpi_cpu.c to 1.38 and
> sys/dev/acpica/acpi_pci_link.c to 1.14 such that it would not lockup at
> booting after sio0 probing.
I haven't had any sort of lockup, but thanks for the data point.

> Did you try the latest source committed by njl_at_(about 3 hours ago)?
> I can't test it unless backing to home; however, they seemed to be able
> to eliminate the BAD_PARAMETER error under some circumstances:
> 
> 	sys/dev/acpica/acpi_pci.c:1.18
> 	sys/dev/acpica/acpi_powerres.c:1.23
Just tried it and it _does_ eliminate the BAD_PARAMETER error.  However
the "ath0: hardware error; resetting" messages still get printed.
 
> Will those lines captured by syslogd?
ath0: hardware error; resetting
ath_start: ignore data packet, state 3
ath0: ath_intr: status 0x40000000

ar5211 register state:

CR       00000004  RXDP     008702c0  CFG      00000100  IER      00000001
RTSD0    84849c9c  RTSD1    7c7c7c7c  TXCFG    0000001d  RXCFG    00000005
JLAST    2fef6820  MIBC     00000000  TOPS     00000008  RXNPTO   00000008
TXNPTO   00000010  RFGTO    00000000  RFCNT    0000001f  MISC     00000000
D_SIFS   000000b0  D_SLOT   000001b8  D_EIFS   00001f48  D_MISC   00005880
D_TXPSE  00010000  RC       00000000  SCR      00000000  INTPEND  00000000
SFR      00000000  PCICFG   00000054  GPIOCR   00000000  SREV     00000042
STA_ID0  414e0500  STA_ID1  0020e3db  BSS_ID0  cb5b0900  BSS_ID1  00003267
SLOT_TIM 00000000  TIME_OUT 20003000  RSSI_THR 00000700  USEC     01608f95
BEACON   00747fa7  CFP_PER  00000000  TIMER0   00000030  TIMER1   0007ffff
TIMER2   01ffffff  TIMER3   00000031  CFP_DUR  00000000  RX_FILTR 00000017
MCAST_0  00000000  MCAST_1  00000000  DIAG_SW  00000000  TSF_L32  3a9e2fcc
TSF_U32  00000066  TST_ADAC 00000000  DEF_ANT  00000001  LAST_TST 3a9e2185
NAV      00000000  RTS_OK   00000000  RTS_FAIL 00000000  ACK_FAIL 00000000
FCS_FAIL 00000000  BEAC_CNT 00000002
IMR: 000801f7 S0 00010001 S1 00000001 S2 00070001 S3 00000000 S4 00000000
ISR: 00000000 S0 00000000 S1 00000000 S2 00000000 S3 00000000 S4 00000000

Q_TXE    00000000  Q_TXD    00000000  Q_RDYTIMSHD 00000000
Q_ONESHOTARM_SC 00000000  Q_ONESHOTARM_CC 00000000
Q[0] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000800 STS 00000000
Q[1] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[2] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[3] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[4] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[5] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[6] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[7] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[8] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 00000000 STS 00000000
Q[9] TXDP 00000000 CBR 00000000 RDYT 00000000 MISC 000008a2 STS 00000000

D[0] MASK 00000001 IFS 002ff01f RTRY 000820aa CHNT 00000000 MISC 001002 SEQ 002
D[1] MASK 00000002 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[2] MASK 00000004 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[3] MASK 00000008 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[4] MASK 00000010 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[5] MASK 00000020 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[6] MASK 00000040 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[7] MASK 00000080 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[8] MASK 00000100 IFS 002ffc1f RTRY 00020844 CHNT 00000000 MISC 001002 SEQ 000
D[9] MASK 00000200 IFS 002ff01f RTRY 000820aa CHNT 00000000 MISC 250000 SEQ 000

> The last resort: reboot with ACPI disabled. At least this saved me from
> troubles(if_em locks up) with recent -CURRENT.
I've never seen that for em0, but I have that as a kernel builtin.  If this
keeps up, I'll build in if_ath to see if it's somehow related to kld...

Thanks again for your response,

Jeff Katcher


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
Received on Tue Jun 08 2004 - 02:53:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC