* Any hope of booting a 2.4 kernel using MILO?
@ 2003-10-30 15:59 Eric Henry
2003-10-30 16:12 ` Måns Rullgård
2003-10-30 18:32 ` Michal Jaegermann
0 siblings, 2 replies; 6+ messages in thread
From: Eric Henry @ 2003-10-30 15:59 UTC (permalink / raw)
Hi,
Subject line says it. I have an LX164 system running AlphaBIOS, and I
would like to boot into kernel 2.4.22 (already configured and built). My
current MILO (2.0.something) has always been able to boot into my
current 2.2.5 kernel (although a downloaded 2.2.x MILO hangs my system
during SCSI initialization--just as in an earlier post today). Enough
kernel structures were changed between 2.2 and 2.4 so that existing 2.2
MILO code will not build against a 2.4 kernel. (My 2.0.x MILO gives a
'length error' and dies on the boot attempt.) Does there exist a MILO
anywhere that will boot a 2.4 kernel? Or some other way to start such a
kernel on an AlphaBIOS system?
Thanks in advance...
Eric Henry
eric@helix.nih.gov
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any hope of booting a 2.4 kernel using MILO?
2003-10-30 15:59 Any hope of booting a 2.4 kernel using MILO? Eric Henry
@ 2003-10-30 16:12 ` Måns Rullgård
2003-10-30 18:32 ` Michal Jaegermann
1 sibling, 0 replies; 6+ messages in thread
From: Måns Rullgård @ 2003-10-30 16:12 UTC (permalink / raw)
Eric Henry <eric@helix.nih.gov> writes:
> Subject line says it. I have an LX164 system running AlphaBIOS, and
That system will run SRM. There's no reason not to switch.
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any hope of booting a 2.4 kernel using MILO?
2003-10-30 15:59 Any hope of booting a 2.4 kernel using MILO? Eric Henry
2003-10-30 16:12 ` Måns Rullgård
@ 2003-10-30 18:32 ` Michal Jaegermann
2003-10-31 16:16 ` Eric Henry
1 sibling, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2003-10-30 18:32 UTC (permalink / raw)
Eric Henry <eric@helix.nih.gov> wrote:
> Subject line says it.
What hope has to do with this? Just boot.
> I have an LX164 system running AlphaBIOS,
There is only one thing which may prevent you from using
an existing SRM consoles on LX. Namely if your Adaptec controller
is not recognized and you are booting from a disk attached to it.
I am not so sure if milos know about new Adaptecs either. Maybe.
> and I
> would like to boot into kernel 2.4.22 (already configured and built).
Milos are NOT booting (usually) 2.4 kernels where LEGACY_LOAD_ADDRESS
was not set.
> My current MILO (2.0.something) has always been able to boot into my
> current 2.2.5 kernel (although a downloaded 2.2.x MILO hangs my system
> during SCSI initialization--just as in an earlier post today).
Recently I had to deal with UX and 2.2-18 milo had serious troubles
there although 2.2-17 was mostly ok (with this exception that it
will not read anything from floppies).
> Enough
> kernel structures were changed between 2.2 and 2.4 so that existing 2.2
> MILO code will not build against a 2.4 kernel.
Why you would want to do that? Of course you can redesign milo
to base it on 2.4 kernels if you have such burning desire but why?
> Does there exist a MILO
> anywhere that will boot a 2.4 kernel?
Yes. With this proviso that a kernel has to be configured for that.
Say like ready binaries kernel-milo-2.4.18-27.7.x.hp.alpha.rpm at
ftp://ftp2.compaq.com/pub/linux/RedHat/7.2-alpha/updates/rpms/alpha/
> Or some other way to start such a kernel on an AlphaBIOS system?
First rule - do not use AlphaBIOS if you are not really forced to do
that.
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Any hope of booting a 2.4 kernel using MILO?
2003-10-30 18:32 ` Michal Jaegermann
@ 2003-10-31 16:16 ` Eric Henry
2003-10-31 19:58 ` Michal Jaegermann
0 siblings, 1 reply; 6+ messages in thread
From: Eric Henry @ 2003-10-31 16:16 UTC (permalink / raw)
Hi,
Thanks to Michal and M�ns for their responses.
> What hope has to do with this? Just boot.
Tried...and failed. I was looking for hope of **finding a way** to boot
a 2.4 kernel using MILO...
> There is only one thing which may prevent you from using
> an existing SRM consoles on LX. Namely if your Adaptec controller
> is not recognized and you are booting from a disk attached to it.
> I am not so sure if milos know about new Adaptecs either. Maybe.
Probably true, but there is no "existing SRM console" on my machine. I
have what I think is called a "half-flash" system, which means only
AlphaBIOS or SRM can exist at a time. M�ns recommended that I switch to
SRM, and I have acquired what I think is the correct firmware update
image to implement the switch:
http://ftp.digital.com/pub/DEC/Alpha/firmware/archive/alphapc164lx/lx164_v5_8.exe
but I wanted to see if I could possibly keep MILO for now. (I have a
dual-disk system, with a working RedHat distro on one disk, and a newly
installed Debian Woody on the other. Installing SRM/aboot would make one
or the other of these inaccessible, because aboot has to go at the
beginning of the disk, and I (or rather the disks)have not been
partitioned to handle this painlessly.
> Milos are NOT booting (usually) 2.4 kernels where LEGACY_LOAD_ADDRESS
> was not set.
The 2.4.22 kernel I was attempting to boot was built with
CONFIG_ALPHA_LEGACY_LOAD_ADDRESS set. Are there any other configuration
flags that are critical for MILO-loadability?
>>Enough
>>kernel structures were changed between 2.2 and 2.4 so that existing 2.2
>>MILO code will not build against a 2.4 kernel.
>
>
> Why you would want to do that? Of course you can redesign milo
> to base it on 2.4 kernels if you have such burning desire but why?
>
>
>>Does there exist a MILO
>>anywhere that will boot a 2.4 kernel?
>
>
> Yes. With this proviso that a kernel has to be configured for that.
> Say like ready binaries kernel-milo-2.4.18-27.7.x.hp.alpha.rpm at
> ftp://ftp2.compaq.com/pub/linux/RedHat/7.2-alpha/updates/rpms/alpha/
Thanks for the tip. I downloaded and installed this kernel, and booting
it from MILO-2.0.x actually started, but ended with a kernel panic
because it couldn't open the specified root device. Looking at the
config file, this seems to be because the particular kernel was built
with CONFIG_SCSI_AIC7XXX (which applies to my controller) as a module.
This would result in the interesting situation where the kernel has to
open the root device (to get to /lib/modules/...) in order to acquire
the capability to open the root device. (I guess I would PANIC too...).
But this gives me some hope that a proper configuration might result in
a kernel that could be booted using my current MILO. I would appreciate
any help in identifying what configuration features are required to
enable this. (BTW, I am also already configured ALPHA_GENERIC...)
If all else fails, I will probably bite the bullet and switch to
SRM/aboot.
Thanks for the help...
Eric Henry
eric@helix.nih.gov
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Any hope of booting a 2.4 kernel using MILO?
2003-10-31 16:16 ` Eric Henry
@ 2003-10-31 19:58 ` Michal Jaegermann
2003-10-31 20:31 ` Måns Rullgård
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2003-10-31 19:58 UTC (permalink / raw)
Eric Henry <eric@helix.nih.gov> wrote:
>
>> There is only one thing which may prevent you from using
>> an existing SRM consoles on LX.
>
> Probably true, but there is no "existing SRM console" on my machine.
True to that extent that LX NVRAM modules are too small to keep
both images "in" at the same time. False in general.
Some years ago I remember doing some experiments on LX when
I needed both sets of firmware around. I was loading SRM from
a floppy and not flashing it. Crude but it worked even if I do
not remember all details now. :-)
> I have acquired what I think is the correct firmware update
> image to implement the switch:
>
> http://ftp.digital.com/pub/DEC/Alpha/firmware/archive/alphapc164lx/lx164_v5_8.exe
I guess that this would be it but make sure that this is the latest
version available.
> but I wanted to see if I could possibly keep MILO for now.
You can but there are technical reasons to prefer SRM if only feasible.
Both sets of firmware load somethings called "PAL code" before allowing
OS to take over. This code is not the same for ARC, or similar, and SRM
and affects your machine performance.
> (I have a
> dual-disk system, with a working RedHat distro on one disk, and a newly
> installed Debian Woody on the other. Installing SRM/aboot would make one
> or the other of these inaccessible, because aboot has to go at the
> beginning of the disk, and I (or rather the disks)have not been
> partitioned to handle this painlessly.
Boot disk used with SRM has to have a "BSD label" type partitioning.
For ARC this is FAT. Firmware limitation. Other disks can be partioned
any way supported by your kernel and a root file system does not have to
reside on boot media. The only thing you need there are your boot
images. Boot from an old IDE disk, for example, if you do not want to
repartition. It does not matter if this is Red Hat or Debian or
Slackware or PLD or anything else.
>
> The 2.4.22 kernel I was attempting to boot was built with
> CONFIG_ALPHA_LEGACY_LOAD_ADDRESS set. Are there any other configuration
> flags that are critical for MILO-loadability?
Nope. Such kernel will not boot on some new machines with "big" SRM
consoles but you do not have to worry about that. :-)
>>
>>>Does there exist a MILO
>>>anywhere that will boot a 2.4 kernel?
>>
>>
>> Yes. With this proviso that a kernel has to be configured for that.
>> Say like ready binaries kernel-milo-2.4.18-27.7.x.hp.alpha.rpm at
>> ftp://ftp2.compaq.com/pub/linux/RedHat/7.2-alpha/updates/rpms/alpha/
>
> Thanks for the tip. I downloaded and installed this kernel, and booting
> it from MILO-2.0.x actually started, but ended with a kernel panic
> because it couldn't open the specified root device.
If you have a root file system on a SCSI disk then you need initrd for
your kernel. All SCSI drivers are loaded from there so you will not get
a disk access otherwise and a panic you describe. 'mkinitrd' utility
will make it but a corresponding initrd was likely created
"automagically" during an rpm installation anyway. Now you have to load
it. Write yourself etc/milo.conf (this is __relative__ to the top of a
partition from which you boot!!! and the same applies to all paths
mentioned there) file or you will likely mistype something in your boot
command. Something in this style in milo.conf should to it but adjust
all data to your situation:
image=/boot/vmlinuz-2.4.18-27.7.x.hp
label=boot
root=/dev/sda3
append="initrd=/boot/initrd-2.4.18-27.7.x.hp.img"
and at milo prompt type simply 'b sda3:' (or whatever is a partition
from which you are booting and on which a milo.conf with these lines
resides).
Of course this requires a milo which is able to pass 'initrd...'
stuff to your kernel. I am not sure if MILO-2.0.x will work for that.
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Any hope of booting a 2.4 kernel using MILO?
2003-10-31 19:58 ` Michal Jaegermann
@ 2003-10-31 20:31 ` Måns Rullgård
0 siblings, 0 replies; 6+ messages in thread
From: Måns Rullgård @ 2003-10-31 20:31 UTC (permalink / raw)
Michal Jaegermann <michal@gortel.phys.ualberta.ca> writes:
> Boot disk used with SRM has to have a "BSD label" type partitioning.
> For ARC this is FAT. Firmware limitation. Other disks can be partioned
> any way supported by your kernel and a root file system does not have to
> reside on boot media. The only thing you need there are your boot
> images. Boot from an old IDE disk, for example, if you do not want to
> repartition. It does not matter if this is Red Hat or Debian or
> Slackware or PLD or anything else.
A FAT-style partition table can be converted to disklabel without
destroying data, if it's done carefully.
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-31 20:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 15:59 Any hope of booting a 2.4 kernel using MILO? Eric Henry
2003-10-30 16:12 ` Måns Rullgård
2003-10-30 18:32 ` Michal Jaegermann
2003-10-31 16:16 ` Eric Henry
2003-10-31 19:58 ` Michal Jaegermann
2003-10-31 20:31 ` Måns Rullgård
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox