Bug 16579
Summary: | ahci.skip_host_reset=1 do not work anymore starting from 2.6.35 (regression) | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Rus (harbour) |
Component: | Serial ATA | Assignee: | Tejun Heo (tj) |
Status: | CLOSED INVALID | ||
Severity: | blocking | CC: | cebbert, maciej.rutecki, rjw, tj |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.35 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 16055 |
Description
Rus
2010-08-13 09:19:26 UTC
What does /sys/module/ahci/parameters/skip_host_reset contain after you boot with ahci.skip_host_reset=1 ? AHCI compiled in kernel, so such file does not exists. [Hors]:rus:~ # cat /sys/module/ahci/parameters/skip_host_reset cat: /sys/module/ahci/parameters/skip_host_reset: No such file or directory .... [Hors]:rus:~ # cat /proc/cmdline auto BOOT_IMAGE=Linux ro root=802 resume=/dev/sda1 vt.default_utf8=0 libata.force=1:nohrst ahci.skip_host_reset=1 noirqbalance panic=30 memory_corruption_check=1 The module got split into libahci.ko and ahci.ko to support ahci_platform.ko, so the module parameter should now be libahci.skip_host_reset. That said, if the drive doesn't remember the unlocked state over link resets (it's called Software Setting Preservation and enabled by default on modern drives), it doesn't have much chance of operating reliably. In SATA, link resets may happen involuntarily and the drive would lock up during operation. Thanks. Resolving as invalid. Sorry about the inconvenience. Thanks, changing the parapmeter to libahci.skip_host_reset fixes the issue. About possible drive lockup during link reset - I thought that the libahci.skip_host_reset option was created just for such cases - the reset must be skipped and not passed to the drive, isn't it ? Well, the parameter makes the driver avoid hardreset during probing but nothing can prevent asynchronous phy events from happening. Such events aren't too frequent but they definitely can happen. Security lock without ssp on SATA is simply broken. |