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] [day] [month] [year] [list]
Message-ID: <20101221072309.GA32278@liondog.tnic>
Date:	Tue, 21 Dec 2010 08:23:09 +0100
From:	Borislav Petkov <bp@...en8.de>
To:	Seblu <seblu@...lu.net>
Cc:	Zhang Rui <rui.zhang@...el.com>,
	"Brown, Len" <len.brown@...el.com>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ACPI battery: Fix sysfs oops when removing battery

On Tue, Dec 21, 2010 at 04:24:26AM +0100, Seblu wrote:
> On Tue, Dec 21, 2010 at 3:01 AM, Zhang Rui <rui.zhang@...el.com> wrote:
> > On Sun, 2010-12-19 at 21:00 +0800, Borislav Petkov wrote:
> >> Hi guys,
> >>
> >> I get the oops below on 37-rc6. Here's a possible fix:
> >>
> > does this happen every time when you unload the battery driver?
> >
> on my laptop (dell e6410), with 4 tests, this append every times.

Yes, it happens every time here too. The explanation for that is simple:
according to the oops, this is on the path of acpi_ev_notify_dispatch()
which looks like it handles ACPI events and since removing the battery
or changing of the power supply or similar is one such event, we do a
state update.

-- 
Regards/Gruss,
    Boris.
--
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