public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* oops at reboot/shutdown in device_shutdown
@ 2006-04-18 13:57 Axel Scheepers
  2006-04-18 15:12 ` Jesper Juhl
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Scheepers @ 2006-04-18 13:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: ascheepers

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

Hi All,

I don't know if this is the right list to report this, if not excuse me
for posting.
Since kernel 2.6.16 I experience panics on reboot/shutdown in
device_shutdown on my dell laptop (pentium-m).

I've fixed this by commenting all references to device_shutdown in
kernel/sys.c which solves the problem for me, strange thing however is
that this machine is the only one I can reproduce this, both a dual
athlon and several pentium III machines run fine with the latest 2.6.16.7

Here's the patch to fix it in case someone else experiences the same
problems but I wonder what could cause this and if disabling
device_shutdown as I did could cause any problems?
(I'm not subscribed to this list, please Cc me)

Patch:
- --- sys.c       2006-04-18 15:55:09.858532000 +0200
+++ ../linux/kernel/sys.c       2006-04-18 15:10:22.768255500 +0200
@@ -394,7 +394,9 @@
 {
        notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
        system_state = SYSTEM_RESTART;
+        /* don't shutdown devices
        device_shutdown();
+        */
 }

 /**
@@ -445,7 +447,9 @@
        notifier_call_chain(&reboot_notifier_list,
                (state == SYSTEM_HALT)?SYS_HALT:SYS_POWER_OFF, NULL);
        system_state = state;
+        /* don't shutdown devices
        device_shutdown();
+        */
 }
 /**
  *     kernel_halt - halt the system

- --- [snip] ---


Kind regards,

Axel Scheepers


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFERPBgvOFCXiGjP+ARAmGbAJ9tCuRYDXX02GB2i8+mGKD6Lism4gCfaBUo
kjbteBLY0PCt1+pMLne4X3I=
=T42q
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2006-04-19 10:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 13:57 oops at reboot/shutdown in device_shutdown Axel Scheepers
2006-04-18 15:12 ` Jesper Juhl
2006-04-19 10:58   ` Axel Scheepers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox