From graver@graver.xs4all.nl  Wed Nov 10 14:11:39 2004
Return-Path: <graver@graver.xs4all.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 67AE816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Nov 2004 14:11:39 +0000 (GMT)
Received: from graver.xs4all.nl (graver.xs4all.nl [80.127.65.160])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BDCD843D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Nov 2004 14:11:38 +0000 (GMT)
	(envelope-from graver@graver.xs4all.nl)
Received: from graver.xs4all.nl (localhost.dragonball.z [127.0.0.1])
	by graver.xs4all.nl (8.13.1/8.13.1) with ESMTP id iAAEBVxe000550
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Nov 2004 15:11:31 +0100 (CET)
	(envelope-from graver@graver.xs4all.nl)
Received: (from graver@localhost)
	by graver.xs4all.nl (8.13.1/8.13.1/Submit) id iAAEBV64000549;
	Wed, 10 Nov 2004 15:11:31 +0100 (CET)
	(envelope-from graver)
Message-Id: <200411101411.iAAEBV64000549@graver.xs4all.nl>
Date: Wed, 10 Nov 2004 15:11:31 +0100 (CET)
From: Frits Letteboer <graver@graver.xs4all.nl>
Reply-To: Frits Letteboer <graver@graver.xs4all.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Kernel panic (trap 12) when booting with (not from!) Promise 378 controller enabled
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         73775
>Category:       amd64
>Synopsis:       Kernel panic (trap 12) when booting with (not from!) Promise 378 controller enabled
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 14:20:22 GMT 2004
>Closed-Date:    Wed Feb 14 16:59:47 GMT 2007
>Last-Modified:  Wed Feb 14 16:59:47 GMT 2007
>Originator:     Frits Letteboer
>Release:        FreeBSD 5.3-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD graver.dragonball.z 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov 9 12:51:55 CET 2004 root@graver.dragonball.z:/usr/obj/usr/src/sys/GRAVER amd64

	CPU: AMD Athlon(tm) 64 Processor 3500+ (2202.83-MHz K8-class CPU)
	Origin = "AuthenticAMD"  Id = 0xff0  Stepping = 0
	Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
	AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
	real memory  = 1073414144 (1023 MB)
	avail memory = 1024765952 (977 MB)

	Asus A8V Deluxe mainboard
	
>Description:
	Things go wrong when FreeBSD tries to detect devices on the controller (Promise 378 Raid controller):

	ata4-slave: FAILURE - ATA_IDENTIFY timed out
	ata4-slave: FAILURE - ATA_IDENTIFY timed out
	ata4-master: FAILURE - ATA_IDENTIFY timed out
	ata4-master: FAILURE - ATA_IDENTIFY timed out

	ata4-slave: FAILURE - SETFEATURES SET TRANSFER MODE timed out

	Fatal trap 12: page fault while in kernel mode
	
	Fault virtual address	= 0x6
	Fault code		= supervisor read, page not present
	Instruction pointer	= 0xffffffff8020683e
	Stack pointer		= 0xffffffff80899ca0
	Frame pointer		= 0xffffff003d9f158
	Code segment		= base 0x0, limit 0xfffff, type 0x1b
				= DPL 0, pres 1, long 1, def32 0, gran 1
	Processor eflags	= interrupt enabled, resume, IOPL = 0
	Current process		= 0 (swapper)
	Trap number		= 12
	Panic: page fault
	Uptime: 27s
	
>How-To-Repeat:
	Enable the controller in BIOS and boot using a GENERIC kernel	
	
>Fix:
	Disable controller in BIOS
	
>Release-Note:
>Audit-Trail:

From: "Dave Myron" <dave@orangechicken.com>
To: <freebsd-gnats-submit@FreeBSD.org>, <graver@graver.xs4all.nl>
Cc:  
Subject: Re: amd64/73775: Kernel panic (trap 12) when booting with (not from!) Promise 378 controller enabled
Date: Mon, 31 Jan 2005 15:58:21 -0800

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0F23_01C507AD.B2795580
 Content-Type: text/plain;
 	charset="US-ASCII"
 Content-Transfer-Encoding: 7bit
 
 This happens on my P4 system too on an ASUS P4C800 with the PDC20378
 controller.
 
 More info:
 - If I enable the controller in the BIOS but have no drives attached (either
 S-ATA or P-ATA - I'm using P-ATA only because that's what I've got) the
 system boots fine
 - If I add just one disk, the system still boots fine (ad8 on ata4-master)
 - The problem happens when I add the slave drive
 
 ------=_NextPart_000_0F23_01C507AD.B2795580
 Content-Type: text/html;
 	charset="US-ASCII"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 <HTML>
 <HEAD>
 <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
 charset=3Dus-ascii">
 <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
 6.5.7036.0">
 <TITLE>Re: amd64/73775: Kernel panic (trap 12) when booting with (not =
 from!) Promise 378 controller enabled</TITLE>
 </HEAD>
 <BODY>
 <!-- Converted from text/rtf format -->
 
 <P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Century Gothic">This happens =
 on my P4 system too on an ASUS P4C800 with the PDC20378 =
 controller.</FONT>
 </P>
 
 <P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Century Gothic">More =
 info:</FONT>
 
 <BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Century Gothic">- If I =
 enable the controller in the BIOS but have no drives attached (either =
 S-ATA or P-ATA - I'm using P-ATA only because that's what I've got) the =
 system boots fine</FONT></P>
 
 <P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Century Gothic">- If I add =
 just one disk, the system still boots fine (ad8 on ata4-master)</FONT>
 
 <BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Century Gothic">- The =
 problem happens when I add the slave drive</FONT>
 </P>
 
 </BODY>
 </HTML>
 ------=_NextPart_000_0F23_01C507AD.B2795580--
 

From: John Baldwin <john@baldwin.cx>
To: bug-followup@freebsd.org, graver@graver.xs4all.nl
Cc:  
Subject: Re: amd64/73775: Kernel panic (trap 12) when booting with (not from!) Promise 378 controller enabled
Date: Tue, 13 Feb 2007 16:38:53 -0500

 Does this still happen with 6.2?
 
 -- 
 John Baldwin
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Wed Feb 14 16:59:30 UTC 2007 
State-Changed-Why:  
Submitter reports that problem is fixed. 

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