Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 13:20:16 -0300
From:      Ramiro Caso <ramirocaso05@yahoo.com.ar>
To:        freebsd-questions@freebsd.org
Subject:   9.0-RELEASE: Strange freezing and kernel panics on laptop
Message-ID:  <4F3BDB40.2030101@yahoo.com.ar>

next in thread | raw e-mail | index | archive | help
Hi,

I'm in need of advice. I've recently installed FreeBSD 9.0-RELEASE on my 
laptop (a Dell Inspiron 1318) with a good deal of success. However, I've 
been experiencing a few hiccups, to say the least. The kernel is the 
GENERIC for the amd64 architecture that comes with the installation 
images (no funny compilation issues on my part):

     $ uname -a
     FreeBSD apeiron 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 
07:46:30 UTC 2012
     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Since I've installed it, the system has been freezing for apparently no 
reason and, once in a while, rebooting upon a kernel panic. The kernel 
panics come in two varieties:

     Fatal Trap 9: general protection fault while in kernel mode
     Fatal Trap 12: page fault while in kernel mode

I have the dump files. [Concerning the Fatal Trap 12: I ran memtest86+ 
and everything turned out alright on the memory side.]

As for the recurrent freezing, it seems to me (but this is a hunch) that 
it might be related to wireless card issues (since, for what I can 
recall, it happens some time after I start having connection issues). 
Also, every time I do a "netif restart", the system just freezes after 
displaying two lines:

     bwn0: need multicast update callback
     TODO: need swap

[In order not to raise side issues, I have a fully working LP PHY 
Broadcom 4312 (except for these issues), and I have hw.bwn.usedma=0 in 
loader.conf---but the freezing thing happens whether it is set to 1 or 
0.] A quick inspection to log files reveals some pattern in 
/var/log/messages:

===================================

     Feb 10 19:01:59 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]
     Feb 10 19:22:02 apeiron kernel: bwn0: unexpected NULL ni
     Feb 10 19:27:07 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel
     [...]
     Feb 10 19:27:07 apeiron savecore: reboot after panic: general 
protection fault
     Feb 10 19:27:07 apeiron savecore: writing core to vmcore.0


     Feb 11 21:39:40 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]
     Feb 11 21:39:47 apeiron kernel: bwn0: device timeout
     Feb 11 21:44:38 apeiron kernel: bwn0: unexpected NULL ni
     Feb 11 21:44:38 apeiron kernel: bwn0: unexpected NULL ni
     Feb 11 21:47:33 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel


     Feb 12 17:23:47 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]
     Feb 12 18:20:32 apeiron kernel: bwn0: device timeout
     Feb 12 18:22:23 apeiron kernel: bwn0: unexpected NULL ni
     Feb 12 18:31:49 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel


     Feb 13 17:16:43 apeiron kernel: bwn0: device timeout
     Feb 13 17:21:39 apeiron kernel: bwn0: unexpected NULL ni
     Feb 13 17:22:40 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel
     [...]
     Feb 13 17:22:40 apeiron savecore: reboot after panic: page fault
     Feb 13 17:22:40 apeiron savecore: writing core to vmcore.1


     Feb 14 11:40:49 apeiron wpa_supplicant[464]: WPA: Group rekeying 
completed with 68:7f:74:e9:d6:91 [GTK=TKIP]
     Feb 14 12:02:23 apeiron kernel: bwn0: device timeout
     Feb 14 12:03:52 apeiron kernel: bwn0: unexpected NULL ni
     Feb 14 12:12:27 apeiron kernel: , 2265.
     Feb 14 12:13:10 apeiron syslogd: kernel boot file is 
/boot/kernel/kernel

===================================

As for the panics, they immediately follow two of the messages above, as 
you can appreciate in the quote.

Maybe the following can help (or not!!). In /var/log/messages, the 
following two lines keep showing:

   acpi0: reservation of 0, 9f000 (3) failed
   acpi0: reservation of 100000, 7f56d800 (3) failed

Needless to say, this won't discourage me from using FreeBSD on my 
laptop, but it isn't very pleasant to have these kind of problems while 
working. Right now, the "workaround" I implemented is to use a Linksys 
wireless adapter I had sleeping in its box. However, being able to use 
the Broadcom card would be nice. Any help would be appreciated, if 
nothing else, to understand what's happening.

Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3BDB40.2030101>