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

2011-01-25 Thread perryh
Bahman Kahinpour bahman.li...@gmail.com wrote:

 Is AHCI mode the best mode for SATA controller?
 (highest speed, utilizing all fancy features, ...)

In general, probably yes, provided the combination of hardware
and driver actually works properly _all_ the time :)

AHCI is new enough that the occasional hardware erratum or
driver bug might be more likely than with an older technology
such as IDE or ATA.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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

2011-01-24 Thread Bahman Kahinpour
Do you mean that both traditional IDE drives and these new SATA drives
both begin with ad in FreeBSD? I am new to FreeBSD, I have just
migrated from Linux. In Linux, traditional IDE drives used to begin
with hd and these new SATA drives began with sd and recognized as
SCSI devices. I expected this new SATA drives to begin with da in
FreeBSD. Do you mean I am wrong and both IDE and SATA devices begin
with ad?

On 1/24/11, Robert Bonomi bon...@mail.r-bonomi.com wrote:
 From owner-freebsd-questi...@freebsd.org  Mon Jan 24 05:48:21 2011
 Date: Mon, 24 Jan 2011 15:10:07 +0330
 From: Bahman Kahinpour bahman.li...@gmail.com
 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
 r...@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?

 what are you -expecting- to see?   ATA drives, either PATA or SATA _are_
 IDE interface.  the boot messages show they're being regocnises as SATA,
 at 3 gigabit/sec.   Everything looks right to me. :)



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


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

2011-01-24 Thread Da Rock

On 01/25/11 00:01, Bahman Kahinpour wrote:

Do you mean that both traditional IDE drives and these new SATA drives
both begin with ad in FreeBSD? I am new to FreeBSD, I have just
migrated from Linux. In Linux, traditional IDE drives used to begin
with hd and these new SATA drives began with sd and recognized as
SCSI devices. I expected this new SATA drives to begin with da in
FreeBSD. Do you mean I am wrong and both IDE and SATA devices begin
with ad?

   
I believe so, yes. I have several SATA systems running FreeBSD, as well 
as some ATA. Only difference is the numerical start- ad0 as opposed to 
ad4, but I believe that is mainboard bios dependent.

On 1/24/11, Robert Bonomibon...@mail.r-bonomi.com  wrote:
   

 From owner-freebsd-questi...@freebsd.org  Mon Jan 24 05:48:21 2011
Date: Mon, 24 Jan 2011 15:10:07 +0330
From: Bahman Kahinpourbahman.li...@gmail.com
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
r...@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: 476940MBWDC WD5000AADS-00S9B0 01.00A01  at ata4-master UDMA100 SATA
3Gb/s
ad10: 476940MBWDC WD5000AADS-00S9B0 01.00A01  at ata5-master UDMA100
SATA 3Gb/s
ad12: 476940MBWDC WD5000AADS-00S9B0 01.00A01  at ata6-master UDMA100
SATA 3Gb/s
acd0: DVDRSONY 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?
   

what are you -expecting- to see?   ATA drives, either PATA or SATA _are_
IDE interface.  the boot messages show they're being regocnises as SATA,
at 3 gigabit/sec.   Everything looks right to me. :)



 

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


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


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

2011-01-24 Thread Graeme Dargie


-Original Message-
From: Bahman Kahinpour [mailto:bahman.li...@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
r...@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-unsubscr...@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 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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

2011-01-24 Thread Bahman Kahinpour
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 a...@tangerine-army.co.uk wrote:


 -Original Message-
 From: Bahman Kahinpour [mailto:bahman.li...@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
 r...@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-unsubscr...@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.confahci_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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org