Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2011 20:46:04 +0330
From:      Bahman Kahinpour <bahman.linux@gmail.com>
To:        Graeme Dargie <arab@tangerine-army.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Onboard SATA Controller of Intel DH55HC Motherboard (FreeBSD 7.3 & FreeBSD 8.1)
Message-ID:  <AANLkTingUgvT16nR_zmz2N5rhf0GiZx8Za9pM-y%2BRgFz@mail.gmail.com>
In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F7897392904F827@Mercury.galaxy.lan.lcl>
References:  <AANLkTi=8dzXoUXEjv792wSfwaOoxfCbzs7aGW5cT_pZh@mail.gmail.com> <01FB8F39BAD0BD49A6D0DA8F7897392904F827@Mercury.galaxy.lan.lcl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tangerine-army.co.uk> wrote:
>
>
> -----Original Message-----
> From: Bahman Kahinpour [mailto:bahman.linux@gmail.com]
> Sent: 24 January 2011 11:40
> To: freebsd-questions@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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTingUgvT16nR_zmz2N5rhf0GiZx8Za9pM-y%2BRgFz>