Re: Weird hard disk noise on shutdown (bug #7674)

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

 



On Wednesday 16 May 2007 8:58 pm, Henrique de Moraes Holschuh wrote:
> On Wed, 16 May 2007, Rob Landley wrote:
> > Ok, so the change is to get shutdown to _stop_ doing something stupid 
> > (spinning down the disk without first flushing the cache), and the correct 
> > thing for shutdown to do is keep its' mitts off the thing and let the 
kernel 
> > power down the darn hardware?
> 
> Yes, for *all* SCSI disk devices, libata or not.

I realize that this time next year it won't be possible to use a ramdisk or a 
network block device without going through the SCSI layer, but while it 
remains an option I'm relishing _not_ using it, thanks.

> But you need to detect if the kernel has proper SCSI device shutdown
> support, because if it does not, you have to do a cache flush and spindown
> on shutdown(8) if you can...

Or (and this is just a thought), you could upgrade your kernel so it correctly 
handles your hardware, treating this just like any other driver bug or other 
lack of proper hardware support in the history of Linux.  (Back when APM 
couldn't power off the machine at the end of the shutdown sequence, did we 
modify shutdown to try to work around this, or did we fix it in the kernel so 
it worked?)

Why does everybody want to shoehorn everything through the SCSI layer, anyway?  
Last I checked you didn't have to spin down a USB flash key.  If SATA is 
SCSI, what the heck is SAS?  (Answer: a cynical marketing hack to bleed SCSI 
bigots for the huge margins they've always been bled for.  But oh well.)  It 
would be hilarious if I didn't have to put up with it renumbering my devices 
and imposing requirements for hardware I haven't got on hardware I have 
got...

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux