Lt hotswap

From ThinkWiki
Revision as of 00:16, 15 July 2006 by RichardNeill (Talk | contribs) (typo)
Jump to: navigation, search

lt_hotswap

The lt_hotswap kernel module enables hot-swapping of UltraBay disk drives under Linux, with DMA support.

Features

  • enable hotswapping of UltraBay drives
  • automatic IDE unregistering on ibm-acpi eject event
  • leaves DMA support intact

Limitations

  • Requires ibm-acpi to be running (does not work with APM).
  • Works only in conjunction with the ide-disk driver (recent ThinkPad models use ata_piix instead).
  • Does not get on well with idectl. Use one, or the other, or crash.

Project Homepage / Availability

Development and discussion of lt_hotswap is currently being held in Linux-ThinkPad Mailinglist.

Installation

In order to use the driver you must use ACPI and also have the ibm-acpi driver linked to your kernel (module or compiled).

When loading the hotswap module, you can use the module parameter: auto_eject=1 to automatically unregister the drives IDE interface. This will happen upon popping out the UltraBay lever.

Supported models

The driver has been explicitly reported to work on the following models. It should work on many others as well:

lt_hotswap does not work well on models that require the ata_piix driver rather than the generic ide-disk IDE driver. See problems with SATA and Linux for a list, and How to hotswap UltraBay devices for an alternative solution on these models.

See also