Installation Guide January 2000 ECG513/0100, revision 2.1 Compaq Computer Corporation Contents: EXTENDED TABLE OF CONTENTS........ 2 INTRODUCTION ....................................... 6 OVERVIEW OF INSTALLATION .............. 7 COMPAQ ALPHASERVER DS10............. 8 COMPAQ ALPHASERVER DS20........... 17 COMPAQ ALPHASERVER DS20E ........ 25 COMPAQ ALPHASERVER ES40 ........... 33 COMPAQ ALPHASTATION XP1000 ...... 43 APPENDIX A .......................................... 51 APPENDIX B .......................
Linux Installation and Configuration Guide for AlphaServer 2 Extended Table of Contents EXTENDED TABLE OF CONTENTS...................................................................2 INTRODUCTION ..................................................................................................6 Management Summary .......................................................................................................................... 6 Document Structure ...................................................
Linux Installation and Configuration Guide for AlphaServer 3 Pre-Installation ................................................................................................................................... 20 Firmware Inspection and Upgrade ................................................................................................... 20 System Resource Manager Configuration ........................................................................................ 20 Software Installation ..........
Linux Installation and Configuration Guide for AlphaServer 4 Red Hat Version 6.1 Distribution......................................................................................................... 44 Firmware Inspection and Upgrade ................................................................................................... 44 System Resource Manager Configuration ........................................................................................ 44 Software Installation .....................
Linux Installation and Configuration Guide for AlphaServer 5 Notice The information in this publication is subject to change without notice and is provided “AS IS” WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK ARISING OUT OF THE USE OF THIS INFORMATION REMAINS WITH RECIPIENT.
Linux Installation and Configuration Guide for AlphaServer Introduction The purpose of this guide is to discuss the basics of installation and configuration of the Linux operating system on the Compaq AlphaServer DS10, DS20, DS20E, ES40 and AlphaStation XP1000 computers. Numerous references to external sources and materials are used in this guide, and Compaq recommends that you refer to these sources where additional detail is needed. You can find an extensive list of these in Appendix A of this document.
Linux Installation and Configuration Guide for AlphaServer Overview of Installation The process of installing Linux on your Compaq AlphaServer or AlphaStation follows these general steps: 1. Creation of BOOT and RAMDISK floppies. 2. Firmware revision inspection and upgrade. 3. SRM configuration for installation. 4. Linux software installation and configuration. 5. SRM reconfiguration for booting the installed software. 6. Post installation configuration.
Linux Installation and Configuration Guide for AlphaServer 8 Compaq AlphaServer DS10 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the DS10 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 9 For Alpha Systems Supported Options List: http://www.digital.com/alphaserver/products/options.html Red Hat Version 6.1 Distribution Firmware Inspection and Upgrade After powering up your AlphaServer or AlphaStation computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V".
Linux Installation and Configuration Guide for AlphaServer ewc0.0.0.3002.0 pka0.7.0.3000.0 pkb0.7.0.3001.0 10 EWC0 PKA0 PKB0 00-06-2B-00-0A-5C SCSI Bus ID 7 SCSI Bus ID 7 In the output above, the first line shows that DKA0 is a hard disk, DQA0 is a CD-ROM, and DVA0 is a floppy drive. Also useful for inspecting the computer configuration is the "show config" command, as shown here: >>>show config | more 3. Configure the system SRM parameters to boot from your installation device.
Linux Installation and Configuration Guide for AlphaServer 11 After booting, the installation program begins by displaying the language screen. Using the mouse point and click on the next button. The GUI is easy to follow. If you decided to install the X Window System, the amount of video RAM available on the Elsa Gloria Card is 8 megabytes. Please refer to the Red Hat Installation guide for further details.
Linux Installation and Configuration Guide for AlphaServer bus 2, bus 2, bus 2, bus 2, bus 3, bus 3, bus 3, System 12 slot 4 -- eia -- Intel 82558 Ethernet slot 5 -- eib -- Intel 82558 Ethernet slot 6 -- eic -- Intel 82558 Ethernet slot 7 -- eid -- Intel 82558 Ethernet slot 0 -- pka -- NCR 53C875 slot 1 -- pkb -- NCR 53C875 slot 2 -- ewc -- DE500-AA Network Controller Temperature is 31 degrees C AlphaServer DS 10 466 MHz Console V5.4-2, May 19 1999 >>> 14:25:16 2.
Linux Installation and Configuration Guide for AlphaServer 13 If during this process you encounter a problem, such as due to a typographic error in the setting of the SRM parameters, you will probably be stopped with an "aboot>" prompt. The best way to deal with this situation is to reset the system using the reset button on the front panel. Then using the SRM commands, correct the mistake, and repeat the "boot" process. Software Installation SuSE’s installation program is flexible.
Linux Installation and Configuration Guide for AlphaServer 2. Type “m” for help. 3. Type “p” to print the partition table. 4. If there is partition information already configured for the disk, you will need to delete it using the “d” option. Please be sure that you want to zero out this drive. All data will be lost on the drive doing this. 5. Type “b” to edit the BSD disklabel. 6. If you completed the last step correctly, you should see the following: “/tmp/sda contains no disklabel.
Linux Installation and Configuration Guide for AlphaServer 15 33. Type “t” to change the partitions filesystem id. 34. Type “b” for partition b – / (root) partitions use a “ext2” code. 35. Enter “8” for ext2 type. 36. Type “t” to change the partitions filesystem id. 37. Type “c” for partition c – swap partitions use a “swap” code. 38. Enter “1” for swap type. 39. Type “t” to change the partitions filesystem id. 40. Type “d” for partition d – /usr partitions use a “ext2” code. 41. Enter “8” for ext2 type.
Linux Installation and Configuration Guide for AlphaServer 7. After you have completed modifying the /etc/fstab file, you will need to be initialize it with the command mkswap /dev/sda3. The changes will take effect after the system is rebooted. 8. To configure the X window System type: sax Following the prompts answering the questions appropriately for your system. Once this process is completed, you should be able to run the command "startx" to make use of the graphical interface. 9.
Linux Installation and Configuration Guide for AlphaServer 17 Compaq AlphaServer DS20 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the DS20 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 18 Red Hat Version 6.1 Distribution Firmware Inspection and Upgrade After powering up your AlphaServer or AlphaStation computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V". If this is not the case, you should upgrade your firmware. Instructions on how to do this can be found at http://ftp.digital.
Linux Installation and Configuration Guide for AlphaServer boot_dev boot_file boot_osflags boot_reset bootdef_dev booted_dev booted_file booted_osflags 19 dkb500.5.0.8.0 kernels/generic.gz root=/dev/scd0 OFF dkb500.5.0.8.0 3. Insert the Red Hat CD into the drive. 4. Boot the system using the "boot" command. The result should be that the system boots from the CD.
Linux Installation and Configuration Guide for AlphaServer 20 P00>>>set boot_file P00>>>set bootdef_dev dka0 P00>>>set boot_osflags 0 At the SRM prompt, you can now boot directly from the hard drive: P00>>>boot SuSE Version 6.3 Distribution Pre-Installation Firmware Inspection and Upgrade After powering up your AlphaServer computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V".
Linux Installation and Configuration Guide for AlphaServer 21 P00>>>show config | more Configure the system SRM parameters to boot from your installation device. The commands for configuring to boot from the CDROM device are shown here: P00>>>set bootdef_dev DKB500 P00>>>set boot_file P00>>>set boot_osflags P00>>>show boot* boot_dev dkb500.5.0.8.0 boot_file boot_osflags boot_reset OFF bootdef_dev dkb500.5.0.8.0 booted_dev booted_file booted_osflags Insert the Suse 6.3 CD into the drive.
Linux Installation and Configuration Guide for AlphaServer We strongly recommend the following multi-partition layout: A boot partition – A boot partition is used to reserved the first 2 cylinders (1-2) to write the bootloader in order to boot the disk from SRM. A root partition – The root partition is where the / (root directory) resides. Always starts at cylinder 3. We recommend creating a root partition of 300Mb minimum and 900Mb maximum.
Linux Installation and Configuration Guide for AlphaServer 23 24. Type “n” to add a new BSD partition – the /usr partition in this case. 25. Type “d” for partition d. 26. First cylinder: Type “551”. 27. Last cylinder: Type “1023” ; last cylinder - one. Do NOT accept the program generated default of "1024" here, because of possible disk corruption. 28. Type “p” to print the partition table. You should notice that the fstype is set to unused for each of the partitions.
Linux Installation and Configuration Guide for AlphaServer 24 1. Type: swriteboot –f1 /dev/sdZ /boot/bootlx (where Z is the letter of the drive you are booting; ex: dka0=sda, dka100=sdb). ). For example: swriteboot –f1 /dev/sda /boot/bootlx 2. Type: cd /boot 3. Type: mount /dev/scd0 /cdrom 4. Type: cp /cdrom/etc/vm_full.gz . 5. Type: umount /dev/scd0 6. During installation the YAST utility doesn't recognize the swap partition as defined and therefore no swap partition is found in the /etc/fstab file.
Linux Installation and Configuration Guide for AlphaServer 25 Compaq AlphaServer DS20E Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the DS20E is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 26 Red Hat Version 6.1 Distribution Pre-Installation Firmware Inspection and Upgrade After powering up your AlphaServer or AlphaStation computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V". If this is not the case, you should upgrade your firmware. Instructions on how to do this can be found at http://ftp.digital.
Linux Installation and Configuration Guide for AlphaServer 27 3. Configure the system SRM parameters to boot from your installation device. A table providing cross-referenced device names is located in Appendix C, for your convenience. Example commands for configuring to boot from the CDROM device are shown here: P00>>>set bootdef_dev dqa0 P00>>>set boot_file kernels/generic.gz P00>>>set boot_osflags "root=/dev/hda" P00>>>show boot* boot_dev dqa0.0.0.105.0 boot_file kernels/generic.
Linux Installation and Configuration Guide for AlphaServer 28 You need to enter these commands, such that the drive reference on the second line needs to refer to the drive which you installed to: P00>>>set boot_file P00>>>set bootdef_dev dka0 P00>>>set boot_osflags 0 At the SRM prompt, you can now boot directly from the hard drive: P00>>>boot SuSE Version 6.3 Distribution Firmware Inspection and Upgrade After powering up your AlphaServer computer, type the command "show version".
Linux Installation and Configuration Guide for AlphaServer 29 In the output above, the first line shows that DKA0 is a hard disk, DQA0 is a CD-ROM, and DVA0 is a floppy drive. Also useful for inspecting the computer configuration is the "show config" command, as shown here: P00>>>show config | more Configure the system SRM parameters to boot from your installation device.
Linux Installation and Configuration Guide for AlphaServer 30 computed by using these size recommendations and the number of bytes/cylinder for the disk that you are using (this figure is reported by fdisk). The disk used for this example is a 4.3GB drive (DS-RZ1CF) which fdisk shows as having 1023 cylinders: 4 partitions: # size a: 16368 b: 212784 c: 4272048 d: 3871032 offset 0 16368 229152 4501200 fstype boot ext2 swap ext2 [fsize bsize # (Cyl. 1 # (Cyl. 3 # (Cyl. 29 # (Cyl.
Linux Installation and Configuration Guide for AlphaServer 18. First cylinder: Type “3”. 19. Last cylinder: Type “28”. 20. Type “n” to add a new BSD partition – the swap partition in this case. 21. Type “c” for partition c. 22. First cylinder: Type “29”. 23. Last cylinder: Type “550”. 24. Type “n” to add a new BSD partition – the /usr partition in this case. 25. Type “d” for partition d. 26. First cylinder: Type “551”. 27. Last cylinder: Type “1023” ; last cylinder - one.
Linux Installation and Configuration Guide for AlphaServer 32 should use the F4 key to define the mount point of "/" for sda2 and “/usr” for sda4. Use the F6 key to select the "Normal" formatting of the drive for both partitions. Once those steps are complete, press enter to continue. When the window changes to the Installation Menu, select "Start Installation“ to start the process. After all CD’s have been loaded select the “Main Menu” to finish the installation.
Linux Installation and Configuration Guide for AlphaServer 33 Compaq AlphaServer ES40 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the ES40 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 34 For Alpha Systems Supported Options List: http://www.digital.com/alphaserver/products/options.html Red Hat Version 6.1 Distribution Firmware Inspection and Upgrade After powering up your AlphaServer or AlphaStation computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V".
Linux Installation and Configuration Guide for AlphaServer 35 CPU 1 speed is 500 MHz create powerup starting console on CPU 2 initialized idle PCB initializing idle process PID lowering IPL CPU 2 speed is 500 MHz create powerup starting console on CPU 3 initialized idle PCB initializing idle process PID lowering IPL CPU 3 speed is 500 MHz create powerup Memory Testing and Configuration Status Array Size Base Address --------- ---------- ---------------0 512Mb 0000000100000000 1 2048Mb 0000000000000000 2 1
Linux Installation and Configuration Guide for AlphaServer bootdef_dev booted_dev booted_file booted_osflags 36 dqa0.0.0.15.0 4. Insert the Red Hat CD into the drive. 5. Boot the system using the "boot" command. The result should be that the system boots from the CD. If during this process you encounter a problem, such as due to a typographic error in the setting of the SRM parameters, you will probably be stopped with an "aboot>" prompt.
Linux Installation and Configuration Guide for AlphaServer 37 SuSE Version 6.3 Distribution Firmware Inspection and Upgrade After powering up your AlphaServer computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V". If this is not the case, you should upgrade your firmware. Instructions on how to do this can be found at http://ftp.digital.
Linux Installation and Configuration Guide for AlphaServer 38 lowering IPL CPU 2 speed is 500 MHz create powerup starting console on CPU 3 initialized idle PCB initializing idle process PID lowering IPL CPU 3 speed is 500 MHz create powerup Memory Testing and Configuration Status Array Size Base Address --------- ---------- ---------------0 512Mb 0000000100000000 1 2048Mb 0000000000000000 2 1024Mb 0000000080000000 3 1024Mb 00000000c0000000 4608 MB of System Memory Testing the System Testing the Disks (rea
Linux Installation and Configuration Guide for AlphaServer 39 5. Boot the system using the "boot –flags 0" command. The result should be that the system boots from the CDROM. If during this process you encounter a problem, such as due to a typographic error in the setting of the SRM parameters, you will probably be stopped with an "aboot>" prompt. The best way to deal with this situation is to reset the system using the reset button on the front panel.
Linux Installation and Configuration Guide for AlphaServer To perform the partitioning operation on the disk, when prompted, follow these steps: 1. Now you are at the fdisk command line 2. Type “m” for help. 3. Type “p” to print the partition table. 4. If there is partition information already configured for the disk, you will need to delete it using the “d” option. Please be sure that you want to zero out this drive. All data will be lost on the drive doing this. 5. Type “b” to edit the BSD disklabel. 6.
Linux Installation and Configuration Guide for AlphaServer 41 31. Type “L” to list the codes you can use. 32. Enter “d” for boot type. 33. Type “t” to change the partitions filesystem id. 34. Type “b” for partition b – / (root) partitions use a “ext2” code. 35. Enter “8” for ext2 type. 36. Type “t” to change the partitions filesystem id. 37. Type “c” for partition c – swap partitions use a “swap” code. 38. Enter “1” for swap type. 39. Type “t” to change the partitions filesystem id. 40.
Linux Installation and Configuration Guide for AlphaServer /dev/sda3 swap 42 swap defaults 00 7. After you have completed modifying the /etc/fstab file, you will need to be initialize it with the command mkswap /dev/sda3. The changes will take effect after the system is rebooted. 8. To configure the X window System type: sax Following the prompts answering the questions appropriately for your system.
Linux Installation and Configuration Guide for AlphaServer 43 Compaq AlphaStation XP1000 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the XP1000 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 44 For Alpha Systems Supported Options List: http://www.digital.com/alphaserver/products/options.html Red Hat Version 6.1 Distribution Firmware Inspection and Upgrade After powering up your AlphaServer or AlphaStation computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V".
Linux Installation and Configuration Guide for AlphaServer bootdef_dev booted_dev booted_file booted_osflags 45 dqa0.0.0.107.0 4. Insert the Red Hat CD into the drive. 5. Boot the system using the "boot" command. The result should be that the system boots from the CD. If during this process you encounter a problem, such as due to a typographic error in the setting of the SRM parameters, you will probably be stopped with an "aboot>" prompt.
Linux Installation and Configuration Guide for AlphaServer 46 SuSE Version 6.3 Distribution Firmware Inspection and Upgrade After powering up your AlphaStation computer, type the command "show version". Check that the version string printed is "V5.4-2 May 19 1999 14:25:16" or newer, and that the first letter of the version string is a "V". If this is not the case, you should upgrade your firmware. Instructions on how to do this can be found at http://ftp.digital.
Linux Installation and Configuration Guide for AlphaServer 47 booted_osflags 4. Insert the Suse 6.3 CD into the drive. 5. Boot the system using the "boot –flags 0" command. The result should be that the system boots from the CDROM. If during this process you encounter a problem, such as due to a typographic error in the setting of the SRM parameters, you will probably be stopped with an "aboot>" prompt.
Linux Installation and Configuration Guide for AlphaServer A swap partition – A swap partition is used to support virtual memory. We commend creating a swap partition of 2 times the computer RAM. A /usr partition – The /usr partition is where the software of the system resides. This partition should use all of the space left on the hard drive. To perform the partitioning operation on the disk, when prompted, follow these steps: 1. Now you are at the fdisk command line 2. Type “m” for help. 3.
Linux Installation and Configuration Guide for AlphaServer 49 28. Type “p” to print the partition table. You should notice that the fstype is set to unused for each of the partitions. This will have to be changed via “toggle” – see next step. 29. Type “t” to change the partitions filesystem id. 30. Type “a” for partition a – boot partitions use a “boot” code. 31. Type “L” to list the codes you can use. 32. Enter “d” for boot type. 33. Type “t” to change the partitions filesystem id. 34.
Linux Installation and Configuration Guide for AlphaServer 50 4. Type: cp /cdrom/etc/vm_full.gz . 5. Type: umount /dev/hda 6. During installation the YAST utility doesn't recognize the swap partition as defined and therefore no swap partition is found in the /etc/fstab file. You will need to edit the /etc/fstab file to add the swap partition entry manually, as follows: /dev/sda3 swap swap defaults 00 7.
Linux Installation and Configuration Guide for AlphaServer 51 Appendix A Linux Links This is a partial list of available links. If you would like to submit additional sites, please e-mail to the author at chris.stewart@compaq.com. Every attempt will be made to include pertinent sites in future document revisions. • http://compaq.com/alphaserver/Linux : Compaq's AlphaServer information page. • ftp://ftp.digital.com/pub/DEC/Linux-Alpha/Images; Compaq’s Alpha kernel images site • http://ftp.digital.
Linux Installation and Configuration Guide for AlphaServer Appendix B AlphaServer Configurations Compaq AlphaServer DS10 • Uni Processor Alpha 21264 6/466MHz • 2MB L2 Cache • 2GB Max Memory • 2 Integrated 10/100 Ethernet Ports • 4 PCI slots • IDE or SCSI Disk Support Compaq AlphaServer DS20 • Dual Processor Capable Alpha 21264 6/500MHz • 4MB L2 Cache • 4GB max memory capable • NIC PCI Interface • 6 PCI Slots • SCSI Storage Compaq AlphaServer ES40 • Quad Processor Capable Alpha 2126
Linux Installation and Configuration Guide for AlphaServer 53 Appendix C SCSI and IDE Configurations SCSI Only Depending on the configuration, your internal drives may be either dkax or dkbx - where x is the value assigned by the SRM console (i.e. dkb100). Usually, the SCSI CDROM is on its own controller/channel, so the SRM will usually report it as dka500 or dkb500.
Linux Installation and Configuration Guide for AlphaServer 54 7. Type “m” for more help. 8. Type “p” to print the partition table. You should see a “c” partition that takes up the whole disk. This will have to be removed to install Linux correctly 9. Type “d” to delete a BSD partition 10. Type “c” to delete the c partition 11. Type “p” to print the partition table and verify no partitions exist 12. Type “n” to add a new BSD partition 13. Type “a” for partition a. 14. First cylinder: Type “3”.
Linux Installation and Configuration Guide for AlphaServer 55 Glossary A Availability - Refers to the amount of time that an application is available to perform work, typically measured in percentage of uptime. B Bootstrap – The act of passing control over a computer to an operating system following system power-up.
Linux Installation and Configuration Guide for AlphaServer YaST – The setup and configuration utility provided by SuSE for their Linux distribution.