lkml.org 
[lkml]   [2007]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Weird hard disk noise on shutdown (bug #7674)
Date
On Wednesday 16 May 2007 7:41 am, Tejun Heo wrote:
> Hello,
>
> Rob Landley wrote:
> > Um, hang on. So libata can't reliably turn the system off without data
loss
> > and potential damage to hardware unless userspace goes through a special
song
> > and dance? And this is _not_ considered a defect in the kernel?
>
> Yeap, definitely a bug in the kernel and we're trying to fix it. Just
> for the record, we have _always_ issued FLUSH CACHE, so there hasn't
> been and won't be any data loss problem. The data loss problem was
> mentioned as why we can't do things completely inside kernel without
> updating userland shutdown(8) which issues STANDBYNOW.

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?

Woot,

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

\
 
 \ /
  Last update: 2007-05-17 01:51    [W:0.111 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site