Re: Kohjinsha sleep problems

From: Pavel Machek
Date: Sat Jan 05 2008 - 16:35:38 EST


HI!

> > On kohjinsha, wakeup code does not seem to be reached at all. I tried
> > looking around FACS, but it seems very empty:
> >
> > ...
>
> The same on my laptop:
>
> FACS @ 0x2fefafc0
> 0000: 46 41 43 53 40 00 00 00 62 12 00 00 00 00 00 00 FACS@...b.......
> 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>
>
> I've never been able to resume from STR with Linux (works with Windows Vista).
> STD works, although I have to press the power button in order to
> resume.

Hmm, it is pretty empty on thinkpad x60, too, and s2ram actually works
here:

root@amd:/home/pavel# acpidump -t FACS
FACS @ 0x7f6f4000
0000: 46 41 43 53 40 00 00 00 95 15 00 00 00 00 00 00 FACS@...........
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

...and iasl actually segfaults here, too :-(

root@amd:/data/l/kohji# iasl -d FACS.x60.aml

Intel ACPI Component Architecture
AML Disassembler version 20061109 [May 18 2007]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Loading Acpi table from file FACS.x60.aml
Segmentation fault (core dumped)
root@amd:/data/l/kohji#

...hmm, if it is buffer overflow, we have security problem in
iasl. Anyway, how do I decode FACS?
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/