Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2010 10:38:39 +0200
From:      Florian Kruegl <fk@bsdler.de>
To:        freebsd-mips@freebsd.org
Subject:   Trap when setting up ath0
Message-ID:  <1272703119.48777.19.camel@brain.lan.terror.local>

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

I get a trap when setting up wlan interface on RS pro. 

Hardware is TP-Link TL-WN861N (AR9223)

----------------< dmesg >----------------
ath0: <Atheros 9280> irq 1 at device 18.0 on pci0
ath0: [ITHREAD]
ath0: AR9280 mac 128.2 RF5133 phy 13.0
----------------< dmesg >----------------

----------------< with create >----------------
xerxes# ifconfig wlan0 create wlandev ath0
wlan0: Ethernet address: 94:0c:6d:bc:4b:61
xerxes# ifconfig 
ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 94:0c:6d:bc:4b:61
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
[...]
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 94:0c:6d:bc:4b:61
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 1 (2412 MHz 11b)
        regdomain 32924 country CN indoor ecm authmode OPEN privacy OFF
        txpower 20 bmiss 7 scanvalid 60 bgscan bgscanintvl 300
bgscanidle 250
        roam:rssi 7 roam:rate 1 wme burst bintval 0
xerxes# ifconfig wlan0 up
Trap cause = 7 (bus error (load or store) - kernel mode)
[ thread pid 0 tid 100032 ]
Stopped at      platform_start+0x1b10:  srl     v0,a1,8
db> bt
Tracing pid 0 tid 100032 td 0xc0c834c0
db_trace_thread+30 (?,?,?,?) ra 800a78b0 sp c79f77b0 sz 24
800a7794+11c (0,?,ffffffff,?) ra 800a72a4 sp c79f77c8 sz 32
800a6f10+394 (?,?,?,?) ra 800a7434 sp c79f77e8 sz 168
db_command_loop+78 (?,?,?,?) ra 800a9b08 sp c79f7890 sz 24
800a9a00+108 (?,?,?,?) ra 80210f08 sp c79f78a8 sz 424
kdb_trap+108 (?,?,?,?) ra 80486490 sp c79f7a50 sz 32
trap+1620 (?,?,?,?) ra 8047cbc0 sp c79f7a70 sz 176
MipsKernGenException+134 (0,deadc0de,a258,c79f7c74) ra 8049bdc8 sp
c79f7b20 sz 200
8049bdc0+8 (?,?,?,?) ra 0 sp c79f7be8 sz 0
pid 0
----------------< with create >----------------


similar trap without creating a wlan interface

----------------< without create >----------------
xerxes# ifconfig ath0 up
Trap cause = 7 (bus error (load or store) - kernel mode)
[ thread pid 1808 tid 100068 ]
Stopped at      platform_start+0x1b10:  srl     v0,a1,8
db> bt
Tracing pid 1808 tid 100068 td 0xc0d46980
db_trace_thread+30 (?,?,?,?) ra 800a78b0 sp c7efd670 sz 24
800a7794+11c (0,?,ffffffff,?) ra 800a72a4 sp c7efd688 sz 32
800a6f10+394 (?,?,?,?) ra 800a7434 sp c7efd6a8 sz 168
db_command_loop+78 (?,?,?,?) ra 800a9b08 sp c7efd750 sz 24
800a9a00+108 (?,?,?,?) ra 80210f08 sp c7efd768 sz 424
kdb_trap+108 (?,?,?,?) ra 80486490 sp c7efd910 sz 32
trap+1620 (?,?,?,?) ra 8047cbc0 sp c7efd930 sz 176
MipsKernGenException+134 (0,deadc0de,a258,c7efdb34) ra 8049bdc8 sp
c7efd9e0 sz 200
8049bdc0+8 (?,?,?,?) ra 0 sp c7efdaa8 sz 0
pid 1808
----------------< without create >----------------

----------------< svn info >----------------
Path: .
URL: svn://svn.freebsd.org/base/head
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 207449
Node Kind: directory
Schedule: normal
Last Changed Author: jilles
Last Changed Rev: 207449
Last Changed Date: 2010-04-30 21:52:35 +0200 (Fri, 30 Apr 2010)
----------------< svn info >----------------

flo




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