From nobody@FreeBSD.org  Thu Oct 23 13:56:24 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4A5F31065670
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Oct 2008 13:56:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 398BB8FC23
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Oct 2008 13:56:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m9NDuM9M018903
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 23 Oct 2008 13:56:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m9NDuMmq018902;
	Thu, 23 Oct 2008 13:56:22 GMT
	(envelope-from nobody)
Message-Id: <200810231356.m9NDuMmq018902@www.freebsd.org>
Date: Thu, 23 Oct 2008 13:56:22 GMT
From: Deepak Kumar Dalai <deepak@iopb.res.in>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Problem during booting while reviewing the device probe
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         128317
>Category:       kern
>Synopsis:       system needs hw.hasbrokenint12=1 setting before it will boot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 14:00:05 UTC 2008
>Closed-Date:    Mon Feb 23 14:47:43 UTC 2009
>Last-Modified:  Mon Feb 23 14:47:43 UTC 2009
>Originator:     Deepak Kumar Dalai
>Release:        7.0
>Organization:
Institute of Physics
>Environment:
i686 machine, OS: freebsd release 7.0
>Description:
I have a dual booted machine having windows and Debian. I want to replace Debian by freebsd (though Debian is working fine and I like it). While I boot using CDROM (trying both 7.0-RELEASE-i386-bootonly.iso and 7.0-RELEASE-i386-disc1.iso) it was fine only for the first step (i.e., upto FreeBSD Boot Loader Menu) and I choosed the default option to boot. Then it was working on the line 

/boot/kernel/acpi.ko text=0x520e8 data=0x23a0+0x186c syms=[0x4+0x85c0+0xb056]

and  showed the following error


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xf000ff53
fault code = supervisor read, page not present
instruction pointer = 0x20:0xf000ff53
stack pointer = 0x28:0xc1421f0c
frame pointer = 0x28:0xc1421f9c
code segment = base 0x0, limit 0xfffff, type 0x1b
             = DPL 0, press 1,def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 ()
trap number = 12
panic: page fault
cpuid = 0




Then it stopped. I am very disappointed. Will you kindly help me to get rid of this problem and to work with freebsd.

Thanks
Deepak
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Thu Oct 23 19:54:13 UTC 2008 
State-Changed-Why:  
To submitter: if you try to boot using the "verbose" menu option, 
do you get any extra information printed before the crash? 


Responsible-Changed-From-To: freebsd-i386->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Thu Oct 23 19:54:13 UTC 2008 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128317 

From: deepak@iopb.res.in
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/128317: Problem during booting while reviewing the device 
     probe
Date: Fri, 24 Oct 2008 10:30:18 +0530 (IST)

 Thanks Gavin for taking charge of my problem.
 
 I am not getting any extra information booting in verbose mode. It is
 showing same error report.
 
 Thanks
 Deepak
 

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: deepak@iopb.res.in
Subject: Re: kern/128317: Problem during booting while reviewing the device
Date: Fri, 24 Oct 2008 17:02:16 +0100

 On Fri, 2008-10-24 at 05:40 +0000, deepak@iopb.res.in wrote:
 >  I am not getting any extra information booting in verbose mode. It is
 >  showing same error report.
 
 OK, in that case, can you try something please?  From the menu, select
 "escape to loader prompt" and enter:
 
 setenv hw.hasbrokenint12=1
 boot
 
 Gavin

From: deepak@iopb.res.in
To: "Gavin Atkinson" <gavin@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/128317: Problem during booting while reviewing the device
Date: Sun, 26 Oct 2008 17:07:12 +0530 (IST)

 Dear Gavin,
     Thanks for your suggestion.
 From the menu, I selected
 "escape to loader prompt" and entered:
 setenv hw.hasbrokenint12=1
 
 It returned: stack underflow
 
 then I entered:
 set hw.hasbrokenint12=1
 boot
 
 It worked and booted. Things went fine till the end of installation.
 At the end of the installation it asked to be rebooted and to remove the CD
 from CDROM. When I pressed YES for reboot it suddenly stops and the whole
 screen becomes blue.
 
 Then turned off the computer and again switched on. I had to go through the
 "escape to loader prompt" and goes fine. But it remains in text mode, does
 not goes to graphical mode. Then after logging into root mode, I tried to
 shutdown the machine using the commands "shutdown -h now" and "halt".
 Both the cases the does somethings then crashed writing "uptime: mM sS" (m
 and s are two numbers)
 
 Will kindly provide some solutions for these problems ?
 
 Thanks
 Deepak
 
 
 
 > On Fri, 2008-10-24 at 05:40 +0000, deepak@iopb.res.in wrote:
 >>  I am not getting any extra information booting in verbose mode. It is
 >>  showing same error report.
 >
 > OK, in that case, can you try something please?  From the menu, select
 > "escape to loader prompt" and enter:
 >
 > setenv hw.hasbrokenint12=1
 > boot
 >
 > Gavin
 >
 
 

From: Gavin Atkinson <gavin@FreeBSD.org>
To: deepak@iopb.res.in
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/128317: Problem during booting while reviewing the device
Date: Thu, 06 Nov 2008 22:32:31 +0000

 deepak@iopb.res.in wrote:
 > Dear Gavin,
 >     Thanks for your suggestion.
 >>From the menu, I selected
 > "escape to loader prompt" and entered:
 > setenv hw.hasbrokenint12=1
 > 
 > It returned: stack underflow
 > 
 > then I entered:
 > set hw.hasbrokenint12=1
 > boot
 > 
 > It worked and booted.
 
 Excellent news.
 
 > Then turned off the computer and again switched on. I had to go through the
 > "escape to loader prompt" and goes fine.
 
 To use that setting every boot, add the line
 
 set hw.hasbrokenint12=1
 
 to /boot/loader.conf (which may well be an empty file at the moment)
 
 > But it remains in text mode, does
 > not goes to graphical mode.
 
 Did you install Xorg?  By default, FreeBSD doesn't install an X server,
 or desktop (e.g. Gnome, KDE etc).  If you want them, you will need to
 install the ports, either from the CD or by downloading them.  There is
 a good section in the FreeBSD handbook detailing how to do this 
 including getting the window manager to start automatically, the
 handbook is located at http://www.FreeBSD.org/handbook
 
 > Then after logging into root mode, I tried to
 > shutdown the machine using the commands "shutdown -h now" and "halt".
 > Both the cases the does somethings then crashed writing "uptime: mM sS" (m
 > and s are two numbers)
 
 If this is the problem I suspect it is, then it was fixed shortly
 after 7.0 was released.  FreeBSD 7.1 is only a few weeks away from being
 released, I'd recommend upgrading to that if possible and seeing if the
 problem still exists before we investigate this further.
 
 Gavin
 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Mon Feb 23 14:45:25 UTC 2009 
State-Changed-Why:  
THe loader setting hw.hasbrokenint12=1 fixed the problems the submitter 
was having. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128317 
>Unformatted:
