From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 731 invoked from network); 24 Apr 1998 12:08:14 -0000 Received: from roadkill.deterministic.com (sfo@199.85.17.7) by mail2.redhat.com with SMTP; 24 Apr 1998 12:08:14 -0000 Received: (from sfo@localhost) by roadkill.deterministic.com (8.6.12/8.6.9) id IAA17009 for axp-list@redhat.com; Fri, 24 Apr 1998 08:08:07 -0400 From: Stephen Oberski Message-Id: <199804241208.IAA17009@roadkill.deterministic.com> Subject: Re: Kernel panic To: axp-list@redhat.com Date: Fri, 24 Apr 1998 08:08:07 -0400 (EDT) In-Reply-To: <35411698.6B7069C5@saveas.com.ar> from "Horacio Suarez" at Apr 24, 98 07:47:52 pm Organization: Deterministic Software Ltd. Reply-to: Stephen.Oberski@deterministic.com X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Maurice Hilarius 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 Can somebody help me > >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 > >version?? Or I still have to re-compiler the kernel?? > > The kernel does not know where to find the root partition. > You need to tell it, either manually, from the milo prompt, or by > ARC/AlphaBIOS parameters, such as the following line: boot sda2:vmlinux.gz > root=/dev/sda2 > ^^^^^^^^^^^^^^ > Change the actual drive to suit your installation. I suspect you need to turn on loop device, RAM disk and initial RAM disk support. >From my .config: # # Additional Block Devices # CONFIG_BLK_DEV_LOOP=y <--- CONFIG_BLK_DEV_MD=y CONFIG_MD_LINEAR=m CONFIG_MD_STRIPED=m CONFIG_BLK_DEV_RAM=y <--- CONFIG_BLK_DEV_INITRD=y <--- This is alluded to in the RedHat manual, although they would have to work really hard to make it more confusing. Would also be nice if RedHat distributed the /usr/src/linux/.config file they used to build the kernel on the distribution CD. Then we would not have to play .config roulette trying to figure out which options are really needed. -- Stephen Oberski sfo@deterministic.com 416 704 7456 Voice 905 455 2827 FAX Deterministic Software Ltd., 134 Morton Way, Brampton, Ontario L6Y 2P5 Canada http://www.deterministic.com/ finger sfo@deterministic.com for PGP key I was playing poker the other night ... with Tarot cards. I got a full house and four people died.