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: <200711021250.03555.eike-kernel@sf-tec.de>
Date:	Fri, 2 Nov 2007 12:49:57 +0100
From:	Rolf Eike Beer <eike-kernel@...tec.de>
To:	Alexey Starikovskiy <astarikovskiy@...e.de>
Cc:	lenb@...nel.org, linux-acpi@...r.kernel.org,
	kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [2.6.24-rc1][BUG] Oops on battery removal

Alexey Starikovskiy wrote:
> Rolf Eike Beer wrote:
> > Rolf Eike Beer wrote:
> >> Hi,
> >>
> >> this happened while I removed my battery on bootup. Complete dmesg is
> >> attached. Kernel is 2.6.24-rc1-git of yesterday (last commit was
> >> d919fd433b5823d1cf9d0688eb2eec183de9b74c).
> >
> > Ok, I found out that it has nothing to do with the actual removal as it
> > seems. When I start the laptop with battery already detached I get the
> > same error.

> Please check if this patch helps.

It made things worse:

Nov  2 12:37:20 donald kernel: ACPI: EC: non-query interrupt received, 
switching to interrupt mode
Nov  2 12:37:20 donald acpid: received event "battery BAT1 00000080 00000000"
Nov  2 12:37:20 donald acpid: notifying client 2856[101:102]
Nov  2 12:37:20 donald acpid: notifying client 2911[0:0]
Nov  2 12:37:20 donald acpid: notifying client 3048[0:0]
Nov  2 12:37:20 donald acpid: completed event "battery BAT1 00000080 00000000"
Nov  2 12:37:20 donald kernel: WARNING: 
at /home/eike/repos/linux-2.6/lib/kref.c:33 kref_get()
Nov  2 12:37:20 donald kernel:  [<c0104edd>] show_trace_log_lvl+0x1a/0x2f
Nov  2 12:37:20 donald kernel:  [<c010576e>] show_trace+0x12/0x14
Nov  2 12:37:20 donald kernel:  [<c010585b>] dump_stack+0x16/0x18
Nov  2 12:37:20 donald kernel:  [<c01d1d3c>] kref_get+0x37/0x43
Nov  2 12:37:20 donald kernel:  [<c01d10af>] kobject_get+0x12/0x17
Nov  2 12:37:20 donald kernel:  [<c0231509>] get_device+0x13/0x1d
Nov  2 12:37:20 donald kernel:  [<c02319e8>] device_remove_file+0xe/0x2a
Nov  2 12:37:20 donald kernel:  [<f8be7043>] sysfs_remove_battery+0x17/0x22 
[battery]
Nov  2 12:37:20 donald kernel:  [<f8be71a2>] acpi_battery_update+0x3f/0x255 
[battery]
Nov  2 12:37:20 donald kernel:  [<f8be73ed>] acpi_battery_read+0x11/0x20 
[battery]
Nov  2 12:37:20 donald powersaved[3048]: WARNING (filter_function:201) Hal 
service stopped. Battery information no longer available
Nov  2 12:37:20 donald kernel:  [<f8be741c>] acpi_battery_read_state+0xf/0x11 
[battery]
Nov  2 12:37:20 donald kernel:  [<c01889ca>] seq_read+0xea/0x264
Nov  2 12:37:20 donald kernel:  [<c019fddb>] proc_reg_read+0x63/0x76
Nov  2 12:37:20 donald kernel:  [<c0172631>] vfs_read+0xa6/0x12f
Nov  2 12:37:20 donald kernel:  [<c0172a2a>] sys_read+0x3d/0x61
Nov  2 12:37:20 donald kernel:  [<c0103f12>] sysenter_past_esp+0x5f/0x85
Nov  2 12:37:20 donald kernel:  =======================
Nov  2 12:37:20 donald kernel: WARNING: 
at /home/eike/repos/linux-2.6/lib/kref.c:33 kref_get()
Nov  2 12:37:20 donald kernel:  [<c0104edd>] show_trace_log_lvl+0x1a/0x2f
Nov  2 12:37:20 donald kernel:  [<c010576e>] show_trace+0x12/0x14
Nov  2 12:37:20 donald kernel:  [<c010585b>] dump_stack+0x16/0x18
Nov  2 12:37:20 donald kernel:  [<c01d1d3c>] kref_get+0x37/0x43
Nov  2 12:37:20 donald kernel:  [<c01d10af>] kobject_get+0x12/0x17
Nov  2 12:37:20 donald kernel:  [<c0231509>] get_device+0x13/0x1d
Nov  2 12:37:20 donald kernel:  [<c02319e8>] device_remove_file+0xe/0x2a
Nov  2 12:37:20 donald kernel:  [<f8b9b3dd>] 
power_supply_remove_attrs+0x16/0x37 [power_supply]
Nov  2 12:37:20 donald kernel:  [<f8b9b012>] power_supply_unregister+0x12/0x1d 
[power_supply]
Nov  2 12:37:20 donald kernel:  [<f8be704b>] sysfs_remove_battery+0x1f/0x22 
[battery]
Nov  2 12:37:20 donald kernel:  [<f8be71a2>] acpi_battery_update+0x3f/0x255 
[battery]
Nov  2 12:37:20 donald kernel:  [<f8be73ed>] acpi_battery_read+0x11/0x20 
[battery]
Nov  2 12:37:20 donald kernel:  [<f8be741c>] acpi_battery_read_state+0xf/0x11 
[battery]
Nov  2 12:37:20 donald kernel:  [<c01889ca>] seq_read+0xea/0x264
Nov  2 12:37:20 donald kernel:  [<c019fddb>] proc_reg_read+0x63/0x76
Nov  2 12:37:20 donald kernel:  [<c0172631>] vfs_read+0xa6/0x12f
Nov  2 12:37:20 donald kernel:  [<c0172a2a>] sys_read+0x3d/0x61
Nov  2 12:37:20 donald kernel:  [<c0103f12>] sysenter_past_esp+0x5f/0x85
Nov  2 12:37:20 donald kernel:  =======================

tons more of stuff like this, system us unusable with this kernel now. In the 
meantime I upgraded to current git, last commit is now 
b4d367fb20ed19be4a53fa88b407248aeb8bd461

Eike

Download attachment "signature.asc " of type "application/pgp-signature" (195 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ