Re: No NCQ support on X61s Ultrabay? (Intel ICH8 SATA controllerquestion)
From: Tejun Heo
Date: Wed Apr 29 2009 - 22:20:00 EST
Hello,
Theodore Ts'o wrote:
> [ 4563.614247] ata4.00: 390721968 sectors, multi 16: LBA48 NCQ (depth 0/32)
>
> which as near as I can tell is because ATA_FLAG_NCQ isn't set in struct
> ata_port->flag. This looks like it should be set to ata_piix.c if the
> controller supports NCQ --- but ata_piix.c doesn't set ATA_FLAG_NCQ at
> all. However, this web page:
>
> http://www.intel.com/support/chipsets/imst/sb/CS-012304.htm
>
> Seems to imply the 82801HBM/HEM SATA controller from the ICH8M/ICHM8-E
> supports AHCI and NCQ, and this is the controller which is in the X61s
> laptop.
The controller can be drive in two different modes - piix and ahci.
In piix mode, it behaves like good old IDE controller from 15 years
back and can't do NCQ. Looks like your controller is in piix mode.
> So I wonder if it's safe to simply add ATA_FLAG_NCQ to ata_piix.c or
> not? Can someone who's more familiar with Intel's ICH8 SATA controller
> comment on whether this would be a safe thing to do?
Oh... please don't that. It won't work. On ICHs, whether the
controller is put in piix or ahci mode is determined by the BIOS.
Most desktop BIOSen have option to put the controller in different
modes but most laptops don't seem to have such option.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/