* problems booting - kernel panic
@ 2001-09-14 11:59 Ken Siersma
2001-09-14 13:32 ` Rich Payne
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Ken Siersma @ 2001-09-14 11:59 UTC (permalink / raw)
To: axp-list, 1
Hello,
This seems ridiculous, but I recently reinstalled RH 6.2 on my DP264
Alpha (due to a number of reasons, mainly centered around an inadequate
original setup), and I can't get the machine to boot with my new kernel.
RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
filesystem as follows:
Mount point: /
Device: /dev/sda1
Size: 2500 MB
Mount point: (swap)
Device: /dev/sd2
Size: 1999 MB
Mount point: /boot
Device: /dev/sda3
Size: 17 MB
Mount point: /home
Device: /dev/sda4
Size: 13000 MB
My instinct (intel based) gives me the feeling having a /boot partition
on the 3rd partition is bad, but Disk Druid in the install forced it to
be setup that way, so I believe it is okay.
Anyhow, I am using SRM and aboot to boot, and my original aboot.conf
file says:
# aboot default configurations
# NOTICE: You have a /boot partition. This means that
# all kernel paths are relative to /boot/
0:3/vmlinuz-2.2.14-6.0smp root=/dev/sda1
1:3/vmlinuz-2.2.14-6.0 root=/dev/sda1
After 'make dep; make clean; make boot' and 'make modules ; make
modules_install' (with a few bug fixes in between) to kernel 2.4.9,
I copied the vmlinux.gz to /boot/ and shutdown the machine. When it
returned to the SRM prompt, I type: 'boot dka0 -fi 3/vmlinux.gz -fl
root=/dev/sda1' to parallel my aboot.conf file. It appears to find the
image and starts to boot, but when it tries to mount root, I get this
error:
FAT: bogus logical sector size 24716
FAT: bogus logical sector size 24716
Kernel Panic: VFS: Unable to mount root fs on 08:02
I have never seen such a prelude to a kernel panic. Where did I go
wrong?
Thanks,
Ken
--
Ken Siersma, Software Engineer
EKK, Inc.
100 North Pond Drive Suite A
Walled Lake, Michigan, 48390 USA
phone: (248) 624-9957
fax: (248) 624-7158
http://www.ekkinc.com
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: problems booting - kernel panic
2001-09-14 11:59 problems booting - kernel panic Ken Siersma
@ 2001-09-14 13:32 ` Rich Payne
[not found] ` <20010914084141.A8307@ellpspace.math.ualberta.ca>
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Rich Payne @ 2001-09-14 13:32 UTC (permalink / raw)
To: axp-list; +Cc: 1
On Fri, 14 Sep 2001, Ken Siersma wrote:
Make sure that you've got BSD disklabel support in the kernel, as well as
ext2 filesystem support. It looks like it's trying to mount the rootfs as
fat. If I remember correctly the kernel goes through a list of filetypes
when it mounts root, and ext2 comes before fat.
--rdp
> Hello,
> This seems ridiculous, but I recently reinstalled RH 6.2 on my DP264
> Alpha (due to a number of reasons, mainly centered around an inadequate
> original setup), and I can't get the machine to boot with my new kernel.
>
> RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> filesystem as follows:
>
> Mount point: /
> Device: /dev/sda1
> Size: 2500 MB
>
> Mount point: (swap)
> Device: /dev/sd2
> Size: 1999 MB
>
> Mount point: /boot
> Device: /dev/sda3
> Size: 17 MB
>
> Mount point: /home
> Device: /dev/sda4
> Size: 13000 MB
>
> My instinct (intel based) gives me the feeling having a /boot partition
> on the 3rd partition is bad, but Disk Druid in the install forced it to
> be setup that way, so I believe it is okay.
>
> Anyhow, I am using SRM and aboot to boot, and my original aboot.conf
> file says:
>
> # aboot default configurations
> # NOTICE: You have a /boot partition. This means that
> # all kernel paths are relative to /boot/
> 0:3/vmlinuz-2.2.14-6.0smp root=/dev/sda1
> 1:3/vmlinuz-2.2.14-6.0 root=/dev/sda1
>
> After 'make dep; make clean; make boot' and 'make modules ; make
> modules_install' (with a few bug fixes in between) to kernel 2.4.9,
> I copied the vmlinux.gz to /boot/ and shutdown the machine. When it
> returned to the SRM prompt, I type: 'boot dka0 -fi 3/vmlinux.gz -fl
> root=/dev/sda1' to parallel my aboot.conf file. It appears to find the
> image and starts to boot, but when it tries to mount root, I get this
> error:
>
> FAT: bogus logical sector size 24716
> FAT: bogus logical sector size 24716
> Kernel Panic: VFS: Unable to mount root fs on 08:02
>
> I have never seen such a prelude to a kernel panic. Where did I go
> wrong?
>
> Thanks,
> Ken
>
> --
> Ken Siersma, Software Engineer
> EKK, Inc.
> 100 North Pond Drive Suite A
> Walled Lake, Michigan, 48390 USA
> phone: (248) 624-9957
> fax: (248) 624-7158
> http://www.ekkinc.com
>
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <20010914084141.A8307@ellpspace.math.ualberta.ca>]
* Re: problems booting - kernel panic
[not found] ` <20010914084141.A8307@ellpspace.math.ualberta.ca>
@ 2001-09-14 13:43 ` Ken Siersma
[not found] ` <20010914093134.A8551@ellpspace.math.ualberta.ca>
0 siblings, 1 reply; 14+ messages in thread
From: Ken Siersma @ 2001-09-14 13:43 UTC (permalink / raw)
To: Michal Jaegermann; +Cc: axp-list
Michal, Thanks for your response. I've responded within your comments, as
you did:
Michal Jaegermann wrote:
> >
> > My instinct (intel based) gives me the feeling having a /boot partition
> > on the 3rd partition is bad,
>
> Your instincts are wrong. You may boot from Alpha from any partition
> you want on any disk supported by your version of SRM as long as it has
> a "disklabel". It is good idea to keep a kernel image below 2GB offset
> into a partition on which it is located, as various version of 'aboot'
> will not handle it otherwise, but 17 MB partition mounted on /boot will
> ensure that assuming a standard layout.
>
> > but Disk Druid in the install forced it to
> > be setup that way, so I believe it is okay.
>
> Disk Druid nothing really "forces" as you have an option to use fdisk
> instead of that thingy but, if there was an existing FAT partition
> table on your disk it may NOT rewrite it as a "BSD-type disklabel"
> which is _required_ for booting via SRM by any means.
>
> Can you boot any other kernel?
>
I can indeed boot the kernel redhat installed.
>
> >
> > After 'make dep; make clean; make boot' and 'make modules ; make
> > modules_install' (with a few bug fixes in between) to kernel 2.4.9,
> > I copied the vmlinux.gz to /boot/ and shutdown the machine.
>
> Did you turn on a support for "disklabel partitioning" in this kernel.
I did turn on File systems -> Partition Types -> PC BIOS (MSDOS partition
tables) support -> BSD disklabel (FreeBSD partition tables) support.
Is this the disklabel partitioning you speak of?
>
>
> >
> > FAT: bogus logical sector size 24716
> > FAT: bogus logical sector size 24716
> > Kernel Panic: VFS: Unable to mount root fs on 08:02
>
> Looks like that you did not.
>
Hmm, I just checked, and it is in there. Maybe it needs to be turned on
somewhere other than in advanced partition selection of File Systems?
>
> Michal
Just a comment, I did save a kernel .config file from version 2.2.15 on this
machine that worked at one time (before I reinstalled linux), and I used
that as a guide in turning on options in 2.4.9. Unfortunately, I didn't
save a .config file from 2.4.2 which is what I was running before I decided
to reinstall.
What do you think?
Ken
--
Ken Siersma, Software Engineer
EKK, Inc.
100 North Pond Drive Suite A
Walled Lake, Michigan, 48390 USA
phone: (248) 624-9957
fax: (248) 624-7158
http://www.ekkinc.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 11:59 problems booting - kernel panic Ken Siersma
2001-09-14 13:32 ` Rich Payne
[not found] ` <20010914084141.A8307@ellpspace.math.ualberta.ca>
@ 2001-09-14 14:25 ` Nelson Brito
2001-09-14 18:01 ` W Bauske
3 siblings, 0 replies; 14+ messages in thread
From: Nelson Brito @ 2001-09-14 14:25 UTC (permalink / raw)
To: axp-list
-> FAT: bogus logical sector size 24716
-> FAT: bogus logical sector size 24716
-> Kernel Panic: VFS: Unable to mount root fs on 08:02
I'm not sure about what is happening with you, but it seems
that you're using FAT filesystem!!!
You have to use a BSD partition table in order to use aboot
and you'll need to compile your kernel to support it.
regards, nelson
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: problems booting - kernel panic
2001-09-14 11:59 problems booting - kernel panic Ken Siersma
` (2 preceding siblings ...)
2001-09-14 14:25 ` Nelson Brito
@ 2001-09-14 18:01 ` W Bauske
2001-09-14 16:59 ` Ken Siersma
3 siblings, 1 reply; 14+ messages in thread
From: W Bauske @ 2001-09-14 18:01 UTC (permalink / raw)
To: axp-list
Ken Siersma wrote:
>
> RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> filesystem as follows:
>
> Mount point: /
> Device: /dev/sda1
> Size: 2500 MB
>
> Mount point: (swap)
> Device: /dev/sd2
> Size: 1999 MB
>
I assume you mean /dev/sda2 here. It's important in a minute.
> Mount point: /boot
> Device: /dev/sda3
> Size: 17 MB
>
> Mount point: /home
> Device: /dev/sda4
> Size: 13000 MB
>
> FAT: bogus logical sector size 24716
> FAT: bogus logical sector size 24716
> Kernel Panic: VFS: Unable to mount root fs on 08:02
>
> I have never seen such a prelude to a kernel panic. Where did I go
> wrong?
>
Note that 08:02.
It means /dev/sda2. You're trying to mount your swap partition as
root. Bad idea. Better tell the kernel where your root really is.
Probably need something like "-flags root=/dev/sda1" on your boot.
Wes
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: problems booting - kernel panic
2001-09-14 18:01 ` W Bauske
@ 2001-09-14 16:59 ` Ken Siersma
2001-09-14 18:16 ` Rich Payne
2001-09-14 19:18 ` W Bauske
0 siblings, 2 replies; 14+ messages in thread
From: Ken Siersma @ 2001-09-14 16:59 UTC (permalink / raw)
To: axp-list
Hey, this is very interesting. Unfortunately, I don't know why it is
trying to mount /dev/sda2. To boot the new kernel, I typed: boot dka0 -fi
3/vmlinux.gz -fl root=/dev/sda1. So, I am already doing what you are
suggesting, although it seems that SRM is ignoring my demands. I don't get
it!
Ken
W Bauske wrote:
> Ken Siersma wrote:
> >
>
> > RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> > filesystem as follows:
> >
> > Mount point: /
> > Device: /dev/sda1
> > Size: 2500 MB
> >
> > Mount point: (swap)
> > Device: /dev/sd2
> > Size: 1999 MB
> >
>
> I assume you mean /dev/sda2 here. It's important in a minute.
>
> > Mount point: /boot
> > Device: /dev/sda3
> > Size: 17 MB
> >
> > Mount point: /home
> > Device: /dev/sda4
> > Size: 13000 MB
> >
>
> > FAT: bogus logical sector size 24716
> > FAT: bogus logical sector size 24716
> > Kernel Panic: VFS: Unable to mount root fs on 08:02
> >
> > I have never seen such a prelude to a kernel panic. Where did I go
> > wrong?
> >
>
> Note that 08:02.
>
> It means /dev/sda2. You're trying to mount your swap partition as
> root. Bad idea. Better tell the kernel where your root really is.
>
> Probably need something like "-flags root=/dev/sda1" on your boot.
>
> Wes
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
--
Ken Siersma, Software Engineer
EKK, Inc.
100 North Pond Drive Suite A
Walled Lake, Michigan, 48390 USA
phone: (248) 624-9957
fax: (248) 624-7158
http://www.ekkinc.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 16:59 ` Ken Siersma
@ 2001-09-14 18:16 ` Rich Payne
2001-09-14 17:11 ` Ken Siersma
2001-09-14 19:18 ` W Bauske
1 sibling, 1 reply; 14+ messages in thread
From: Rich Payne @ 2001-09-14 18:16 UTC (permalink / raw)
To: axp-list
try this:
boot dka0 -fi 3/vmlinux.gz -fl "root=/dev/sda1"
note the ""
--rdp
On Fri, 14 Sep 2001, Ken Siersma wrote:
> Hey, this is very interesting. Unfortunately, I don't know why it is
> trying to mount /dev/sda2. To boot the new kernel, I typed: boot dka0 -fi
> 3/vmlinux.gz -fl root=/dev/sda1. So, I am already doing what you are
> suggesting, although it seems that SRM is ignoring my demands. I don't get
> it!
>
> Ken
>
> W Bauske wrote:
>
> > Ken Siersma wrote:
> > >
> >
> > > RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> > > filesystem as follows:
> > >
> > > Mount point: /
> > > Device: /dev/sda1
> > > Size: 2500 MB
> > >
> > > Mount point: (swap)
> > > Device: /dev/sd2
> > > Size: 1999 MB
> > >
> >
> > I assume you mean /dev/sda2 here. It's important in a minute.
> >
> > > Mount point: /boot
> > > Device: /dev/sda3
> > > Size: 17 MB
> > >
> > > Mount point: /home
> > > Device: /dev/sda4
> > > Size: 13000 MB
> > >
> >
> > > FAT: bogus logical sector size 24716
> > > FAT: bogus logical sector size 24716
> > > Kernel Panic: VFS: Unable to mount root fs on 08:02
> > >
> > > I have never seen such a prelude to a kernel panic. Where did I go
> > > wrong?
> > >
> >
> > Note that 08:02.
> >
> > It means /dev/sda2. You're trying to mount your swap partition as
> > root. Bad idea. Better tell the kernel where your root really is.
> >
> > Probably need something like "-flags root=/dev/sda1" on your boot.
> >
> > Wes
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
> --
> Ken Siersma, Software Engineer
> EKK, Inc.
> 100 North Pond Drive Suite A
> Walled Lake, Michigan, 48390 USA
> phone: (248) 624-9957
> fax: (248) 624-7158
> http://www.ekkinc.com
>
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 18:16 ` Rich Payne
@ 2001-09-14 17:11 ` Ken Siersma
2001-09-14 19:51 ` James Fowler
0 siblings, 1 reply; 14+ messages in thread
From: Ken Siersma @ 2001-09-14 17:11 UTC (permalink / raw)
To: axp-list
Doesn't work. I no longer have FAT or VFAT support in there of any kind, and
when I try booting it with the "" it does the same as before - the text scrolls
by too fast to read, and it returns to the SRM prompt with a Halt code 5.
Ken
Rich Payne wrote:
> try this:
> boot dka0 -fi 3/vmlinux.gz -fl "root=/dev/sda1"
>
> note the ""
>
> --rdp
>
> On Fri, 14 Sep 2001, Ken Siersma wrote:
>
> > Hey, this is very interesting. Unfortunately, I don't know why it is
> > trying to mount /dev/sda2. To boot the new kernel, I typed: boot dka0 -fi
> > 3/vmlinux.gz -fl root=/dev/sda1. So, I am already doing what you are
> > suggesting, although it seems that SRM is ignoring my demands. I don't get
> > it!
> >
> > Ken
> >
> > W Bauske wrote:
> >
> > > Ken Siersma wrote:
> > > >
> > >
> > > > RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> > > > filesystem as follows:
> > > >
> > > > Mount point: /
> > > > Device: /dev/sda1
> > > > Size: 2500 MB
> > > >
> > > > Mount point: (swap)
> > > > Device: /dev/sd2
> > > > Size: 1999 MB
> > > >
> > >
> > > I assume you mean /dev/sda2 here. It's important in a minute.
> > >
> > > > Mount point: /boot
> > > > Device: /dev/sda3
> > > > Size: 17 MB
> > > >
> > > > Mount point: /home
> > > > Device: /dev/sda4
> > > > Size: 13000 MB
> > > >
> > >
> > > > FAT: bogus logical sector size 24716
> > > > FAT: bogus logical sector size 24716
> > > > Kernel Panic: VFS: Unable to mount root fs on 08:02
> > > >
> > > > I have never seen such a prelude to a kernel panic. Where did I go
> > > > wrong?
> > > >
> > >
> > > Note that 08:02.
> > >
> > > It means /dev/sda2. You're trying to mount your swap partition as
> > > root. Bad idea. Better tell the kernel where your root really is.
> > >
> > > Probably need something like "-flags root=/dev/sda1" on your boot.
> > >
> > > Wes
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> >
> > --
> > Ken Siersma, Software Engineer
> > EKK, Inc.
> > 100 North Pond Drive Suite A
> > Walled Lake, Michigan, 48390 USA
> > phone: (248) 624-9957
> > fax: (248) 624-7158
> > http://www.ekkinc.com
> >
> >
> >
> >
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> >
>
> --
> Rich Payne
> rpayne@alphalinux.org www.alphalinux.org
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
--
Ken Siersma, Software Engineer
EKK, Inc.
100 North Pond Drive Suite A
Walled Lake, Michigan, 48390 USA
phone: (248) 624-9957
fax: (248) 624-7158
http://www.ekkinc.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 17:11 ` Ken Siersma
@ 2001-09-14 19:51 ` James Fowler
2001-09-14 20:14 ` Michal Jaegermann
0 siblings, 1 reply; 14+ messages in thread
From: James Fowler @ 2001-09-14 19:51 UTC (permalink / raw)
To: axp-list
In my experience you have to have both FAT and EXT2 (with BSD labels)
support too. I had to have a
little FAT partiton at the beginning of the disk with an /etc /boot
(something elses too). In order to get aboot to work and boot my kernel.
On Fri, 14 Sep 2001, Ken Siersma wrote:
> Doesn't work. I no longer have FAT or VFAT support in there of any kind, and
> when I try booting it with the "" it does the same as before - the text scrolls
> by too fast to read, and it returns to the SRM prompt with a Halt code 5.
>
> Ken
>
> Rich Payne wrote:
>
> > try this:
> > boot dka0 -fi 3/vmlinux.gz -fl "root=/dev/sda1"
> >
> > note the ""
> >
> > --rdp
> >
> > On Fri, 14 Sep 2001, Ken Siersma wrote:
> >
> > > Hey, this is very interesting. Unfortunately, I don't know why it is
> > > trying to mount /dev/sda2. To boot the new kernel, I typed: boot dka0 -fi
> > > 3/vmlinux.gz -fl root=/dev/sda1. So, I am already doing what you are
> > > suggesting, although it seems that SRM is ignoring my demands. I don't get
> > > it!
> > >
> > > Ken
> > >
> > > W Bauske wrote:
> > >
> > > > Ken Siersma wrote:
> > > > >
> > > >
> > > > > RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> > > > > filesystem as follows:
> > > > >
> > > > > Mount point: /
> > > > > Device: /dev/sda1
> > > > > Size: 2500 MB
> > > > >
> > > > > Mount point: (swap)
> > > > > Device: /dev/sd2
> > > > > Size: 1999 MB
> > > > >
> > > >
> > > > I assume you mean /dev/sda2 here. It's important in a minute.
> > > >
> > > > > Mount point: /boot
> > > > > Device: /dev/sda3
> > > > > Size: 17 MB
> > > > >
> > > > > Mount point: /home
> > > > > Device: /dev/sda4
> > > > > Size: 13000 MB
> > > > >
> > > >
> > > > > FAT: bogus logical sector size 24716
> > > > > FAT: bogus logical sector size 24716
> > > > > Kernel Panic: VFS: Unable to mount root fs on 08:02
> > > > >
> > > > > I have never seen such a prelude to a kernel panic. Where did I go
> > > > > wrong?
> > > > >
> > > >
> > > > Note that 08:02.
> > > >
> > > > It means /dev/sda2. You're trying to mount your swap partition as
> > > > root. Bad idea. Better tell the kernel where your root really is.
> > > >
> > > > Probably need something like "-flags root=/dev/sda1" on your boot.
> > > >
> > > > Wes
> > > >
> > > > _______________________________________________
> > > > Axp-list mailing list
> > > > Axp-list@redhat.com
> > > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> > > --
> > > Ken Siersma, Software Engineer
> > > EKK, Inc.
> > > 100 North Pond Drive Suite A
> > > Walled Lake, Michigan, 48390 USA
> > > phone: (248) 624-9957
> > > fax: (248) 624-7158
> > > http://www.ekkinc.com
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> > >
> >
> > --
> > Rich Payne
> > rpayne@alphalinux.org www.alphalinux.org
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
> --
> Ken Siersma, Software Engineer
> EKK, Inc.
> 100 North Pond Drive Suite A
> Walled Lake, Michigan, 48390 USA
> phone: (248) 624-9957
> fax: (248) 624-7158
> http://www.ekkinc.com
>
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
------------------------------------------------------------------------------
James Fowler
Technology & Education
jamesf@sequoia.net ICQ: 22088266
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 19:51 ` James Fowler
@ 2001-09-14 20:14 ` Michal Jaegermann
2001-09-14 23:14 ` James Fowler
0 siblings, 1 reply; 14+ messages in thread
From: Michal Jaegermann @ 2001-09-14 20:14 UTC (permalink / raw)
To: axp-list
On Fri, Sep 14, 2001 at 01:51:53PM -0600, James Fowler wrote:
> In my experience you have to have both FAT and EXT2 (with BSD labels)
> support too. I had to have a
> little FAT partiton at the beginning of the disk with an /etc /boot
> (something elses too). In order to get aboot to work and boot my kernel.
This is the case when you are booting from ARC, and derivatives, where
firmware does not know anything about disklabels and ext2. But he is
using SRM console and 'aboot' - which is a different situation.
Not that FAT, or better yet VFAT, support is not useful then in your
kernel (it may be in a form of a module). You may need, from time time,
to look at those pesky FAT floppies. :-)
Michal
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 20:14 ` Michal Jaegermann
@ 2001-09-14 23:14 ` James Fowler
0 siblings, 0 replies; 14+ messages in thread
From: James Fowler @ 2001-09-14 23:14 UTC (permalink / raw)
To: axp-list
RH 7.1 would not boot from my ext2 partition. It would only boot from a
kernel on a FAT partition. I didn't have any problems with 6.2 reading
from the ext2. I wiped and installed 7.1 fresh and had that problem until
I moved the kernel that I wanted to boot from onto the FAT partition. Is
it known how to avoid this? I would rather not have to have a small FAT
partition on the drive. RH7.1 seemed to leave me no alternative.
James
And this is all with SRM and aboot 0.7.
On Fri, 14 Sep 2001, Michal Jaegermann wrote:
> On Fri, Sep 14, 2001 at 01:51:53PM -0600, James Fowler wrote:
> > In my experience you have to have both FAT and EXT2 (with BSD labels)
> > support too. I had to have a
> > little FAT partiton at the beginning of the disk with an /etc /boot
> > (something elses too). In order to get aboot to work and boot my kernel.
>
> This is the case when you are booting from ARC, and derivatives, where
> firmware does not know anything about disklabels and ext2. But he is
> using SRM console and 'aboot' - which is a different situation.
>
> Not that FAT, or better yet VFAT, support is not useful then in your
> kernel (it may be in a form of a module). You may need, from time time,
> to look at those pesky FAT floppies. :-)
>
> Michal
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
------------------------------------------------------------------------------
James Fowler
Technology & Education
jamesf@sequoia.net ICQ: 22088266
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
2001-09-14 16:59 ` Ken Siersma
2001-09-14 18:16 ` Rich Payne
@ 2001-09-14 19:18 ` W Bauske
1 sibling, 0 replies; 14+ messages in thread
From: W Bauske @ 2001-09-14 19:18 UTC (permalink / raw)
To: axp-list
If messages go by too quickly, try switching to serial console and
use a PC with terminal emulator with capture on the serial port to get the
messages so you can see what really happened. I use my notebook PC for
for that sort of stuff. Just pick an emulator you like and use a null
modem cable. Then "set console serial" and then "init" at the SRM prompt
which redirects the console to the serial port. When you're done,
"set console graphics" and "init" again from the serial console to switch
back.
Wes
Ken Siersma wrote:
>
> Hey, this is very interesting. Unfortunately, I don't know why it is
> trying to mount /dev/sda2. To boot the new kernel, I typed: boot dka0 -fi
> 3/vmlinux.gz -fl root=/dev/sda1. So, I am already doing what you are
> suggesting, although it seems that SRM is ignoring my demands. I don't get
> it!
>
> Ken
>
> W Bauske wrote:
>
> > Ken Siersma wrote:
> > >
> >
> > > RH 6.2 installs 2.2.14-6.0, and I am trying to run 2.4.9. I setup the
> > > filesystem as follows:
> > >
> > > Mount point: /
> > > Device: /dev/sda1
> > > Size: 2500 MB
> > >
> > > Mount point: (swap)
> > > Device: /dev/sd2
> > > Size: 1999 MB
> > >
> >
> > I assume you mean /dev/sda2 here. It's important in a minute.
> >
> > > Mount point: /boot
> > > Device: /dev/sda3
> > > Size: 17 MB
> > >
> > > Mount point: /home
> > > Device: /dev/sda4
> > > Size: 13000 MB
> > >
> >
> > > FAT: bogus logical sector size 24716
> > > FAT: bogus logical sector size 24716
> > > Kernel Panic: VFS: Unable to mount root fs on 08:02
> > >
> > > I have never seen such a prelude to a kernel panic. Where did I go
> > > wrong?
> > >
> >
> > Note that 08:02.
> >
> > It means /dev/sda2. You're trying to mount your swap partition as
> > root. Bad idea. Better tell the kernel where your root really is.
> >
> > Probably need something like "-flags root=/dev/sda1" on your boot.
> >
> > Wes
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
> --
> Ken Siersma, Software Engineer
> EKK, Inc.
> 100 North Pond Drive Suite A
> Walled Lake, Michigan, 48390 USA
> phone: (248) 624-9957
> fax: (248) 624-7158
> http://www.ekkinc.com
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: problems booting - kernel panic
@ 2001-09-15 2:51 Robert M. Riches Jr.
0 siblings, 0 replies; 14+ messages in thread
From: Robert M. Riches Jr. @ 2001-09-15 2:51 UTC (permalink / raw)
To: axp-list
> From: James Fowler <santiago@eng.utah.edu>
> Date: Fri, 14 Sep 2001 17:14:13 -0600 (MDT)
>
> RH 7.1 would not boot from my ext2 partition. It would only boot from a
> kernel on a FAT partition. I didn't have any problems with 6.2 reading
> from the ext2. I wiped and installed 7.1 fresh and had that problem until
> I moved the kernel that I wanted to boot from onto the FAT partition. Is
> it known how to avoid this? I would rather not have to have a small FAT
> partition on the drive. RH7.1 seemed to leave me no alternative.
> James
>
> And this is all with SRM and aboot 0.7.
Coincidentally, I just installed RH7.1 this week, with ext2
partitions _only_, and everything boots fine as long as I use the
numbered entries in aboot.conf.
One thing I have heard (on this list, IIRC) is the kernel must be
in the first 2GB of the partition on which it resides, which
basically means the partition (/boot) on which the kernel lives
should be smaller than 2GB. All my /boot partitions are 1GB.
With RH6.1 and RH7.0, I used the SRM variables to control exactly
which kernel would be booted. I have yet to try the <n>/ prefix
the more modern aboot versions seem to want. With luck, that
will allow me to use the SRM variables to control booting instead
of having to muddle around with aboot.conf.
Robert Riches
richesr1@inetarena.com
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2001-09-15 2:51 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-14 11:59 problems booting - kernel panic Ken Siersma
2001-09-14 13:32 ` Rich Payne
[not found] ` <20010914084141.A8307@ellpspace.math.ualberta.ca>
2001-09-14 13:43 ` Ken Siersma
[not found] ` <20010914093134.A8551@ellpspace.math.ualberta.ca>
2001-09-14 14:35 ` Ken Siersma
2001-09-14 14:25 ` Nelson Brito
2001-09-14 18:01 ` W Bauske
2001-09-14 16:59 ` Ken Siersma
2001-09-14 18:16 ` Rich Payne
2001-09-14 17:11 ` Ken Siersma
2001-09-14 19:51 ` James Fowler
2001-09-14 20:14 ` Michal Jaegermann
2001-09-14 23:14 ` James Fowler
2001-09-14 19:18 ` W Bauske
-- strict thread matches above, loose matches on Subject: below --
2001-09-15 2:51 Robert M. Riches Jr.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox