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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49EF0ABD.2080801@tuffmail.co.uk>
Date:	Wed, 22 Apr 2009 13:17:01 +0100
From:	Alan Jenkins <alan-jenkins@...fmail.co.uk>
To:	Arjan van de Ven <arjan@...radead.org>
CC:	Bjorn Helgaas <bjorn.helgaas@...com>, linux-acpi@...r.kernel.org,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Kernel Testers List <kernel-testers@...r.kernel.org>,
	Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>
Subject: Re: [FIXED] EEE PC hangs when booting off battery

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 <bjorn.helgaas@...com> 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
--
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