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



Oh man, I really liked your answer, thanks so much. I disabled all
legacy options in the BIOS (SATA controller is in AHCI mode which I do
not know what it is) and added this little ahci_load="YES" thing to
/boot/loader.conf and now my hard drives are recognized as: (and
changed fstab and of course after a few little errors in the boot
process):

ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD5000AADS-00S9B0 01.00A01> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <WDC WD5000AADS-00S9B0 01.00A01> ATA-8 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <WDC WD5000AADS-00S9B0 01.00A01> ATA-8 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
Trying to mount root from ufs:/dev/ada0s1a

I think it's good now. And the order of recognition of drives is the
same as Linux (I mean ada0=sda ada1=sdb ada2=sdc). Is AHCI mode the
best mode for SATA controller? (highest speed, utilizing all fancy
features, ...)

Good luck

On 1/24/11, Graeme Dargie <arab@xxxxxxxxxxxxxxxxxxxx> wrote:


-----Original Message-----
From: Bahman Kahinpour [mailto:bahman.linux@xxxxxxxxx]
Sent: 24 January 2011 11:40
To: freebsd-questions@xxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxx:/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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@xxxxxxxxxxx"



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

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: FIC Systemboard
    ... has ide and sata controller in it. ... When I use an IDE drive I can install Linux which I ... 120 gb Maxtor Sata Hard Drives ... DVD Burner / CD Burner Combo Drive ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: What is wrong with my SATA drive?
    ... I recently replaced my system's IDE hard drive with a new Western ... Digital SATA 3.0 g/b drive from newegg. ... either wrong with it or my motherboard's SATA controller. ... g/b drives and I had to put a jumper on the drive to bump it down to ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Just lost 200gigs.... Thanks XP
    ... If the SATA controller is motherboard based, ... appears as either an IDE or SCSI and no drivers are required. ... S-ATA drives have always been tricky and until Windows XP setup ...
    (microsoft.public.windowsxp.general)
  • Re: Quick SATA Question
    ... with an onboard SATA controller, can I hook up my current IDE drive to ... Or do I need to buy a SATA hard drive? ... The new computers and motherboard with SATA still have an IDE port ... DVD/CD-ROM drives are still mostly IDE. ...
    (alt.comp.hardware.pc-homebuilt)
  • Remaining SATA (and other) issues
    ... and I am running 6 drives ICH9 in AHCI ... My Jmicron SATA controller is in AHCI mode - hrm... ...
    (freebsd-current)