Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2010 17:57:56 +0200
From:      Florian Kruegl <fk@bsdler.de>
To:        Rui Paulo <rpaulo@freebsd.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Trap when setting up ath0
Message-ID:  <1272729476.48777.25.camel@brain.lan.terror.local>
In-Reply-To: <0CB1D579-01A7-4F60-BC57-760016FB7E47@freebsd.org>
References:  <1272703119.48777.19.camel@brain.lan.terror.local> <0CB1D579-01A7-4F60-BC57-760016FB7E47@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

On Sat, 2010-05-01 at 11:09 +0100, Rui Paulo wrote:
> On 1 May 2010, at 09:38, Florian Kruegl wrote:
> 
> > Hi,
> > 
> > I get a trap when setting up wlan interface on RS pro. 
> 
> Maybe this is because some structure is misaligned. Can you enable AH_DEBUG and ATH_DEBUG and edit {if_ath.c,ah_osdep.c} so that ath_debug=0xffffffff and ath_hal_debug=0xffffffff ?
> 

--------------< bootup >--------------
ath0: <Atheros 9280> irq 1 at device 18.0 on pci0
ath0: [ITHREAD]
ath_getchannels: eeprom rd 32924 cc 156 (mapped rd 32924 cc 156)
location I ecm
ath_descdma_setup: rx DMA: 40 buffers 1 desc/buf
ath_descdma_setup: rx DMA map: 0xa0923000 (3840) -> 0x923000 (3840)
ath_descdma_setup: tx DMA: 200 buffers 10 desc/buf
ath_descdma_setup: tx DMA map: 0xa0980000 (192000) -> 0x980000 (192000)
ath_descdma_setup: beacon DMA: 4 buffers 1 desc/buf
ath_descdma_setup: beacon DMA map: 0xa0970000 (384) -> 0x970000 (384)
ath0: AR9280 mac 128.2 RF5133 phy 13.0
--------------< bootup >--------------


--------------< setup >--------------
xerxes# ifconfig ath0 up
ath_init: if_flags 0x8803
ath_stop_locked: invalid 0 if_flags 0x8803
Trap cause = 7 (bus error (load or store) - kernel mode)
[ thread pid 1809 tid 100067 ]
Stopped at      platform_start+0x1b10:  srl     v0,a1,8
--------------< setup >--------------


Regards

Flo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1272729476.48777.25.camel>