Difference between revisions of "Lt hotswap"

From ThinkWiki
Jump to: navigation, search
m (Supported models)
(clarified ata_piix vs. ide-disk issue)
Line 3: Line 3:
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
 
=== lt_hotswap ===
 
=== lt_hotswap ===
The <tt>lt_hotswap</tt> kernel module enables hot-swapping for disk drives with full DMA support under Linux.
+
The <tt>lt_hotswap</tt> kernel module enables hot-swapping of UltraBay disk drives under Linux, with DMA support.
It should work on any ThinkPad with hot-swappable bays and ACPI support. The driver needs [[ibm-acpi]] to be running.
 
 
|}
 
|}
 
===Features===
 
===Features===
Line 12: Line 11:
  
 
===Limitations===
 
===Limitations===
*does '''not''' work with APM
+
* Requires [[ibm-acpi]] to be running (does not work with [[APM]]).
 +
* Works only in conjunction with the <tt>ide-disk</tt> driver (recent ThinkPad models use <tt>ata_piix</tt> instead).
  
 
===Project Homepage / Availability===
 
===Project Homepage / Availability===
Line 30: Line 30:
 
*ThinkPad {{A31p}} (warmswap), {{T30}}, {{T22}}, {{T40}}, {{T42}}
 
*ThinkPad {{A31p}} (warmswap), {{T30}}, {{T22}}, {{T40}}, {{T42}}
  
The <tt>lt_hotswap</tt> driver will not work if you use the <tt>ata_piix</tt> driver rather than the generic IDE driver (<tt>ata_piix</tt> is necessary on some models to get DMA support, see [[problems with SATA and Linux]]).
+
<tt>lt_hotswap</tt> does '''not''' work well on models that require  the <tt>ata_piix</tt> driver rather than the generic <tt>ide-disk</tt> IDE driver. See [[problems with SATA and Linux]] for a list, and [[How to hotswap UltraBay devices]] for an alternative solution on these models.
  
 
[[Category:Drivers]] [[Category:Patches]]
 
[[Category:Drivers]] [[Category:Patches]]

Revision as of 08:12, 17 May 2006

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).

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