Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Peter Petrakis" <voodoo@alphadriven.org>
To: <axp-list@redhat.com>
Cc: <stepan@suse.de>
Subject: MILO vs Kernel in ROM;  WAS  Laundry List
Date: Tue, 5 Mar 2002 14:58:12 -0500	[thread overview]
Message-ID: <ODEEIIAMNNHHFAMGOBAPIEMNCAAA.voodoo@alphadriven.org> (raw)
In-Reply-To: <3C84E33E.16F48EBA@iplink.net>

> > Flashed in and away it goes. API wrote DBLX http://dblx.sf.net
> which does
>
> just poked there. It shows up as empty

http://sourceforge.net/projects/dblx/

Eric Rowe formerly of API was planning to carry this on though it's
sat in limbo for months now. I'll try contacting him again.

> My impression of LinuxBIOS was that it could be used to boot a second
> kernel and that this second kernel would be the one that is changed.
> Reflashing every time you change kernels would be too silly.  MILO is in
> some respects the same thing a linux kernel with some glue around it to
> make it flashable.

Doing that double kernel boot isnt as easy as it sounds. I don't think
DBLX fully supports it. MILO is more akin to SRM but with interchangable
driver support, You're not bound to the driver support for VMS :-). There is
no reason MILO couldnt do everything SRM can, there is a spec in the AAH for
the console. Now the LinuxBIOS project is going out of it's way to avoid
BIOS
initialization all together. This 'will' present problems because they're
counting on the Linux device drivers to do the right thing with an
uninialized BIOS. I'm pretty sure the PCI spec expects BIOS to be used as
well, if not the functionality should be picked up in the driver. Which is
not the case in Linux, most of the time. Just in the small set of hardware
we used to QA DBLX we
had to patch kernel drivers to solve 'weird' problems on boot and reboot.

MILO can serve as a console and be able to boot kernels from flash ontop of
harddisk, floppy, and net. Once milo is fixed up some the direct boot option
is a moot point to everyone except those who are in a cluster envirionment
which is a minority. DBLX as developed for API's machine which all had 2MB
flash took up by itself between 400-500K. That left room for TWO kernels or
a kernel, backup DBLX, and SRM console. So if you're kernel failed to boot
it would drop you back into the DBLX (firmware) and let you boot SRM or
whatever else you want from there to recover. If you have only 1MB of flash
and your stuck with the future MILO, your just waiting another 15 secs to
boot. You are not losing any functionality.

On Alpha it is relatively easy to boot linux from flash. It's when things go
wrong, recovering from those failure modes is very difficult. We have a HUGE
advantage over PCs because of how Alphas use SROM which does all of the
critical
setup for you. By critical I mean setting up the cache lines, turning over
the northbridge, and memory tests (is it ECC, what's the SPD say?). If you
totally NUKE your flash you can still recover you Alpha through SROM. All
you need is power, a cpu, some RAM, and a custom serial cable. SROM can
operate without RAM as well but you wont be able to load anything, thats
beside the point.

The poor guys at LinuxBIOS (on PCs) have to do the critical setup SROM does
AND  jump to Linux. Just look at their news section
http://www.acl.lanl.gov/linuxbios/news/index.html . Look at their major
accomplishments like the dual athlon support and read in to what they had to
fix to just get that far. Moreover they have NO firmware to control the boot
process, none. The way they change kernels is to flash it in from Linux, if
you can get there. If you fail you have to cut the flash off and burn it on
a ROM burner, if you have one.  The one they use cost $1K,
http://www.needhams.com/e30.html. Hmmm, Practical.

This isn't a new idea. Places like CodeGen and Firmworks who are
openfirmware
vendors can boot Linux from flash on x86. I know one of the two can
definitly do it, they even have a slide show for the selling points of using
OF on your Linux machine. OF is a complete BIOS which sets up your hardware
proper and then lets you boot off whatever. Atleast if you 'buy' it from
these guys.

Now that I've rattled on for far too long let me summarize. MILO could fully
support booting Linux from flash but MILO must retain it's current
functionality. Once this is true, booting Linux from flash will be as
reliable as it you boot it off a floppy or your HD.

> I have SRM, MILO and Alphabios running here. I would love dearly to be
> able to go to a single boot loader but with various generations of alpha
> hardware and some odd peripherals. I am stuck with using what ever works
> and suffering the side effects.

Wanna help? :-). Email me off list. I'm going to get serious with MILO
starting next week aka spring break. I would like to see MILO used instead
of SRM altogether on Alpha.

> Actually you can do the same thing with the BSD labels. It requires a
> fix to the kernel to read the partition type info from the disk. I have
> a system here running SRM with BSD labels and raid 1 and 5.

Interesting, Could you please send me or point me to that patch?
Thanks.

Peter
--
www.linuxalpha.org	www.alphadriven.org
Peter Petrakis         Warrior/Engineer        voodoo@alphadriven.org
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."




  reply	other threads:[~2002-03-05 20:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-04  6:57 Laundry List -- WAS "X on Alpha" Davies, Huw
2002-03-04 19:52 ` Peter Petrakis
2002-03-04 20:31   ` 'Bryce'
2002-03-04 21:28     ` Peter Petrakis
2002-03-05 15:24       ` alvin
2002-03-05 19:58         ` Peter Petrakis [this message]
2002-03-06  0:43           ` MILO vs Kernel in ROM; WAS Laundry List Christopher C. Chimelis
2002-03-06  1:57             ` Peter Petrakis
2002-03-06  2:52       ` Laundry List ... one more thing Ted Goodridge, Jr
2002-03-06 17:02         ` Michael A. Foley
2002-03-04 22:14     ` Laundry List -- WAS "X on Alpha" Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox