lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <464C1D11.8040305@gmail.com>
Date:	Thu, 17 May 2007 11:14:57 +0200
From:	Tejun Heo <htejun@...il.com>
To:	Rob Landley <rob@...dley.net>
CC:	Dave Jones <davej@...hat.com>, Francesco Pretto <ceztko@...il.com>,
	Phillip Susi <psusi@....rr.com>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Weird hard disk noise on shutdown (bug #7674)

Rob Landley wrote:
>> 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?

Yeah, about right.  Because kernel can't skip FLUSH CACHE and FLUSH
CACHE can spin up the disk back again.  Oh well, some disks even spin
back up on STANDBYNOW to spin down again.  The big fat warning and all
compat mess are to avoid introducing regression and urge shutdown(8)
update such that it does nothing.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ