[Home]SATA

Last edit: Daniel Siboska on May 29, 2006 21:38 (4195 days, 18 hours and 52 minutes ago) (diff)
I915gmm.Gratiswiki.Dk | RecentChanges | Preferences | GratisWiki

Use the libata kernel driver for this. (Available in modern 2.6 kernels)

Note that this motherboard will refuse to boot from a SATA drive unless it is plugged into SATA 1.

To use the SATA ports 1 and 2 from the ICH6-M controller it is recommended to set the SATA controller to "Enchanched Mode" in the BIOS, otherwise (using auto/combined) the PATA and SATA controller will be seen as one controller from the kernel, with varies problems (no DMA, no ATAPI etc.). The only reason to use combined mode is during install to make the an older installer recognize the drives.

Support for the SATA ports 3 and 4 from the Sil3132 controller has been added to the libata-dev tree, and is avaliable in the latest -mm patches (and from 2.6.15 in the mainline kernel) in the sil24 driver. To use the Sil3132 RAID controller as a standard SATA controller, add your drive(s) as concatenation RAID. (yes it even works with only one drive). No need to reformat the drives, the drive appears just as on a normal SATA controller.

Install guide for debian sarge
http://www.csg.is.titech.ac.jp/~lenglet/howtos/debianonsata/index.html


Peter writes:
but how do I use a SATA drive with my existing setup (a normal IDE drive?). What bios settings and what kernel settings?
Daniel answers:
Use SATA "enhanched mode" in the BIOS and the "ahci" kernel driver. When using Enhanched Mode, your PATA drives will be supported by the piix driver, and you should not need the ata_piix driver, which is a driver for the combined SATA and PATA mode.

Wim writes:
linux-2.6.16-rc1 is the messiah , the new sky2 driver is able to configure the onboard marvells correctly, I can boot from the SIL3132 now , by configuring both drives I have as concatenation raid seperately (create in the SIL setup two times a concatenation raid , one for one drive , one for the other, now you can use linux md to create raid devices or have them just as drives as you like and you can boot from them too), HDA sound works again. Hallelujah.

Mike writes:
I have a lot of drives in my i915gmm machine - 8 to be exact. They are all PATA drives, though I have 6 PATA<->SATA adapters for the drives (and those are each tested and working). If I put two drives on the SATA1 and SATA2 (the ICH6 ports) and two drives on PATA1 and PATA2, I find that the only bootable configuration is to have the boot drives on SATA1 and SATA2. It doesn't matter what boot order I set them in, this is the only thing that works. Worse, when I have the boot drives on SATA1 and SATA2 and those are working, if I put any drives on the SATA3 or SATA4 ports, the machine hangs in the BIOS at "Verifying DMI pool.." which tells me that it can't jump to the right device's MBR for some reason. It's really very strange. Further, I have a PCI PATA card, and when I add that in to the system, grub loads, loads its boot menu, and then when it tries to boot the kernel I get an automatic reboot. So 4 drives is easy on this motherboard, but 6 or 8 is so far a challenge. I finally found success with 2 drives on the PATA ports (they show up as hdc and hdd), 2 drives on the on-board SATA ports (they show as sda and sdb) then a 4-port SATA card for the other drives.

More info:

http://linuxmafia.com/faq/Hardware/sata.html

http://linux.yyz.us/sata/


Thanks for that tip it's useful to know, I managed to solve this a different way by unloading the generic IDE / PCI IDE drivers and enabling SCSI CD Rom support which seemed to work without the DMA issue (the SATA driver enabled DMA on the DVD drive). I think as you say the generic PCI IDE driver is causing a conflict with the SATA driver and prevent either of them from setting DMA mode on or allowing any further adjustments (well certainly if there built into the kernel anyway).

I still have an Issue with my DVD drive, I can't find a method to set the read speed for DVD playback e.g. hdparm -E4 /dev/hda doesnt work and eject -x4 /dev/hda doesnt work either (I've tried with both the SATA and IDE drivers and with different speed settings but no joy). If anyone knows of a way to achieve this I'd be very grateful, if required I can probably generate a patch for an existing program of module assuming that the source code is readily available.

DVD speed and CD speed must be changed via different commands. I believe that this applies to the media rather than the command!

i.e for CD/CDR/CDRW use eject or hdparm for DVD media you need to issue the SET_STREAMING via ioctrl to the drive. I'm not aware of a standard app that does this under linux or anything that can be simply emerged under gentoo. However Thomas Fritzsche [vdr] has written a nice app to do this, doing emerge vdr under gentoo does not seem to build the speedcontrol util btw. Sorry for gentoo specific stuff but thats what i use :)

You can download speedcontrol from http://noto.de/vdr/speedcontrol.c I managed to compile it by issuing gcc -o speedcontrol speedcontrol.c

after you have moved to a suitable bin directory it can be called up via speedcontrol -x1 /dev/dvd (or whatever your dvd drive device is)

and disabled via speedcontrol -x0 /dev/dvd

give it a go, worked great 4 me and makes DVD playback silent!


Edit text of this page | View other revisions | Download I915gmm.gratiswiki.dk
Search:
GratisWiki hostes af HOW