public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Axel Scheepers <ascheepers@vianetworks.nl>
To: linux-kernel@vger.kernel.org
Cc: ascheepers@vianetworks.nl
Subject: oops at reboot/shutdown in device_shutdown
Date: Tue, 18 Apr 2006 15:57:52 +0200	[thread overview]
Message-ID: <4444F060.1090503@vianetworks.nl> (raw)

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

             reply	other threads:[~2006-04-18 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 13:57 Axel Scheepers [this message]
2006-04-18 15:12 ` oops at reboot/shutdown in device_shutdown Jesper Juhl
2006-04-19 10:58   ` Axel Scheepers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4444F060.1090503@vianetworks.nl \
    --to=ascheepers@vianetworks.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox