From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 16:34:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9816106566C for ; Wed, 15 Feb 2012 16:34:03 +0000 (UTC) (envelope-from ramirocaso05@yahoo.com.ar) Received: from nm4-vm1.bullet.mail.ne1.yahoo.com (nm4-vm1.bullet.mail.ne1.yahoo.com [98.138.91.44]) by mx1.freebsd.org (Postfix) with SMTP id A27C38FC0A for ; Wed, 15 Feb 2012 16:34:03 +0000 (UTC) Received: from [98.138.90.48] by nm4.bullet.mail.ne1.yahoo.com with NNFMP; 15 Feb 2012 16:21:17 -0000 Received: from [98.138.226.131] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 15 Feb 2012 16:21:16 -0000 Received: from [127.0.0.1] by smtp218.mail.ne1.yahoo.com with NNFMP; 15 Feb 2012 16:21:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.ar; s=s1024; t=1329322876; bh=i+t72F1dCJfjjMsIv17kYqQVxKOtGpSVbD+bAJPbmmg=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=oPvCEcwXFV6GL7oGNCKiSmrqoLGQcf3M6SF5ytqzUvV/GMhpakYuWaYs+uqXpXkE3X9H2JU01ynXVg+BRHoWBPbhRFxf7zr874jrYv7mHD7d1GCjnyd/ahGnuD08sdhy8jW6aFup6f/wFn4DLqvHr0516MhquRipL52Et496SjM= X-Yahoo-Newman-Id: 938083.67966.bm@smtp218.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: PovHA0oVM1lWb1xif5ZZzYYTijRhCxb42qpDCqO1tMt9ncG i9rzwsBHK4lOcuWbMvj.c44XvVRDW3bqHoWwt8O4Jt9zXiuPDvP4w730RFOV Qvs6PlZPjafTk5bTJv_IDdJk9WfGvfXBbM3sc8G8a.rD8tRg_MNEwNAIHAiV Zs6sAUG79Q_iiAYxlzkR20dXfMdAXR_okAmdqgEvWZ.9PmxU98qU4MdcFB2Y iSbXWBIqjV1Z5UWE7viaKYA2HJxa1PHwKS3V92Dczp4cTMD2LsMWh.sADNtf LaobiCTwtC2H34rb.87dMojmSx5MC0gE_nnMlZT1Yl8YSgSYzYSL2GVMBNJW L8UgxSPctTtjqq5KZQySEuM594l6e1bo6bDpIpOPhlTtwqFe4Kn3WHE.8n81 w5JLSF420iCoFroq_B5fS3bjpE5yIQF.3RFvr X-Yahoo-SMTP: nvs2XB.swBAGTflg2_BV8MKeFlUrIJyEuA-- Received: from [192.168.1.104] (ramirocaso05@186.22.49.170 with plain) by smtp218.mail.ne1.yahoo.com with SMTP; 15 Feb 2012 08:21:16 -0800 PST Message-ID: <4F3BDB40.2030101@yahoo.com.ar> Date: Wed, 15 Feb 2012 13:20:16 -0300 From: Ramiro Caso User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.1) Gecko/20120214 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 15 Feb 2012 16:46:48 +0000 Subject: 9.0-RELEASE: Strange freezing and kernel panics on laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2012 16:34:04 -0000 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!