oops at reboot/shutdown in device_shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux