From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6c858f91d10d40f5 X-Google-Attributes: gid111c93,public From: Jim Paradis Subject: Re: What is that status of DEC personnal Workstations and Linux Support Date: 1997/11/24 Message-ID: <3479DED0.550A81BF@amt.tay1.dec.com> X-Deja-AN: 292291276 References: <346C7AE8.9CF8FFCD@totaltec.com> To: John Harvey Organization: Digital Equipment Corporation Newsgroups: comp.os.linux.alpha This is a multi-part message in MIME format. --------------144E7C796DA0CF4F370325F7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Harvey wrote: > I need to know what the latest and greatest Alpha Workstation that > Digital > is currently shipping, that can run Red Hat Linux V4.2 All of th -a and -au series workstations can run Red Hat Linux. Here is a document that we came up with on how to do it. This will be put up on the web soon... -- Jim Paradis (paradis@amt.tay1.dec.com) "It's not procrastination, Digital Equipment Corporation it's my new Just-In-Time (508)952-4047 Workload Management System!" http://www.tiac.net/users/jrp/index.html --------------144E7C796DA0CF4F370325F7 Content-Type: text/plain; charset=us-ascii; name="miata.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="miata.txt" Installing Red Hat Linux 4.2 on DIGITAL Personal Workstation a- or au-series Systems September 1997 This document describes how to install Linux/Alpha from the Red Hat Linux 4.2 distribution on a DEC PWS a- or au-series Alpha workstation. The instructions describe how to set up a workstation for Linux/Alpha only or for both Linux/Alpha and Windows NT. The document assumes a knowledge of either Windows NT or DIGITAL UNIX, but not necessarily of Linux itself. Table of Contents Preparing for installation Obtaining network information Before installing Linux and Windows NT on same hard drive Creating installation diskettes Copying and writing disk images using Windows NT Copying and writing disk images using DIGITAL UNIX Installing Red Hat Linux/Alpha Setting up AlphaBIOS Booting MILO Using Red Hat installation program Setting up Linux/Alpha system Setup for automatic booting using AlphaBIOS Setting system type Building kernels for Personal Workstation a-series Applying Linux/Alpha patches Updating the built-in Ethernet adapter Installing other software Linux/Alpha EM86 Netscape 3.01 for Linux/x86 Preparing for installation You can install Red Hat Linux/Alpha using any one of the following methods: * From CD-ROM (ATAPI on PWS) * From hard disk * Over the network via FTP (through firewall proxies), NFS, or SMB (Server Message Block): a Windows 95/NT File Share Obtaining network information If you choose to install over the network, you need to obtain the network information described in Table 1 and Table 2 from your network administrator. Table 1 describes parameters pertaining to the system on which you're installing Linux/Alpha. Table 2 describes parameters pertaining to the server you're installing from. Table 1 Network Information common to FTP, NFS, and SMB Network IP address information netmask common to FTP, default gateway NFS, and SMB... primary/secondary/tertiary domain name servers domain name hostname network adapter (if other than built-in) Table 2 Network information specific to FTP, NFS, or SMB Network information specific to... FTP FTP site name (hostname or IP address) Red Hat distribution directory username and password for non-anonymous server or proxy server (if required) NFS NFS server name (hostname or IP address) Red Hat distribution directory SMB server name (hostname or IP address) share volume name account name password Before installing Linux and Windows NT on same hard drive If you intend to install both Linux and Windows NT in separate partitions of the same hard drive, create the NT partitions first. (Use the NT Install or Disk Administrator program.) When you then use the Red Hat installation process to create the Linux partitions, you will already know how much space has been allocated to Windows NT. The contents of the MILO install diskette (linload.exe and milo) can be copied onto the NT boot partition (of type DOS FAT) for automatic booting without a floppy diskette. More information on that can be found in Section 5.1. Creating installation diskettes Use three blank 3.5" high density floppy diskettes to create the following three disk images: Disk 1 The MILO, or Miniloader, diskette, which holds software necessary to boot Linux Disk 2 The boot diskette, which holds kernel, or core part of the operating system Disk 3 The root diskette, which holds installation software and other miscellaneous items Depending on which system you are using to prepare the Linux installation, go to: Windows NT instructions DIGITAL UNIX instructions Copying and writing disk images using Windows NT Use this section if you are using Windows NT to install Linux. Table 3 shows how to copy the installation disk images from CD-ROM, hard drive or the network. To write the disk images using Windows NT, you need the RAWRITE utility (rawrite.exe). If necessary, use Table 4 to find out how to obtain this utility. Table 5 shows how to write the disk images to the three floppy diskettes. All disk images are copied to a temporary local directory: c:\temp. Table 3 Copying disk images using Windows NT If copying from Assuming CD-ROM is drive D, CD-ROM... type: copy d:\milo\images\miata.img c:\temp\milo.img copy d:\images\miata.img c:\temp copy d:\images\ramdisk.img c:\temp If copying from Assuming c:\redhat directory, hard drive... type: copy c:\redhat\milo\images\miata.img c:\temp\milo.img copy c:\redhat\images\miata.img c:\temp copy c:\redhat\images\ramdisk.img c:\temp If copying via Type: [using MS-DOS window?] ftp over the network... c: cd \temp ftp ftp.digital.com Username> anonymous Password> your-email-address cd /pub/linux/redhat/redhat-4.2/alpha bin get milo/images/miata.img milo.img get images/miata.img get images/ramdisk.img quit Table 4 Obtaining the RAWRITE utility Copying Type: rawrite.exe from CD_ROM... copy d:\dosutils\rawrite.exe c:\temp Assuming your Red Hat distribution is on local hard drive C:, directory \redhat, type: copy c:\redhat\dosutils\rawrite.exe c:\temp Copying Type: rawrite.exe via ftp... c: cd \temp ftp ftp.digital.com Username> anonymous Password> your-email-address cd /pub/linux/redhat/redhat-4.2/alpha/dosutils bin get rawrite.exe quit Table 5 Writing disk images using Windows NT Disk 1 Insert the first diskette into the drive and type: c: cd \temp rawrite -f milo.img -n -d a: Remove the diskette and label it "MILO". Disk 2 Insert the second diskette into the drive and type: rawrite -f miata.img -n -d a: Remove the diskette and label it "Boot". Disk 3 Insert the third diskette into drive and type: rawrite -f ramdisk.img -n -d a: Remove the diskette and label it "Root". Copying and writing disk images using DIGITAL UNIX Use this section if you are using DIGITAL UNIX to install Linux. Table 6 shows how to copy the installation disk images from CD-ROM, hard drive or the network. Table 7 shows how to write the disk images to the three floppy diskettes. You must run the commands shown below as the superuser. To access the superuser account, type: su Password> root-password All disk images are copied to a temporary local directory: /tmp. Table 6 Copying disk images using DIGITAL UNIX If copying Assuming CD-ROM is device /dev/rz3c, type: from CD-ROM... mount -t cdfs -o noversion /dev/rz3c /cdrom cp /cdrom/milo/images/miata.img /tmp/milo.img cp /cdrom/images/miata.img /tmp cp /cdrom/images/ramdisk.img /tmp If copying Assuming directory /usr/local/redhat, type: from hard drive... cp /usr/local/redhat/milo/images/miata.img /tmp/milo.img cp /usr/local/redhat/images/miata.img /tmp cp /usr/local/redhat/images/ramdisk.img /tmp If copying Type: via ftp over the cd /tmp network... ftp ftp.digital.com Username> anonymous Password> your-email-address cd /pub/linux/redhat/redhat-4.2/alpha bin get milo/images/miata.img milo.img get images/miata.img get images/ramdisk.img quit Table 7 Writing disk images using DIGITAL UNIX Disk 1 Insert the first diskette into the drive and, assuming diskette drive /dev/fd0c, type: cd /tmp dd if=milo.img of=/dev/fd0c Remove the diskette and label it "MILO". Disk 2 Insert the second diskette into the drive and type: dd if=miata.img of=/dev/fd0c Remove the diskette and label it "Boot". Disk 3 Insert the third diskette into the drive and type: dd if=ramdisk.img of=/dev/fd0c Then remove the diskette and label it "Root". Installing Red Hat Linux/Alpha Setting Up AlphaBIOS Refer to Red Hat Linux 4.2 Users Guide, Section D.5.2, Loading MILO from the Windows NT AlphaBIOS. Begin at the second bullet of the second set of bullets, "Turn on system and insert floppy..." and end before the second to last paragraph "If you dedicated the first partition of your first disk drive..." Booting MILO Refer to the text about the MILO boot line in the Red Hat Linux 4.2 Users Guide, Section 3.6, Installing. Using Red Hat installation program Refer to the Red Hat Linux 4.2 User's Guide, Section 2.4.1.2 to 2.4.18. Setting up Linux/Alpha system Setup for automatic booting using AlphaBIOS Refer to Red Hat Linux 4.2 User's Guide, Section D.5.2, Loading MILO from the Windows NT AlphaBIOS from second to last paragraph through to end of section. Setting system type The Personal Workstation a-series is not yet automatically recognized by Linux. In order for certain functions of Linux to operate correctly on the Personal Workstation (including X Windows), type the following command as superuser: ln -s EB164 /etc/alpha_systype Building kernels for Personal Workstation a-series Applying Linux/Alpha patches You must apply certain patches to the kernel source code in order to build custom Linux kernels for the Personal Workstation a-series. The kernel-headers and kernel-source RPM's in the Red Hat 4.2 distribution have some patches already and do not need to be patched further. However, to be sure you are using the most updated patches, you should build a Linux kernel from a set of pristine, that is, unpatched, sources and apply the specific patches yourself. Table 8 shows the process of applying Linux/Alpha patches. Table 8 Applying Linux/Alpha patches Obtaining For information on obtaining and compiling the kernel HOWTO kernel, refer to the Kernel-HOWTO at: information... http://sunsite.unc.edu/LDP/HOWTO/Kernel-HOWTO.html or look in the /usr/doc/HOWTO directory of your Linux system if you installed the Extra Documentation. To read the file, type: zless /usr/doc/HOWTO/Kernel-HOWTO.gz Obtaining To ftp the most recent version of the patches, most recent which correspond to version 2.0.30 of the patches via kernel, type: ftp... cd /tmp ftp ftp.digital.com Username> anonymous Password> your-email-address cd /pub/DEC/Linux-Alpha/Kernels bin get alpha-patches-2.0.30-0.1.gz quit Applying the Assuming the patches are in the directory /tmp patches... and the kernel sources are in /usr/src/linux) apply them by typing the following commands as superuser: cd /usr/src/linux zcat /tmp/alpha-patches-2.0.30-0.1.gz | patch -p1 When prompted for the "Alpha system type" when you run make config, enter: Miata Miata is the system type name for the Personal Workstation a-series. Updating built-in Ethernet driver If you plan to use the built-in Ethernet adapter for connecting to a network, and did not use it to install Linux over the network, you must update the driver source code in the Linux kernel source code tree. You must update regardless of whether the kernel sources came as RPM's in the Red Hat 4.2 distribution or as a pristine source tree from an FTP site. Table 9 describes how to update the Ethernet adapter. Table 9 Updating buit-in Ethernet adapter Obtaining To ftp the updated built-in Ethernet driver, updated type: Ethernet driver cd /tmp source code ftp cesdis.gsfc.nasa.gov via ftp... Username> anonymous Password> your-email-address cd /pub/linux/drivers get tulip.c quit Suppressing In order to prevent large numbers of warning warning messages related to the driver from appearing messages... on your screen, type the following commands, assuming tulip.c is in directory /tmp: cd /tmp rm -f tempA* tempB* new-tulip.c csplit -f tempA tulip.c '/#define SKBUFF_RX_COPYBREAK/' csplit -f tempB tulip.c '%#define SKBUFF_RX_COPYBREAK%'+1 echo "#define SKBUFF_RX_COPYBREAK 16384" |\ cat tempA00 - tempB00 > new-tulip.c cp new-tulip.c tulip.c rm -f tempA* tempB* new-tulip.c Inserting Assuming the kernel source code is in directory driver into /usr/src/linux, insert the driver by typing Linux kernel the following commands as superuser: code ... cd /usr/src/linux cp /tmp/tulip.c drivers/net Note: When you run make config during the Linux kernel build process, be sure to answer Y (yes) to the prompt "DECchip Tulip (dc21x4x) PCI support?" Installing other software Linux/Alpha EM86 Linux/Alpha EM86 is a free software emulator that lets you run Linux/x86 software, without modification, on Linux/Alpha systems. You can download the software kit, including the README: start by linking to ftp://ftp.digital.com/pub/DEC/Linux-Alpha/em86/v0.2/docs/getting_em86.html Netscape 3.01 For Linux/x86 Installing EM86 allows you to run Netscape 3.01 for Linux/x86 on your Linux/Alpha system. Table 11 describes how to install and run Netscape. Table 10 Installing Netscape Copying To copy Netscape via ftp, type: Netscape via ftp... cd /tmp ftp ftp.netscape.com Username> anonymous Password> your-email-address cd /pub/navigator/gold/3.01/unix bin get netscape-v301-export.x86-unknown-linux-elf.tar.gz quit Installing To install Netscape, unpack the archive by Netscape... typing: cd /tmp tar xvzf netscape-v301-export.x86-unknown-linux-elf.tar.gz One of the resultant files is named "netscape". As superuser, copy that file to a local user binary directory (such as /usr/local/bin) by typing: cp /tmp/netscape /usr/local/bin Runing To run Netscape, type: Netscape... netscape or /usr/local/bin/netscape 7 --------------144E7C796DA0CF4F370325F7--