From owner-freebsd-wireless@FreeBSD.ORG Sun Jan 4 16:32:44 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3535F18 for ; Sun, 4 Jan 2015 16:32:44 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 461C51249 for ; Sun, 4 Jan 2015 16:32:44 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id l15so1941750wiw.2 for ; Sun, 04 Jan 2015 08:32:42 -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:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=CBGXHmfZrP/l9Z4S4QiKnFxqOowJC9NpBevTpSIbQ8Y=; b=y8Zd5PtGaSfGiiLxEaIyzEbR4rDkyHOyB2INPIlxQCRhQ0ROO1FPq7MlLR2nOhddqw YTRFZIRqElWee7RWLpa0Z0uXC3P1dhXOiJv+LWMwfEsOdgGC7HauGBP0Quz1tU/iVkMu YAJwMU+cHZo3JkgD4MOthsHtU59gj/beTG390Y8CXz4xpYaSNy2n8NDewCzmNuIQQ1GH se2pqIuFAslDZ/AvzOLX0aAcIC+nb8S4PeaFRQKEqsSQm0kgeOd5IQ4m9RNJmP/b0WPW a4RfvSa9UW6ylKuJtkhv2fcIpydGr1sW0I+vEoAZwRnBiYwnPphJG7yf1s84J6UU5dOm HjaA== MIME-Version: 1.0 X-Received: by 10.180.14.136 with SMTP id p8mr17137740wic.20.1420389161992; Sun, 04 Jan 2015 08:32:41 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.41.136 with HTTP; Sun, 4 Jan 2015 08:32:41 -0800 (PST) In-Reply-To: <54A9368A.70907@pean.org> References: <54A9368A.70907@pean.org> Date: Sun, 4 Jan 2015 08:32:41 -0800 X-Google-Sender-Auth: iaDzD3I56E92F5zTXAP36F0BDhM Message-ID: Subject: Re: iwn: firmware error From: Adrian Chadd To: =?UTF-8?Q?Peter_Ankerst=C3=A5l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 16:32:44 -0000 Hi! Which version of freebsd? -a On 4 January 2015 at 04:48, Peter Ankerst=C3=A5l wrote: > I have noticed a problem with the iwn firmware. > > On the client side I have these settings: > wlan0: flags=3D8843 metric 0 mtu = 1500 > ether f0:de:f1:c9:14:4d > nd6 options=3D29 > media: IEEE 802.11 Wireless Ethernet MCS mode 11na > status: associated > ssid web channel 56 (5280 MHz 11a ht/40-) bssid 04:f0:21:01:3d:87 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 3:128-bit txpower 14 bmiss 10 mcastrate 6 mgmtrate 6 > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 > roam:rate 64 ampdulimit 64k ampdudensity 8 -amsdutx amsdurx short= gi > wme roaming MANUAL > > wpa_conf: > --- > ctrl_interface=3D/var/run/wpa_supplicant > eapol_version=3D1 > ap_scan=3D1 > fast_reauth=3D1 > > network=3D{ > ssid=3D"web" > key_mgmt=3DWPA-PSK > psk=3D"" > priority=3D1 > --- > > It first associates but then after some traffic the card turns off with > thse messages: > iwn0: iwn_intr: fatal firmware error > firmware error log: > error type =3D "UNKNOWN" (0x00002078) > program counter =3D 0x00009758 > source line =3D 0x0000063D > error data =3D 0x400080300000E90F > branch link =3D 0x000096CE000096CE > interrupt link =3D 0x0000D6BE00000000 > time =3D 2154208510 > driver status: > tx ring 0: qid=3D0 cur=3D66 queued=3D0 > tx ring 1: qid=3D1 cur=3D0 queued=3D0 > tx ring 2: qid=3D2 cur=3D0 queued=3D0 > tx ring 3: qid=3D3 cur=3D8 queued=3D0 > tx ring 4: qid=3D4 cur=3D161 queued=3D0 > tx ring 5: qid=3D5 cur=3D0 queued=3D0 > tx ring 6: qid=3D6 cur=3D0 queued=3D0 > tx ring 7: qid=3D7 cur=3D0 queued=3D0 > tx ring 8: qid=3D8 cur=3D0 queued=3D0 > tx ring 9: qid=3D9 cur=3D0 queued=3D0 > tx ring 10: qid=3D10 cur=3D65 queued=3D0 > tx ring 11: qid=3D11 cur=3D0 queued=3D0 > tx ring 12: qid=3D12 cur=3D0 queued=3D0 > tx ring 13: qid=3D13 cur=3D0 queued=3D0 > tx ring 14: qid=3D14 cur=3D0 queued=3D0 > tx ring 15: qid=3D15 cur=3D0 queued=3D0 > tx ring 16: qid=3D16 cur=3D0 queued=3D0 > tx ring 17: qid=3D17 cur=3D0 queued=3D0 > tx ring 18: qid=3D18 cur=3D0 queued=3D0 > tx ring 19: qid=3D19 cur=3D0 queued=3D0 > rx ring: cur=3D50 > > On the accesspoint I have: > wlan0: flags=3D8943 metri= c > 0 mtu 1500 > ether 04:f0:21:01:3d:87 > nd6 options=3D29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11na > status: running > ssid web channel 56 (5280 MHz 11a ht/40-) bssid 04:f0:21:01:3d:87 > regdomain ETSI country SE ecm authmode WPA2/802.11i privacy MIXED > deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 24 > mcastrate 6 > mgmtrate 6 scanvalid 60 -ht ampdulimit 64k ampdudensity 8 > shortgi wme > burst dtimperiod 1 -dfs > > hostapd.conf: > --- > interface=3Dwlan0 > driver=3Dbsd > debug=3D0 > logger_syslog=3D1 > logger_syslog_level=3D0 > ctrl_interface=3D/var/run/hostapd > ctrl_interface_group=3Dwheel > ssid=3Dweb > wpa=3D2 > wpa_passphrase=3D > wpa_key_mgmt=3DWPA-PSK > wpa_pairwise=3DCCMP TKIP > rsn_pairwise=3DCCMP > --- > >