From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8240 invoked from network); 10 Jan 1999 03:37:35 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Jan 1999 03:37:35 -0000 Received: from ns1.fidalgo.net (root@ns1.fidalgo.net [206.129.156.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA28559 for ; Sat, 9 Jan 1999 22:16:51 -0500 Received: from ns1.fidalgo.net (uct@ns1.fidalgo.net [206.129.156.2]) by ns1.fidalgo.net (8.8.8/8.8.5) with SMTP id TAA20112 for ; Sat, 9 Jan 1999 19:16:42 -0800 (PST) Date: Sat, 9 Jan 1999 19:16:42 -0800 (PST) From: Ron Farrer To: axp-list@redhat.com Subject: Re: Kernel panic (was: RE: need help with tulip.c) In-Reply-To: <199901100253.TAA01087@ellpspace.math.ualberta.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 9 Jan 1999, Michal Jaegermann wrote: > Ron Farrer wrote: > > > > > > The stock RH5.1 kernel gives a "attempt to access beyond end of device" > > error when using sda2, I remembered (somehow :) many months ago someone > > else had the same problem and the workaround was to use sda5. > > I think that you are really talking about a problem which milo has > (I do not know if all versions) when trying to read a kernel which > is "too far" on a device, i.e. beyond 2 Gig boundary. This one is > totally independent of partition numbers and a workaround is to put > a kernel on a partition which is smaller than "a magic limit" > (milo may load fine from a big partition - a kernel **position** and > not a total partition size is important). If you have small FAT > partition you can put your boot image, i.e. vmlinux.gz, for example > there. Milo will not have any problems with that and your root > partition can, and in this case should :-), be somewhere else. > > > The kernel I built also gives this error when using sda2, and gives the > > error below for sda5. > > Do you have file systems which can serve as a root file system on both > sda2 and sda5? > > > > > Partition check: > > > > VFS: Cannot open root device 08:05 > > > > Kernel panic: VFS: Unable to mount root fs on 08:05 > > This is a typical error when you are trying to mount something > which is not a valid root file systems (like your swap partition, > for example :-). The other possibility would be that you forgot > to configure in your kernel a support for ext2 file system. > > Michal > I moved vmlinux.gz to sda1... Okay, here is how the disk is setup: sda1: MSDOS - 5MB sda5: ext2 - 1.9GB sda6: swap - 32MB 'boot sda1:vmlinux.gz root=/dev/sda2' -- Kernel panic: VFS: Unable to mount root fs on 08:02 'boot sda1:vmlinux.gz root=/dev/sda5' -- Kernel panic: VFS: Unable to mount root fs on 08:05 my backup kernel: 'boot sda5:vmlinux.backup.gz root=/dev/sda5' -- no problems. Ideas?? TIA, Ron