Comment 25 for bug 228399

Revision history for this message
petski (petski) wrote : Re: [Bug 228399] Re: Closing lid results in kernel panic

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Let's start with a brief introduction:

* In my case, lid-closures do not result in a kernel panic anymore since these
  lines were added to /etc/init.d/hotkey-setup:

    39 for x in /proc/acpi/video/*/DOS; do
    40 if [ -e "$x" ]; then
    41 echo -n 7 >$x;
    42 fi
    43 done

  This patch was made in hotkey-setup 0.1-22. The package "hotkey-setup" is a
  dependency for the meta-package "ubuntu-desktop" (not for "ubuntu-standard" or
  "ubuntu-minimal"). IMHO the patch to "hotkey-setup" should be considered as a
  workaround, not as a bugfix.

* There could be a relation between #157691 and #228399

* The panic isn't triggered when SMP is disabled
  (sudo sh -c 'echo 0 > /sys/devices/system/cpu/cpu1/online')

Enough introduction :) ..

* I've commented out lines 39-43 in /etc/init.d/hotkey-setup and rebooted.

* I'm running cutting-edge Jaunty:

  $ uname -a
  Linux workmate 2.6.28-8-generic #26-Ubuntu SMP
   Wed Feb 25 04:27:53 UTC 2009 x86_64 GNU/Linux

* By default, the DOS setting is "0":

  $ cat /proc/acpi/video/C098/DOS
  DOS setting: <0>

Attached you'll find a picture containing the last couple of lines of the
"oops", right after I've closed the lid.

I hope the picture and the information I provided contain enough information to
work on this bug. I really really have a lack of time, else I would have made a
new picture because this one is a bit vague. Maybe someone else can try to
reproduce the bug with netconsole running
(https://wiki.ubuntu.com/KernelTeam/Netconsole) or when booted from a vanilla
kernel (https://wiki.ubuntu.com/KernelMainlineBuilds).

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

iEYEARECAAYFAkmsMioACgkQts9hyuTDB0XXywCfX2kwmVPPjw52e632mfRjxup4
8OYAni51ROwxPOxvyJcHnjdAuHpiuY+u
=QqNU
-----END PGP SIGNATURE-----