From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2066 invoked from network); 24 Apr 1998 16:34:09 -0000 Received: from ellpspace.math.ualberta.ca (michal@129.128.88.19) by mail2.redhat.com with SMTP; 24 Apr 1998 16:34:09 -0000 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.5/8.8.5) id KAA08510; Fri, 24 Apr 1998 10:32:28 -0600 From: Michal Jaegermann Message-Id: <199804241632.KAA08510@ellpspace.math.ualberta.ca> Subject: Re: Kernel panic To: Stephen.Oberski@deterministic.com Date: Fri, 24 Apr 1998 10:32:27 -0600 (MDT) Cc: axp-list@redhat.com In-Reply-To: <199804241208.IAA17009@roadkill.deterministic.com> from "Stephen Oberski" at Apr 24, 98 08:08:07 am Content-Type: text > Stephen Oberski wrote > > > With regards to your message at 09:40 AM 04-24-98 +0800, Michael Chao. > > Where you stated: > > > I got the linux-2.0.33 kernel and try to compile it on my DEC Alpha + > > >RedHat 5.0 machine. Everything seems fine, but after I reboot the machine, > > >I got a error: VFS:Cannot open root device 03:02 > > >Kernel panic: VFS: Unable to mount root fs on 03:02 03:02 is /dev/hda2. Messages above indicate that you are attempting to boot your system from a non-existent device. This is not likely to work. Where is your real root device? Documentation describes a boot command line which is passing this information to a kernel you attempt to boot. > > >to solve this problem?? By the way, how can I turn on the ipfwadm on > > >RedHat?? Is it already included in the ReedHat system?? 5.0 or 4.2 ^^^ Nice variation! :-) > > >version?? Or I still have to re-compiler the kernel?? It is included - a required kernel support in a source form. You have to recompile your kernel. Running a "generic" kernel, which was composed to boot possibly the biggest number of popular hardware configurations, is not a good idea anyway - even if you do not need something not included. It was not designed to be tuned for your hardware. Besides various pieces you are likely to want, like vfat support - for example, are missing. > > I suspect you need to turn on loop device, RAM disk and initial > RAM disk support. Nope! None of these is required. Most definitely not INITRD as it will be not really used on Alpha. You have milo. This is a "voodoo school" of a system administration. Loop device and ramdisk are sometimes useful, especially when you are hacking your ramdisk floppy which you use for an initial booting but in "normal" kernels they can be compiled as modules. This, obviously, does not apply to a kernel you use to load your ramdisk image from a floppy or you will have a nice "chicken-or-egg" problem. Other than that you do not need to lock your kernel memory for things unused. Remember that a memory used by kernel is not swapable (you would not want to swap out your swap code, wouldn't you :-). Michal