[ltp] T61 suspend troubles

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Fri, 10 Aug 2007 00:57:21 +0300


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

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:

  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=3Dc18d8000)
  Stack: c0271fdd 00000001 01000000 00000000 c01018e1 00000280 00000320 c01=
180df=20
         00000001 e0002073 c0438000 ffffffff c010b60d 00050014 c0371e40 000=
00001=20
         c100897b 0138a000 00000001 01000000 00000000 00000001 c0116e45 000=
00001=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:c18d9=
f30
  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.

The panic on resume occurs often, but not always -- I think I had two
suspends that did not result in a panic, but that was before I figured
out the backlight solution, so it wasn't not very helpful.

The small suspend script given in
http://www.thinkwiki.org/wiki/Installing_Ubuntu_7.04_%28Feisty_Fawn%29_on_a=
_ThinkPad_T61#Suspend
does not prevent the kernel panic for me.

Ideas?

Marius Gedminas
--=20
Unix is an operating system, OS/2 is half an operating system, Windows
is a shell, and DOS is a boot partition virus.
                -- Peter H. Coffin

--Q68bSM7Ycu6FN28Q
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)

iD8DBQFGu43BkVdEXeem148RAjHAAJ0dhakigmE2/Q9rlaAymUjSKchX1QCdEZKM
Ng3dNc9yPF/qFMXP8AJl6D4=
=n1kt
-----END PGP SIGNATURE-----

--Q68bSM7Ycu6FN28Q--