From owner-freebsd-mips@FreeBSD.ORG Wed Jan 2 20:43:35 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 82A9267D; Wed, 2 Jan 2013 20:43:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id E0B8021E; Wed, 2 Jan 2013 20:43:34 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id fg15so6919983wgb.9 for ; Wed, 02 Jan 2013 12:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=zCExacbgMa4ChAkYyletAA4SKkfN+DJODGTFjOw8p0M=; b=LmKSlnW4oERaiyFOTm7kEVI14c4c/LvcM99E2gGQpoKRHN3n/amOlTWaBq552Ziq8X TIV9IdBO70d5paiXqDe9XwM9yWV0Ktci67BRjlWE4kiaXIUU2DMZ5xdMsedihpl+2m8R QxIpxzny2mLZxHK64Y/MJFGFg572EDdM7ue0Z+bb9LC5PNDJ7VudwICkvl5KM95zBOfL 2x8rOGmo5k+ee2vq0hRbWGL17u6yJ1iLd0Xoq6g7PZIdckvzNIOKl7abD8X8r36RVEZs WT0oZeIWrdyDFQjAn5YLvu5rirI5l66tLRxPGmzZoZFuQMZ4/Hq7rEr+lstBKhDgc3pc A6WA== MIME-Version: 1.0 Received: by 10.194.179.34 with SMTP id dd2mr74722273wjc.1.1357159408354; Wed, 02 Jan 2013 12:43:28 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Wed, 2 Jan 2013 12:43:28 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Jan 2013 12:43:28 -0800 X-Google-Sender-Auth: 7tSRvjmaW8pMCRsaJaohxRuTF9s Message-ID: Subject: Re: ath0: could not map interrupt From: Adrian Chadd To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2013 20:43:35 -0000 ... sounds like a definite interrupt routing issue. Who's been knee deep in the interrupt handling code in MIPS lately? Grrr. I know there's been some FDT work in MIPS and that's touched some interrupt code.. maybe that's interfering? Adrian On 2 January 2013 12:40, Monthadar Al Jaberi wrote: > I tested some more. First I changed the miniPCI slot. Now boot looks like this: > > pcib0 at irq 0 on nexus0 > pci0: on pcib0 > ath0: irq 2 at device 19.0 on pci0 > ath0: AR5413 mac 10.5 RF5413 phy 6.1 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0063 > > > Then I created a hostap. But none of my other devices sees it (laptop, iphone). > > A scan results in: > > # ifconfig wlan0 scan > wlan0: ieee80211_scanreq: flags 0x1b duration 0x7fffffff mindwell 0 > maxdwell 0 nssid 0 > wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0 > maxdwell 0, desired mode 11g, append, nopick, once > wlan0: scan set 11g dwell min 200ms max 200ms > wlan0: scan_task: chan 11g -> 11g [active, dwell min 200ms max 200ms] > wlan0: ieee80211_ref_node (ieee80211_send_probereq:1822) > 0xc6f27000<00:15:6d:67:21:8d> refcnt 4 > wlan0: send probe req on channel 11 bssid ff:ff:ff:ff:ff:ff ssid "" > wlan0: scan_task: done, [ticks 2657909, dwell min 200 scanend 2150141333] > wlan0: notify scan done > root@rb433ah:~ # ath0: device timeout > > And when I try to ping a random IP address I get the following. > Interesting is that it seems to "bail out" when it tries to send > probe_resp (last in output): > $ ping -c 1 172.168.3.2 > PING 172.168.3.2 (172.168.3.2): 56 data bytes > ath0: device timeout > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 46 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 00:11:50:4d:c5:08 rssi 8 > wlan0: [00:11:50:4d:c5:08] discard unhandled information element, id 47, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 40 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 12 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: [94:0c:6d:ad:61:18] discard frame, not to bss > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 48 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received probe_req from 00:16:cf:3c:f7:7f rssi 2 > [00:16:cf:3c:f7:7f] discard probe_req frame, ssid mismatch: > 0x9ccca48e6a3b0c7f661c24413d7b9e54c5e59ddbe0c2bd96a2e65410b662f71a > wlan0: received probe_req from 00:16:cf:3c:f7:7f rssi 5 > [00:16:cf:3c:f7:7f] discard probe_req frame, ssid mismatch: "default" > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 12 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received probe_req from 00:16:cf:3c:f7:7f rssi 4 > [00:16:cf:3c:f7:7f] discard probe_req frame, ssid mismatch: "default" > wlan0: received beacon from 00:11:50:4d:c5:08 rssi 9 > wlan0: [00:11:50:4d:c5:08] discard unhandled information element, id 47, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 46 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 40 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 43 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 12 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 40 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 12 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 45 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 13 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 47 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 12 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received beacon from 28:10:7b:8e:7a:ec rssi 44 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 51, len 8 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 127, len 1 > wlan0: [28:10:7b:8e:7a:ec] discard unhandled information element, id 11, len 5 > wlan0: [28:10:7b:8e:7a:ec] discard beacon frame, for off-channel 10 > wlan0: received beacon from 74:44:01:2d:cb:5e rssi 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 47, len 1 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 74, len 14 > wlan0: [74:44:01:2d:cb:5e] discard unhandled information element, id 127, len 1 > wlan0: received probe_req from 00:aa:70:77:bd:77 rssi 0 > wlan0: [00:aa:70:77:bd:77] recv probe req > wlan0: ieee80211_ref_node (ieee80211_send_proberesp:2489) > 0xc6f27000<00:15:6d:67:21:8d> refcnt 5 > wlan0: send probe resp on channel 11 to 00:aa:70:77:bd:77 > ath0: ath_raw_xmit: sc_inreset_cnt > 0; bailing > .... > > > On Tue, Jan 1, 2013 at 7:33 PM, Monthadar Al Jaberi wrote: >> Hi, >> >> ath(4) failed to attach on my Routerboard RB433AH running FreeBSD >> current. This is what I got during boo-up. >> >> pcib0 at irq 0 on nexus0 >> pci0: on pcib0 >> ath0: irq 3 at device 20.0 on pci0 >> ath0: could not map interrupt >> device_attach: ath0 attach returned 6 >> >> Any idea why? Anyone else is running ath(4) on this board? My wifi >> card is a Ubiquity X2 with AR5413 chip. >> >> br, >> >> >> -- >> Monthadar Al Jaberi > > > > -- > Monthadar Al Jaberi > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"