* Compiling kernels on RedHat 6.2 with SRM
@ 2000-07-17 4:00 sideband
2000-07-17 4:00 ` Mathew Lee
2000-07-18 4:00 ` sideband
0 siblings, 2 replies; 6+ messages in thread
From: sideband @ 2000-07-17 4:00 UTC (permalink / raw)
First off, ARC is not an option. I have an original AlphaPC164
motherboard, which, for some reason, refuses to fwupdate anything except
another SRM image. I don't get it, but that's the way it is.
Anyway, once I get the new kernel compiled and put in /boot, and once
I've edited aboot.conf, how do I get the kernel to boot?
my aboot.conf looks like this:
0:1/boot/vmlinuz-2.2.14-6.0 root=/dev/hda1
1:1/boot/vmlinuz-2.2.16-c1 root=/dev/hda1
If I change the boot_osflags environment variable to 1 in the SRM
console, the system refuses to mount the root partition, even tho ext2
is compiled into the kernel.
Any pointers?
Thanks.
-SSB
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling kernels on RedHat 6.2 with SRM
2000-07-17 4:00 Compiling kernels on RedHat 6.2 with SRM sideband
@ 2000-07-17 4:00 ` Mathew Lee
2000-07-19 4:00 ` sideband
2000-07-18 4:00 ` sideband
1 sibling, 1 reply; 6+ messages in thread
From: Mathew Lee @ 2000-07-17 4:00 UTC (permalink / raw)
<snip>
> Anyway, once I get the new kernel compiled and put in /boot, and once
> I've edited aboot.conf, how do I get the kernel to boot?
>
> my aboot.conf looks like this:
>
> 0:1/boot/vmlinuz-2.2.14-6.0 root=/dev/hda1
> 1:1/boot/vmlinuz-2.2.16-c1 root=/dev/hda1
>
> If I change the boot_osflags environment variable to 1 in the SRM
> console, the system refuses to mount the root partition, even tho ext2
> is compiled into the kernel.
>
<snip>
Sideband,
Before doing anything make sure that you have BSD disklabels enabled in
your kernel. Also, I am assuming that you have no trouble booting your
older kernels on the same system. If this does not work, please give us
more information.
also, your boot_osflag should always be set to "root=/dev/hda1"
your boot_osfile should now be set to "2/vmlinuz-2.2.16-c1"
your /boot/etc/aboot.conf file should look like the following
1:1/vmlinuz-2.2.14-6.0 root=/dev/hda1
1:2/vmlinuz-2.2.16-c1 root=/dev/hda1
now you will be able to boot by the following
boot yourdev -fl root=/dev/hda1 -fi 2
the -fi 2 means to use 1:2/vmlinuz-2.2.16-c1
good luck!
Mathew Lee
Undergraduate Research Assistant
Oklahoma State University
Mechanical and Aerospace Engieering
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling kernels on RedHat 6.2 with SRM
2000-07-17 4:00 ` Mathew Lee
@ 2000-07-19 4:00 ` sideband
2000-07-23 4:00 ` P.Copeland
0 siblings, 1 reply; 6+ messages in thread
From: sideband @ 2000-07-19 4:00 UTC (permalink / raw)
Matthew:
Thanks for the pointer, but the problem wasn't the BSD disklable.. That had
already been done. and beside, how would I compile a new kernel and install
it unless the machine booted in the first place? ::grin::
The problem was a missing carriage return at the end of the second line in
aboot.conf... Apparently SRM doesn't like hitting <eof> before hitting a
<cr>. ::grin::
-SSB
Mathew Lee wrote:
> <snip>
>
> > Anyway, once I get the new kernel compiled and put in /boot, and once
> > I've edited aboot.conf, how do I get the kernel to boot?
> >
> > my aboot.conf looks like this:
> >
> > 0:1/boot/vmlinuz-2.2.14-6.0 root=/dev/hda1
> > 1:1/boot/vmlinuz-2.2.16-c1 root=/dev/hda1
> >
> > If I change the boot_osflags environment variable to 1 in the SRM
> > console, the system refuses to mount the root partition, even tho ext2
> > is compiled into the kernel.
> >
>
> <snip>
>
> Sideband,
>
> Before doing anything make sure that you have BSD disklabels enabled in
> your kernel. Also, I am assuming that you have no trouble booting your
> older kernels on the same system. If this does not work, please give us
> more information.
>
> also, your boot_osflag should always be set to "root=/dev/hda1"
> your boot_osfile should now be set to "2/vmlinuz-2.2.16-c1"
>
> your /boot/etc/aboot.conf file should look like the following
>
> 1:1/vmlinuz-2.2.14-6.0 root=/dev/hda1
> 1:2/vmlinuz-2.2.16-c1 root=/dev/hda1
>
> now you will be able to boot by the following
> boot yourdev -fl root=/dev/hda1 -fi 2
>
> the -fi 2 means to use 1:2/vmlinuz-2.2.16-c1
>
> good luck!
>
> Mathew Lee
> Undergraduate Research Assistant
> Oklahoma State University
> Mechanical and Aerospace Engieering
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling kernels on RedHat 6.2 with SRM
2000-07-19 4:00 ` sideband
@ 2000-07-23 4:00 ` P.Copeland
2000-07-24 4:00 ` sideband
0 siblings, 1 reply; 6+ messages in thread
From: P.Copeland @ 2000-07-23 4:00 UTC (permalink / raw)
> Matthew:
....
>
> The problem was a missing carriage return at the end of the second line in
> aboot.conf... Apparently SRM doesn't like hitting <eof> before hitting a
> <cr>. ::grin::
>
I have forwarded this to the intrested party while I was at OLS. This is a bug
and a bugfix will shortly be forthcoming I believe...
(won't it Dave... 8) )
Phil
=--=
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling kernels on RedHat 6.2 with SRM
2000-07-23 4:00 ` P.Copeland
@ 2000-07-24 4:00 ` sideband
0 siblings, 0 replies; 6+ messages in thread
From: sideband @ 2000-07-24 4:00 UTC (permalink / raw)
Wow! I actually found a bug? Kewl!
Well, OK, not Kewl, but it's still nice to know that this isn't normal
behaviour.... It's still good practice to end each line with a <cr> even if the
program reading the file can do without it. I ::should:: have done it, but I guess
I was in a hurry to test my new kernel. ::grin::
Thanks for the info, Phil. Glad to hear I may have actually helped the Linux
community in some small way.
-SSB
"P.Copeland" wrote:
> > Matthew:
>
> ....
>
> >
> > The problem was a missing carriage return at the end of the second line in
> > aboot.conf... Apparently SRM doesn't like hitting <eof> before hitting a
> > <cr>. ::grin::
> >
>
> I have forwarded this to the intrested party while I was at OLS. This is a bug
> and a bugfix will shortly be forthcoming I believe...
>
> (won't it Dave... 8) )
>
> Phil
> =--=
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compiling kernels on RedHat 6.2 with SRM
2000-07-17 4:00 Compiling kernels on RedHat 6.2 with SRM sideband
2000-07-17 4:00 ` Mathew Lee
@ 2000-07-18 4:00 ` sideband
1 sibling, 0 replies; 6+ messages in thread
From: sideband @ 2000-07-18 4:00 UTC (permalink / raw)
I seem to have figured out the problem, here.
The last line of my aboot.conf did not have a <cr> at the end of it. Adding
that <cr> and rebooting brought up the new kernel flawlesly.
Thanks for the input, all who replied to this message.
-SSB
sideband wrote:
> First off, ARC is not an option. I have an original AlphaPC164
> motherboard, which, for some reason, refuses to fwupdate anything except
> another SRM image. I don't get it, but that's the way it is.
>
> Anyway, once I get the new kernel compiled and put in /boot, and once
> I've edited aboot.conf, how do I get the kernel to boot?
>
> my aboot.conf looks like this:
>
> 0:1/boot/vmlinuz-2.2.14-6.0 root=/dev/hda1
> 1:1/boot/vmlinuz-2.2.16-c1 root=/dev/hda1
>
> If I change the boot_osflags environment variable to 1 in the SRM
> console, the system refuses to mount the root partition, even tho ext2
> is compiled into the kernel.
>
> Any pointers?
>
> Thanks.
>
> -SSB
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-07-24 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-17 4:00 Compiling kernels on RedHat 6.2 with SRM sideband
2000-07-17 4:00 ` Mathew Lee
2000-07-19 4:00 ` sideband
2000-07-23 4:00 ` P.Copeland
2000-07-24 4:00 ` sideband
2000-07-18 4:00 ` sideband
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox