[ltp] T61 suspend troubles

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Sat, 11 Aug 2007 11:31:09 +0300


--+nBD6E3TurpgldQp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 10, 2007 at 12:57:21AM +0300, Marius Gedminas wrote:
> I'm trying to get suspend to work on my T61 (model 6466-55G).  I already
> figured out that I need acpi_sleep=3Ds3_bios on the kernel command line to
> get LCD backlight back after a resume.  (This may be applicable only to
> laptops with Intel video.)  I'm fighting the kernel panic now, which
> seems to be SMP/APIC related:
>=20
>   Oops: 0000 [#1]
>   SMP=20
>   CPU:    1
>   EIP:    0060:[phys_startup_32+535810156/-1073741824]    Not tainted VLI
>   EFLAGS: 00010082   (2.6.22-9-generic #1)
>   EIP is at 0x1fffd06c
>   eax: c043c388   ebx: 00000005   ecx: fffff000   edx: 1fffd067
>   esi: c043c388   edi: 00000001   ebp: 00000001   esp: c18d9f30
>   ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
>   Process swapper (pid: 0, ti=3Dc18d8000 task=3Dc18d0a40 task.ti=3Dc18d80=
00)
>   Stack: c0271fdd 00000001 01000000 00000000 c01018e1 00000280 00000320 c=
01180df=20
>          00000001 e0002073 c0438000 ffffffff c010b60d 00050014 c0371e40 0=
0000001=20
>          c100897b 0138a000 00000001 01000000 00000000 00000001 c0116e45 0=
0000001=20
>   Call Trace:
>    [dmi_check_system+77/112] dmi_check_system+0x4d/0x70
>    [calibrate_delay+17/1840] calibrate_delay+0x11/0x730
>    [setup_local_APIC+655/672] setup_local_APIC+0x28f/0x2a0
>    [cpu_init+413/592] cpu_init+0x19d/0x250
>    [start_secondary+181/896] start_secondary+0xb5/0x380
>    [cpu_exit_clear+25/64] cpu_exit_clear+0x19/0x40
>    [<f884a731>] acpi_processor_idle+0x0/0x41f [processor]
>    [cpu_idle+172/224] cpu_idle+0xac/0xe0
>    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>   Code:  Bad EIP value.
>   EIP: [phys_startup_32+535810156/-1073741824] 0x1fffd06c SS:ESP 0068:c18=
d9f30
>   Kernel panic - not syncing: Attempted to kill the idle task!
>
> It is a pretty strange kernel panic, in my experience: I get these
> messages echoed by syslog to all terminals, and the capslock LED starts
> blinking, but I can continue working with the system.

That's probably because it's a simple oops rather than a kernel panic,
despite the last message.

Ubuntu's upcoming 2.6.22-9.26 kernel has a fix for this:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/129226

I built their kernel from git and now I seem to have working suspend.
Yay!

Marius Gedminas
--=20
The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.

--+nBD6E3TurpgldQp
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGvXPNkVdEXeem148RAgukAJ4wWTN+ZVxjo3QEpO67DCtx1uu9PACgksl6
7X0n+lJCP0Y3TNp5U+ZFVvE=
=WDPT
-----END PGP SIGNATURE-----

--+nBD6E3TurpgldQp--