* RE: Laundry List -- WAS "X on Alpha" @ 2002-03-04 6:57 Davies, Huw 2002-03-04 19:52 ` Peter Petrakis 0 siblings, 1 reply; 11+ messages in thread From: Davies, Huw @ 2002-03-04 6:57 UTC (permalink / raw) To: axp-list There are a number of things that could be improved but one that has upset many potential Linux/Alpha users has been the difficulty of installing RedHat 7.1 on Milo only machines. I've seen comments like, upgrade to SRM and certainly on systems I have that can run SRM, I've moved to but we have to realize that there are lots of Milo only machines out there. Now I know it's not too difficult for someone who knows what to do to build a new kernel for the installation process provided you have another working alpha system, but it's a bit chicken and egg for someone who has picked up an Alpha for a few dollars to play with, only to discover (probably after lots of time and effort) that they cannot install on their box. I'm more than happy to test and contribute a new kernel and Milo setup for an XL366 and a UDB if anyone needs one. Perhaps we could setup a repository of suitable boot and root disks? We will also need to create suitable documentation to explain how to do the install. Huw Davies COMPAQ BUSINESS CRITICAL SERVICES 231 Normanby Road, South Melbourne, 3205 E-mail: Huw.Davies@compaq.com * Personal opinion only * ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Laundry List -- WAS "X on Alpha" 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' 0 siblings, 1 reply; 11+ messages in thread From: Peter Petrakis @ 2002-03-04 19:52 UTC (permalink / raw) To: axp-list > > There are a number of things that could be improved but one that > has upset many potential Linux/Alpha users has been the > difficulty of installing RedHat 7.1 on Milo only machines. I've > seen comments like, upgrade to SRM and certainly on systems I > have that can run SRM, I've moved to but we have to realize that > there are lots of Milo only machines out there. Considering that the majority of Alphas running Linux (or not running DUNIX) out there are pre ev6. Their SRM is no longer supported by Compaq and upgrading to SRM is more of a downgrade than anything. Linuxalpha machines should not be held back by the constraints of SRM console. MILO can be polished to the point where it can be the standard console not the alternative. The biggest sticking points I see for this are availability of proper PAL code (SRM w/ timings )and BIOS emulation. Both of which Compaq could provide in binary and encoded form under EBSDK license. Once that's done, there's no reason not to use milo. Does anyone have any other sticking points that would prevent you from running milo? > Now I know it's not too difficult for someone who knows what to > do to build a new kernel for the installation process provided > you have another working alpha system, but it's a bit chicken and > egg for someone who has picked up an Alpha for a few dollars to > play with, only to discover (probably after lots of time and > effort) that they cannot install on their box. Exactly. > I'm more than happy to test and contribute a new kernel and Milo > setup for an XL366 and a UDB if anyone needs one. Perhaps we > could setup a repository of suitable boot and root disks? We will > also need to create suitable documentation to explain how to do > the install. Anything you and anyone else could contribute is usefull, the more bits the better. We'll see what we can do with ALO about a repository, we don't have FTP currently. Documentation needs alot of work. I am willing to work on that and milo itself. 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..." ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Laundry List -- WAS "X on Alpha" 2002-03-04 19:52 ` Peter Petrakis @ 2002-03-04 20:31 ` 'Bryce' 2002-03-04 21:28 ` Peter Petrakis 2002-03-04 22:14 ` Laundry List -- WAS "X on Alpha" Michal Jaegermann 0 siblings, 2 replies; 11+ messages in thread From: 'Bryce' @ 2002-03-04 20:31 UTC (permalink / raw) To: axp-list Peter Petrakis wrote: > > > > There are a number of things that could be improved but one that > > has upset many potential Linux/Alpha users has been the > > difficulty of installing RedHat 7.1 on Milo only machines. I've > > seen comments like, upgrade to SRM and certainly on systems I > > have that can run SRM, I've moved to but we have to realize that > > there are lots of Milo only machines out there. > > Considering that the majority of Alphas running Linux (or not running DUNIX) > out there are pre ev6. Their SRM is no longer supported by Compaq and > upgrading to SRM is more of a downgrade than anything. Linuxalpha > machines should not be held back by the constraints of SRM console. > MILO can be polished to the point where it can be the standard > console not the alternative. The biggest sticking points I see for this > are availability of proper PAL code (SRM w/ timings )and BIOS emulation. > Both of which Compaq could provide in binary and encoded form under EBSDK > license. Once that's done, there's no reason not to use milo. Does > anyone have any other sticking points that would prevent you from > running milo? As I recall the official party line was that AlphaBIOS was being scrapped for SRM Then again there was wisperings of LinuxBIOS working on alpha. The main reason that I can see for using AlphaBIOS is to get at the x86 emulation so that you can latch into the onboard BIOS config tools that the like of SCSI cards tend to have. I doubt LinuxBIOS has that ability though I'm reasonably sure that some nutter will go out of their way to add it. As for SRM, I don't know too much about the internals of it or how much BIOS emulation would cost in terms of size for it to squeeze into onboard prom size. Another major differance is the default disk partitioning schemes,.. SRM knows BSD Label and AlphaBIOS knows MSDOS but neither know both. BSDLabel offers up to 8 partitions whereas AlphaBIOS can be coerced into provideing 12 per disk ( I think thats about as far as I managed to trick it into creating). An additional advantage of MSDOS partitioning is that you can change the partition type to one of the supported RAID types (fd) and start playing with software raid (0,1,5) though you can kinda do that with SRM if you remember to keep just the BOOT disk in BSDLabel format, theres no reason why all the rest can't be MSDOS type. (innocent whistle) > > I'm more than happy to test and contribute a new kernel and Milo > > setup for an XL366 and a UDB if anyone needs one. Perhaps we > > could setup a repository of suitable boot and root disks? We will > > also need to create suitable documentation to explain how to do > > the install. > > Anything you and anyone else could contribute is usefull, the more > bits the better. We'll see what we can do with ALO about a repository, > we don't have FTP currently. Documentation needs alot of work. I am willing > to work on that and milo itself. I can provide ftp space (ftp.linux.org.uk) which has the advantage of being commercial entity free Phil =--= ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Laundry List -- WAS "X on Alpha" 2002-03-04 20:31 ` 'Bryce' @ 2002-03-04 21:28 ` Peter Petrakis 2002-03-05 15:24 ` alvin 2002-03-06 2:52 ` Laundry List ... one more thing Ted Goodridge, Jr 2002-03-04 22:14 ` Laundry List -- WAS "X on Alpha" Michal Jaegermann 1 sibling, 2 replies; 11+ messages in thread From: Peter Petrakis @ 2002-03-04 21:28 UTC (permalink / raw) To: axp-list > As I recall the official party line was that AlphaBIOS was being > scrapped for > SRM > Then again there was wisperings of LinuxBIOS working on alpha. LinuxBIOS 'does' work but it's little more than aboot with some hardcoded values attached as a header to the kernel and then made a rom image. Flashed in and away it goes. API wrote DBLX http://dblx.sf.net which does what the LinuxBIOS project does, but saner. With a firmware that can manage flash and booting Linux from flash. For the majority of users I don't see any real benefits gained from booting Linux directly out of flash save for those folks who have clusters of machines, which is what DBLX was targeted at. I have a few points of contention against LinuxBIOS/DBLX like you have to actually play with flash to upgrade your kernel, That is inherently dangerous. On all Alphas the possibility exists where you could blow away the FSB. On systems like the UP1000 and CS20 you could destroy the SROM which would make the machine a paperweight without expert intervention. > The main reason that I can see for using AlphaBIOS is to get at the x86 > emulation so that you can latch into the onboard BIOS config > tools that the > like of SCSI cards tend to have. I doubt LinuxBIOS has that > ability though I'm > reasonably sure that some nutter will go out of their way to add > it. As for > SRM, I don't know too much about the internals of it or how much > BIOS emulation > would cost in terms of size for it to squeeze into onboard prom size. Unfourtunetly, Linux kernel drivers for things like SCSI and others do expect the bios's to be run and have some set of default values. when that is not the case is usually not handled well. QL FC driver comes to mind. Mostly the EV6 SRMs only have BIOS emulation that is selectable. AS1200 and I think AS800 are the exceptions. Even then it's limited to the devices SRM has drivers for, not what's simply present on the PCI bus (probably for support reasons). Bios emulator is around 200K of space. Consider a normal image of SRM is over 700K with Alphas having a min of 1MB of flash, some with 2MB. > Another major differance is the default disk partitioning > schemes,.. SRM knows > BSD Label and AlphaBIOS knows MSDOS but neither know both. > BSDLabel offers up > to 8 partitions whereas AlphaBIOS can be coerced into provideing BSD is limited to only 8 partitions? On alpha or in the PC world? I am pretty unfamiliar with the latter ;-) > 12 per disk ( > I think thats about as far as I managed to trick it into creating). An > additional advantage of MSDOS partitioning is that you can change > the partition > type to one of the supported RAID types (fd) and start playing > with software > raid (0,1,5) though you can kinda do that with SRM if you > remember to keep just > the BOOT disk in BSDLabel format, theres no reason why all the > rest can't be > MSDOS type. (innocent whistle) There's no good reason why both cannot be supported. > I can provide ftp space (ftp.linux.org.uk) which has the > advantage of being > commercial entity free Excellent, Thank you. I'll contact you off list concerning this later. 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..." ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Laundry List -- WAS "X on Alpha" 2002-03-04 21:28 ` Peter Petrakis @ 2002-03-05 15:24 ` alvin 2002-03-05 19:58 ` MILO vs Kernel in ROM; WAS Laundry List Peter Petrakis 2002-03-06 2:52 ` Laundry List ... one more thing Ted Goodridge, Jr 1 sibling, 1 reply; 11+ messages in thread From: alvin @ 2002-03-05 15:24 UTC (permalink / raw) To: axp-list Peter Petrakis wrote: > > > As I recall the official party line was that AlphaBIOS was being > > scrapped for > > SRM > > Then again there was wisperings of LinuxBIOS working on alpha. > > LinuxBIOS 'does' work but it's little more than aboot with some > hardcoded values attached as a header to the kernel and then made a rom > image. > Flashed in and away it goes. API wrote DBLX http://dblx.sf.net which does just poked there. It shows up as empty > what the LinuxBIOS project does, but saner. With a firmware > that can manage flash and booting Linux from flash. For the > majority of users I don't see any real benefits gained from > booting Linux directly out of flash save for those folks who > have clusters of machines, which is what DBLX was targeted at. > > I have a few points of contention against LinuxBIOS/DBLX like > you have to actually play with flash to upgrade your kernel, > That is inherently dangerous. On all Alphas the possibility > exists where you could blow away the FSB. On systems like > the UP1000 and CS20 you could destroy the SROM which would > make the machine a paperweight without expert intervention. 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. 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. > > > The main reason that I can see for using AlphaBIOS is to get at the x86 > > emulation so that you can latch into the onboard BIOS config > > tools that the > > like of SCSI cards tend to have. I doubt LinuxBIOS has that > > ability though I'm > > reasonably sure that some nutter will go out of their way to add > > it. As for > > SRM, I don't know too much about the internals of it or how much > > BIOS emulation > > would cost in terms of size for it to squeeze into onboard prom size. > > Unfourtunetly, Linux kernel drivers for things like SCSI and others do > expect > the bios's to be run and have some set of default values. when that is not > the case is usually not handled well. QL FC driver comes to mind. Mostly the > EV6 SRMs only have BIOS emulation that is selectable. AS1200 > and I think AS800 are the exceptions. Even then it's limited to the devices > SRM has drivers for, not what's simply present on the PCI bus (probably for > support > reasons). Bios emulator is around 200K of space. Consider a normal image of > SRM is over 700K > with Alphas having a min of 1MB of flash, some with 2MB. > > > Another major differance is the default disk partitioning > > schemes,.. SRM knows > > BSD Label and AlphaBIOS knows MSDOS but neither know both. > > BSDLabel offers up > > to 8 partitions whereas AlphaBIOS can be coerced into provideing > > BSD is limited to only 8 partitions? On alpha or in the PC world? > I am pretty unfamiliar with the latter ;-) > > > 12 per disk ( > > I think thats about as far as I managed to trick it into creating). An > > additional advantage of MSDOS partitioning is that you can change > > the partition 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. > > type to one of the supported RAID types (fd) and start playing > > with software > > raid (0,1,5) though you can kinda do that with SRM if you > > remember to keep just > > the BOOT disk in BSDLabel format, theres no reason why all the > > rest can't be > > MSDOS type. (innocent whistle) > > There's no good reason why both cannot be supported. > > > I can provide ftp space (ftp.linux.org.uk) which has the > > advantage of being > > commercial entity free > > Excellent, Thank you. I'll contact you off list concerning > this later. > > 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..." > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list -- Alvin Starr || voice: (416)785-4051 Interlink Connectivity || fax: (416)785-3668 alvin@iplink.net || ^ permalink raw reply [flat|nested] 11+ messages in thread
* MILO vs Kernel in ROM; WAS Laundry List 2002-03-05 15:24 ` alvin @ 2002-03-05 19:58 ` Peter Petrakis 2002-03-06 0:43 ` Christopher C. Chimelis 0 siblings, 1 reply; 11+ messages in thread From: Peter Petrakis @ 2002-03-05 19:58 UTC (permalink / raw) To: axp-list; +Cc: stepan > > 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..." ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: MILO vs Kernel in ROM; WAS Laundry List 2002-03-05 19:58 ` MILO vs Kernel in ROM; WAS Laundry List Peter Petrakis @ 2002-03-06 0:43 ` Christopher C. Chimelis 2002-03-06 1:57 ` Peter Petrakis 0 siblings, 1 reply; 11+ messages in thread From: Christopher C. Chimelis @ 2002-03-06 0:43 UTC (permalink / raw) To: axp-list; +Cc: stepan On Tue, 5 Mar 2002, Peter Petrakis wrote: > Doing that double kernel boot isnt as easy as it sounds. I don't think > DBLX fully supports it. It's not as tricky as it seems to do a double kernel boot, though. Eric and I talked about doing it, but just lacked the time to implement it (there were some fundamental problems to solve, but given time, I'm sure those could be ironed out). The advantages in a DBLX situation were immense, especially since we could store a very small "static" kernel (one that didn't change in configuration) in flash and use it to boot the final kernel thereby saving quite a bit of flash. The only real stumbling block that we had to hurdle was the requirements that API set out for DBLX (initrd, mostly, which seemed to always grow to fill the flash that we would be saving). If the initrd requirement was gone, I don't see many other obstacles to prevent a "kernel booting a kernel" situation. Actually, I speak too loosely there, it should end up being more of a stripped-down kernel that functions as an enhanced bootloader that, in turn, boots another kernel. > 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. If the LinuxBIOS guys are expecting a firmware-less Alpha to properly set up PCI (especially PCI-PCI bridges on some boards) and interrupt routing, they've got another thing coming :-P Also, correct me if I'm not remembering correctly, but doesn't the current kernel code rely on some things being already working? I know that's the case with the SRM-boot path, but am unsure about the MILO path since I never had to work on those bits. If that's the case, though, there will have to be more code added to the kernel (maybe alot more) to initialise each board type to something better than the "power-on" or "reset" states. That could probably will cost them in compiled kernel size (this is really a problem for older boards, if memory serves me correctly, since newer boards seemed to use more and more x86-market parts). > 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. Those patches weren't problems in the BIOS, though. Those patches covered problems in drivers that assumed entirely too much and never took the safer way out (which would've been to reinitialise the device in question). Generic PCI code seemed pretty thorough in that regard, though, so only a handful of drivers would've required modification (in my experience, vendor-written drivers suffered from these problems quite a bit since they knew the operation of their boards a bit too well on x86...drivers written by third-parties usually erred on the safe side and were ok with DBLX). > 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. Pete's absolutely correct about flash usage with DBLX. Being the "let's wing it because I know how to reflash this beast" kinda guy that I was then, I tended to only use about 70% of flash, and that's with a full monolithic kernel :-) Since DBLX was designed with clusters in mind, though, safety from trying to boot a bad kernel was a huge consideration for API. The MILO thing that Pete and I talked about the other day actually sounds interesting, although I'm not convinced anymore that flashing a kernel is such a good idea (too easy to really hose flash and make a system virtually unbootable for anyone who doesn't have the proper cabling and SROM knowledge). Also, given what I've seen of people's nearly religious habit of upgrading to the latest kernel with every released revision, I'm really leaning towards the thinking of being able to flash a kernel as a bad thing and more prone to problems than anything else. > 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. I love Alphas for that very reason. SROM, while being cryptic, does relieve the requirements on firmware quite a bit. > 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. I think it would be more practical if flash was a socketed part, but even still, it requires hardware that most people don't have. I feel their pain, though, WRT to bringing up dual CPU support on x86...PC BIOS normally do quite a bit WRT getting the system properly running enough to load the bootloader and kernel. Without BIOS, they must be facing quite a bit of work trying to replace that functionality. > 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. True. There is much that can be done with MILO and, after hearing Pete describe what he had in mind, it sounds like a worthwhile project. C ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: MILO vs Kernel in ROM; WAS Laundry List 2002-03-06 0:43 ` Christopher C. Chimelis @ 2002-03-06 1:57 ` Peter Petrakis 0 siblings, 0 replies; 11+ messages in thread From: Peter Petrakis @ 2002-03-06 1:57 UTC (permalink / raw) To: axp-list; +Cc: stepan I've implied a couple definitions that may be confusing some folks. DBLX is a firmware that is designed to a) manage flash b) linux bootloader c) recover mechinism BIOS in the Alpha world can be broken down into a few parts. a) SROM, left untouched unless you are nuts. b) firmware (aka SRM, ARC, MILO, & DBM) c) the bios emulator capibilities exercised in b). I'm concerned with b and c. Not a, well not right now anyways :-). > It's not as tricky as it seems to do a double kernel boot, though. Eric > and I talked about doing it, but just lacked the time to implement it > (there were some fundamental problems to solve, but given time, I'm sure > those could be ironed out). The advantages in a DBLX situation were > immense, especially since we could store a very small "static" kernel (one > that didn't change in configuration) in flash and use it to boot the final > kernel thereby saving quite a bit of flash. The only real stumbling block > that we had to hurdle was the requirements that API set out for DBLX > (initrd, mostly, which seemed to always grow to fill the flash that we > would be saving). If the initrd requirement was gone, I don't see many > other obstacles to prevent a "kernel booting a kernel" situation. Yes I remember those requirements. They where quite expansive although if it where finished to the extent it was planned it would be quite impressive and very powerful. My understanding and perspective at the time was that the 2 kernel monty had some fundamental issues that where "tricky". I suppose it has been a long time since I last used it, August. > Actually, I speak too loosely there, it should end up being more of a > stripped-down kernel that functions as an enhanced bootloader that, in > turn, boots another kernel. That's what you mean when you said "static". > If the LinuxBIOS guys are expecting a firmware-less Alpha to properly set > up PCI (especially PCI-PCI bridges on some boards) and interrupt routing, > they've got another thing coming :-P Their DS10's work. I don't know what they did to the kernel to get there but it works and they have a cluster of them running. It's actually at the top of their list. > Also, correct me if I'm not remembering correctly, but doesn't the current > kernel code rely on some things being already working? I know that's the > case with the SRM-boot path, but am unsure about the MILO path since I > never had to work on those bits. If that's the case, though, there will > have to be more code added to the kernel (maybe alot more) to initialize > each board type to something better than the "power-on" or > "reset" states. That could probably will cost them in compiled kernel > size (this is really a problem for older boards, if memory serves me > correctly, since newer boards seemed to use more and more x86-market > parts). I think you're right. About the only thing that mentions milo is under arch/alpha/kernel . voodoo@deadite:/usr/src/linux/arch/alpha/kernel$ grep -l -i milo * process.c setup.c sys_ruffian.c sys_sio.c sys_sx164.c traps.c If you look at ruffian you find that it's implying that the previous firmware did most of the setup for it. So yeah MILO will probably need to fill out to 'turn on' the boards. We might as well follow the SRM spec to avoid code duplication in the kernel although we could probably setup the PCI layer better than SRM :-). > Those patches weren't problems in the BIOS, though. Those patches covered > problems in drivers that assumed entirely too much and never took the > safer way out (which would've been to reinitialize the device in > question). Generic PCI code seemed pretty thorough in that regard, > though, so only a handful of drivers would've required modification (in my > experience, vendor-written drivers suffered from these problems quite a > bit since they knew the operation of their boards a bit too well on > x86...drivers written by third-parties usually erred on the safe side and > were ok with DBLX). I was referring to my revised BIOS definition subsection B. DBLX did 'not' go out of it's way to initialize the PCI config space on the bus or assign IRQs for that matter and when it did it was 'only' under it test mode. I suspect if that was implemented those patches would have been unnecesarry. Though you know better than I do ;-). > Pete's absolutely correct about flash usage with DBLX. Being the "let's > wing it because I know how to reflash this beast" kinda guy that I was > then, I tended to only use about 70% of flash, and that's with a full > monolithic kernel :-) Since DBLX was designed with clusters in mind, > though, safety from trying to boot a bad kernel was a huge consideration > for API. Well it only took 2-3 mins to XMODEM over a full kernel or SRM at 115200 baud. For the rest of us it had to work and when it didnt DBLX had policy that would let you recover 'without' physicaly touching the machine. > The MILO thing that Pete and I talked about the other day actually sounds > interesting, although I'm not convinced anymore that flashing a kernel is > such a good idea (too easy to really hose flash and make a system > virtually unbootable for anyone who doesn't have the proper cabling and > SROM knowledge). Also, given what I've seen of people's nearly religious > habit of upgrading to the latest kernel with every released revision, I'm > really leaning towards the thinking of being able to flash a kernel as a > bad thing and more prone to problems than anything else. Agreed. > I love Alphas for that very reason. SROM, while being cryptic, does > relieve the requirements on firmware quite a bit. Nothing some good docs can't fix. Cryptic part. SROM is what gave Alpha the freedom to support atleast 4 completely different OS; VMS,DU,NT,LINUX, and what ever those Netapps run but their firmware is OpenBoot. Yes, Just like SPARC. > I think it would be more practical if flash was a socketed part, but even sockets cost $$$. Take a look at a UX board. There is no socketed SROM like all other Alphas, nor an obvious SROM port. > still, it requires hardware that most people don't have. I feel their > pain, though, WRT to bringing up dual CPU support on x86...PC BIOS > normally do quite a bit WRT getting the system properly running enough to > load the bootloader and kernel. Without BIOS, they must be facing quite a > bit of work trying to replace that functionality. Considering their perspective and the support they have it's going to be a some time before that becomes a reputable alternative to PC BIOS. > True. There is much that can be done with MILO and, after hearing Pete > describe what he had in mind, it sounds like a worthwhile project. Groovy... >:-> "Now, Who's with me?!!!!" .... "I'll stand by ye <raises furrowed eyebrow>" "You can count on my steel <raises torch high>" "A sword by your side! <sword raised high>" "I'm with you!!! I'll bid my bow to your will sir!" <others rumbling "me too"> "HAIL! HAIL! HAIL! HAIL!" If I'm the only one laughing, it's not funny. ;-) 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..." ^ permalink raw reply [flat|nested] 11+ messages in thread
* Laundry List ... one more thing 2002-03-04 21:28 ` Peter Petrakis 2002-03-05 15:24 ` alvin @ 2002-03-06 2:52 ` Ted Goodridge, Jr 2002-03-06 17:02 ` Michael A. Foley 1 sibling, 1 reply; 11+ messages in thread From: Ted Goodridge, Jr @ 2002-03-06 2:52 UTC (permalink / raw) To: axp-list I do have one major item to add to the list: Because, according to the website http://www.support.compaq.com/amt/fx32/ ," Compaq has discontinued development of Windows NT-compatible products on the Alpha platform.", I think a massive lobbying campaign should be launched to get the Compaq to open source FX!32. With this code developers could create a more efficient x86 emulator and make it able to use the newer alpha chips. This would make having Wine work with Alphas and possibly make migrating from win32 easier. Ted Goodridge ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Laundry List ... one more thing 2002-03-06 2:52 ` Laundry List ... one more thing Ted Goodridge, Jr @ 2002-03-06 17:02 ` Michael A. Foley 0 siblings, 0 replies; 11+ messages in thread From: Michael A. Foley @ 2002-03-06 17:02 UTC (permalink / raw) To: axp-list I can't imagine that will ever be done. There's LOTS of patents surrounding FX!32 that I suspect Compaq has traded with other companies (Microsoft? others?). If you open source it, does it lessen the value of the patent? Besides, I think in one year you'll see very little push to have things like WINE on Alpha working for another other than an academic exercise. You'll have Clawhammer and Sledgehammer systems available in the not too distant future, at affordable prices. My money is on AMD's technology changing the face of 64-bit computing for the forseeable future. mike > -----Original Message----- > From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On > Behalf Of Ted Goodridge, Jr > Sent: Tuesday, March 05, 2002 9:52 PM > To: axp-list@redhat.com > Subject: Laundry List ... one more thing > > > I do have one major item to add to the list: > > Because, according to the website > http://www.support.compaq.com/amt/fx32/ ," Compaq has discontinued > development of Windows NT-compatible products on the Alpha platform.", > I think a massive lobbying campaign should be launched to get > the Compaq to open source FX!32. With this code developers could create > a more efficient x86 emulator and make it able to use the newer alpha > chips. This would make having Wine work with Alphas and possibly make > migrating from win32 easier. > > Ted Goodridge > > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Laundry List -- WAS "X on Alpha" 2002-03-04 20:31 ` 'Bryce' 2002-03-04 21:28 ` Peter Petrakis @ 2002-03-04 22:14 ` Michal Jaegermann 1 sibling, 0 replies; 11+ messages in thread From: Michal Jaegermann @ 2002-03-04 22:14 UTC (permalink / raw) To: axp-list On Mon, Mar 04, 2002 at 03:31:42PM -0500, 'Bryce' wrote: > > Another major differance is the default disk partitioning schemes,.. SRM knows > BSD Label and AlphaBIOS knows MSDOS but neither know both. BSDLabel offers up > to 8 partitions whereas AlphaBIOS can be coerced into provideing 12 per disk This is only a boot device requirement imposed by firmware. On all other disks you may have any partitioning you want as long as it is recognized by Linux. I have actually a running machine with mixed kinds of partition tables on different disks. :-) This means in theory up to 15 partitions on a SCSI disk and up to 63 on an IDE one with the current major-minor device asignments IF your partitioning scheme can accomodate that. As far as partition type numbers in BSD label go if you use some unknown ones to some user-space tools then will be just that - unknown which does not mean unusable. This is purely a user-space issue and a convention. Stefan Reinauer (http://www.stefan-reinauer.de/Milo/, http://www.suse.de/~stepan/) was working quite a bit on milo but I do not know in what stage this project is right now. Michal ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-03-06 17:02 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 ` MILO vs Kernel in ROM; WAS Laundry List Peter Petrakis 2002-03-06 0:43 ` 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox