Bug 7053 - No support for ejectable drive bays - Dell M65
Summary: No support for ejectable drive bays - Dell M65
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Hotplug (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Kristen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 14:30 UTC by Kristen
Modified: 2007-11-27 10:00 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.18-rc4-git1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Kristen 2006-08-24 14:30:12 UTC
Most recent kernel where this bug did not occur: n/a

Distribution:
SLE10 + kernel.org kernel

Hardware Environment:
Dell M65 laptop

Problem Description:
Although there is support for SATA hotplug in the 2.6.18-rc4-git1 kernel, there
is still not a way to safely remove the module bay from the laptop because the
dock driver does not currently support dockable drive bays.  When inserting and
removing a drive bay with the hotplug sata interface, it must be done manually
by the user:
(to remove)
# echo 1 > /sys/class/scsi_device/1\:0\:0\:0/device/delete

(to add)
# echo 0 0 0 >  /sys/class/scsi_host/host1/scan

On some platforms (IBM), there is a platform specific driver that will allow the
user then to call the ACPI _EJ0 method to safely eject the drive bay, however,
this approach is inadequate.  Not only does it not work for any platform but
ibm, it also does not handle the case where a laptop is booted without a drive
bay and a bay is inserted while the laptop is powered on.  

I believe that the dock driver should be modified to automatically call the sata
hotplug insert/delete functions and to execute _EJ0 when needed.  This would be
platform independent and require no userspace intervention.
Comment 1 Kristen 2007-11-27 10:00:26 UTC
Bay driver is merged upstream

Note You need to log in before you can comment on or make changes to this bug.