May 18,1998 onl7v1: Solaris 2.5 cc ドライバのテスト. Solaris2.5 システムのインストール --- システム・インストール#05 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/Machine/onl7v1/system-reinstall3.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). Solaris2.5システムを再度インストールし直した。 その後、VMEドライバ および CAMACドライバを再度インストールし直した。 (B). 同一クレート内に複数の CPUボードを置かなければ cam2ブロック転送 は正常に実行できることを、onl7v2(Solaris2.6) と onl5v4(Solaris2.6) の CAMAC のテストで確認した。 (C). onl7v1 の CPUボードだけをクレートに差して、CAMAC のテスト中、また システムを壊してしまった。 (2). ここでやるべきこと onl7v1 上の Solaris2.5システムをインストールし直す。 (3). onl7v1 上の必要なファイルをバックアップする onl7v1 上の Solaris2.5 のシステムは立ち上がれないので、Solaris2.5.1 のシステムを立ち上げる。 そして、Solaris2.5 のシステム・ディスク をマウントする。 onlsun1[37]% rlogin onl7v1 Last login: Fri May 15 10:43:14 from onlsun1 Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996 onl7v1[33]% df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 123063 38031 72732 35% / /dev/dsk/c0t3d0s6 443407 341590 57477 86% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 7488675 800399 5939416 12% /export/home /dev/dsk/c0t3d0s5 202287 81565 100502 45% /opt swap 99324 8 99316 1% /tmp /dev/dsk/c0t1d0s0 119703 16374 91359 16% /mnt /dev/dsk/c0t1d0s7 3607765 39181 3207814 2% /mnt1 onlsun1:/home1/local 1567984 1395800 170616 90% /net/onlsun1/home1/local onlsun1:/home1/cern/95a 1567984 1395800 170616 90% /net/onlsun1/home1/cern/95a onlsun1:/home1/opt_ext/inoue-nfs 1567984 1395800 170616 90% /net/onlsun1/home1/opt_ext/inoue-nfs onlsun1:/export/home/onlsun1/inoue 1972728 849328 1121424 44% /net/onlsun1/export/home/onlsun1/inoue kiwifs:/public/sun/Solaris2 8316189 7560215 672813 92% /kekfs/kek /dev/dsk/c0t1d0s6 288319 185901 73588 72% /mnt/usr /dev/dsk/c0t1d0s3 1926998 41 1734267 1% /mnt2 onl7v1[34]% onl7v1[41]% ls -l /mnt1 total 20 drwxr-xr-x 2 root root 512 Nov 5 1997 TT_DB/ drwx------ 2 root root 8192 Oct 14 1997 lost+found/ drwxr-xr-x 8 root other 512 Nov 17 14:50 onl7v1/ onl7v1[42]% ls -l /mnt2 total 18 drwxr-xr-x 3 root other 512 May 14 15:43 local/ drwx------ 2 root root 8192 Dec 24 14:49 lost+found/ onl7v1[43]% Solaris2.5 のディスクの /usr/localディレクトリに下には、現在 のところ CAMAC だけしかインストールされていない。 したがって、 バックアップが必要なのは、ユーザのホーム・ディレクトリが置いて ある /dev/dsk/c0t1d0s7 のスライスだけでよいだろう。 1スライスだけのバックアップアップなので、システム・インストール 時の指定で処理できる。 ここでは、特にはなにもしないことにする。 (4). onl7v1 に Solaris2.5システムをフルインストールする SPARC CPU-7V に onl7v1用のディスクと CD-ROMドライブをつないで パワーをオンする。 ok pp 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/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: SunOS Release 5.5 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1995, Sun Microsystems, Inc. WARNING: Unexpected token '/' on line 1 of /etc/driver_aliases BAD TRAP: type=9 rp=f0241904 addr=0 mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0241654 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02413a4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02410f4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240e44 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240b94 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02408e4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240634 addr=c mmu_fsr=326 rw=1 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. Initializing Memory - Type help for more information ok <--- ここで BREAKキーを押して止めた。 ok boot 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 Primary Network Interface On this screen you must specify which of the following network adapters is the system's primary network interface. Usually the correct choice is the lowest number. However, do not guess; ask your system administrator if you're not sure. > To make a selection, use the arrow keys to highlight the option and press Return to mark it [X]. Primary network interface [ ] hme0 [X] le0 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 Primary network interface: le0 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: 05/15/98 14:04 Year (4 digits) : 1998 Month (1-12) : 05 Day (1-31) : 15 Hour (0-23) : 14 Minute (0-59) : 04 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: 05/15/98 14:04:00 F2_Continue F4_Change F6_Help System identification is completed. Starting Solaris installation program... 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 Upgrade System? This system is upgradable. Choosing the upgrade option means any bundled Solaris software will be updated to the new release, and any customizations you've made to your system will be preserved. While your system is upgradable, you can choose the initial option; however, files on your disk will be overwritten and data will be lost. CAUTION: If you choose the initial option, make sure your system is backed up. > To start the upgrade option, choose F2. > To start the initial option, choose F4. F2_Upgrade F4_Initial 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 ................... 398.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 (8639 MB) bootdrive 8639 MB [ ] c0t1d0 (8639 MB) 8639 MB Total Selected: 8639 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 Preserve Data On this screen you can preserve the data on some or all disk slices. Any slice you select to preserve will not be touched when Solaris software is installed. If you're preserving data on / (root), /usr, or /var, you must rename them because new versions of these file systems are created when Solaris is installed. > To preserve a slice, use the arrow keys to highlight it and press Return to mark it [X]. Mount Point Disk/Slice Size =================================================================== [ ] / c0t3d0s0 124 MB [ ] swap c0t3d0s1 65 MB [X] overlap c0t3d0s2 8639 MB [ ] /mnt2 c0t3d0s3 2001 MB [ ] /home2 c0t3d0s4 2001 MB [ ] /opt c0t3d0s5 400 MB [ ] /mnt/usr c0t3d0s6 300 MB [X] /mnt1 c0t3d0s7 3745 MB F2_OK F5_Cancel 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 124 MB swap c0t3d0s1 65 MB /usr c0t3d0s6 255 MB /opt c0t3d0s5 160 MB overlap c0t3d0s2 8639 MB /export/home c0t3d0s4 4286 MB - /mnt1 c0t3d0s7 3745 MB F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help Customize Disk: c0t3d0 Entry: /usr Recommended: 256 MB Minimum: 219 MB ================================================================================ Slice Mount Point Size (MB) Preserve 0 / 124 [ ] 1 swap 65 2 overlap 8639 3 /home1 2001 [ ] 4 /home2 2001 [ ] 5 /opt 400 [ ] 6 /usr 300 [ ] 7 /export/home 3745 [X] ================================================================================ Capacity: 8639 MB Allocated: 8636 MB Rounding Error: 3 MB Free: 0 MB F2_OK F4_Options F5_Cancel F6_Help 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 ============================================================= ^ swap c0t3d0s1 65 MB /usr c0t3d0s6 300 MB /opt c0t3d0s5 400 MB overlap c0t3d0s2 8639 MB /home1 c0t3d0s3 2001 MB /home2 c0t3d0s4 2001 MB - /export/home c0t3d0s7 3745 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 124 MB swap c0t3d0s1 65 MB /home1 c0t3d0s3 2001 MB /home2 c0t3d0s4 2001 MB /opt c0t3d0s5 400 MB /usr c0t3d0s6 300 MB - /export/home c0t3d0s7 3745 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 /home1 (c0t3d0s3) - Creating /home2 (c0t3d0s4) - Creating /opt (c0t3d0s5) - Creating /usr (c0t3d0s6) Solaris Initial Install MBytes Installed: 66.31 MBytes Remaining: 276.63 Installing: X Windows platform required fonts - | | | | | | 0 20 40 60 80 100 On this screen you can create a root password. A root password can contain any number of characters, but only the first eight characters in the password are significant. (For example, if you create `a1b2c3d4e5f6' as your root password, you can use `a1b2c3d4' to gain root access.) You will be prompted to type the root password twice; for security, the password will not be displayed on the screen as you type it. > If you do not want a root password, press RETURN twice. Root password: Re-enter your root password. Press Return to continue. 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: onl7v1 console login: root Password: May 15 14:52:20 onl7v1 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.5 Generic November 1995 # ls -l total 101 lrwxrwxrwx 1 root root 9 May 15 14:27 bin -> ./usr/bin drwxr-xr-x 3 root nobody 512 May 15 14:51 cdrom drwxrwxr-x 16 root sys 3584 May 15 14:51 dev drwxrwxr-x 5 root sys 512 May 15 14:47 devices drwxrwxr-x 24 root sys 3072 May 15 14:51 etc drwxrwxr-x 5 root sys 512 May 15 14:32 export dr-xr-xr-x 2 root root 2 May 15 14:52 home drwxr-xr-x 3 root root 512 May 15 14:47 home1 drwxr-xr-x 3 root root 512 May 15 14:47 home2 drwxr-xr-x 9 root sys 512 May 15 14:27 kernel lrwxrwxrwx 1 root root 9 May 15 14:27 lib -> ./usr/lib drwx------ 2 root root 8192 May 15 14:21 lost+found drwxrwxr-x 2 root sys 512 May 15 14:27 mnt dr-xr-xr-x 2 root root 2 May 15 14:52 net drwxrwxr-x 9 root sys 512 May 15 14:45 opt drwxr-xr-x 5 root sys 1024 May 15 14:28 platform dr-xr-xr-x 2 root root 16064 May 15 14:52 proc drwxrwxr-x 2 root sys 512 May 15 14:31 sbin drwxrwxrwt 4 sys sys 192 May 15 14:51 tmp drwxrwxr-x 29 root sys 1024 May 15 14:42 usr drwxrwxr-x 19 root sys 512 May 15 14:51 var dr-xr-xr-x 6 root root 512 May 15 14:51 vol dr-xr-xr-x 2 root root 2 May 15 14:52 xfn # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 119703 14761 92972 14% / /dev/dsk/c0t3d0s6 288319 185423 74066 72% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 3607765 39181 3207814 2% /export/home /dev/dsk/c0t3d0s3 1926998 9 1734299 1% /home1 /dev/dsk/c0t3d0s4 1926998 9 1734299 1% /home2 /dev/dsk/c0t3d0s5 384431 44110 301881 13% /opt swap 104184 12 104172 1% /tmp /vol/dev/dsk/c0t6d0/solaris_2_5_hw196_sparc/s5 502 12 450 3% /cdrom/solaris_2_5_hw196_ sparc/s5 /vol/dev/dsk/c0t6d0/solaris_2_5_hw196_sparc/s4 502 12 450 3% /cdrom/solaris_2_5_hw196_ sparc/s4 /vol/dev/dsk/c0t6d0/solaris_2_5_hw196_sparc/s3 502 12 450 3% /cdrom/solaris_2_5_hw196_ sparc/s3 /vol/dev/dsk/c0t6d0/solaris_2_5_hw196_sparc/s2 502 12 450 3% /cdrom/solaris_2_5_hw196_ sparc/s2 /vol/dev/dsk/c0t6d0/solaris_2_5_hw196_sparc/s1 38886 22198 12808 64% /cdrom/solaris_2_5_hw196_ sparc/s1 /vol/dev/dsk/c0t6d0/solaris_2_5_hw196_sparc/s0 321446 -1 0 100% /cdrom/solaris_2_5_hw196_ sparc/s0 # ok. 正常に立ち上がった。 (5). onl7v1 の各種設定をやる ここで一旦シャットダウンして、CD-ROM をはずしてから再度立ち上げる。 # /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri May 15 14:54:57 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl7v1 Fri May 15 14:54:59... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl7v1: RPC: Program not registered Changing to init state 0 - please wait # INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. Stopping the syslog service. May 15 14:55:06 onl7v1 syslogd: going down on signal 15 nfs umount: onl7v1:vold(pid276) server not responding: RPC: Program not register ed May 15 14:55:13 /usr/sbin/vold[439]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... [8] [1] done Program terminated Type help for more information ok pp~ 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/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: SunOS Release 5.5 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1995, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: onl7v1 The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s4: is clean. /dev/rdsk/c0t3d0s3: is clean. /dev/rdsk/c0t3d0s7: is clean. starting routing daemon. starting rpc services: rpcbind keyserv kerbd done. 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. onl7v1 は正常に立ち上がった。 onl7v1 console login: root Password: May 15 15:31:19 onl7v1 login: ROOT LOGIN /dev/console Last login: Fri May 15 14:52:20 on console Sun Microsystems Inc. SunOS 5.5 Generic November 1995 # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 119703 14770 92963 14% / /dev/dsk/c0t3d0s6 288319 185423 74066 72% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 3607765 39181 3207814 2% /export/home /dev/dsk/c0t3d0s3 1926998 9 1734299 1% /home1 /dev/dsk/c0t3d0s4 1926998 9 1734299 1% /home2 /dev/dsk/c0t3d0s5 384431 44110 301881 13% /opt swap 105200 8 105192 1% /tmp # ls -l /export/home total 20 drwxr-xr-x 2 root root 512 Nov 5 1997 TT_DB drwx------ 2 root root 8192 Oct 14 1997 lost+found drwxr-xr-x 8 root other 512 Nov 17 14:50 onl7v1 # ls -l /export/home/onl7v1 total 12 drwxr-xr-x 3 131 20 512 Jan 16 17:02 facom drwxr-xr-x 2 130 100 512 Nov 17 14:05 igarashi drwxr-xr-x 12 112 100 512 May 14 15:19 inoue drwxr-xr-x 2 101 100 512 Oct 20 1997 keibun drwxr-xr-x 2 117 100 512 Oct 20 1997 kodama drwxr-xr-x 2 105 100 512 Oct 20 1997 yasu # /export/home/onl7v1 の下は preserve されている。 続いて、onl7v1 の各種設定をやる。 onl7v1# source /.cshrc /.cshrc: No such file or directory onl7v1# ls -l /etc/skel total 6 -rw-r--r-- 1 root sys 124 May 15 14:27 local.cshrc -rw-r--r-- 1 root sys 575 Oct 25 1995 local.login -rw-r--r-- 1 root sys 560 Oct 25 1995 local.profile onl7v1# cp /etc/skel/local.cshrc .cshrc onl7v1# cp /etc/skel/local.login .login onl7v1# cp /etc/skel/local.profile .profile onl7v1# ls -l .??* -rw-r--r-- 1 root other 124 May 15 16:16 .cshrc -rw-r--r-- 1 root other 575 May 15 16:17 .login -rw-r--r-- 1 root other 560 May 15 16:17 .profile onl7v1# source /.login root 用の環境設定ファイルを作った。 Starting OpenWindows in 5 seconds (type Control-C to interrupt)^Conl7v1# onl7v1# source .cshrc onl7v1# Solaris2.5.1 がインストールされているディスクをマウントする。 onl7v1# mount /dev/dsk/c0t1d0s7 /mnt onl7v1# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 119703 14773 92960 14% / /dev/dsk/c0t3d0s6 288319 185423 74066 72% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 3607765 39181 3207814 2% /export/home /dev/dsk/c0t3d0s3 1926998 9 1734299 1% /home1 /dev/dsk/c0t3d0s4 1926998 9 1734299 1% /home2 /dev/dsk/c0t3d0s5 384431 44110 301881 13% /opt swap 104852 8 104844 1% /tmp /dev/dsk/c0t1d0s7 7488675 800399 5939416 12% /mnt onl7v1# ls -l /mnt total 20 drwxr-xr-x 3 root other 512 Mar 2 10:58 local drwx------ 2 root root 8192 Feb 26 16:55 lost+found drwxr-xr-x 8 root other 512 Nov 17 14:50 onl7v1 onl7v1# ls -l /mnt/onl7v1/inoue total 62 drwxr-xr-x 6 112 100 512 Nov 10 1997 CAMAC drwxr-xr-x 2 112 100 512 Feb 26 10:38 FORCEv2.0.3 drwxr-xr-x 4 112 100 512 Mar 9 16:54 FastEther drwxr-xr-x 3 112 100 512 Oct 8 1997 FastEther.old drwxr-xr-x 3 112 100 512 Mar 3 11:42 Patch drwxr-xr-x 3 112 100 512 Apr 10 17:01 Test drwxr-xr-x 3 112 100 512 Oct 27 1997 VME drwxr-xr-x 2 112 100 512 Dec 12 10:47 bin drwxr-xr-x 3 112 100 512 May 15 09:42 etc-sol2.5 -rw------- 1 112 100 1857 Dec 26 15:11 mbox drwxr-xr-x 4 112 100 512 Mar 2 14:22 onl7v1 -rw-r--r-- 1 112 100 15218 Mar 6 16:08 out drwxr-xr-x 2 112 100 512 Dec 26 13:52 sendmail -rw-r--r-- 1 112 100 20 Mar 9 14:07 t1 -rw-r--r-- 1 112 100 590 May 15 09:32 vfstab-sol2.5.log drwxr-xr-x 4 112 100 512 Mar 17 15:34 wrk onl7v1# ls -l /mnt/onl7v1/inoue/etc-sol2.5 total 36 -rw-r--r-- 1 112 100 50 May 15 09:34 auto_home -rw-r--r-- 1 112 100 106 May 15 09:34 auto_kekfs -rw-r--r-- 1 112 100 126 May 15 09:34 auto_master -rw-r--r-- 1 112 100 94 May 15 09:34 auto_master.org -rw-r--r-- 1 112 100 7 May 15 09:35 defaultdomain -rw-r--r-- 1 112 100 7 May 15 09:35 defaultrouter -rw-r--r-- 1 112 100 321 May 15 09:35 group -rw-r--r-- 1 112 100 11 May 15 09:36 hostname.hme0 -rw-r--r-- 1 112 100 11 May 15 09:36 hostname.hme0.bak -rw-r--r-- 1 112 100 7 May 15 09:36 hostname.le0 drwxr-xr-x 2 112 100 512 May 15 09:37 inet -rw-r--r-- 1 112 100 7 May 15 09:39 nodename -rw-r--r-- 1 112 100 690 May 15 09:39 nsswitch.conf -r-------- 1 root other 439 May 15 09:40 oshadow -r-------- 1 root other 801 May 15 09:41 passwd -rw-r--r-- 1 112 100 109 May 15 09:42 resolv.conf -r-------- 1 root other 437 May 15 09:41 shadow -rw-r--r-- 1 112 100 590 May 15 09:42 vfstab onl7v1# 今回、Solaris2.5 のシステムをインストールする前にセーブしておいた /etc の下の各種ファイルを使って、システム設定を行う。 onl7v1# pwd /mnt/onl7v1/inoue/etc-sol2.5 onl7v1# ls -l total 36 -rw-r--r-- 1 112 100 50 May 15 09:34 auto_home -rw-r--r-- 1 112 100 106 May 15 09:34 auto_kekfs -rw-r--r-- 1 112 100 126 May 15 09:34 auto_master -rw-r--r-- 1 112 100 94 May 15 09:34 auto_master.org -rw-r--r-- 1 112 100 7 May 15 09:35 defaultdomain -rw-r--r-- 1 112 100 7 May 15 09:35 defaultrouter -rw-r--r-- 1 112 100 321 May 15 09:35 group -rw-r--r-- 1 112 100 11 May 15 09:36 hostname.hme0 -rw-r--r-- 1 112 100 11 May 15 09:36 hostname.hme0.bak -rw-r--r-- 1 112 100 7 May 15 09:36 hostname.le0 drwxr-xr-x 2 112 100 512 May 15 09:37 inet/ -rw-r--r-- 1 112 100 7 May 15 09:39 nodename -rw-r--r-- 1 112 100 690 May 15 09:39 nsswitch.conf -r-------- 1 root other 439 May 15 09:40 oshadow -r-------- 1 root other 801 May 15 09:41 passwd -rw-r--r-- 1 112 100 109 May 15 09:42 resolv.conf -r-------- 1 root other 437 May 15 09:41 shadow -rw-r--r-- 1 112 100 590 May 15 09:42 vfstab onl7v1# ls /etc TIMEZONE@ hostname.le0 nodename security/ acct/ hosts@ nscd.conf services@ aliases@ inet/ nsswitch.conf setmnt@ asppp.cf* inetd.conf@ nsswitch.files shadow auto_home init@ nsswitch.nis shutdown@ auto_master init.d/ nsswitch.nisplus skel/ autopush@ initpipe| opt/ sulogin@ chroot@ inittab passwd swap@ clri@ install@ path_to_inst swapadd@ crash@ ioctl.syscon path_to_inst.old sysdef@ cron@ iu.ap profile syslog.conf cron.d/ killall@ protocols@ syslog.pid datemsk labelit@ prtconf@ system dcopy@ lib/ prtvtoc@ tar@ default/ link@ publickey* telinit@ device.tab log@ pwck@ termcap@ devlink.tab logindevperm rc0@ tm/ dfs/ lp/ rc0.d/ ttydefs dgroup.tab magic rc1@ ttysrch driver_aliases mail/ rc1.d/ uadmin@ driver_classes minor_perm rc2@ umount@ dumpdates mkfs@ rc2.d/ umountall@ ff@ mknod@ rc3@ unlink@ fmthard@ mnttab rc3.d/ utmp@ format@ motd rc5@ utmppipe| format.dat mount@ rc6@ utmpx@ fs/ mountall@ rcS@ uucp/ fsck@ mvdir@ rcS.d/ vfstab fsdb@ name_to_major reboot@ volcopy@ fstyp@ name_to_sysnum remote vold.conf fuser@ ncheck@ rmmount.conf wall@ getty@ net/ rmt@ whodo@ group netconfig rpc wtmp@ grpck@ netmasks@ rpld.conf wtmpx@ halt@ networks@ saf/ onl7v1# オートマウントのためのファイルを設定する。 onl7v1# diff auto_home /etc/auto_home onl7v1# cp auto_kekfs /etc onl7v1# ls -l /etc/auto* -rw-r--r-- 1 root bin 50 May 15 14:27 /etc/auto_home -rw-r--r-- 1 root other 106 May 15 16:54 /etc/auto_kekfs -rw-r--r-- 1 root bin 94 May 15 14:28 /etc/auto_master lrwxrwxrwx 1 root root 16 May 15 14:27 /etc/autopush -> ../sbin/a utopush* onl7v1# chgrp bin /etc/auto_kekfs onl7v1# ls -l /etc/auto* -rw-r--r-- 1 root bin 50 May 15 14:27 /etc/auto_home -rw-r--r-- 1 root bin 106 May 15 16:54 /etc/auto_kekfs -rw-r--r-- 1 root bin 94 May 15 14:28 /etc/auto_master lrwxrwxrwx 1 root root 16 May 15 14:27 /etc/autopush -> ../sbin/a utopush* onl7v1# mv /etc/auto_master /etc/auto_master.org onl7v1# cp auto_master /etc onl7v1# ls -l /etc/auto_master* -rw-r--r-- 1 root other 126 May 15 16:57 /etc/auto_master -rw-r--r-- 1 root bin 94 May 15 14:28 /etc/auto_master.org onl7v1# chgrp bin /etc/auto_master onl7v1# ls -l /etc/auto_master* -rw-r--r-- 1 root bin 126 May 15 16:57 /etc/auto_master -rw-r--r-- 1 root bin 94 May 15 14:28 /etc/auto_master.org onl7v1# ---- (ここから) この部分は、後日 May 20,1998 に設定した onl7v1# ls -l / total 104 lrwxrwxrwx 1 root root 9 May 15 14:27 bin -> ./usr/bin/ drwxr-xr-x 3 root nobody 512 May 15 14:51 cdrom/ drwxrwxr-x 16 root sys 4096 May 19 15:29 dev/ drwxrwxr-x 5 root sys 512 May 15 14:47 devices/ drwxrwxr-x 24 root sys 3072 May 19 15:29 etc/ drwxrwxr-x 5 root sys 512 May 15 14:32 export/ dr-xr-xr-x 2 root root 2 May 20 10:38 home/ drwxr-xr-x 3 root root 512 May 15 14:47 home1/ drwxr-xr-x 3 root root 512 May 15 14:47 home2/ dr-xr-xr-x 2 root root 2 May 20 10:38 kekfs/ drwxr-xr-x 9 root sys 512 May 15 14:27 kernel/ lrwxrwxrwx 1 root root 9 May 15 14:27 lib -> ./usr/lib/ drwx------ 2 root root 8192 May 15 14:21 lost+found/ drwxrwxr-x 2 root sys 512 May 15 14:27 mnt/ dr-xr-xr-x 2 root root 2 May 20 10:38 net/ drwxrwxr-x 10 root sys 512 May 19 15:20 opt/ drwxr-xr-x 5 root sys 1024 May 15 14:28 platform/ dr-xr-xr-x 2 root root 16064 May 20 10:38 proc/ drwxrwxr-x 2 root sys 512 May 15 14:31 sbin/ drwxrwxrwt 3 sys sys 149 May 20 10:11 tmp/ drwxrwxr-x 29 root sys 1024 May 15 14:42 usr/ drwxrwxr-x 19 root sys 512 May 15 14:51 var/ drwxr-xr-x 2 root root 512 May 15 14:51 vol/ dr-xr-xr-x 2 root root 2 May 20 10:38 xfn/ onl7v1# ls -l /kekfs total 0 onl7v1# ln -s /kekfs/kek /kek onl7v1# ls -l / total 106 lrwxrwxrwx 1 root root 9 May 15 14:27 bin -> ./usr/bin/ drwxr-xr-x 3 root nobody 512 May 15 14:51 cdrom/ drwxrwxr-x 16 root sys 4096 May 19 15:29 dev/ drwxrwxr-x 5 root sys 512 May 15 14:47 devices/ drwxrwxr-x 24 root sys 3072 May 19 15:29 etc/ drwxrwxr-x 5 root sys 512 May 15 14:32 export/ dr-xr-xr-x 2 root root 2 May 20 10:42 home/ drwxr-xr-x 3 root root 512 May 15 14:47 home1/ drwxr-xr-x 3 root root 512 May 15 14:47 home2/ lrwxrwxrwx 1 root other 10 May 20 10:41 kek -> /kekfs/kek/ dr-xr-xr-x 2 root root 3 May 20 10:42 kekfs/ drwxr-xr-x 9 root sys 512 May 15 14:27 kernel/ lrwxrwxrwx 1 root root 9 May 15 14:27 lib -> ./usr/lib/ drwx------ 2 root root 8192 May 15 14:21 lost+found/ drwxrwxr-x 2 root sys 512 May 15 14:27 mnt/ dr-xr-xr-x 2 root root 2 May 20 10:42 net/ drwxrwxr-x 10 root sys 512 May 19 15:20 opt/ drwxr-xr-x 5 root sys 1024 May 15 14:28 platform/ dr-xr-xr-x 2 root root 16064 May 20 10:42 proc/ drwxrwxr-x 2 root sys 512 May 15 14:31 sbin/ drwxrwxrwt 3 sys sys 149 May 20 10:41 tmp/ drwxrwxr-x 29 root sys 1024 May 15 14:42 usr/ drwxrwxr-x 19 root sys 512 May 15 14:51 var/ drwxr-xr-x 2 root root 512 May 15 14:51 vol/ dr-xr-xr-x 2 root root 2 May 20 10:42 xfn/ onl7v1# ---- (ここまで) ドメイン名、ルータ名の設定 onl7v1# cp defaultdomain /etc onl7v1# cp defaultrouter /etc onl7v1# グループ名の設定 onl7v1# ls -l /etc/group* -rw-r--r-- 1 root sys 262 May 15 14:28 /etc/group onl7v1# mv /etc/group /etc/group.org onl7v1# cp group /etc onl7v1# ls -l /etc/group* -rw-r--r-- 1 root other 321 May 15 17:01 /etc/group -rw-r--r-- 1 root sys 262 May 15 14:28 /etc/group.org onl7v1# chgrp sys /etc/group onl7v1# ls -l /etc/group* -rw-r--r-- 1 root sys 321 May 15 17:01 /etc/group -rw-r--r-- 1 root sys 262 May 15 14:28 /etc/group.org onl7v1# hmeインターフェース名の設定 onl7v1# ls -l /etc/hostname* -rw-r--r-- 1 root root 7 May 15 14:47 /etc/hostname.le0 onl7v1# cp hostname.hme0 /etc onl7v1# ls -l /etc/hostname* -rw-r--r-- 1 root other 11 May 18 15:47 /etc/hostname.hme0 -rw-r--r-- 1 root root 7 May 15 14:47 /etc/hostname.le0 onl7v1# chgrp root /etc/hostname.hme0 onl7v1# ls -l /etc/hostname* -rw-r--r-- 1 root root 11 May 18 15:47 /etc/hostname.hme0 -rw-r--r-- 1 root root 7 May 15 14:47 /etc/hostname.le0 onl7v1# ノード名の設定 onl7v1# ls -l /etc/node* -rw-r--r-- 1 root root 7 May 15 14:47 /etc/nodename onl7v1# cat /etc/nodename onl7v1 onl7v1# nsswitch.confファイルの設定 onl7v1# ls -l /etc/nss* -rw-r--r-- 1 root sys 686 May 15 14:47 /etc/nsswitch.conf -rw-r--r-- 1 root sys 686 Oct 25 1995 /etc/nsswitch.files -rw-r--r-- 1 root sys 915 Oct 25 1995 /etc/nsswitch.nis -rw-r--r-- 1 root sys 1184 Oct 25 1995 /etc/nsswitch.nisplus onl7v1# mv /etc/nsswitch.conf /etc/nsswitch.conf.org onl7v1# cp nsswitch.conf /etc onl7v1# ls -l /etc/nss* -rw-r--r-- 1 root other 690 May 18 15:51 /etc/nsswitch.conf -rw-r--r-- 1 root sys 686 May 15 14:47 /etc/nsswitch.conf.org -rw-r--r-- 1 root sys 686 Oct 25 1995 /etc/nsswitch.files -rw-r--r-- 1 root sys 915 Oct 25 1995 /etc/nsswitch.nis -rw-r--r-- 1 root sys 1184 Oct 25 1995 /etc/nsswitch.nisplus onl7v1# chgrp sys /etc/nsswitch.conf onl7v1# ls -l /etc/nss* -rw-r--r-- 1 root sys 690 May 18 15:51 /etc/nsswitch.conf -rw-r--r-- 1 root sys 686 May 15 14:47 /etc/nsswitch.conf.org -rw-r--r-- 1 root sys 686 Oct 25 1995 /etc/nsswitch.files -rw-r--r-- 1 root sys 915 Oct 25 1995 /etc/nsswitch.nis -rw-r--r-- 1 root sys 1184 Oct 25 1995 /etc/nsswitch.nisplus onl7v1# oshadowファイルの設定 onl7v1# ls -l /etc/osh* No match onl7v1# cp oshadow /etc onl7v1# ls -l /etc/osh* -r-------- 1 root other 439 May 18 15:53 /etc/oshadow onl7v1# passwdファイルの設定 onl7v1# ls -l /etc/pass* -rw-r--r-- 1 root sys 403 May 15 14:51 /etc/passwd onl7v1# mv /etc/passwd /etc/passwd.org onl7v1# cp passwd /etc onl7v1# ls -l /etc/pass* -r-------- 1 root other 801 May 18 15:54 /etc/passwd -rw-r--r-- 1 root sys 403 May 15 14:51 /etc/passwd.org onl7v1# chgrp sys /etc/passwd onl7v1# ls -l /etc/pass* -r-------- 1 root sys 801 May 18 15:54 /etc/passwd -rw-r--r-- 1 root sys 403 May 15 14:51 /etc/passwd.org onl7v1# resolv.confファイルの設定 onl7v1# ls -l /etc/res* No match onl7v1# cp resolv.conf /etc onl7v1# ls -l /etc/resolv.conf* -rw-r--r-- 1 root other 109 May 18 15:55 /etc/resolv.conf onl7v1# shadowファイルの設定 onl7v1# ls -l /etc/sha* -r-------- 1 root sys 243 May 15 14:51 /etc/shadow onl7v1# mv /etc/shadow /etc/shadow.org onl7v1# cp shadow /etc onl7v1# ls -l /etc/sha* -r-------- 1 root other 437 May 18 15:56 /etc/shadow -r-------- 1 root sys 243 May 15 14:51 /etc/shadow.org onl7v1# chgrp sys /etc/shadow onl7v1# ls -l /etc/sha* -r-------- 1 root sys 437 May 18 15:56 /etc/shadow -r-------- 1 root sys 243 May 15 14:51 /etc/shadow.org onl7v1# vfstabファイルの設定 onl7v1# ls -l /etc/vfs* -rw-rw-r-- 1 root sys 590 May 15 14:47 /etc/vfstab onl7v1# mv /etc/vfstab /etc/vfstab.org onl7v1# cp vfstab /etc onl7v1# ls -l /etc/vfs* -rw-r--r-- 1 root other 590 May 18 15:59 /etc/vfstab -rw-rw-r-- 1 root sys 590 May 15 14:47 /etc/vfstab.org onl7v1# chgrp sys /etc/vfstab onl7v1# ls -l /etc/vfs* -rw-r--r-- 1 root sys 590 May 18 15:59 /etc/vfstab -rw-rw-r-- 1 root sys 590 May 15 14:47 /etc/vfstab.org onl7v1# hostsファイルの設定 onl7v1# pwd /mnt/onl7v1/inoue/etc-sol2.5/inet onl7v1# ls -l total 682 -rw-r--r-- 1 inoue kek 320224 May 15 09:37 hosts -r--r--r-- 1 inoue kek 76 May 15 09:37 hosts.org -r--r--r-- 1 inoue kek 4615 May 15 09:37 inetd.conf -r--r--r-- 1 inoue kek 592 May 15 09:37 netmasks -rw-r--r-- 1 inoue kek 396 May 15 09:37 networks -r--r--r-- 1 inoue kek 372 May 15 09:37 networks.org -r--r--r-- 1 inoue kek 499 May 15 09:37 protocols -r--r--r-- 1 inoue kek 2059 May 15 09:37 services onl7v1# ls -l /etc/inet total 24 -r--r--r-- 1 root sys 76 May 15 14:47 hosts -r--r--r-- 1 root sys 4615 May 15 14:27 inetd.conf -r--r--r-- 1 root sys 592 May 15 14:47 netmasks -r--r--r-- 1 root sys 372 May 15 14:27 networks -r--r--r-- 1 root sys 499 Oct 25 1995 protocols -r--r--r-- 1 root sys 2059 Oct 25 1995 services onl7v1# mv /etc/inet/hosts /etc/inet/hosts.org onl7v1# cp hosts /etc/inet onl7v1# ls -l /etc/inet/hosts* -rw-r--r-- 1 root other 320224 May 18 16:02 /etc/inet/hosts -r--r--r-- 1 root sys 76 May 15 14:47 /etc/inet/hosts.org onl7v1# chgrp sys /etc/inet/hosts onl7v1# chmod u-w /etc/inet/hosts onl7v1# ls -l /etc/inet/hosts* -r--r--r-- 1 root sys 320224 May 18 16:02 /etc/inet/hosts -r--r--r-- 1 root sys 76 May 15 14:47 /etc/inet/hosts.org onl7v1# networksファイルの設定 onl7v1# ls -l /etc/inet/networks* -r--r--r-- 1 root sys 372 May 15 14:27 /etc/inet/networks onl7v1# mv /etc/inet/networks /etc/inet/networks.org onl7v1# cp networks /etc/inet onl7v1# ls -l /etc/inet/networks* -rw-r--r-- 1 root other 396 May 18 16:05 /etc/inet/networks -r--r--r-- 1 root sys 372 May 15 14:27 /etc/inet/networks.org onl7v1# chgrp sys /etc/inet/networks onl7v1# chmod u-w /etc/inet/networks onl7v1# ls -l /etc/inet/networks* -r--r--r-- 1 root sys 396 May 18 16:05 /etc/inet/networks -r--r--r-- 1 root sys 372 May 15 14:27 /etc/inet/networks.org onl7v1# ここで、リブートする。 onl7v1# shutdown -i0 -g0 Shutdown started. Mon May 18 16:19:01 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl7v1 Mon May 18 16:19:04... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl7v1: RPC: Program not registered Changing to init state 0 - please wait onl7v1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. Stopping the syslog service. May 18 16:19:11 onl7v1 syslogd: going down on signal 15 nfs umount: /vol: not mounted May 18 16:19:18 /usr/sbin/vold[1682]: problem unmounting /vol; Interrupted syste m call The system is down. syncing file systems... [7] [1] done Program terminated Type help for more information ok ok boot -r 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: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.5 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1995, Sun Microsystems, Inc. configuring network interfaces: hme0 le0. Hostname: onl7v1 Configuring the /devices directory Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s4: is clean. /dev/rdsk/c0t3d0s3: is clean. /dev/rdsk/c0t3d0s7: is clean. Flushing routing table: add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv kerbd done. Setting netmask of hme0 to 255.255.252.0 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. 正常に立ち上がった。 onl7v1 console login: inoue Password: Sun Microsystems Inc. SunOS 5.5 Generic November 1995 Starting OpenWindows in 5 seconds (type Control-C to interrupt)^Conl7v1[33]% onl7v1[34]% ls -l total 52 drwxr-xr-x 6 inoue kek 512 Nov 10 1997 CAMAC/ drwxr-xr-x 2 inoue kek 512 Feb 26 10:38 FORCEv2.0.3/ drwxr-xr-x 6 inoue kek 512 Jan 16 15:48 FastEther/ drwxr-xr-x 3 inoue kek 512 Oct 8 1997 FastEther.old/ drwxr-xr-x 2 inoue kek 512 Oct 6 1997 Test/ drwxr-xr-x 3 inoue kek 512 Oct 27 1997 VME/ drwxr-xr-x 2 inoue kek 512 Dec 12 10:47 bin/ -rw------- 1 inoue kek 1857 Dec 26 15:11 mbox drwxr-xr-x 6 inoue kek 512 Oct 3 1997 onl7v1/ -rw-r--r-- 1 inoue kek 13569 Jan 8 14:27 out drwxr-xr-x 2 inoue kek 512 Dec 26 13:52 sendmail/ drwxr-xr-x 2 inoue kek 512 Oct 6 1997 wrk/ onl7v1[35]% 私のアカウントでログインは正常にできた。 onl7v1 のネットワーク設定をやる。 onl7v1# ifconfig -a lo0: flags=849 mtu 8232 inet 127.0.0.1 netmask ff000000 hme0: flags=863 mtu 1500 inet 130.87.217.113 netmask fffffc00 broadcast 130.87.219.255 ether 0:80:42:b:49:ba le0: flags=863 mtu 1500 inet 130.87.153.92 netmask fffffc00 broadcast 130.87.155.255 ether 0:80:42:b:49:ba onl7v1# netstat -rn Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 127.0.0.1 127.0.0.1 UH 0 0 lo0 130.87.216.0 130.87.217.113 U 2 0 hme0 130.87.152.0 130.87.153.92 U 3 2 le0 224.0.0.0 130.87.153.92 U 3 0 le0 default 130.87.152.1 UG 0 0 onl7v1# route delete net 130.87.216.0 130.87.217.113 delete net 130.87.216.0: gateway 130.87.217.113 onl7v1# route add host 130.87.217.112 130.87.217.113 0 add host 130.87.217.112: gateway 130.87.217.113 onl7v1# netstat -rn Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 127.0.0.1 127.0.0.1 UH 0 0 lo0 130.87.217.112 130.87.217.113 UH 2 0 hme0 130.87.152.0 130.87.153.92 U 3 2 le0 224.0.0.0 130.87.153.92 U 3 0 le0 default 130.87.152.1 UG 0 0 onl7v1# netstat -r Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- localhost localhost UH 0 0 lo0 onl5v4fast onl7v1fast UH 2 0 hme0 130.87.152.0 onl7v1 U 3 2 le0 BASE-ADDRESS.MCAST.NET onl7v1 U 3 0 le0 default ICCFG1 UG 0 0 onl7v1# (6). onl7v1 に VMEドライバをインストールする (7). onl7v1 に CAMACドライバをインストールして例題を実行する (8). onl7v1 の sendmail をバージョンアップする --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル