Bug 73775

Summary: Kernel panic (trap 12) when booting with (not from!) Promise 378 controller enabled
Product: Base System Reporter: Frits Letteboer <graver>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.3-RELEASE   
Hardware: Any   
OS: Any   

Description Frits Letteboer 2004-11-10 14:20:22 UTC
	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 rx0, 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

Fix: 

Disable controller in BIOS
How-To-Repeat: 	Enable the controller in BIOS and boot using a GENERIC kernel
Comment 1 dave 2005-01-31 23:58:21 UTC
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
Comment 2 john 2007-02-13 21:38:53 UTC
Does this still happen with 6.2?

-- 
John Baldwin
Comment 3 John Baldwin freebsd_committer freebsd_triage 2007-02-14 16:59:30 UTC
State Changed
From-To: open->closed

Submitter reports that problem is fixed.