From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Jenkins Subject: Re: [FIXED] EEE PC hangs when booting off battery Date: Wed, 22 Apr 2009 13:17:01 +0100 Message-ID: <49EF0ABD.2080801@tuffmail.co.uk> References: <49E065CF.6040408@tuffmail.co.uk> <200904140859.02188.bjorn.helgaas@hp.com> <20090414081728.10de978a@infradead.org> <200904140948.37633.bjorn.helgaas@hp.com> <49E5F01B.2060201@tuffmail.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SY8J8r2tBqffLCFbphmeJecrihdjpXy5aYSGWPlRaO0=; b=Q4wICQOFGqhQ+nT5wkT6e5siRbIPTRu/FIRcBs6UKp1S44sVo5r/hdEWvfYxwWur+E I+GTgDEtR/tQz2sNM+3PPQJuHoDTc4Ff3Fy8Lhy99yf/cXeZ55lAq6vaHxwFhlhU/BVD 2MbUSI5SIEgt1BIyrBTxaeMBz7DMPArmsMxD8= In-Reply-To: <49E5F01B.2060201@tuffmail.co.uk> Sender: linux-acpi-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Arjan van de Ven Cc: Bjorn Helgaas , linux-acpi@vger.kernel.org, linux-kernel , Kernel Testers List , Venkatesh Pallipadi Alan Jenkins wrote: > Bjorn Helgaas wrote: > >> On Tuesday 14 April 2009 09:17:28 am Arjan van de Ven wrote: >> >> >>> On Tue, 14 Apr 2009 08:59:01 -0600 >>> Bjorn Helgaas wrote: >>> >>> >>> >>>> I can't help with the real problem of why the asynchronous battery >>>> init causes the hang. >>>> >>>> >>> that got fixed already for the module case. >>> >>> >> But apparently still broken for the builtin case? I think Alan is >> running pretty new bits -- he said "latest git" on April 11. >> >> > > It's now fixed, in 2.6.30-rc2. My battery is modular btw. I suspect > > 5d38258ec026921a7b266f4047ebeaa75db358e5 "ACPI battery: fix async boot > oops" [removal of __init] > > was not sufficient to fix my problem, but it was solved by the "real" fix, > > d6de2c80e9d758d2e36c21699117db6178c0f517 "async: Fix module loading > async-work regression" [module loading waits on async work] > > > I would argue there's still a question over why the asynchronous battery > init (_with_ the oops fix) should cause a hang in the idle routine. But > since the regression is fixed, it's not exactly an urgent question. > Ugh. Recently I tried building the battery driver into the kernel, to benefit from the async work. Later, I tried booting from the battery and it hung again. This time, the kernel did not even respond to SysRq. I tried nmi_watchdog=1 and waiting 2 minutes, but the watchdog didn't trigger either. As before, it doesn't happen with acpi=off. I checked that this still happened in todays rc3, and it doesn't happen if I revert 0f66af530116e9f4dd97f328d91718b56a6fc5a4 "ACPI: battery: asynchronous init" Regards Alan