Date: Sat, 17 May 2014 11:56:16 -0700 From: David Wolfskill <david@catwhisker.org> To: Edward Tomasz Napiera?a <trasz@FreeBSD.org> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org> Subject: Re: Workaround for "fatal firmware error" iwn(4) problem. Message-ID: <20140517185616.GZ55053@albert.catwhisker.org> In-Reply-To: <201405161821.s4GILXit029854@mech-cluster241.men.bris.ac.uk> <4A191D80-9A8E-42DC-B2BD-F0668A60E9CA@FreeBSD.org> <D3CD9532-19D7-400C-A37C-5398F877E7C4@FreeBSD.org> <8FB7D6BF-005A-41A1-9DCE-C8B09EA338EE@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--x+bne1ZFwxW5PfJO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 16, 2014 at 08:06:02PM +0200, Edward Tomasz Napiera?a wrote: > I've started using FreeBSD laptop and iwn(4) failing at random moments > like this... >=20 > May 16 17:11:54 brick kernel: iwn0: iwn_intr: fatal firmware error > May 16 17:11:54 brick kernel: firmware error log: > May 16 17:11:54 brick kernel: error type =3D "NMI_INTERRUPT_WDG" (0x= 00000004) > ... >=20 > ... has been driving me crazy, so I wrote a workaround. The patch > can be found here: >=20 > http://people.freebsd.org/~trasz/iwn.diff >=20 > I think it's too ugly to commit it as is (I'd never release crap like thi= s, > but I know nothing about WiFi and iwn(4) in particular, so I feel justifi= ed), > but feedback is still welcome. On Fri, May 16, 2014 at 08:16:01PM +0200, Edward Tomasz Napiera?a wrote: > ... > > For which branch? >=20 > Ah, forgot about that. 11-HEAD. So I've been running head/i386 with the above-cited patch for about 1.75 hrs. now -- by which time I would normally expect to have seen my network connection have dropped -- and it's been quite steady, even through listening to a streaming audio program for about an hour. I'm hoping that this at least helps indicate what might be going wrong (without the patch). For reference (in somewhat more detail): I had built: FreeBSD 11.0-CURRENT #1250 r266209M/266213:1100021: Fri May 16 06:24:39 PD= T 2014 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i3= 86 yesterday (on my "head" slice on this laptop); this morning, I updated the src working copy to r266297 without incident (save for the occasional, and expected, dropping of the network connection on occasion). I then rebooted, and verified that FreeBSD 11.0-CURRENT #1251 r266297M/266298:1100021: Sat May 17 09:17:53 PD= T 2014 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i3= 86 seemed to function pretty much the same (which it did). I then "cloned" the file systems on my head slice to another slice, used "svn patch" to apply the patch: Script started on Sat May 17 09:53:48 2014 command: svn patch tmp/iwn.diff /usr/src U /usr/src/sys/dev/iwn/if_iwn.c Script done on Sat May 17 09:53:48 2014 then ran "cd /usr/src && make -DNOCLEAN -j4 kernel"; the result was: FreeBSD 11.0-CURRENT #1252 r266297M/266298:1100021: Sat May 17 09:56:18 PD= T 2014 root@g1-252.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY i3= 86 (which is what I've been running for almost 2 hrs. now). 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. --x+bne1ZFwxW5PfJO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJTd7DPXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk74GUP/RjccKnn18psvXELocJZ+8WW 5YPSCFpBn2WsYhzsvO/dVQEsInVnpog8gZvwxiOdr2N0PEktc1QcvsgiVzvr15pi lSoTOGimhJKhGEIQeJpYGvaVNPU+Elsx2D3fGYfe2apyrsJ9yEe3UzMqL6bIfcgF w+x2Vubocm/QS2dc4uRFNG1VhdPMHe6oxZQwkjoCOCh1RTlyiTgH9OGhwKj6rF0E WXUWxDQfn8bM24OcN7ZgHSwEw0DjPLM30VrB2BrfvGtw3v1UDVICMZufbKV6C7Ib 5W7nozxOIORYM5ueo5Pw1gTa9xIflXojRRHNgRTQ3Yjh46q+wCGZVriUVbKXdyc/ 7IYkIYECUs0Ms2L5cMJcjpsZmCL+52O6wad5nPRgCqo8ZvSoCsL1Rwm97XE2jFaN Y9Ro58SSso1fviXwbtev8knK8xSmk6uMy6kKsMzkcxEYPUS6WVtnMpL/Sz5sqWu5 MnWkvAkeYEvhi7GYv5ECrx1Y6KGSzRGFohamhL802hidsWbbKbo9TotcDcNPVb/g KW2Frt+31jSz0MVsBf9Yai9fr5Ut2drQkokb21/kRPEHSCqukotAKzhKSAMyNC1o qtXHzgl5PoCLpzePeAx52dfrnafxyG1Cmp3Hia+8HPYHSOedb7lqj9EpRYshv61v uQjjUwJweO8JY/DjIssc =gSIy -----END PGP SIGNATURE----- --x+bne1ZFwxW5PfJO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140517185616.GZ55053>