mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* is a kernel panic supposed to happen if root fs is on a SCSI disk and SCSI support is compiled in as module?
@ 2001-06-02 23:17 M.N.
  2001-06-02 23:39 ` Jonathan Morton
  0 siblings, 1 reply; 2+ messages in thread
From: M.N. @ 2001-06-02 23:17 UTC (permalink / raw)
  To: linux-kernel

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?

Thanks.
Martin

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

* Re: is a kernel panic supposed to happen if root fs is on a SCSI disk and SCSI support is compiled in as module?
  2001-06-02 23:17 is a kernel panic supposed to happen if root fs is on a SCSI disk and SCSI support is compiled in as module? M.N.
@ 2001-06-02 23:39 ` Jonathan Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Morton @ 2001-06-02 23:39 UTC (permalink / raw)
  To: M.N., linux-kernel

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



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

end of thread, other threads:[~2001-06-02 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-02 23:17 is a kernel panic supposed to happen if root fs is on a SCSI disk and SCSI support is compiled in as module? M.N.
2001-06-02 23:39 ` Jonathan Morton

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®