Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070324/71c26d6c/attachment.pgp
Clayton Milos
2007-Mar-24 14:28 UTC
Problems detecting S-ATA DVD-RW drive with AHCI enabled
----- Original Message ----- From: "Ed Schouten" <ed@fxq.nl> To: <stable@freebsd.org> Sent: Saturday, March 24, 2007 2:22 PM Subject: Problems detecting S-ATA DVD-RW drive with AHCI enabled Hello, Yesterday I bought a DVD-RW drive. When I choose to use IDE (checkbox in my BIOS), the drive gets detected and I can use it: dmesg: | atapci1: <Intel ICH8 SATA300 controller> port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f irq 19 at device 31.5 on pci0 | ata4: <ATA channel 0> on atapci1 | ata5: <ATA channel 1> on atapci1 | ... | acd0: DVDR <Optiarc DVD RW AD-7170S/1.00> at ata4-master SATA150 atacontrol: | ATA channel 2: | Master: ad0 <WDC WD3000JS-00PDB0/21.00M21> Serial ATA II | Slave: no device present | ATA channel 3: | Master: ad1 <WDC WD1600JS-00NCB1/10.02E02> Serial ATA II | Slave: no device present | ATA channel 4: | Master: acd0 <Optiarc DVD RW AD-7170S/1.00> Serial ATA v1.0 | Slave: no device present | ATA channel 5: | Master: no device present | Slave: no device present The disadvantage of IDE is that my disks run at SATA150, while the hard disks on ata2 and ata3 can use SATA300. So when I enable AHCI, the device isn't detected anymore: atacontrol: | ATA channel 2: | Master: ad0 <WDC WD3000JS-00PDB0/21.00M21> Serial ATA II | Slave: no device present | ATA channel 3: | Master: ad1 <WDC WD1600JS-00NCB1/10.02E02> Serial ATA II | Slave: no device present | ATA channel 4: | Master: no device present | Slave: no device present | ATA channel 5: | Master: no device present | Slave: no device present Not even a detach/attach on channel 4 can enable the drive: | # atacontrol detach ata4 | # atacontrol attach ata4 | Master: no device present | Slave: no device present The strange thing is that Windows Vista does recognize the drive when I enable AHCI in the BIOS. I've attached two dmesg'es. One contains the verbose output of my machine with IDE enabled. The other one uses AHCI. Yours, -- Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ Ed To be perfectly honest with you I've never seen any IDE or SATA drive perform over 100MB/s On a motherboard I tested with a Nvidia chipset the hard drive performed faster using SATA1 instead of SATA2. My advice would be to run it in IDE compatability mode. It will probably give you a lot less headaches. The only real advantage of SATA2 is native command queueing and for this to work both the drive and the controller have to support it. With an optical drive NCQ is a waste of time anyways. -Clay