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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joern Quillmann wrote:
>> 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.
> 
> I just bought an external USB->IDE converter and tested it again.
> Of course due to the cheap concerter-chip the USB disk wont go to
> standby mode but I can set 'allow_restart' to 1 with this converter.
> 
> So maybe it's only about sbp2 implementation or specifically my OXFW911
> bridges?

FWIW, sbp2 in Linux 2.6.19-rcX sets the allow_restart flag for all HDDs
and other direct access devices. In Linux 2.6.18 it does so only for
Maxtor disks. Beyond setting that flag or leaving as it is, the sbp2
driver has nothing to do with the restart facility; it's a thing between
the SCSI error handler and the target. Of course the firmware of the
FireWire bridge has to support it in the first place. I have no data
which OXFW911 firmwares do or don't.

Also I don't remember which Linux release has the patch that exposes the
allow_restart flag as a writable sysfs attribute but I suppose if you
can see this attribute, then you have the patch. I can set and unset it
with echo on 2.6.19-rc4 just fine, as root of course.
-- 
Stefan Richter
-=====-=-==- =-== =--=-
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux