From owner-freebsd-mips@FreeBSD.ORG Sat May 1 08:59:16 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71DCC1065672 for ; Sat, 1 May 2010 08:59:16 +0000 (UTC) (envelope-from fk@bsdler.de) Received: from hell.bsdler.de (www.nonstopviolence.de [213.95.21.223]) by mx1.freebsd.org (Postfix) with ESMTP id EFDC18FC14 for ; Sat, 1 May 2010 08:59:15 +0000 (UTC) Received: from hell.nonstopviolence.de (localhost [127.0.0.1]) by hell.bsdler.de (Postfix) with ESMTP id 29902B83E for ; Sat, 1 May 2010 10:41:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsdler.de Received: from hell.bsdler.de ([127.0.0.1]) by hell.nonstopviolence.de (hell.bsdler.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ovD1tvyUMDKW for ; Sat, 1 May 2010 10:41:05 +0200 (CEST) Received: from pinky.terror.local (p5DD1C97F.dip.t-dialin.net [93.209.201.127]) by hell.bsdler.de (Postfix) with ESMTPSA id 263BFB83A for ; Sat, 1 May 2010 10:41:05 +0200 (CEST) Received: from [172.17.21.80] (brain.terror.local [172.17.21.80]) by pinky.terror.local (Postfix) with ESMTP id 247BA26D01C for ; Sat, 1 May 2010 08:41:04 +0000 (UTC) From: Florian Kruegl To: freebsd-mips@freebsd.org Content-Type: text/plain; charset="ASCII" Date: Sat, 01 May 2010 10:38:39 +0200 Message-ID: <1272703119.48777.19.camel@brain.lan.terror.local> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Trap when setting up ath0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fk@bsdler.de List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2010 08:59:16 -0000 Hi, I get a trap when setting up wlan interface on RS pro. Hardware is TP-Link TL-WN861N (AR9223) ----------------< dmesg >---------------- ath0: 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 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 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