mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexey Klimov <klimov.linux@gmail.com>
To: Arjan van de Ven <arjan@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, len.brown@intel.com,
	linux-acpi@vger.kernel.org
Subject: commit "ACPI: battery: asynchronous init" brokes my boot up process
Date: Wed, 8 Apr 2009 14:38:56 +0400	[thread overview]
Message-ID: <208cbae30904080338x749800b0o392886ab023018b6@mail.gmail.com> (raw)

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: [<f8530030>] 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:[<f8530030>] 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:
 [<c0129d1e>] ? async_thread+0xd7/0x1a8
 [<c0115dd2>] ? default_wake_function+0x0/0x8
 [<c0125c76>] ? kthread+0x36/0x5a
 [<c0125c40>] ? kthread+0x0/0x5a
 [<c0102f23>] ? kernel_thread_helper+0x7/0x10
Code:  Bad EIP value.
EIP: [<f8530030>] 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

             reply	other threads:[~2009-04-08 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-08 10:38 Alexey Klimov [this message]
2009-04-08 10:51 ` Alessandro Suardi
2009-04-08 11:06   ` Alexey Klimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=208cbae30904080338x749800b0o392886ab023018b6@mail.gmail.com \
    --to=klimov.linux@gmail.com \
    --cc=arjan@linux.intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®