Onboard SATA Controller of Intel DH55HC Motherboard (FreeBSD 7.3 & FreeBSD 8.1)

Graeme Dargie arab at tangerine-army.co.uk
Mon Jan 24 16:27:32 UTC 2011



-----Original Message-----
From: Bahman Kahinpour [mailto:bahman.linux at gmail.com] 
Sent: 24 January 2011 11:40
To: freebsd-questions at freebsd.org
Subject: Onboard SATA Controller of Intel DH55HC Motherboard (FreeBSD 7.3 & FreeBSD 8.1)

Hello FreeBSD people all over the world,

There is an onboard Intel SATA controller on Intel DH55HC motherboard.
I have tried FreeBSD version 7.3 and 8.1 on this motherboard, it
recognizes the SATA controller but recognizes the hard disk as IDE
devices. How can this happen?

$ uname -a
FreeBSD mail.freebsdsystem.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sun
Jan 23 19:28:28 IRST 2011
root at mail.freebsdsystem.net:/usr/obj/usr/src/sys/CUSTOM  i386
$ dmesg | grep SATA
atapci1: <Intel PCH SATA300 controller> port
0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf020-0xf03f
mem 0xfe725000-0xfe7257ff irq 19 at device 31.2 on pci0
ad8: 476940MB <WDC WD5000AADS-00S9B0 01.00A01> at ata4-master UDMA100 SATA 3Gb/s
ad10: 476940MB <WDC WD5000AADS-00S9B0 01.00A01> at ata5-master UDMA100
SATA 3Gb/s
ad12: 476940MB <WDC WD5000AADS-00S9B0 01.00A01> at ata6-master UDMA100
SATA 3Gb/s
acd0: DVDR <SONY DVD RW DRU-870S/1.61> at ata7-master UDMA100 SATA 1.5Gb/s
$

I did everything to prevent the FreeBSD kernel from recognizing the
hard drives as IDE. I turned off all IDE emulation options in the
BIOS.

How can I fix that?

Thanks
Bahman Kahinpour
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



This is very motherboard dependent, if your board supports AHCI, putting the sata controller in to that mode will result in the drives starting as ada rather than ad. You will also need to load the AHCI driver in /etc/loader.conf    ahci_load="YES"


ada0 at ahcich0 bus 0 target 0 lun 0
ada0: <SAMSUNG HD154UI 1AG01118> ATA/ATAPI-7 SATA 2.x device
ada0: 300.000MB/s transfers
ada0: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)
ada0: Native Command Queueing enabled

I pulled that from one of my systems, the data drives are sata the boot disk is IDE so for me changing to AHCI had no effect on the system booting, if you boot from a SATA drive I suspect you might need to tweak fstab to allow the system to boot correctly.

Regards

Graeme 


More information about the freebsd-questions mailing list