mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonathan Morton <chromi@cyberspace.org>
To: "M.N." <balkanboy@hotmail.com>, <linux-kernel@vger.kernel.org>
Subject: Re: is a kernel panic supposed to happen if root fs is on a SCSI disk and SCSI support is compiled in as module?
Date: Sun, 3 Jun 2001 00:39:03 +0100	[thread overview]
Message-ID: <l03130300b73f28b41743@[192.168.239.105]> (raw)
In-Reply-To: <OE11ur2iz2Mb1s7nlT200005c9b@hotmail.com>

At 12:17 am +0100 3/6/2001, M.N. wrote:
>Basically, that's the question. I compiled my kernel with the SCSI AIC7xxx.o
>driver as a module, and then when it booted up, it paniced. I thought it was
>some sort of a kernel bug, but it didn't really seem that way when I
>recompiled the kernel with SCSI support built-in in the kernel itself
>(monolithically).  I'm just curious, does a _panic_ necessarily mean that
>the kernel needs fixing, or can a panic be a result of something that the
>user forgot to do which was required in order to avoid that panic?

A kernel panic happens whenever it finds itself in a situation which is
impossible or impractical to fix.  In your case, it needed the SCSI module
in order to load the root FS.  But the SCSI module is itself located on the
root FS.  Catch 22, so panic.  If you'd read the module documentation,
you'd have known about this beforehand, but chalk this up to experience
(aka. RTFM!).

So, a kernel panic usually means it's a configuration error OR hardware
failure OR (rarely) a kernel bug.  Most often, kernel bugs are marked by an
OOPS or BUG message splashing all over the console and the system log.

HTH,

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     chromi@cyberspace.org  (not for attachments)
big-mail: chromatix@penguinpowered.com
uni-mail: j.d.morton@lancaster.ac.uk

The key to knowledge is not to rely on people to teach you it.

Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/

-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
-----END GEEK CODE BLOCK-----



      reply	other threads:[~2001-06-02 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-02 23:17 M.N.
2001-06-02 23:39 ` Jonathan Morton [this message]

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='l03130300b73f28b41743@[192.168.239.105]' \
    --to=chromi@cyberspace.org \
    --cc=balkanboy@hotmail.com \
    --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

all inboxes | Powered by JetHome®