[ltp] cannot unload and reload ultra bay
Dan Sawyer
linux-thinkpad@linux-thinkpad.org
Sat, 16 Jun 2007 19:24:22 -0700
This is a multi-part message in MIME format.
--------------030802060402080603080401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
followup:
The thinkwiki ultrabay script references scsi devices. The swap is
between a dvd and a ata disk. Neither are scsi. How should the script:
|# echo 0 0 0 > /sys/class/scsi_host/host1/scan
and
|
|# echo 1 > /sys/class/scsi_device/1\:0\:0\:0/device/delete|
|# echo eject > /proc/acpi/ibm/bay|
be changed to work with /dev/hdc?
- Da n
Dan Sawyer wrote:
> Update,
>
> The system is FC6 with a 2.6.21.1 kernel
>
> Kernel config checked and ata_piix module loaded.
> Scripts in thinkpad wiki installed.
>
> acpi appears to be working
> the system beeps whenever the bay eject lever is released or closed.
>
> /proc/partition does not change
>
> The bay works successfully on boot.
>
> dmesg shows command errors attempting to read device
>
> - Dan
>
> Dan Sawyer wrote:
>> All,
>>
>> The system is a T41 running 2.6.21.1 kernel. The system does not
>> unload devices from the ultra bay. I booted with a hard disk carrier
>> in the bay. That worked as it should have.
>>
>> Then I performed an eject command and removed the drive. I then
>> inserted a DVD drive. It was not recognized.
>>
>> How can this be done? What are the config parameters? What am I missing?
>>
>> Thanks - Dan
--------------030802060402080603080401
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
followup:<br>
<br>
The thinkwiki ultrabay script references scsi devices. The swap is
between a dvd and a ata disk. Neither are scsi. How should the script: <br>
<pre><code
style="white-space: nowrap; color: rgb(73, 89, 136); background-color: white;"># echo 0 0 0 > /sys/class/scsi_host/host1/scan
and
</code></pre>
<pre><code
style="white-space: nowrap; color: rgb(73, 89, 136); background-color: white;"># echo 1 > /sys/class/scsi_device/1\:0\:0\:0/device/delete</code>
<code
style="white-space: nowrap; color: rgb(73, 89, 136); background-color: white;"># echo eject > /proc/acpi/ibm/bay</code>
</pre>
<br>
be changed to work with /dev/hdc?<br>
<br>
- Da n<br>
Dan Sawyer wrote:
<blockquote cite="mid46743711.2030704@earthlink.net" type="cite">Update,
<br>
<br>
The system is FC6 with a 2.6.21.1 kernel
<br>
<br>
Kernel config checked and ata_piix module loaded.
<br>
Scripts in thinkpad wiki installed.
<br>
<br>
acpi appears to be working
<br>
the system beeps whenever the bay eject lever is released or closed.
<br>
<br>
/proc/partition does not change
<br>
<br>
The bay works successfully on boot.
<br>
<br>
dmesg shows command errors attempting to read device
<br>
<br>
- Dan
<br>
<br>
Dan Sawyer wrote:
<br>
<blockquote type="cite">All,
<br>
<br>
The system is a T41 running 2.6.21.1 kernel. The system does not unload
devices from the ultra bay. I booted with a hard disk carrier in the
bay. That worked as it should have.
<br>
<br>
Then I performed an eject command and removed the drive. I then
inserted a DVD drive. It was not recognized.
<br>
<br>
How can this be done? What are the config parameters? What am I
missing?
<br>
<br>
Thanks - Dan
<br>
</blockquote>
</blockquote>
</body>
</html>
--------------030802060402080603080401--