From owner-freebsd-stable@FreeBSD.ORG Sat Mar 24 14:28:12 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE85B16A400 for ; Sat, 24 Mar 2007 14:28:12 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from bart.milos.co.za (bart.milos.co.za [196.38.18.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6202513C45A for ; Sat, 24 Mar 2007 14:28:04 +0000 (UTC) (envelope-from clay@milos.co.za) Received: (qmail 49057 invoked by uid 89); 24 Mar 2007 13:56:47 -0000 Received: by simscan 1.2.0 ppid: 49049, pid: 49054, t: 1.7857s scanners: attach: 1.2.0 clamav: 0.88.7/m:42/d:2560 Received: from unknown (HELO claylaptop) (clay@milos.za.net@82.206.131.154) by bart.milos.co.za with ESMTPA; 24 Mar 2007 13:56:45 -0000 Message-ID: <0bae01c76e1c$de479000$9503a8c0@claylaptop> From: "Clayton Milos" To: References: <20070324132220.GJ6734@hoeg.nl> Date: Sat, 24 Mar 2007 15:00:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: Subject: Re: Problems detecting S-ATA DVD-RW drive with AHCI enabled X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 14:28:13 -0000 ----- Original Message ----- From: "Ed Schouten" To: 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: port 0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f irq 19 at device 31.5 on pci0 | ata4: on atapci1 | ata5: on atapci1 | ... | acd0: DVDR at ata4-master SATA150 atacontrol: | ATA channel 2: | Master: ad0 Serial ATA II | Slave: no device present | ATA channel 3: | Master: ad1 Serial ATA II | Slave: no device present | ATA channel 4: | Master: acd0 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 Serial ATA II | Slave: no device present | ATA channel 3: | Master: ad1 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 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