Re: USB harddisk drive fails on 2.6.23-rc3 (regression)

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Sonntag 19 August 2007 schrieb Jean Delvare:
> > There are lots of possible ways to address this.  Worth trying is
> > to enable the "allow_restart" attribute for the drive.  The attribute
> > file appears in the sysfs directory for the disk; you may have to
> > search around a little to find exactly where it is.  Also you may have
> > to use the blockdev command to force the system to read the partition
> > table after turning on allow_restart.
> 
> Yes, that worked. After writing 1 to allow_restart and running
> "blockdev --rereadpt /dev/sda", the partition table can be read with
> "fdisk -l /dev/sda" again.
> 
> Am I supposed to add these commands to my init scripts, or is there
> another way to make the effect permanent?

Doesn't that defeat the stated purpose of autosuspend to be transparent
to the user?

	Regards
		Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.