* Miata and Kernel Recompile
@ 1999-02-13 5:47 Geoff Shukin
1999-02-13 12:37 ` Joakim Roubert
0 siblings, 1 reply; 6+ messages in thread
From: Geoff Shukin @ 1999-02-13 5:47 UTC (permalink / raw)
To: axp-list@redhat.com
Hi!
I am having some fun! I am trying to compile 2.2.1 on my Miata with
module support. I have been unable to get past a certain point in the
kernel boot:
I get to:
request_module{block-major-8]: Root fs not mounted
VFS: Cannot open root device 08:02
Kernel Panic: VFS Unable to mount root fs on 08:02
and there she sits.
To get to this point, I downloaded the Kernel source from
ftp.kernel.org, untarred and did the make config; make dep; make clean;
make boot; make modules: make modules_install. Moved the vmlinux.gz
from /usr/src/linux/arch/alpha/boot to / and rebooted.
I even tried specifying the root file system from Milo with:
boot sda2:vmlinux.gz root=/dev/sda2
Any other ideas?
Thanks
Geoff
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Miata and Kernel Recompile
@ 1999-02-13 6:18 dls2
1999-02-13 7:30 ` Michael Choong
1999-02-13 7:33 ` Michal Jaegermann
0 siblings, 2 replies; 6+ messages in thread
From: dls2 @ 1999-02-13 6:18 UTC (permalink / raw)
To: axp-list
I've had similar bad experience with 2.2.1 on my Multia. In fact, I can't
seem to get any kernel to compile and install correctly, following the
same exact procedure. I get the same exact error message with the
2.2.x type kernels, and a hung display with the earlier type kernels. :/
I am entirely baffled as to why the Redhat 5.2 noname boot image
works just fine.
Derrick Shearer
dls2@Lehigh.EDU
>Hi!
>
>I am having some fun! I am trying to compile 2.2.1 on my Miata with
>module support. I have been unable to get past a certain point in the
>kernel boot:
>
>I get to:
>
>request_module{block-major-8]: Root fs not mounted
>VFS: Cannot open root device 08:02
>Kernel Panic: VFS Unable to mount root fs on 08:02
>
>and there she sits.
>
>To get to this point, I downloaded the Kernel source from
>ftp.kernel.org, untarred and did the make config; make dep; make clean;
>make boot; make modules: make modules_install. Moved the vmlinux.gz
>from /usr/src/linux/arch/alpha/boot to / and rebooted.
>
>I even tried specifying the root file system from Milo with:
>
>boot sda2:vmlinux.gz root=/dev/sda2
>
>Any other ideas?
>
>Thanks
>
>Geoff
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Miata and Kernel Recompile
1999-02-13 6:18 dls2
@ 1999-02-13 7:30 ` Michael Choong
1999-02-13 17:39 ` Michael Choong
1999-02-13 7:33 ` Michal Jaegermann
1 sibling, 1 reply; 6+ messages in thread
From: Michael Choong @ 1999-02-13 7:30 UTC (permalink / raw)
To: axp-list
I seem to recall getting a similar message a few weeks back with 2.2.x on
my AS 200 4/233 (Avanti). If I remember correctly, I had set up all my
file systems as modules in the kernel configuration. I dug around a bit
and discovered that the root fs type can't be compiled as a module - it
must be built into the kernel.
My guess is that the root fs must be mounted before kerneld is started,
which makes sense in retrospect (since kerneld must be loaded off the root
fs ;-). I think the RedHat 5.2 noname boot image builds the fs into the
kernel.
It may be worth a glance at the /usr/src/linux/.config file to make sure
that you have a line like "CONFIG_EXT2_FS=y". Also, I would make sure that
your SCSI (or IDE) parameters for your boot disk are set to "y" and not "m".
Good Luck!
Michael Choong
ratboy@intrex.net
At 01:18 AM 2/13/99 -0500, you wrote:
>I've had similar bad experience with 2.2.1 on my Multia. In fact, I can't
>seem to get any kernel to compile and install correctly, following the
>same exact procedure. I get the same exact error message with the
>2.2.x type kernels, and a hung display with the earlier type kernels. :/
>
>I am entirely baffled as to why the Redhat 5.2 noname boot image
>works just fine.
>
>Derrick Shearer
>dls2@Lehigh.EDU
>
>>Hi!
>>
>>I am having some fun! I am trying to compile 2.2.1 on my Miata with
>>module support. I have been unable to get past a certain point in the
>>kernel boot:
>>
>>I get to:
>>
>>request_module{block-major-8]: Root fs not mounted
>>VFS: Cannot open root device 08:02
>>Kernel Panic: VFS Unable to mount root fs on 08:02
>>
>>and there she sits.
>>
>>To get to this point, I downloaded the Kernel source from
>>ftp.kernel.org, untarred and did the make config; make dep; make clean;
>>make boot; make modules: make modules_install. Moved the vmlinux.gz
>>from /usr/src/linux/arch/alpha/boot to / and rebooted.
>>
>>I even tried specifying the root file system from Milo with:
>>
>>boot sda2:vmlinux.gz root=/dev/sda2
>>
>>Any other ideas?
>>
>>Thanks
>>
>>Geoff
>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Miata and Kernel Recompile
1999-02-13 7:30 ` Michael Choong
@ 1999-02-13 17:39 ` Michael Choong
0 siblings, 0 replies; 6+ messages in thread
From: Michael Choong @ 1999-02-13 17:39 UTC (permalink / raw)
To: axp-list
Well, I took my working kernel configuration (again on the AS 200 4/233 -
Avanti) and rebuilt with ext2 fs as a module. When I booted that kernel, I
got the last part of your error message:
Kernel Panic: VFS Unable to mount root fs on 08:02
but not the earlier messages. I suspect that these earlier messages mean
that the physical drive can't be accessed, likely due to SCSI or IDE
(depending on your configuration for the drive where your root partition
resides) drivers needing to be built into the kernel. So, I would look
there. When you try to boot, before you get to the kernel panic stage,
you should see messages regarding your drives being located (and defined as
sda,sdb,... or hda,hdb,...). If you don't see any messages like this, then
double-check the kernel configuration for your drive.
Good Luck!
Michael Choong
ratboy@intrex.net
At 02:30 AM 2/13/99 -0500, you wrote:
>I seem to recall getting a similar message a few weeks back with 2.2.x on
>my AS 200 4/233 (Avanti). If I remember correctly, I had set up all my
>file systems as modules in the kernel configuration. I dug around a bit
>and discovered that the root fs type can't be compiled as a module - it
>must be built into the kernel.
>
>My guess is that the root fs must be mounted before kerneld is started,
>which makes sense in retrospect (since kerneld must be loaded off the root
>fs ;-). I think the RedHat 5.2 noname boot image builds the fs into the
>kernel.
>
>It may be worth a glance at the /usr/src/linux/.config file to make sure
>that you have a line like "CONFIG_EXT2_FS=y". Also, I would make sure that
>your SCSI (or IDE) parameters for your boot disk are set to "y" and not
"m".
>
>Good Luck!
>
>Michael Choong
>ratboy@intrex.net
>
>
>
>At 01:18 AM 2/13/99 -0500, you wrote:
>>I've had similar bad experience with 2.2.1 on my Multia. In fact, I can't
>>seem to get any kernel to compile and install correctly, following the
>>same exact procedure. I get the same exact error message with the
>>2.2.x type kernels, and a hung display with the earlier type kernels. :/
>>
>>I am entirely baffled as to why the Redhat 5.2 noname boot image
>>works just fine.
>>
>>Derrick Shearer
>>dls2@Lehigh.EDU
>>
>>>Hi!
>>>
>>>I am having some fun! I am trying to compile 2.2.1 on my Miata with
>>>module support. I have been unable to get past a certain point in the
>>>kernel boot:
>>>
>>>I get to:
>>>
>>>request_module{block-major-8]: Root fs not mounted
>>>VFS: Cannot open root device 08:02
>>>Kernel Panic: VFS Unable to mount root fs on 08:02
>>>
>>>and there she sits.
>>>
>>>To get to this point, I downloaded the Kernel source from
>>>ftp.kernel.org, untarred and did the make config; make dep; make clean;
>>>make boot; make modules: make modules_install. Moved the vmlinux.gz
>>>from /usr/src/linux/arch/alpha/boot to / and rebooted.
>>>
>>>I even tried specifying the root file system from Milo with:
>>>
>>>boot sda2:vmlinux.gz root=/dev/sda2
>>>
>>>Any other ideas?
>>>
>>>Thanks
>>>
>>>Geoff
>>
>
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Miata and Kernel Recompile
1999-02-13 6:18 dls2
1999-02-13 7:30 ` Michael Choong
@ 1999-02-13 7:33 ` Michal Jaegermann
1 sibling, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1999-02-13 7:33 UTC (permalink / raw)
To: axp-list
>
> I am entirely baffled as to why the Redhat 5.2 noname boot image
> works just fine.
>
> Derrick Shearer
> dls2@Lehigh.EDU
.....
> >request_module{block-major-8]: Root fs not mounted
^^^^^^^^^^^
This module would have to be likely loaded from a disk (major-8)
access to which requires that module. Ooops!
> >VFS: Cannot open root device 08:02
Indeed. Are you booting via initird?
--mj
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-02-13 17:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-13 5:47 Miata and Kernel Recompile Geoff Shukin
1999-02-13 12:37 ` Joakim Roubert
-- strict thread matches above, loose matches on Subject: below --
1999-02-13 6:18 dls2
1999-02-13 7:30 ` Michael Choong
1999-02-13 17:39 ` Michael Choong
1999-02-13 7:33 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox