Oct 15,1997 onl7v1: Solaris 2.5 cc ドライバのテスト. Solaris2.5 システムのインストール --- システム・インストール#01 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/Machine/onl7v1/system-install.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). FORCE、SPARC CPU-7V/64-170-2 および 9Gバイトの HD、SDX-9105UXS が 1セット届いた。 (B). Soalris2.6 および VMEドライバはまだ届いていない。 (2). ここでやるべきこと CPU-7V に Solaris2.5 のシステムをインストールしてシステムを立ちあげる。 (3). CPU-7V のスイッチ設定 現在、onl5v4(CPU-5V) を差しているクレートに CPU-7V も差して両方の システムとも立ちあげたい。 したがって、どちらか1枚のボードは "VME Slot-1デバイス" ではないスイッチ設定にする必要がある。 参考. "FORCE SPARC CPU-7V Installation Guide, Edition No.1, January 1997" の項目 "1.4.1 VME Slot-1 Device" より以下に引用する。 : 1.4.1 VME Slot-1 Device SPARC/CPU-7V は、VMEbusスロットのどこにでも差すことができる。 default でボードはスロット1に入っていて VMEシステム・コントローラと して働くかどうかを自動的に検出する。 SW8-4 が OFF に変更された場合 には、自動検出の機能は無効にされ、ボードは SW8-2 によって、システム コントローラとしての機能を提供する。 VMEスロット1デバイスではない 形に CPUボードをコンフィグレーションするためには、default の コンフィグレーションは SW8-2 と SW8-4 を OFF に変更しなければなら ない。 この場合、SW7-4 も OFF に変更して VME_SYSRESET出力も無効にする 必要がある。 注意. SW8-2 のスイッチ設定に矛盾して、ソフトウェアでVMEスロット1機能 を有効にしたり、無効にしたりしてはいけない。 FGA-5000 の Global Control and Status Register(GCSR) のビット1の値が変更 しないように注意せよ。 詳細は FGA-5000 Technical Reference Manul を見よ。 : : 引用終り。 CPU-5V、onl5v4 を VMEスロット1デバイスとして使う。 CPU-7V を非スロット1 デバイスとして使う。 したがって、onl5v4 のスイッチ設定は変更なし。 CPU-7V のスイッチ設定は、SW8-2、SW8-4、および SW7-4 を OFF に変更する。 (4). CPU-5V、CPU-7Vボードの設置 VMEクレート中に CPUボードを設置する。 配置は次のとうり。 スロット #1 #2 #3 #4 +----------------------------------------------------+ |+--+ +--++--+ | || | | || | | || | | || | | || | | || | | || | | || | | || | | || | | || | | || | | || |+--+| || | | || || || || | | || || || || | | || || || || | | || || || || | | || |+--+| || | | |+--+ +--++--+ | +----------------------------------------------------+ スロット#1: SPARC CPU-5V スロット#2: このスロットはスロット#1のCPU-5VのSBusに差した FastEthernetボードが占有している。 スロット#3: SPARC CPU-7V スロット#4: K2917 (5). SPARC CPU-7V に CD-ROM を接続 SPARC CPU-7V に Solaris2.5システムをインストールするのに必要な CD-ROM を接続する。 現在 onlsun3 につないである PLEXTOR製の CD-ROM を一時的に SPARC CPU-7V の SCSI に 接続して使用する。 CPU-7V の SCSI にはこの他に システム・インストールのための 9GByteのハードディスクが1台つないである。 (6). Power ON ok Power-On Self Test IU Register File Test MMU Context Table Reg Test MMU Context Register Test MMU Sync Fault Stat Reg Test MMU Sync Fault Addr Reg Test D-Cache Tag Ram Test D-Cache Data Ram Test D-TLB CAM Test D-TLB RAM Test I-Cache Tag Ram Test I-Cache Data Ram Test No Secondary Cache Exists No Secondary Cache Exists No Secondary Cache Exists Snoop Ram Test IOMMU-TLB Test IOMMU Control Register Test IOMMU Base Addr Register Test IOMMU SBus Config Registers Test Set RAH to 3 Set WS to 3 DRAM Data Bus Test Probing Bank 0 -- 32 Megs Found Probing Bank 1 -- 32 Megs Found Probing Bank 2 -- 0 Megs Found Probing Bank 3 -- 0 Megs Found Probing Bank 4 -- 0 Megs Found Probing Bank 5 -- 0 Megs Found Probing Bank 6 -- 0 Megs Found Probing Bank 7 -- 0 Megs Found DRAM Address Bus Test Memory Address Pattern Test D-Cache Hit Miss Test D-TLB Hit Miss Test I-TLB Hit Miss Test I-Cache Hit Miss Test No Secondary Cache Exists I-TLB Ram Test FPU Register File Test FPU Misaligned Reg Pair Test FPU Single-precision Tests FPU Double-precision Tests FPU SP Invalid CEXC Test FPU SP Overflow CEXC Test FPU SP Divide-by-0 CEXC Test FPU SP Inexact CEXC Test FPU SP Trap Priority > Test FPU SP Trap Priority < Test FPU DP Invalid CEXC Test FPU DP Overflow CEXC Test FPU DP Divide-by-0 CEXC Test FPU DP Inexact CEXC Test FPU DP Trap Priority > Test FPU DP Trap Priority < Test PROC0 Interrupt Regs Tests Soft Interrupts OFF Test Soft Interrupts ON Test PROC0 User Timer Test PROC0 Counter/Timer Test DMA2 E_CSR Register Test LANCE Address Port Tests LANCE Data Port Tests DMA2 D_CSR Register Test DMA2 D_ADDR Register Test DMA2 D_BCNT Register Test DMA2 D_NADDR Register Test ESP Registers Tests DMA2 P_CSR Register Test DMA2 P_ADDR Register Test DMA2 P_BCNT Register Test PPORT Registers Tests NVRAM Access Test TOD Registers Test screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Timeout waiting for ARP/RARP packet Timeout waiting for ARP/RARP packet Type help for more information ok ここで、キーボードの "BREAK"キーを押してブートを中断した。 CD-ROMに Solaris2.5 のシステム・インストール用のメディアをセットして CD-ROM からブートし直す。 ok boot cdrom Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. Rebooting with command: cdrom Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d File and args: SunOS Release 5.5 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1995, Sun Microsystems, Inc. Configuring the /devices directory Configuring the /dev directory The system is coming up. Please wait. What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT52 3) DEC VT100 4) Heathkit 19 5) Lear Siegler ADM31 6) PC Console 7) Sun Command Tool 8) Sun Workstation 9) Televideo 910 10) Televideo 925 11) Wyse Model 50 12) X Terminal Emulator (xterms) 13) Other Type the number of your choice and press Return: 12 The Solaris Installation Program You are now interacting with the Solaris installation program. The program is divided into a series of short sections. At the end of each section, you will see a summary of the choices you've made, and be given the opportunity to make changes. As you work with the program, you will complete one or more of the following tasks: 1 - Identify peripheral devices 2 - Identify your system 3 - Install Solaris software About navigation... - The mouse cannot be used - If your keyboard does not have function keys, or they do not respond, press ESC; the legend at the bottom of the screen will change to show the ESC keys to use for navigation. F2_Continue F6_Help Identify This System On the next screens, you must identify this system as networked or non-networked, and set the default time zone and date/time. If this system is networked, the software will try to find the information it needs to identify your system; you will be prompted to supply any information it cannot find. > To begin identifying this system, press F2. F2_Continue F6_Help Host Name On this screen you must enter your host name, which identifies this system on the network. The name must be unique within your domain; creating a duplicate host name will cause problems on the network after you install Solaris. A host name must be at least two characters; it can contain letters, digits, and minus signs (-). Host name: onl7v1 F2_Continue F6_Help Network Connectivity On this screen you must specify whether this system is connected to a network. If you specify Yes, the system should be connected to the network by an Ethernet or similar network adapter. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Networked [X] Yes [ ] No F2_Continue F6_Help IP Address On this screen you must enter the Internet Protocol (IP) address for this system. It must be unique and follow your site's address conventions, or a system/network failure could result. IP addresses contain four sets of numbers separated by periods (for example 129.200.9.1). IP address: 130.87.153.92 F2_Continue F6_Help Confirm Information > Confirm the following information. If it is correct, press F2; to change any information, press F4. Host name: onl7v1 Networked: Yes IP address: 130.87.153.92 F2_Continue F4_Change F6_Help Name Service On this screen you must provide name service information. Select NIS+ or NIS if this system is known to the name server; select Other if your site is using another name service (for example, DCE or DNS); select None if your site is not using a name service, or if it is not yet established. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Name service [ ] NIS+ [ ] NIS (formerly yp) [X] Other [ ] None F2_Continue F6_Help Confirm Information > Confirm the following information. If it is correct, press F2; to change any information, press F4. Name service: Other F2_Continue F4_Change F6_Help Subnets On this screen you must specify whether this system is part of a subnet. If you specify incorrectly, the system will have problems communicating on the network after you reboot. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. System part of a subnet [X] Yes [ ] No F2_Continue F6_Help Netmask On this screen you must specify the netmask of your subnet. A default netmask is shown; do not accept the default unless you are sure it is correct for your subnet. A netmask must contain four sets of numbers separated by periods (for example 255.255.255.0). Netmask: 255.255.252.0 F2_Continue F6_Help Time Zone On this screen you must specify your default time zone. You can specify a time zone in three ways: select one of the geographic regions from the list, select other - offset from GMT, or other - specify time zone file. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Regions ^ [ ] Asia, Western [ ] Australia / New Zealand [ ] Canada [ ] Europe [ ] Mexico [ ] South America [ ] United States [ ] other - offset from GMT - [X] other - specify time zone file F2_Continue F6_Help Time Zone File Specify the time zone file you want to use. The file must already be in the /usr/share/lib/zoneinfo directory. You do not need to enter the full path. File name: Japan F2_Continue F5_Cancel F6_Help Date and Time > Accept the default date and time or enter new values. Date and time: 10/03/97 14:26 Year (4 digits) : 1997 Month (1-12) : 10 Day (1-31) : 03 Hour (0-23) : 14 Minute (0-59) : 26 F2_Continue F6_Help Confirm Information > Confirm the following information. If it is correct, press F2; to change any information, press F4. System part of a subnet: Yes Netmask: 255.255.252.0 Time zone: Japan Date and time: 10/03/97 14:26:00 F2_Continue F4_Change F6_Help System identification is completed. Install Solaris Software - Initial The screens that follow let you tailor how Solaris is installed on your system. The main tasks you must perform to install Solaris software on your system are: - Selecting a system type - Selecting Solaris software - Selecting disks to hold the software you've selected - Specifying how files systems are laid out on the disks After completing these tasks, a summary of your selections (called a profile) is displayed. You can go back and change selections as many times as you like before starting to install Solaris. > To continue, press F2. F2_Continue F3_Go Back F5_Exit F6_Help System Type On this screen you must specify one of the following system types. A system type determines where a system will get its directories and file systems, and whether it provides portions of Solaris software to other systems. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. [X] Standalone [ ] OS server [ ] Dataless Client F2_Continue F3_Go Back F5_Exit F6_Help Software On this screen you must select the Solaris software to install on your system. The four software groups shown below are bundled and defined by SunSoft. You can accept the default [X] End User System Support, or select another. NOTE: After selecting a software group, you can add or remove software from it by selecting F4 to customize. However, this requires understanding of software dependencies and how Solaris software is packaged. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]; then press F4 to customize or F2 to continue. [X] Entire Distribution plus OEM support .. 404.00 MB (F4 to Customize) [ ] Entire Distribution ................... 397.00 MB [ ] Developer System Support .............. 318.00 MB [ ] End User System Support ............... 206.00 MB [ ] Core System Support ................... 103.00 MB F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help Disks On this screen you must select the disks for installing Solaris software. Start by looking at the Suggested Minimum field; this value is the approximate space needed to install the software you've selected. Keep selecting disks until the Total Selected value exceeds the Suggested Minimum value. > To make selections, use the arrow keys to highlight options, and press Return to mark them [X]. Disk Device (Size) Available Space ============================================= [X] c0t3d0 (4092 MB) bootdrive 4092 MB Total Selected: 4092 MB Suggested Minimum: 289 MB F2_Continue F3_Go Back F5_Exit F6_Help Preserve Data? At least one of the disks you've selected has file systems or unnamed slices that you may want to save. > To save file systems or unnamed slices, press F4. > To allow current file systems and unnamed slices to be overwritten when Solaris software is installed, press F2. F2_Continue F3_Go Back F4_Preserve F5_Exit F6_Help Automatically Layout File Systems? Do you want to use the auto-layout feature to automatically layout file systems on your disks? Manually laying out file systems on disks requires advanced system administration skills. > To use the auto-layout feature, press F2. > To manually layout file systems, press F4. F2_Auto Layout F3_Go Back F4_Manual Layout F5_Exit F6_Help Auto-layout File Systems On this screen you must select all the file system you want auto-layout to create, or accept the defaults shown. NOTE: For small disks (less than 200 MB), it may be necessary for auto-layout to break up some of the file systems you request into smaller file systems to fit the available disk space. So, after auto-layout completes, you may find file systems in the layout that you did not select from the list below. File Systems for Auto-layout ======================================== [X] / [X] swap [X] /usr [X] /opt [ ] /usr/openwin [ ] /var F2_Continue F5_Cancel F6_Help File System and Disk Layout The summary below is your current file system and disk layout, based on the information you've supplied. NOTE: If you press F4 to customize, you should understand file systems, their intended purpose on the disk, and how changing them may affect the operation of the system. > To accept the layout shown, press F2. > To customize the layout, press F4. File system/Mount point Disk/Slice Size ============================================================= / c0t3d0s0 125 MB swap c0t3d0s1 64 MB /usr c0t3d0s6 255 MB /opt c0t3d0s5 161 MB overlap c0t3d0s2 4092 MB /export/home c0t3d0s7 3484 MB F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help Mount Remote File Systems? Do you want to mount software from a remote file server? This may be necessary if you had to remove software because of disk space problems. > To go to the Mount Remote File System screen, press F4. > To bypass mounting remote file systems, press F2. F2_Continue F3_Go Back F4_Remote Mounts F6_Help Profile The information below is your profile for installing Solaris software. It is a summary of the choices you've made on previous screens. > To go back to the beginning to make changes, press F4. CAUTION: If you selected system type `OS server' and allocated space for clients, you must complete client set up by using Solstice Host Manager after Solaris is installed ============================================================================ - System Type: Standalone Software: Solaris 2.5, Entire Distribution plus OEM s File System and Disk Layout: / c0t3d0s0 125 MB swap c0t3d0s1 64 MB v /opt c0t3d0s5 161 MB /usr c0t3d0s6 255 MB - /export/home c0t3d0s7 3484 MB F2_Continue F4_Change F5_Exit F6_Help Begin Installing Solaris By default, your system will reboot after Solaris is installed. However, you can bypass rebooting and access a UNIX shell to make changes before rebooting. > To begin installing Solaris, press F2; to go back and make changes press F5. [X] Reboot [ ] Do not reboot F2_Begin Installation F5_Cancel Preparing system for Solaris Configuring disk (c0t3d0) - Creating Solaris disk label (VTOC) Creating and checking UFS file systems - Creating / (c0t3d0s0) - Creating /opt (c0t3d0s5) - Creating /usr (c0t3d0s6) - Creating /export/home (c0t3d0s7) Solaris Initial Install MBytes Installed: 0.27 MBytes Remaining: 342.68 Installing: Core Solaris, (Usr) \ | | | | | | 0 20 40 60 80 100 : : Solaris 2.5 software installation succeeded Customizing system files - Mount points table (/etc/vfstab) - Network host addresses (/etc/hosts) Customizing system devices - Logical devices (/dev) - Physical devices (/devices) Installing boot information - Installing boot blocks (c0t3d0) Installation log 'install_log' location - /tmp (before reboot) - /var/sadm/system/logs (after reboot) System installation and configuration is completed Installation completed... syncing file systems... 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 done rebooting... Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. System identification is completed. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl7v1 syslog service starting. Print services started. volume management starting. The system is ready. onl7v1 console login: ok. システム・インストールはうまくできた。 ただ1つ問題がある。 このディスクは 9GByte だが現在のところ 4GByte だけ しか認識できていない。 これはシステム・インストールをやる前に間違えて 私がファイル・システムを壊してしまったためと思う。 現在のディスク情報は以下のようになっている。 onl7v1# prtvtoc /dev/rdsk/c0t3d0s2 * /dev/rdsk/c0t3d0s2 partition map * * Dimensions: * 512 bytes/sector * 111 sectors/track * 19 tracks/cylinder * 2109 sectors/cylinder * 3976 cylinders * 3974 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 0 257298 257297 / 1 3 01 257298 132867 390164 2 5 00 0 8381166 8381165 5 0 00 390165 331113 721277 /opt 6 4 00 721278 523032 1244309 /usr 7 8 00 1244310 7136856 8381165 /export/home onl7v1# 私がファイル・システムを壊してしまったためと思う。 9GByte フルに使えるようにするためには、format からやり直すしか ないようだ。 システム・インストールをやり直そう。 --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル