mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sysfs/kobject update breaks ACPI?
@ 2005-02-10 12:31 Jan Kasprzak
  2005-02-10 16:34 ` Jan Kasprzak
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kasprzak @ 2005-02-10 12:31 UTC (permalink / raw)
  To: linux-kernel

	Hi all,

my laptop (Asus M6R, http://www.fi.muni.cz/~kas/m6r/) has problems with
ACPI with newer kernels - most of ACPI operations fail - here is the
sample of error messages printed during boot. All other error messages
contain the "AE_TIME" line as well:

Initializing Cryptographic API
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.SBRG.EC0_.RDC3]
(Node ddf09840), AE_TIME
    ACPI-1138: *** Error: Method execution failed [\ECIO] (Node ddf09380), AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.SBRG.EC0_.ACPS]
(Node ddf078e0), AE_TIME
    ACPI-1138: *** Error: Method execution failed [\ACPS] (Node ddf03220), AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.AC0_._PSR] (Node
ddf07160), AE_TIME
    ACPI-0405: *** Error: Handler for [EmbeddedControl] returned AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.SBRG.EC0_.SMBR]
(Node ddf09540), AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.SBRG.EC0_.BIF0]
(Node ddf07c40), AE_TIME
    ACPI-1138: *** Error: Method execution failed [\_SB_.PCI0.BAT0._BIF] (Node
ddf07e20), AE_TIME

	I cannot read battery status etc. In 2.6.9 ACPI works, in 2.6.10
(and later) it doesn't. I've tried to do a binary search in order to find
an exact change which breaks ACPI for me, and found the following:
2.6.10-rc1-bk11 is OK, 2.6.10-rc1-bk12 is not. So I've diffed the -bk11
and -bk12 trees and tried to trim the patch to an absolute minimum. Now
I have a patch (http://bugme.osdl.org/attachment.cgi?id=4534&action=view)
which, when applied to 2.6.10-rc1-bk11, breaks ACPI on my laptop, and,
when subtracted from 2.6.10-rc1-bk12 (using patch -p1 -R), makes ACPI working
in 2.6.10-rc1-bk12.

	However, the patch does not touch anything related to ACPI
(I think). It is a sysfs and kobject update. So I don't see how this
can break ACPI for my laptop.

	It seems the failing methods are always
\_SB_.PCI0.SBRG.EC0_.<something>, and they all try to acquire an internal
mutex using the following code (from my DSDT):

	If (LEqual (Acquire (MUEC, 0xFFFF), 0x00))

	Do you have any idea on what is wrong here? More information,
my source and binary DSDT are attached to the following kernel bugzilla
entry:

http://bugme.osdl.org/show_bug.cgi?id=4150

Thanks,

-Yenya

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
> Whatever the Java applications and desktop dances may lead to, Unix will <
> still be pushing the packets around for a quite a while.      --Rob Pike <

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sysfs/kobject update breaks ACPI?
  2005-02-10 12:31 sysfs/kobject update breaks ACPI? Jan Kasprzak
@ 2005-02-10 16:34 ` Jan Kasprzak
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kasprzak @ 2005-02-10 16:34 UTC (permalink / raw)
  To: linux-kernel

Jan Kasprzak wrote:
: my laptop (Asus M6R, http://www.fi.muni.cz/~kas/m6r/) has problems with
: ACPI with newer kernels - most of ACPI operations fail
[...] 
: 	However, the patch does not touch anything related to ACPI
: (I think). It is a sysfs and kobject update. So I don't see how this
: can break ACPI for my laptop.

	Hmm, it seems to be some kind of race condition or what - with
CONFIG_ACPI_DEBUG my ACPI does not work even with 2.6.8.1 and 2.6.9,
without it it is OK up to 2.6.10-rc1-bk11. A pretty Heisenbergish
behaviour, isn't it? Works only if you do not try to debug it :-)

-Yenya

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
> Whatever the Java applications and desktop dances may lead to, Unix will <
> still be pushing the packets around for a quite a while.      --Rob Pike <

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-10 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-10 12:31 sysfs/kobject update breaks ACPI? Jan Kasprzak
2005-02-10 16:34 ` Jan Kasprzak

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®