From nobody@FreeBSD.org  Wed Aug 25 07:36:06 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 421EF16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 Aug 2004 07:36:06 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1DA1043D60
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 Aug 2004 07:36:06 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7P7a5R1055835
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 Aug 2004 07:36:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i7P7a52m055834;
	Wed, 25 Aug 2004 07:36:05 GMT
	(envelope-from nobody)
Message-Id: <200408250736.i7P7a52m055834@www.freebsd.org>
Date: Wed, 25 Aug 2004 07:36:05 GMT
From: "Karl L. Swartz" <karl@kls2.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panic: page fault at end of boot on Athlon 64 / Asus K8V
X-Send-Pr-Version: www-2.3

>Number:         70931
>Category:       kern
>Synopsis:       [panic] page fault at end of boot on Athlon 64 / Asus K8V
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 25 07:40:27 GMT 2004
>Closed-Date:    Mon Feb 19 12:29:50 GMT 2007
>Last-Modified:  Mon Feb 19 12:29:50 GMT 2007
>Originator:     Karl L. Swartz
>Release:        4.10-RELEASE
>Organization:
>Environment:
unable
>Description:
I'm trying to install FreeBSD 4.10 in a new machine which has an Asus           K8V motherboard with an AMD Athlon 64 2800+ CPU and 1GB of PC3200 ECC           memory.  Storage is a pair of Seagate ST-3200822A 200GB UATA-100 disks          in a mirror group on a 3Ware Escalade 7006-2 RAID controller.

Booting either from the FreeBSD Mall CD or floppies I get

   Mounting root from ufs:/dev/md0c                                                             
   /stand/sysinstall running as init on vty0                                   
   panic: page fault

Attempts with 4.9 and 5.2.1 both fail in the same way at approximately
the same location in the boot sequence.

I then temporarily installed an older motherboard and CPU and installed
FreeBSD 4.10-RELEASE.  After switching back to the K8V / Athlon 64 and
booting from the mirror set I again get a panic at approximately the
same location, albeit with more information:

   Mounting root from ufs:/dev/twed0s1a
   
   
   Fatal trap 12: page fault whle in kernel mode
   fault virtual address  = 0x4832870
   fault code             = supervisor write, page not present
   instruction pointer    = 0x8:0xc03ac086
   stack pointer          = 0x10:0xc043bdf0
   frame pointer          = 0x10:0xc043bdf8
   code segment           = base 0x0, limit 0xfffff, type 0x1b
                          = DPL 0, pres 1, def32 1, gran 1
   processor eflags       = interrupt enabled, resume, IOPL = 0
   current process        = idle
   interrupt mask         = net tty bio cam
   trap number            = 12
   panic: page fault
   
   syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
   giving up on 1 buffers
   Uptime: 14s
   twe0: Cannot delete unit, error = 16

A reset resulted in another failed boot with the only significant
difference being the fault virtual address, 0x45f27e0 the second time.
The other trace information was identical.

>How-To-Repeat:
attempt to boot
>Fix:
none known

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Wed Aug 25 15:49:21 GMT 2004 
State-Changed-Why:  
Can you try to setup a Serial Console to get the dmesg output? 
Especially the probe messages of the twe-Controller? 

See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-advanced.html 
for more information on booting via Serial Console. 

Did you use the same controller when installing with the other Mainboard? 

Can you try the 5.3-BETA? 

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

From: Karl Swartz <karl@kls2.com>
To: Tilman Linneweh <arved@FreeBSD.org>
Cc: freebsd-bugs@FreeBSD.org
Subject: Re: kern/70931: panic: page fault at end of boot on Athlon 64 / Asus K8V
Date: Wed, 25 Aug 2004 13:55:56 -0700

 > Can you try to setup a Serial Console to get the dmesg output?
 
 I'll scrounge through the dusty bits for a null-modem cable and give it
 a try this evening.
 
 > Especially the probe messages of the twe-Controller?
 
 Will do, but I doubt that's related.  With the 4.10 twe driver bugs in
 mind, I physically yanked the card from the system and tried booting
 from floppies.  Same panic.
 
 > Did you use the same controller when installing with the other Mainboard?
 
 Yes.
 
 > Can you try the 5.3-BETA?
 
 Do you have a preference for x86 or amd64?  I'll try both if I can.  I'm
 also going to run more hardware diagnostics and re-check all of the BIOS
 settings.
 
 More info tonight.  Until then, thank you for your help.  That's one of
 the things I like about FreeBSD vs. the "support" with commercial trash.
 :-)
 
  -- Karl

From: Thomas Fagart <tfagart@brozs.net>
To: freebsd-gnats-submit@FreeBSD.org, karl@kls2.com
Cc:  
Subject: Re: kern/70931: panic: page fault at end of boot on Athlon 64 / Asus
 K8V
Date: Fri, 24 Sep 2004 00:04:55 +0200

 Hello,
 
 I'm  using 5.2.1-i386 on K8V Deluxe SE successfully.
 My attempt to install 5.2.1-amd64 was successful, but then the system 
 was not stable at all (hanging while compiling software) each time it 
 hangs i've also got this message page fault.
 I've tried to install 5.3Beta5-amd64, with ACPI disable, but while doing 
 the install of the ports I also got the message Panic : page fault and 
 systems hangs. I think this might be related to kern/70931.
 
 As I saw that this PR is in "Waiting for feedback" state, I'm willing to 
 give more information if needed.
 
 Thomas
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Feb 19 12:29:48 UTC 2007 
State-Changed-Why:  
HEllo, I have the very same motherboard (K8VSEDX) and I never had a 
problem with 64bit mode. I used FreeBSD 5.3 and above. Please provide 
feedback if FreeBSD 5.5 and / or 6.2 still give issues. 

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