public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Schierl <schierlm@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: [PANIC] Kernel panic after rmmod softdog (2.6.8.1)
Date: Sun, 10 Oct 2004 22:24:22 +0200	[thread overview]
Message-ID: <41699A76.55A8EBE1@gmx.de> (raw)

Hi,

today, when testing the software watchdog, I accidentally removed the 
software watchdog kernel module and got a kernel panic.

to reproduce:

- build a kernel (2.6.8.1) with softdog built as module
  (and without the NOWAYOUT option)
- load the softdog module
- write something (not ending with a "V") to /dev/watchdog, e. g.
  echo x >/dev/watchdog
- A message will appear that device was closed, but the watchdog is 
  still active (if you wait a minute now, your box will reboot...)
- remove the softdog module
- wait a minute. you will see a kernel panic.

If there is a need for the actual panic message, I'll take a piece of 
paper and transcribe it (no serial console here...), but i doubt it,
since 
it is quite easy to reproduce...

when you disable the watchdog by
  echo "V" >/dev/watchdog
before removing the module, it will not panic.

Hmm, another thing: according to the documentation in watchdog.txt,
softdog does not honor the special "V" for closing the watchdog,
but actually it does.

Please CC me since I am not on the list,

Michael

                 reply	other threads:[~2004-10-10 20:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41699A76.55A8EBE1@gmx.de \
    --to=schierlm@gmx.de \
    --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