From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752578AbZDHKjV (ORCPT ); Wed, 8 Apr 2009 06:39:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753103AbZDHKjA (ORCPT ); Wed, 8 Apr 2009 06:39:00 -0400 Received: from mail-fx0-f158.google.com ([209.85.220.158]:46306 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbZDHKi6 (ORCPT ); Wed, 8 Apr 2009 06:38:58 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=RbEZBvNLI6a4ZlS7bixF7DnV2j+xDooDYQK8sSUiz2mnnkZl0BJKSfU03ys351O8hs ZcxwHMF3JHHY5pQIbB+TuwP03R5z+rdwv5BaZT8noSz5NTMGfFHXFeZsh4NQvilnzuGp kptH+6dxKXr4rwBoBwlLDW/uKiL8Ei/W+MTno= MIME-Version: 1.0 Date: Wed, 8 Apr 2009 14:38:56 +0400 Message-ID: <208cbae30904080338x749800b0o392886ab023018b6@mail.gmail.com> Subject: commit "ACPI: battery: asynchronous init" brokes my boot up process From: Alexey Klimov To: Arjan van de Ven Cc: linux-kernel@vger.kernel.org, len.brown@intel.com, linux-acpi@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I don't know if i do right thing creating this letter but looks like this commit 0f66af530116e9f4dd97f328d91718b56a6fc5a4 "ACPI: battery: asynchronous init" brokes my boot up process. My machine is pentium-m cpu, Gentoo, gcc 4.3.3-r2. When openRC started and i got something like "Processing udev events(?)" (i can't see exactly words) i got this: ACPI: Battery Slot [BAT1] (battery present) BUG: unable to handle kernel paging request at f8530030 IP: [] 0xf8530030 *pde = 37288067 *pte = 00000000 Oops: 0000 [#1] last sysfs file: /sys/devices/pnp0/00:07/id Modules linked in: ehci_hcd(+) sg container(+) battery uhci_hcd thermal button ac usbhid hid cpufreq_ondemand acpi_cpufreq snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc usbcore rtc_cmos rtc_core rtc_lib Pid: 913, comm: async/0 Not tainted (2.6.29 #34) TravelMate 2350 EIP: 0060:[] EFLAGS: 00010246 CPU: 0 EIP is at 0xf8530030 EAX: 00000000 EBX: 00000216 ECX: 00000001 EDX: 00000000 ESI: c0129c47 EDI: f64bb5a0 EBP: 00000000 ESP: f660dfb0 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 Process async/0 (pid: 913, ti=f660d000 task=f6574d40 task.ti=f660d000) Stack: c0129d1e f7035f88 00000296 00000000 f6574d40 c0115dd2 f7035fc8 c0369bc0 00000000 00000000 c0125c76 c0125c40 00000000 c0102f23 f7035f7c 00000000 00000000 00000000 00005067 003c8067 Call Trace: [] ? async_thread+0xd7/0x1a8 [] ? default_wake_function+0x0/0x8 [] ? kthread+0x36/0x5a [] ? kthread+0x0/0x5a [] ? kernel_thread_helper+0x7/0x10 Code: Bad EIP value. EIP: [] 0xf8530030 SS:ESP 0068:f660dfb0 CR2: 00000000f8530030 ---[ end trace d9fadf449e253313 ]--- ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf0080000 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00 usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 And boot up process freezes when system tries to restart udev later. I didn't have this issue in 2.6.29-git12. It presented in 2.6.29-git15 and 2.6.30-rc1. Firstly i thought that there is conflict(or race) with usb modules, and i tried to unplug all my usb devices before reboot, but issue still present in 2.6.30-rc1. Well, then i removed many apci modules like button, fan, battery, thermal and finally figured out that battery module is buggy on my system. I cancel changes provided by this commit in drivers/acpi/battery.c file and re-compiled modules. Boot up started to works fine. Probably this happens due to: 1) cos my notebook too old and battery isn't works long, 2) Gentoo' boot up process is bad. May be kernel option in menuconfig can be appropriate? -- Best regards, Klimov Alexey