SCSI Problem

Tim Seufert yellowdog-general@lists.terrasoftsolutions.com
Wed Dec 4 15:55:01 2002


On Wednesday, December 4, 2002, at 06:55  AM, Drew Lane wrote:

>>
>> Definitely slow if it's the original 1GB Fireball.  They were slow 
>> even back when they were new.  :)  However, I can't say that I've 
>> ever heard of one failing to show up in Linux before, and I don't 
>> recall such problems back when I was using a PowerMac 7500 with what 
>> was probably the same drive you've got.  Of course, that was back in 
>> the early days of the PowerMac port of Linux and the drivers have 
>> changed quite a bit since then...  for example, if the drivers now 
>> have a shorter timeout when scanning for devices, that could create 
>> problems for a slow-to-respond drive.
>
> I would like to test this timeout theory by rescanning the SCSI bus
> after I boot into Linux.
>
> Is there a command to do this?

Sort of -- you write stuff to /proc files and the kernel rescans a 
particular SCSI ID/LUN on a particular bus.  There's a handy shell 
script out there which automates the process of rescanning all IDs on 
all busses; it's at:

http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh