[Bugme-new] [Bug 10811] New: program hangs reading ac/battery {state, info}

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Wed May 28 05:41:51 PDT 2008


http://bugzilla.kernel.org/show_bug.cgi?id=10811

           Summary: program hangs reading ac/battery {state,info}
           Product: ACPI
           Version: 2.5
     KernelVersion: 2.6.24.7, 2.6.25.4
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ACPICA-Core
        AssignedTo: acpi_acpica-core at kernel-bugs.osdl.org
        ReportedBy: oopla at users.sf.net


Latest working kernel version: 2.6.18 (Debian's, latest)
Earliest failing kernel version: 2.6.24.* + www.tuxonice.net patch.
Distribution: Debian
Hardware Environment: x86 notebooks
Software Environment: 
Problem Description: programs reading ac/battery status from /proc hang in 'D'
state.

The latest kernel 2.6.18 from Debian is the last one working here, on a couple 
of notebooks (Toshiba, Gericom).

In the logs I get lots of 

INFO: task grep:5012 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
grep          D d139b040     0  5012   5010
       dc669e00 00000082 00000000 d139b040 d3be42c0 ddc96160 dc669e18 de8029c0 
       d3be4060 00000246 dc669e38 c03967d5 de8029c8 00000001 d3be4060 c011eb00 
       db433dfc dc6b3dfc de8029c0 00000282 dc669e38 de8029c0 00000000 0000ffff 
Call Trace:
 [<c03967d5>] __down+0x85/0x110
 [<c011eb00>] ? default_wake_function+0x0/0x10
 [<c03966e2>] __down_failed+0xa/0x10
 [<c02420d7>] acpi_os_wait_semaphore+0xad/0x16e
 [<c025ce38>] acpi_ut_acquire_mutex+0x66/0xd3
 [<c024fdae>] acpi_ex_enter_interpreter+0xa/0x25
 [<c025393f>] acpi_ns_evaluate+0x107/0x1b4
 [<c0253155>] acpi_evaluate_object+0x18d/0x259
 [<c0165aed>] ? get_page_from_freelist+0x6d/0xb0
 [<c02429cb>] acpi_evaluate_integer+0x7c/0xfb
 [<df84a03f>] acpi_ac_get_state+0x25/0x57 [ac]
 [<df84a086>] acpi_ac_seq_show+0x15/0x52 [ac]
 [<c01a0295>] seq_read+0xd5/0x2c0
 [<c01a01c0>] ? seq_read+0x0/0x2c0
 [<c01b9ae3>] proc_reg_read+0x93/0xc0
 [<c018445e>] vfs_read+0x8e/0x140
 [<c0183a12>] ? do_sys_open+0xc2/0xe0
 [<c01847ad>] sys_read+0x3d/0x70
 [<c010406e>] sysenter_past_esp+0x5f/0x85
 =======================

where such process is like:

  4972 ?        S      0:00     /USR/SBIN/CRON
 4973 ?        Ss     0:00       /bin/sh -c test -x /etc/init.d/anacron &&
/usr/sbin/invoke-rc.d anacron start >/dev/n
 4974 ?        S      0:00         /bin/sh /usr/sbin/invoke-rc.d anacron start
 5005 ?        S      0:00           /bin/sh /etc/init.d/anacron start
 5010 ?        S      0:00             /bin/sh /usr/bin/on_ac_power
 5012 ?        D      0:00               grep --quiet on-line
/proc/acpi/ac_adapter/AC0/state

Kenel 2.6.22.* won't even boot, no matter what - it'd hangs aftre printing a 
few
'ACPI ..."
lines.

Sorry no screenshots handy - will try to make them if required.

acpi_serialize is set; I've tried many acpi_* bootparam combination without
success.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list