From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ted Ts'o Subject: Re: PROBLEM: Disk continually remounts and hardlocks the entire system if running on battery. Date: Wed, 19 Jan 2011 09:59:28 -0500 Message-ID: <20110119145928.GC3043@thunk.org> References: <87ipxlj1vd.fsf@dmon-lp.sw.ru> <4D362DD2.8070606@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from thunk.org ([69.25.196.29]:35682 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754124Ab1ASO7k (ORCPT ); Wed, 19 Jan 2011 09:59:40 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Robert Hancock Cc: John Tyree , Dmitry , Eric Sandeen , Jiaying Zhang , Al Viro , linux-kernel , ide On Wed, Jan 19, 2011 at 08:43:03AM -0600, Robert Hancock wrote: > > That doesn't look like the same thing - in their case it doesn't look > like any SATA errors are occurring, just a remount (presumably > triggered by some userspace software). If you have laptop mode, you definitely want to disable it, and see if that makes a difference. That being said, if userspace code is able to trigger errors like that from the hardware, I'd say at first glance the kernel should do a better job protecting itself from buggy software, even if it is buggy software running as root.... - Ted