From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754596Ab1ASO7m (ORCPT ); Wed, 19 Jan 2011 09:59:42 -0500 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 Date: Wed, 19 Jan 2011 09:59:28 -0500 From: "Ted Ts'o" To: Robert Hancock Cc: John Tyree , Dmitry , Eric Sandeen , Jiaying Zhang , Al Viro , linux-kernel , ide Subject: Re: PROBLEM: Disk continually remounts and hardlocks the entire system if running on battery. Message-ID: <20110119145928.GC3043@thunk.org> Mail-Followup-To: Ted Ts'o , Robert Hancock , John Tyree , Dmitry , Eric Sandeen , Jiaying Zhang , Al Viro , linux-kernel , ide References: <87ipxlj1vd.fsf@dmon-lp.sw.ru> <4D362DD2.8070606@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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