scsi-idle fails on IBM DORS 31260 Ultra

scsi-idle fails on IBM DORS 31260 Ultra

Post by Christophe Zwecke » Mon, 21 Oct 1996 04:00:00



Hi,

scsi-idle spins the drives down alright, but when they come back up the
system hangs. Anyone has got an idea whats wrong here ? With a friend
with scsi-2 IBM DPES hd's it works (kernel 2.0.14 also). Maybe because I
use Ultrascsi ? Or some settings with the host adaptor ? (Buslogic 948).

Anyone with experience or hints please let me know - the noise is too
much for me...
--

   Christophe

--------------------------------------------------------------------------

Hamburg, Germany                      
--------------------------------------------------------------------------

In newsgroups please reply also by email - thanks

 
 
 

scsi-idle fails on IBM DORS 31260 Ultra

Post by Dave Pla » Wed, 23 Oct 1996 04:00:00


Quote:>scsi-idle spins the drives down alright, but when they come back up the
>system hangs. Anyone has got an idea whats wrong here ?

I had problems with scsi-idle when used with disk drives that go into
CHECK CONDITION: UNIT ATTENTION status after having been spun down and
spun back up.

There's some code in the SCSI probing code that can clear a UNIT
ATTENTION when the devices are initially probed and spun up (all you
have to do is read the sense codes).  The main portion of the sd.c
disk code does not deal gracefully with UNIT ATTENTION, though.

During normal operation, UNIT ATTENTION means "something about the
device has changed behind your back, dear host, so you should re-query
the drive to get a fresh idea of its actual characteristics."  The
Linux drivers seem to have been written on the assumption that [1]
this isn't supposed to happen, or [2] is relevant only for removable
SCSI media such as SyQuest drives which are going to need some amount
of manual intervention (e.g. umount/mount) anyhow.

I experimented with a patch to the mid-level SCSI code which would
deal with a UNIT ATTENTION by simply reading the sense codes (this is
normally done anyhow) and then just reissuing the command.  This
seemed to allow most SCSI disks to work correctly with the scsi_idle
feature.

I haven't bothered to keep this patch up-to-date, as I've stopped
using scsi_idle.  Even with the patch, it didn't seem to work
correctly if the drive being spun down/up has an active swap partition
on it - something about the swapper seemed to be more sensitive to the
drive being not-ready fairly quickly, and the system would panic.  As
I only have one drive in my machine these days, it doesn't make sense
to try to spin it down.

 
 
 

1. scsi-idle fails on IBM DORS 31260 Ultra

Hi,

scsi-idle spins the drives down alright, but when they come back up the
system hangs. Anyone has got an idea whats wrong here ? With a friend
with scsi-2 IBM DPES hd's it works (kernel 2.0.14 also). Maybe because I
use Ultrascsi ? Or some settings with the host adaptor ? (Buslogic 948).

Anyone with experience or hints please let me know - the noise is too
much for me...
--

   Christophe

--------------------------------------------------------------------------

Hamburg, Germany                      
--------------------------------------------------------------------------

In newsgroups please reply also by email - thanks

2. Exclude memory area?

3. Anybody else have problems with the IBM DORS 32160?

4. beginner install question

5. IBM's HD's: DORS,DHFS and DFRS what about it ?

6. CHECK TRAFFIC

7. Adaptec 2040 IBM-DORS DJAA 31700

8. ONC/RPC on Unix SCO

9. BusLogic 958 and IBM DORS 32160W

10. apple-OEM DORS 32160 reports SCSI-I!

11. AIX 4.3.1, IBM 6208 Fast Wide SCSI, Seagate Ultra Wide 9.1 Gb drive?

12. Trying to attach IBM external SCSI to Ultra

13. Linux, Buslogic 958, IBM ULTRA WIDE HD SCSi