From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: Hotplug borked after suspend/resume in Linux-3.3 ? Date: Tue, 17 Apr 2012 17:07:57 -0400 Message-ID: <4F8DDBAD.9050509@teksavvy.com> References: <4F8DD4DC.4050503@teksavvy.com> <4F8DD7AB.2050709@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from ironport-out.teksavvy.com ([206.248.143.162]:46619 "EHLO ironport-out.teksavvy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081Ab2DQVH6 (ORCPT ); Tue, 17 Apr 2012 17:07:58 -0400 In-Reply-To: <4F8DD7AB.2050709@pobox.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Jeff Garzik Cc: Tejun Heo , IDE/ATA development list , Lin Ming On 12-04-17 04:50 PM, Jeff Garzik wrote: > On 04/17/2012 04:38 PM, Mark Lord wrote: >> Okay, so why isn't SATA hotplug working in linux-3.3.2 ? >> I don't know when it stopped working, but it's a blooming pain in the sysadmin. >> >> I need to hotplug a SATA drive into an AHCI port, >> preferably without having to reboot first. >> >> Is there a patch available already for this regression? > > hrm... smells like runtime PM stuff. > > Can you try "libata: disable runtime pm for hotpluggable port"? > > You probably have to edit ahci_port_pluggable() to make it unconditionally return true. Rebuilding / reboot shortly.