Re: BUG in scsi_lib.c due to a bad commit

From: Christoph Hellwig
Date: Thu Nov 20 2014 - 12:53:23 EST

On Thu, Nov 20, 2014 at 06:44:32PM +0100, Barto wrote:
> I notice that my motherboard doesn't support "AHCI" mode, my motherboard
> uses an ICH7 sata controler, ICH7 doesn't support AHCI if I check the
> technical specifications of this controler,
> it seems that my bios treats SATA devices like IDE devices ( IDE
> emulation mode ), for example I can read in the bios these lines "IDE 0
> channel master : "the name of Sata harddisk 1", "IDE 3 channel master :
> "the name of Sata harddisk 2",
> perhaps the bug only occurs when the AHCI mode is not used ?

Looks like it. I suspect you device only supports a single outstanding
command without AHCI, can you confirm this by doing:

for i in /sys/class/scsi_host/*; do cat $i/can_queue; done

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at