From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,202d76db1104b83a X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-01-12 08:24:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!newsgate.tandem.com!mailint03.im.hou.compaq.com!pa.dec.com!sniff.shr.dec.com!not-for-mail From: nobody@nowhere.com (Marble Head) Newsgroups: comp.os.linux.alpha Subject: Re: Alpha newbie help Date: 12 Jan 2001 16:17:57 GMT Organization: Yes, please Message-ID: References: NNTP-Posting-Host: sbs-harvey.americas.cpqcorp.net X-Trace: nose.shr.dec.com 979316277 1310578 16.129.12.71 (12 Jan 2001 16:17:57 GMT) X-Complaints-To: usenet@nose.shr.dec.com NNTP-Posting-Date: 12 Jan 2001 16:17:57 GMT User-Agent: Xnews/03.11.14 Xref: supernews.google.com comp.os.linux.alpha:1878 "Danjo" wrote in : >Hi Group, >-------------------- > >I got myself an an old AS4/266 ( AlphaStation ) with a SCSI - CDROM and >a Suse7.0 CD set.. >Last is not explicitely for alpha, and there's still the old VMS on it. >Since I an new to this, >how can I manage to access the BIOS / IPL in the Box adnd get the first >CD to boot in order >to get Linux running ? > My apologies to everyone else, for this long e-mail. I think I'll post my whole faq on this one. If you reply, please trim this message a LOT. If anybody out there wants to host this on some page, please contact me. It would really be better than posting repeatedly. First, not addressed in the faq: Your CD set that you say is not explicitly for alpha, might be. If it says "AXP" it is. If you open it and see "aboot.conf" or "aboot.cfg" in either the / directory or the /etc directory, it's for alpha. If you don't see those things, you'll need different CDs. Or do an FTP install -- not as reliable as the CD install. This faq doesn't address how to get linux running, because it's different for each distribution, but once you read through these faqs, the following should probably make sense: At SRM prompt, type in: >>> b dka4 -fl 0 (That is, if you want to boot SuSe directly from CD. Otherwise, you might want to boot the Jumpstart CD. see faq.) >>> b dka4 -fl 0 -Q- Where can I find a list of FAQs? -A- Here are the two common places. Follow links to FAQs of your choosing: http://www.alphalinux.org/ http://www.tru64.org/ And although I don't see any FAQs, there are a lot of good links at http://www.alphapowered.com/ -Q- What surprises should I expect, coming to Alpha from an x86 background? -A- Here's a short list: - In Alpha systems, a video card is not necessarily required. - Expect UNIX, Linux, and VMS to work much faster than you're used to. - Just because your CPU is halted doesn't mean there's nothing going on. You can still use a command prompt of SRM. - Many alpha systems that have no video card use the serial port console instead. This means you may see a slow (9600baud) text terminal in orange and black to configure a server at some locations. This makes perfect sense for servers on which a text console is all you need. - When using the SRM command line, you can abbreviate nearly anything. Don't say "boot" say "b". And unless you are sadistic or want to impress an onlooker, don't type "dka400.4.0.9.0" type "dka4" - If you're reading this, I assume you didn't spend $millions, and you're not using fibre channel connected to a storage array. So for the rest of us, Alpha systems almost exclusively use SCSI. You can use ATA if you want, but everyone will make fun of you. (they really won't, I just thought I'd say so. :-) -Q- Why do people sometimes say "Alpha" and other times say "AXP" ??? -A- The alpha processor used to be called "Alpha AXP". It is being changed to simply "Alpha" so it's a good idea that you don't start calling things AXP. Sometimes it is important for you to know that AXP means Alpha, and that's why this Q&A is here. -Q- Why would I want to use Alpha? -A- This is a subject that requires far more than a single question in a FAQ list. Here are just a few of the major points: The architecture of Alpha is independent of the word size, which means that when the time comes, Alpha processors can be manufactured in 128-bit, 256- bit, or whatever. The current implementation (since 1992) is 64-bit. The limitations that are being faced by 32-bit architectures in the x86 industry remain decades away for the Alpha. The integer and floating point calculation performance for Alpha is the best in the world. (Disclaimer: Or darn close to it.) For more information, I suggest http://www.alphapowered.com -Q- What's this 32-bit, 64-bit stuff? -A- It has to do with the internal architecture of the processor. It affects (among other things) speed and addressability limits. Speed: The highway analogy: Say you've got a highway with 32 lanes, and the speed limit is 100. And you compare it with another highway of 64 lanes, speed limit of 100. Even though the speed is the same, you get twice the throughput. So if all else is equal, a 900mhz processor of 32- bits is only half as fast as a 900mhz processor of 64-bits. This doesn't mean that a 900mhz Alpha is twice the speed of a 900mhz other-system. See RISC. Addressability: The maximum addressable RAM in a 32-bit processor is a few gigs. While that might sound like a lot to a typical end user, in the year 2000, that barrier is already very ugly for large servers, and it's only a few (maybe 5 or 6) years away for the typical home user. That's because the needs have grown exponentially for the last 60 years or so, and it's expected to continue. ... ... The maximum addressable RAM in a 64-bit processor is dozens of terabytes. That's only a few (maybe 5 or 6) decades (rather than years) off in the future, for the home user. Other stuff: There are lots of other limits (like interrupts and memory bandwidth) that also benefit from more bits in the architecture. -Q- What is RISC, and what does it mean? -A- It means Reduced Instruction Set Computer. "Okay, so ... um ... what does it mean?" The idea behind it is: By making fewer commands, you can make smaller commands. And smaller commands are faster. The goal is to improve total throughput, but in this day and age, there is no conclusive result saying what is best. A RISC processor such as Alpha requires more instructions to finish a job than a non-RISC processor, but if the RISC instructions each are faster, who's to say how the two forces balance each other? It's different for each application, and every benchmark out there favors some kind of processor. So which is better? The only way to know is to try them both, and see which you like better (or which is worse, for you pessimists out there). -Q- What is an SRM console? -A- Forget about what the acronym stands for, it doesn't seem to have much meaning. Most times, instead of saying the correct term "SRM console," we simply say "SRM," and imply that we're talking about the console. You can recognize the SRM console by its distinctive >>> prompt. The important thing to know about it is, it's a miniature OS, which is very UNIX-like, with a hint of VMS. It resides in the firmware, and serves the same purpose as the BIOS setup commonly used in x86 based PCs; but the SRM console is far more powerful. The most common uses for SRM are for basic functionality testing, and for launching boot code from the device of your choice. -Q- What does SRM stand for? -A- Okay, for those of you who actually care, it's "System Reference Manual." Most people mistakenly think it's "Resource Manager," or any other combination of words that would seemingly make more sense. So who decided to call it a Reference Manual? Danged if I know. It doesn't make any sense to me, but like I said, it's inconsequential. -Q- How can I have a command prompt when the CPU is halted? -A- When the message appears "CPU Halted," it's a fib. Program execution jumps from the OS code in memory to the console code in firmware. The console code is specially written to preserve the execution environment of the OS, with the intended result being the ability to halt the CPU, execute commands, and then return to the OS without a reboot. Some systems support this; others don't. -Q- What's the difference between SRM, ARC, and AlphaBIOS? How do I know which one is right for me? -A- It's hard to say the fundamental difference without using details. Especially since I don't know any details. AlphaBIOS and ARC are generally used for loading Windows NT, while SRM is generally used for Unixes, Linuxes, and VMS. In some cases, you might need to use both SRM and AlphaBIOS, or perhaps ARC and AlphaBIOS. I have to admit, I don't have much experience with this one, but I can say this: The vast majority of people using Alphas will be happy using SRM and forgetting about AlphaBIOS or ARC. -Q- Firmware: What do you get when you mix hardware and software? -A- Firmware is a type of non-volatile memory (it doesn't lose its memory when you kill power). When you power it on, you'd think you turned on some hardware, but it can also store information and be reprogrammed like software. It might be FLASH memory, or a PLD of some sort, and it might use a battery for power, but it might not. Suffice to say: It works like hardware, but it can store information, and be reprogrammed. -Q- Where can I obtain firmware updates for the SRM, ARC, or AlphaBIOS? -A- As of Dec, 2000, go to http://ftp.digital.com/pub/DEC/Alpha/firmware/ Alternatively, this is how I found the above link: Go to www.compaq.com. Go to Support, Software and Drivers, Alpha Firmware, and select your machine. -Q- How can I identify my Alpha box? Why do we sometimes use a nickname like "Avanti" and sometimes use an actual product name like "Alphastation 200 4/100?" -A- I don't have a short answer to post here. Ask in the newsgroups. -Q- Can I use these PCI and ISA adapters that work in my home PC? -A- If your home PC is an alpha based system, then of course, silly. But if you still use those old x86 (or worse) things, read on. ;-) The bus architectures "PCI" and "ISA" are defined independently of the processing architecture, so anything built on the standards should work. However, since this is new to you, you might have to learn some new techniques to make the configuration and drivers work right. PCI works better than ISA for everything, so use PCI when available. The matter of loading drivers or modules is also new if your background is DOS or the popular GUI systems for x86 PCs. You should check the supported hardware list(s) for the OS that you plan to use. In short: You won't see any fire, so go ahead and plug it in. (That is, if it is supposed to work -- don't go around doing stupid things and blaming me just 'cause I said "You won't see fire." It's your fault, if you plug a single ended scsi into a differential, or if you try to use a 1.8 Jigawatts power supply!) (And for the love of technicians everywhere, don't hot plug things that aren't mean to be hot plugged!!) In shorter: If it works in your x86 powered system, and it fits in your ISA or PCI slot, you should probably be able to get it working in your Alpha powered system. It's merely a different process to configure, and not all OSes support all hardware. -Q- What operating systems can I use? -A- Nearly all Alphas use UNIX, Linux, or VMS. I've heard fables of Windows NT; but I've never seen one, and I hear voices saying that NT is officially unsupported. UNIXes include primarily Tru64 Unix, and other BSD derivatives. (FreeBSD, NetBSD, OpenBSD, etc) Linuxes come in dozens of distributions. There is no authoritative best one, but a few of the most popular are Red Hat, SuSE, TurboLinux, and Debian. -Q- Do I need MILO for Linux? -A- Not generally. All the functionality that most people need is built right into SRM. Most people (and all popular distros in December 2000) use SRM console in conjunction with aboot. -Q- Is one Alpha processor just as good as another Alpha processor? -A- No. The earliest you're likely to find is an EV4 processor, 21064. It's pretty slow, but remember it came out in '92. It's comparable in speed with maybe a 586 or 686 system. The numbers keep going up. Presently (December 2000) EV7 is in the works and Compaq is obligated to produce EV8 and EV9, by contract with the US government and others. EV4 21064 EV45 21064a EV5 21164 EV56 21164a EV6 21264 EV67 21264a etc to be expanded in future. Low cost Alpha branches missing here: 21068,21066(A) for example in Multia,AXPpci33,EB66,AXPvme160,Alphabook1 21164PC AlphaPC164SX, AlphaPC164RX -Q- How do I change from ARC to SRM, or vice-versa? -A- If you're in SRM going to ARC, type in >>> set os_type nt Power cycle your system. If you're in ARC going to SRM, do the following: From the boot menu, select "Supplementary menu" Select "Set up the system..." Near the bottom, select "Switch to OpenVMS or Digital UNIX console" It says your boot selection is currently NT. Select either UNIX or VMS, it doesn't matter too much It says your boot selection is currently... whatever you chose Select "Setup menu..." You will be prompted to power cycle your system. -Q- How do I change to AlphaBIOS? -A- This answer will be very vague, as I have not the ability to do it myself. >From SRM, type alphabios and press enter. Only works on some machines. >From ARC, I don't know. Why would you use AlphaBIOS? I don't know either. -Q- When trying to install linux or Tru64 UNIX, I have problems with the disklabel. What do I do? -A- Linux has the ability to create, read, and modify disklabels, both DOS and BSD. Tru64 requires a BSD disklabel. For some reason, however, it's tough to make a disklabel in linux that is readable by Tru64. There are only two solutions that I know of, which consistently produce proper disklabels: - Use Tru64 to create your disklabel, or - Use the Jumpstart CD from Compaq. Note: If you're only using Linux, it should be able to read any disklabel, so you're unlikely to have trouble. One warning though: When you partition through linux, be sure to leave the first cylinder unused. The disklabel and some other information is stored there, and you don't want to clobber it. Tru64 will not allow you to damage it through its disklabel programs, unless you try really hard to piss it off. :-) -Q- What is the Jumpstart CD, and where can I get it? -A- The Jumpstart CD is a bootable disk made by Compaq. Its goal is to make installation of linux easy on Alphaservers and Alphastations. What does this mean? - It makes it easy to partition your hard drive. � Correctly. - It is a minimal (but functional) distribution of linux on CD. - It makes a wonderful rescue disk. - It lets you get to a command prompt, even if your console is through serial port. Good for modifying your regular (hard drive) installation, to put a command prompt on your serial port for the first time. (SRM boot flag should be 1 or 2, depending on which serial port.) - It lets you boot a jensen. (SRM boot flag should be 3.) The Jumpstart CD can be obtained at http://www.linuxalpha.compaq.com