From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 2877C3F2EA for ; Tue, 5 Mar 2002 15:03:55 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g25K3sq10824 for ; Tue, 5 Mar 2002 15:03:54 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g25K3qE09422 for axp-list@listman.redhat.com; Tue, 5 Mar 2002 15:03:52 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g25K3ps09417 for ; Tue, 5 Mar 2002 15:03:51 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g25K3oq10819 for ; Tue, 5 Mar 2002 15:03:50 -0500 Received: from gatekeeper.api-networks.com (barracuda.api-networks.com [192.233.60.7]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g25K2oq05962 for ; Tue, 5 Mar 2002 15:02:53 -0500 Received: from barracuda.alpha-processor.com by gatekeeper.api-networks.com via smtpd (for mx1.redhat.com [66.187.233.31]) with SMTP; 5 Mar 2002 19:54:09 UT Received: from gatekeeper.api-networks.com (gatekeeper-internal.api-networks.com [192.233.60.22]) by barracuda.alpha-processor.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GC84RSTZ; Tue, 5 Mar 2002 14:58:54 -0500 From: "Peter Petrakis" To: Cc: Received: from pool-141-154-183-142.wma.east.verizon.net ([141.154.183.142]) by gatekeeper.api-networks.com via smtpd (for barracuda.alpha-processor.com [192.233.60.7]) with SMTP; 5 Mar 2002 19:54:03 UT Subject: MILO vs Kernel in ROM; WAS Laundry List Date: Tue, 5 Mar 2002 14:58:12 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3C84E33E.16F48EBA@iplink.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > > 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 " Who the hell are you!? Name's Ash Housewares..."