Bug 3098 - vaio preempt + acpi ac/battery trouble
Summary: vaio preempt + acpi ac/battery trouble
Status: REJECTED DUPLICATE of bug 1404
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Len Brown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 07:41 UTC by Greg Ingram
Modified: 2004-12-06 06:38 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.7
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Greg Ingram 2004-07-19 07:41:57 UTC
Distribution: debian
Hardware Environment: AMD Athlon XP 2400+, MSI 
Software Environment: MSI KM4M
Problem Description:

On a Sony Vaio PCG-FXA32, I seem to have some trouble between ACPI and a
preemptible kernel.  Note that the problem doesn't appear for non-preemptible
kernels.  The trouble generates messages about the time the
battery module loads.  We see a bunch of:

    ACPI-1133: *** Error: Method execution failed [\_SB_.PCI0.PIB_.EC0_._Q20]
(Node cbeb6388), AE_AML_UNINITIALIZED_LOCAL

The real problem is that the AC Adaptor status is wrong.  The preempt
kernel always thinks the AC is off-line.

The only thing different in the configs is enabling preempt, though a diff
does show one other setting:

        # cd /usr/src/linux-2.6
        # diff production/.config preempt/.config

       97c97
        < # CONFIG_PREEMPT is not set
        ---
        > CONFIG_PREEMPT=y
        119a120
        > CONFIG_HAVE_DEC_LOCK=y

I've tried to include only ACPI and power-related dmesg output below.
Full dmesg output is available here:

        http://www.symsys.com/~ingram/sony/production
        http://www.symsys.com/~ingram/sony/preempt

My original message to LKML included excerpts from dmesg that I haven't shoved
in here.

Any clues for better tracking down the problem?


Steps to reproduce: Boot
Comment 1 Greg Ingram 2004-07-19 07:49:09 UTC
The original report should state:

Hardware Environment: Sony Vaio PCG-FXA32
Software Environment: Linux 2.6.7, Debian
Comment 2 Len Brown 2004-10-14 18:54:09 UTC
unclear if this is related to bug 1404, but it may be.
Comment 3 Len Brown 2004-10-14 18:59:15 UTC
any difference if you boot the PREEMPT system with "acpi_serialize"?
Comment 4 Greg Ingram 2004-10-15 08:40:45 UTC
It doesn't look like acpi_serialize does any good.  I'm running 2.6.8 now and
see pretty much the same thing.  I've put dmesg output of 2.6.8 + preempt +
acpi_serialize at http://www.symsys.com/~ingram/sony/preempt-acpi_serialize.
Comment 5 Len Brown 2004-11-18 21:44:46 UTC
Looks like the acpi_serialize flag was ineffective until ACPICA 20040402,
and linux-2.6.8.1 shipped with ACPICA 20040326.

Please try the "acpi_serialize" flag in linux-2.6.9, which
run ACPICA 20040816 and thus includes the fix to that flag.
Comment 6 Luming Yu 2004-12-06 06:38:24 UTC

*** This bug has been marked as a duplicate of 1404 ***

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