From owner-freebsd-current@FreeBSD.ORG Fri Jun 13 16:52:19 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07A3A685 for ; Fri, 13 Jun 2014 16:52:19 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A058C2FBC for ; Fri, 13 Jun 2014 16:52:18 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id s5DGqGdh037306; Fri, 13 Jun 2014 09:52:16 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id s5DGqGw0037305; Fri, 13 Jun 2014 09:52:16 -0700 (PDT) (envelope-from david) Date: Fri, 13 Jun 2014 09:52:16 -0700 From: David Wolfskill To: Stefan Parvu , freebsd-current@freebsd.org Subject: Re: iwn driver issue Message-ID: <20140613165216.GZ1180@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Stefan Parvu , freebsd-current@freebsd.org References: <20140613112624.bef131c3b84e5e4ad38ed84f@systemdatarecorder.org> <20140613163644.GA1291@brick.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mDCy6lndoo077oG4" Content-Disposition: inline In-Reply-To: <20140613163644.GA1291@brick.home> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 16:52:19 -0000 --mDCy6lndoo077oG4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2014 at 06:36:44PM +0200, Edward Tomasz Napiera??a wrote: > On 0613T1126, Stefan Parvu wrote: > > Hi, > >=20 > > Im running FreeBSD current: > > FreeBSD nereid 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265628: Thu May 8= 08:05:37 UTC 2014 =20 > > root@grind.freebsd.org:/usr/obj/usr/src/sys/VT amd64 > >=20 > > on Asus Zenbook UX32VD. My wireless network works ok, however from time= to time I need > > to restart the netif service since my link does not work anymore. After= restart everything is ok. > > The device is: Wifi: Intel Centrino Advanced-N 6235. > >=20 > > Sometimes Im able to see something like: > >=20 > > iwn0: iwn_scan: called whilst scanning! > > iwn0: iwn_intr: fatal firmware error > > firmware error log: > > error type =3D "UNKNOWN" (0x0000198A) > > program counter =3D 0x00015920 > > source line =3D 0x000001DC > > error data =3D 0x0000029600000000 > > branch link =3D 0x0001591000015910 > > interrupt link =3D 0x0000DBEA00000000 > > time =3D 2479833477 > > driver status: > > tx ring 0: qid=3D0 cur=3D14 queued=3D0 =20 > > tx ring 1: qid=3D1 cur=3D0 queued=3D0 =20 > > tx ring 2: qid=3D2 cur=3D0 queued=3D0 =20 > > tx ring 3: qid=3D3 cur=3D19 queued=3D0 =20 > ... > >=20 > > After restarting the networking service everything is back to normal. >=20 > Can you update to at least r266546 and try again? > .... In case it's of interest or use, in tracking head daily for some time on a Dell Precision M4400, I've seen similar symptoms. But this morning, something happene dthat was rather worse than usual: during "make installworld," (while I was otherwise occupied getting ready to head in to work), the machine apparently rebooted. Here are the last several builds I've done: FreeBSD 11.0-CURRENT #1271 r267264M/267264:1100022: Mon Jun 9 07:47:43 PD= T 2014 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i3= 86 FreeBSD 11.0-CURRENT #1272 r267321M/267323:1100022: Tue Jun 10 06:31:13 PD= T 2014 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i3= 86 FreeBSD 11.0-CURRENT #1273 r267358M/267358:1100022: Wed Jun 11 08:51:08 PD= T 2014 root@d130.dwolf.juniper.net.:/common/S4/obj/usr/src/sys/CANARY = i386 FreeBSD 11.0-CURRENT #1274 r267378M/267384:1100022: Thu Jun 12 12:51:53 PD= T 2014 root@d130.dwolf.juniper.net.:/common/S4/obj/usr/src/sys/CANARY = i386 FreeBSD 11.0-CURRENT #1275 r267441M/267441:1100023: Fri Jun 13 06:34:57 PD= T 2014 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i3= 86 Note that the reboot referenced above was while it was doiong the installworld for FreeBSD 11.0-CURRENT #1275 r267441M/267441:1100023, so it was running FreeBSD 11.0-CURRENT #1274 r267378M/267384:1100022 at the time. And (to bring this back to the topic at hand), when I checked the logs, the last thing I found before the start-up messages fro the reboot was: Jun 13 06:00:29 g1-252 kernel: iwn0: iwn_scan: called whilst scanning! Jun 13 06:00:29 g1-252 kernel: iwn0: iwn_scan: called whilst scanning! Jun 13 06:11:35 g1-252 kernel: iwn0: iwn_scan: called whilst scanning! Jun 13 06:16:46 g1-252 kernel: Expensive timeout(9) function: 0xc0c858e0(0x= d15728d0) 3.292387227 s Jun 13 06:16:46 g1-252 kernel: iwn0: iwn_intr: fatal firmware error Jun 13 06:16:46 g1-252 kernel: firmware error log: Jun 13 06:16:46 g1-252 kernel: error type =3D "SYSASSERT" (0x00000005) Jun 13 06:16:46 g1-252 kernel: program counter =3D 0x000024EC Jun 13 06:16:46 g1-252 kernel: source line =3D 0x00000489 Jun 13 06:16:46 g1-252 kernel: error data =3D 0x000000FF00000489 Jun 13 06:16:46 g1-252 kernel: branch link =3D 0x000024C8000024C8 Jun 13 06:16:46 g1-252 kernel: interrupt link =3D 0x0000091600000000 Jun 13 06:16:46 g1-252 kernel: time =3D 2183893590 Jun 13 06:16:46 g1-252 kernel: driver status: Jun 13 06:16:46 g1-252 kernel: tx ring 0: qid=3D0 cur=3D203 queued=3D6 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 1: qid=3D1 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 2: qid=3D2 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 3: qid=3D3 cur=3D4 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 4: qid=3D4 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 5: qid=3D5 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 6: qid=3D6 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 7: qid=3D7 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 8: qid=3D8 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 9: qid=3D9 cur=3D206 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 10: qid=3D10 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 11: qid=3D11 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 12: qid=3D12 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 13: qid=3D13 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 14: qid=3D14 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 15: qid=3D15 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 16: qid=3D16 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 17: qid=3D17 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 18: qid=3D18 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: tx ring 19: qid=3D19 cur=3D0 queued=3D0 = =20 Jun 13 06:16:46 g1-252 kernel: rx ring: cur=3D23 Jun 13 06:16:46 g1-252 kernel: iwn0: iwn_panicked: controller panicked, iv_= state =3D 5; resetting... Jun 13 06:23:22 g1-252 kernel: iwn0: iwn_scan: called whilst scanning! Jun 13 06:28:43 g1-252 kernel: iwn0: iwn_scan: called whilst scanning! Jun 13 06:36:33 g1-252 pkg-static: nvidia-driver-331.67 deinstalled Jun 13 06:36:37 g1-252 pkg-static: nvidia-driver-331.67 installed Jun 13 06:36:45 g1-252 kernel: iwn0: iwn_intr: fatal firmware error Jun 13 06:36:45 g1-252 kernel: firmware error log: Jun 13 06:36:45 g1-252 kernel: error type =3D "SYSASSERT" (0x00000005) Jun 13 06:36:45 g1-252 kernel: program counter =3D 0x000024EC Jun 13 06:36:45 g1-252 kernel: source line =3D 0x00000489 Jun 13 06:36:45 g1-252 kernel: error data =3D 0x000000FF00000489 Jun 13 06:36:45 g1-252 kernel: branch link =3D 0x000024C8000024C8 Jun 13 06:36:45 g1-252 kernel: interrupt link =3D 0x0000091600000000 Jun 13 06:36:45 g1-252 kernel: time =3D 3384124024 Jun 13 06:36:45 g1-252 kernel: driver status: Jun 13 06:36:45 g1-252 kernel: tx ring 0: qid=3D0 cur=3D67 queued=3D1 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 1: qid=3D1 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 2: qid=3D2 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 3: qid=3D3 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 4: qid=3D4 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 5: qid=3D5 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 6: qid=3D6 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 7: qid=3D7 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 8: qid=3D8 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 9: qid=3D9 cur=3D127 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 10: qid=3D10 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 11: qid=3D11 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 12: qid=3D12 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 13: qid=3D13 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 14: qid=3D14 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 15: qid=3D15 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 16: qid=3D16 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 17: qid=3D17 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 18: qid=3D18 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: tx ring 19: qid=3D19 cur=3D0 queued=3D0 = =20 Jun 13 06:36:45 g1-252 kernel: rx ring: cur=3D63 Jun 13 06:36:45 g1-252 kernel: iwn0: iwn_panicked: controller panicked, iv_= state =3D 5; resetting... Jun 13 06:39:35 localhost syslogd: kernel boot file is /boot/kernel/kernel Jun 13 06:39:35 localhost kernel: Copyright (c) 1992-2014 The FreeBSD Proje= ct. Jun 13 06:39:35 localhost kernel: Copyright (c) 1979, 1980, 1983, 1986, 198= 8, 1989, 1991, 1992, 1993, 1994 Jun 13 06:39:35 localhost kernel: The Regents of the University of Californ= ia. All rights reserved. Jun 13 06:39:35 localhost kernel: FreeBSD is a registered trademark of The = FreeBSD Foundation. Jun 13 06:39:35 localhost kernel: FreeBSD 11.0-CURRENT #1275 r267441M/2674= 41:1100023: Fri Jun 13 06:34:57 PDT 2014 [For completeness: after the machine came up, I re-started the "make installworld", which then completed without further incident.] Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --mDCy6lndoo077oG4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJTmyv0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7eEcQAIOWZ/V01/BaluDLorevI2wf kPSnNA+BT6i3pPeQSWSGwS4zUa/2AEOwb8fe6LkHGsRwJS5OiICPk+cJbQiVv+C7 Mrt0NhajIfaZCDao+vn1NDYFqsCo+IOfMp/Pf4GMW/RH3jD1+jg4wOhnsK9V62Zo r2yuYrShAJs2/nt4wyAG/LK3ptagNtqXGwT31CoDobBdEQRi9l0nWxlKUUo426q/ n/wPesEPQyG1ORbAiT61/QF5F+uNe09Crd18ZM+B+rzQJkpsMwoDX5qQ9mQon+S7 a/XVgxmw6DR1mJwag+scaXJxWqeoAF4RL4UExYsQTuqePsDpbQ3sAtBFkfq2Yaoj kjKYdHIzFZdfH23eMcEYIgsNhyqonsMuy5bpkzbzQQcjbWVPtZfQH/WPng1NKSsI v5Bhuyk0x5ejefS8QUnvdBsYbR+lAXfZjCBawwYEHIWMHmvsbe9PZELG8gTVN4xT uLYL6ZyUIyoQ2QmgZgZE6EHxnK2Z55NoOHoWHHGCHmXGhFKVL+pF7qPjLkHVDvhp xBZeN4IZ9c2gVdLooIRxKD5meW7o2CIOWr+plr9ZM/aa6vNDM/G1WI49akh+THXa khxFezGTn8t+iKubTFlmN0dlOFP+7MzdwXzrLIZD5TJNnyyF79bHKu9mBbi8T5Ke h1L5sn9wYVNlnTnuWoCd =xPmo -----END PGP SIGNATURE----- --mDCy6lndoo077oG4--