Re: Hotplug borked after suspend/resume in Linux-3.3 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/18/2012 01:10 PM, Martin Mokrejs wrote:
Fix: I got my 3TB disk detected by this single command:

# echo on>   /sys/devices/pci0000:00/0000:00:1f.2/ata6/power/control
#

This is a Dell Vostro 3550 with A09 BIOS. Same happend with 3.4-rc3 kernel.

I can do some more testing if you want me to.
Best,
Martin


Can you test this one-line patch from Lin Ming? Hopefully there is zero sysfs twiddling required with this one...

--- a/drivers/ata/libata-transport.c
+++ b/drivers/ata/libata-transport.c
@@ -294,6 +294,7 @@ int ata_tport_add(struct device *parent,
 	device_enable_async_suspend(dev);
 	pm_runtime_set_active(dev);
 	pm_runtime_enable(dev);
+	pm_runtime_forbid(dev);

 	transport_add_device(dev);
 	transport_configure_device(dev);


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux