[ltp] scsi vs ata ?
Dan Sawyer
linux-thinkpad@linux-thinkpad.org
Fri, 20 Jun 2008 18:17:18 -0700
This is a multi-part message in MIME format.
--------------030202050608060802060702
Content-Type: text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding: 7bit
Thanks for the reply,
I am using the scripts at:
http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices
The eject gets to the beep at the end of the script. No files have been
loaded so the only relevant steps are 4 and 5. Are they part of the scrip?
Thanks - Dan
Dmitry E. Mikhailov wrote:
> On Friday 20 June 2008 08:17:10 am Dan Sawyer wrote:
>
>> Yes, the motivation was ultra bay hot swap. This works on DVD and CD
>> drives. Hard drive installs work. However hard drive removal result in a
>> hard kernel hang. The script gets to the beep successfully but then the
>> hard hang. Unfortunately there are no log entries. (the latest kernel
>> patches are installed)
>>
>> Is there a way to debug this?
>>
>
> Hot remove isn't just hardware. It's software too.
>
> 1) close files on this drive
> 2)unmount filesystems
> 3)flush caches
> 4)instruct kernel to remove SCSI device
> 5)do hardware steps to remove
>
> If you don't do any of steps 1-4, kernel would wait for HDD forever and HDD
> wouldn't respond because it is just not there.
>
> As you wrote, there's some sort of script. Please let me see it. Post here as
> an attachment or provide a link.
>
>
> Best regards, Dmitry
>
--------------030202050608060802060702
Content-Type: text/html; charset=windows-1251
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1251"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the reply,<br>
<br>
I am using the scripts at:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices">http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices</a><br>
<br>
The eject gets to the beep at the end of the script. No files have been
loaded so the only relevant steps are 4 and 5. Are they part of the
scrip?<br>
<br>
Thanks - Dan <br>
<br>
Dmitry E. Mikhailov wrote:
<blockquote cite="mid:200806201442.39911.sexandvodka@gmail.com"
type="cite">
<pre wrap="">On Friday 20 June 2008 08:17:10 am Dan Sawyer wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yes, the motivation was ultra bay hot swap. This works on DVD and CD
drives. Hard drive installs work. However hard drive removal result in a
hard kernel hang. The script gets to the beep successfully but then the
hard hang. Unfortunately there are no log entries. (the latest kernel
patches are installed)
Is there a way to debug this?
</pre>
</blockquote>
<pre wrap=""><!---->
Hot remove isn't just hardware. It's software too.
1) close files on this drive
2)unmount filesystems
3)flush caches
4)instruct kernel to remove SCSI device
5)do hardware steps to remove
If you don't do any of steps 1-4, kernel would wait for HDD forever and HDD
wouldn't respond because it is just not there.
As you wrote, there's some sort of script. Please let me see it. Post here as
an attachment or provide a link.
Best regards, Dmitry
</pre>
</blockquote>
</body>
</html>
--------------030202050608060802060702--