Bug 119877

Summary: [ata] OS Fails to detect hard disks on HP Proliant ML110
Product: Base System Reporter: tedm
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.3-RELEASE   
Hardware: Any   
OS: Any   

Description tedm 2008-01-22 00:00:08 UTC
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

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)
Comment 1 jdawson 2008-07-03 17:25:52 UTC
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)
Comment 2 support 2008-07-03 18:29:44 UTC
I take it your dmesg is from Fedora, not FreeBSD?

Ted
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:26 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped