From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a6570af37ddf11e5 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-10-31 12:00:07 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!hammer.uoregon.edu!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!tabloid.srv.ualberta.ca!not-for-mail From: Michal Jaegermann Newsgroups: comp.os.linux.alpha Subject: Re: Any hope of booting a 2.4 kernel using MILO? Date: Fri, 31 Oct 2003 19:58:49 +0000 (UTC) Organization: Disorganized Bits Message-ID: References: NNTP-Posting-Host: gortel.phys.ualberta.ca X-Trace: tabloid.srv.ualberta.ca 1067630329 19012 129.128.7.128 (31 Oct 2003 19:58:49 GMT) X-Complaints-To: abuse@ualberta.ca NNTP-Posting-Date: Fri, 31 Oct 2003 19:58:49 +0000 (UTC) User-Agent: tin/1.5.13-20020614 ("Sugar") (UNIX) (Linux/2.4.20-20.7 (i686)) Xref: archiver1.google.com comp.os.linux.alpha:90 Eric Henry 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