Bug 10222 - kernel 2.6.24 acpi_ec_wait timeout if ac adapter is plugged in - Sony Vaio VGN-C2Z
Summary: kernel 2.6.24 acpi_ec_wait timeout if ac adapter is plugged in - Sony Vaio VG...
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: EC (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Alexey Starikovskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 06:09 UTC by 10002000
Modified: 2008-10-17 14:41 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.24
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
acpidump output (133.57 KB, text/plain)
2008-03-12 07:08 UTC, 10002000
Details
dmesg output 2.6.23.17 (22.91 KB, text/plain)
2008-03-12 07:09 UTC, 10002000
Details
dmseg dump for kernel 2.6.24-24 (36.79 KB, application/octet-stream)
2008-03-22 03:22 UTC, gerhard
Details
acpidump of gerhard (133.57 KB, text/plain)
2008-03-22 03:23 UTC, gerhard
Details
dmesg output 2.6.24.3 without quiet (25.33 KB, text/plain)
2008-03-22 10:46 UTC, 10002000
Details
dmesg output 2.6.25-rc6 (23.74 KB, text/plain)
2008-03-22 10:46 UTC, 10002000
Details
dmesg output 2.6.25-rc6 with ec.c DEBUG (58.39 KB, text/plain)
2008-03-23 06:47 UTC, 10002000
Details

Description 10002000 2008-03-11 06:09:30 UTC
Latest working kernel version: 2.6.23
Earliest failing kernel version: 2.6.24
Distribution: Arch current
Hardware Environment: Sony Vaio VGN C2Z
Software Environment:
Problem Description:
Since kernel 2.6.24 system locks on boot if ac adapter is plugged in. If no ac adapter is present system boots as usual. Using a kernel below 2.6.24, or booting with acpi=off fixes the problem.
 
 Uncompressing Linux... Ok, booting the kernel.
 ACPI: EC: acpi_ec_wait timeout, status = 0, expect_event = 1
 ACPI: EC: read timeout, command = 128

Steps to reproduce:
Boot a Sony Vaio VGN-C2Z with a kernel above 2.6.23 with plugged in ac adapter.
Comment 1 Zhang Rui 2008-03-11 22:57:47 UTC
Please attach the acpidump output. And dmesg output in 2.6.23.
Comment 2 10002000 2008-03-12 07:08:39 UTC
Created attachment 15224 [details]
acpidump output
Comment 3 10002000 2008-03-12 07:09:35 UTC
Created attachment 15225 [details]
dmesg output 2.6.23.17
Comment 4 gerhard 2008-03-22 03:20:32 UTC
I have the same problem with this kernel, however I can boot when I do not use the options quiet and splash
Comment 5 gerhard 2008-03-22 03:22:37 UTC
Created attachment 15390 [details]
dmseg dump for kernel 2.6.24-24
Comment 6 gerhard 2008-03-22 03:23:24 UTC
Created attachment 15391 [details]
acpidump of gerhard
Comment 7 Alexey Starikovskiy 2008-03-22 03:51:35 UTC
gerhard, could you try generic kernel from www.kernel.org, not the redhat one?
Comment 8 10002000 2008-03-22 09:58:35 UTC
Removing the quiet option from 2.6.24 works for me too. I also compiled kernel 2.6.25-rc6 and everything works fine here even with quiet. Seems the problem was related to EC GPE.

Booting the kernel.
ACPI: EC: GPE storm detected, disabling EC GPE
:: Loading Initramfs 
Comment 9 10002000 2008-03-22 10:46:12 UTC
Created attachment 15399 [details]
dmesg output 2.6.24.3 without quiet
Comment 10 10002000 2008-03-22 10:46:46 UTC
Created attachment 15400 [details]
dmesg output 2.6.25-rc6
Comment 11 Alexey Starikovskiy 2008-03-22 14:12:45 UTC
Sebastian,
Please uncomment '#define DEBUG' at the beginning of /drivers/acpi/ec.c and send the dmesg here. You will not be able to get full dmesg, so part of it will do.
Comment 12 10002000 2008-03-22 19:34:37 UTC
No problem, i only need to know which kernel 2.6.23 24 or 25.
Comment 13 Alexey Starikovskiy 2008-03-22 23:34:43 UTC
25, please :)
Comment 14 10002000 2008-03-23 06:47:45 UTC
Created attachment 15409 [details]
dmesg output 2.6.25-rc6 with ec.c DEBUG
Comment 15 Alexey Starikovskiy 2008-03-23 09:35:24 UTC
Thanks, irq storm detection works.
Comment 16 ykzhao 2008-05-27 00:04:12 UTC
   The laptop can work after the irq storm patch is applied. And the commit is included in the current git tree. 
  > commit fa95ba04e6ba11d71e1b87becd054b38faf546c8
   > Author: Alexey Starikovskiy <astarikovskiy@suse.de>
> Date:   Fri Mar 21 19:36:02 2008 +0300
 > ACPI: EC: Detect irq storm
   
   The bug can be closed.

Note You need to log in before you can comment on or make changes to this bug.