Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933034AbXIAXnu (ORCPT ); Sat, 1 Sep 2007 19:43:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757620AbXIAXnl (ORCPT ); Sat, 1 Sep 2007 19:43:41 -0400 Received: from idcmail-mo1so.shaw.ca ([24.71.223.10]:30253 "EHLO pd3mo1so.prod.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757547AbXIAXnk (ORCPT ); Sat, 1 Sep 2007 19:43:40 -0400 Date: Sat, 01 Sep 2007 17:42:30 -0600 From: Robert Hancock Subject: Re: read-only /sys/block/sda/device/queue_depth In-reply-to: To: Yan Seiner Cc: linux-kernel@vger.kernel.org Message-id: <46D9F8E6.8010101@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2; format=flowed Content-transfer-encoding: 7bit References: User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1410 Lines: 36 Yan Seiner wrote: > I'm running into the same issue reported here: > > > > I am using the ata_piix module. If I read the docs correctly, I should > be able to use ahci as well; I need to rebuild the kernel though (debian > insists on putting ata_piix into the initrd....) > > dionysus:~# ls -l /sys/block/sd[abcde]/device/queue_depth > -r--r--r-- 1 root root 4096 2007-09-01 06:00 > /sys/block/sda/device/queue_depth > -r--r--r-- 1 root root 4096 2007-09-01 06:00 > /sys/block/sdb/device/queue_depth > -r--r--r-- 1 root root 4096 2007-09-01 06:00 > /sys/block/sdc/device/queue_depth > -r--r--r-- 1 root root 4096 2007-09-01 06:00 > /sys/block/sdd/device/queue_depth > -r--r--r-- 1 root root 4096 2007-09-01 06:00 > /sys/block/sde/device/queue_depth > > If I change the perms to rw, I get an Input/Output error. AFAICT, the > drives support queueing, but it's disabled. ata_piix does not support NCQ. You have to use AHCI mode for that. -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/