Spinup of SCSI Disks: allow_restart won't work on 2.6.18

Joern Quillman
2006-11-17T17:40:55Z

Hi

I'm having troubles using the sysfs interface for enabling automatic
spinup of SCSI Drives.
I searched the archives of this list and after discovering the patches
for enabling automatic spinup for SCSI disk drives I updated to a recent
2.6.18-2 kernel (debian unstable).
I have now the allow_restart entry in sysfs.
It's set to 0 in my machine and it won't let me change it with 'echo 1 >
allow_restart' or echo -n. I always get a write error.

The first thing I thought about was that it may be set to 0 by default
and so I took a look into the original source of my debian kernel.
It's set to 'sdev->allow_restart = 1' everywhere in the source as I can
see and I'm getting confused right now.
Why can't I change the allow_restart setting at runtime? According to
former posts on this list it should be possible.

Is there another way to force automatic spinup of my firewire drives?

My setup consists of a bunch of 8 IDE harddisks connected through some
OXFW911 Firewire Bridges.

Thanks

Joern