From tedm@mail.ipinc.net  Mon Jan 21 23:57:50 2008
Return-Path: <tedm@mail.ipinc.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A705116A419
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Jan 2008 23:57:50 +0000 (UTC)
	(envelope-from tedm@mail.ipinc.net)
Received: from mail.ipinc.net (mail.ipinc.net [65.75.192.11])
	by mx1.freebsd.org (Postfix) with ESMTP id 7F31E13C469
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Jan 2008 23:57:50 +0000 (UTC)
	(envelope-from tedm@mail.ipinc.net)
Received: from mail.ipinc.net (localhost.ipinc.net [127.0.0.1])
	by mail.ipinc.net (8.13.8/8.13.8) with ESMTP id m0LNvmDS002336
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Jan 2008 15:57:48 -0800 (PST)
	(envelope-from tedm@mail.ipinc.net)
Received: (from root@localhost)
	by mail.ipinc.net (8.13.8/8.13.8/Submit) id m0LNvmq7002334;
	Mon, 21 Jan 2008 15:57:48 -0800 (PST)
	(envelope-from tedm)
Message-Id: <200801212357.m0LNvmq7002334@mail.ipinc.net>
Date: Mon, 21 Jan 2008 15:57:48 -0800 (PST)
From: Ted Mittelstaedt <tedm@ipinc.net>
Reply-To: Internet Partners Support <support@ipinc.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: OS Fails to detect hard disks on HP Proliant ML110
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119877
>Category:       kern
>Synopsis:       [ata] OS Fails to detect hard disks on HP Proliant ML110
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 22 00:00:08 UTC 2008
>Closed-Date:    
>Last-Modified:  Thu Jul  3 18:10:04 UTC 2008
>Originator:     Ted Mittelstaedt
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
Internet Partners, Inc.
>Environment:
System: FreeBSD proxy.ipinc.net 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


	
>Description:

With the HP Proliant ML110 BIOS set into it's defaults, booting from a
FreeBSD 6.3-RELEASE CD shows that there are no hard drives in the system.
The problem has something to do with how the BIOS sets up the disk
controller.  When the system BIOS are at the default, here is the relevant
dmesg output:

atapci0: <Intel AHCI controller> port 0x1c50-0x1c57,0x1c44-0x1c47,0x1c48-ox1c4f,
0x1c40-0x1c43,0x1e80-0x18ff mem 0xec000800-0xec000fff irq 17 at device 31.2 on pci0
atapci0: AHCI Version 01.20 controller with 4 ports detected
ata2: <ATA channel 0> on atapci0
ata2: port not implemented
ata3: <ATA channel 1> on atapci0
ata3: port not implemented
ata4: <ATA channel 2> on atapci0
ata4: port not implemented
ata5: <ATA channel 3> on atapci0
ata5: port not implemented
atapci1: <Intel ICH9 SATA300 controller> port 0x1c68-0x1c6f,0x1c5c-0x1c5f,0x1c60-ox1c67,
0x1c58-0x1c5b,0x1c30-0x1c3f,0x1c20-0x1c2f irq 18 at device 31.5 on pci0
ata6: <ATA channel 0> on atapci1
ata7: <ATA channel 1> on atapci1

  When the BIOS raid device is turned on, here's the relevant output:

atapci0: <Intel ICH8 SATA300 controller> port 0x1c50-0x1c57,0x1c44-0x1c47,0x1c48-0x1c4f,0x1c40-0x1c43,0x18e0-0x18ff mem 0xec000800-0xec000fff irq 17 at device 31.2 on pci0
atapci0: AHCI called from vendor specific driver
atapci0: AHCI Version 01.20 controller with 4 ports detected
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata4: port not implemented
ata5: <ATA channel 3> on atapci0
ata5: port not implemented
atapci1: <Intel ICH9 SATA300 controller> port 0x1c68-0x1c6f,0x1c5c-0x1c5f,0x1c60-0x1c67,0x1c58-0x1c5b,0x1c30-0x1c3f,0x1c20-0x1c2f irq 18 at device 31.5 on pci0
ata6: <ATA channel 0> on atapci1
ata7: <ATA channel 1> on atapci1

The hard drives are connected to the first controller in the system.
Notice that when the RAID is turned on (whether an actual RAID card is
present in the system or not) that the ad driver probe detects the first
controller differently.

The system is an:

HP Proliant ML110 G5 Xeon CPU 2.66Ghz
Proliant BIOS  015
BIOS Verzion V1.10 

With the following chip in it:

Intel NH828011R

	
>How-To-Repeat:
	
>Fix:

Reboot the system.  During POST, hold down F10 to go into BIOS.  At the
BIOS screen, go to Advanced, then go to Advanced Chipset Control.  Down
key to Serial ATA set to Enabled, set Native Mode Operation to Serial ATA
then set SATA RAID Enable to Enabled.  (the first 2 should already be
set to these values)


	


>Release-Note:
>Audit-Trail:

From: Jim Dawson <jdawson@flexaccess.net>
To: freebsd-gnats-submit@FreeBSD.org, support@ipinc.net
Cc:  
Subject: Re: kern/119877: [ata] OS Fails to detect hard disks on HP Proliant
 ML110
Date: Thu, 03 Jul 2008 09:25:52 -0700

 We are experiencing a similar situation trying to install 
 FREEBSD-7.0-RELEASE on a Proliant ML 150 G1. There is no option in the 
 BIOS to configure the chipset as described. We cannot capture dmesg as 
 we are installing with CD. Installing Fedora Core 6 results in success - 
 here is the relevant dmesg snippet:
 
 Jul  2 14:01:40 localhost kernel: CMD649: IDE controller at PCI slot 
 0000:00:02.0
 Jul  2 14:01:40 localhost kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> 
 GSI 17 (level, low) -> I
 RQ 169
 Jul  2 14:01:40 localhost kernel: CMD649: chipset revision 2
 Jul  2 14:01:40 localhost kernel: CMD649: 100% native mode on irq 169
 Jul  2 14:01:40 localhost kernel:     ide0: BM-DMA at 0x2030-0x2037, 
 BIOS settings: hda:DMA, hdb:
 pio
 Jul  2 14:01:40 localhost kernel:     ide1: BM-DMA at 0x2038-0x203f, 
 BIOS settings: hdc:DMA, hdd:
 pio
 Jul  2 14:01:40 localhost kernel: hda: WDC WD800JB-00JJC0, ATA DISK drive
 Jul  2 14:01:40 localhost kernel: ide0 at 0x2010-0x2017,0x201a on irq 169
 Jul  2 14:01:40 localhost kernel: hdc: WDC WD800JB-00JJC0, ATA DISK drive
 Jul  2 14:01:40 localhost kernel: ide1 at 0x2020-0x2027,0x202a on irq 169
 Jul  2 14:01:40 localhost kernel: SvrWks CSB6: IDE controller at PCI 
 slot 0000:00:0f.1
 Jul  2 14:01:40 localhost kernel: SvrWks CSB6: chipset revision 160
 Jul  2 14:01:40 localhost kernel: SvrWks CSB6: not 100% native mode: 
 will probe irqs later
 Jul  2 14:01:40 localhost kernel:     ide2: BM-DMA at 0x2000-0x2007, 
 BIOS settings: hde:DMA, hdf:
 pio
 Jul  2 14:01:40 localhost kernel:     ide3: BM-DMA at 0x2008-0x200f, 
 BIOS settings: hdg:pio, hdh:
 pio
 Jul  2 14:01:40 localhost kernel: hde: HL-DT-STDVD-ROM GDR8161B, ATAPI 
 CD/DVD-ROM drive
 Jul  2 14:01:40 localhost kernel: ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
 Jul  2 14:01:40 localhost kernel: hda: max request size: 128KiB
 Jul  2 14:01:40 localhost kernel: hda: 156301488 sectors (80026 MB) 
 w/8192KiB Cache, CHS=65535/16
 /63, UDMA(100)
 
 

From: "Internet Partners, Inc. Tech Support" <support@ipinc.net>
To: "'Jim Dawson'" <jdawson@flexaccess.net>,
        <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: RE: kern/119877: [ata] OS Fails to detect hard disks on HP Proliant ML110
Date: Thu, 3 Jul 2008 10:29:44 -0700

 I take it your dmesg is from Fedora, not FreeBSD?
 
 Ted
 
>Unformatted:
