[ltp] Re: tytso's ibm_acpi hotswap patch / hotswap on Z61p
Marc MERLIN
linux-thinkpad@linux-thinkpad.org
Wed, 26 Dec 2007 10:53:00 -0800
[putting findings back on the list, I'll also update my other message
and thinkwiki]
[and please, override the unwanted reply-to munging on that list, and do
Cc me on replies]
On Mon, Dec 24, 2007 at 09:47:08AM -0500, Theodore Tso wrote:
> On Sat, Dec 22, 2007 at 02:45:53PM -0800, Marc MERLIN wrote:
> >
> > I've been trying to get ultrabay hotswap working on my thinkpad Z61p,
> > and found your patch:
> > http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg04716.html
> >
> > I noticed this is still not in 2.6.24-rc6.
> >
> > Did your patch get rejected, or is it not needed in the end?
>
> It's still needed, and yes, it did get rejected. I don't remember the
I found out that all my problems were due to my kernel still having piix
which was taking over the IDE bus and preventing ata_piix from doing
anything.
pixx/ide-disk, despite anything on
http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices
and lt_hotswap not even building for 2.6.22.
Once I disabled piix for good, my ultrabay now shows as SCSI, and things
work. I'm not too sure if your patch actually helps me since it does:
- "\\_SB.PCI0.SATA.SCND.MSTR", /* T60, X60, Z60 */
+ "\\_SB.PCI0.SATA.SCND.MSTR", /* T60, X60, Z60, SATA mode? */
+ "\\_SB.PCI0.IDE0.PRIM.MSTR", /* T60p, IDE mode?
which adds a primary IDE master, which is what my drive used to be, but
isn't anymore now that I'm not using ide-disk anymore.
I'm not sure if lt_hotswap/ide-disk even works anymore, but seeing that
I can't unload piix in case of problems, but I can unload ata_piix,
which resets everything nicely in case or problems, I not going to
bother with ide-disk anymore
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/