Jan 14,1998 onl7v1: Solaris 2.5 cc ドライバのテスト. Solaris2.5 システムのインストール --- システム・インストール#04 ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ (http://www-online.kek.jp/‾inoue/Machine/onl7v1/system-reinstall2.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). FORCE、SPARC CPU-7V で CAMAC シングル・アクション read/write は 正常に実行できた。 (B). CAMAC 割り込みは正常に実行できた。 (C). CAMAC ブロック転送を起動するとフリーズする。 最悪の事態では、 システムを壊してしまう。 (D). ブロック転送のテスト・プログラム cam2 を実行中にシステムが壊れて しまって boot できなくなった。 (E). Solaris2.5システムを upgrade で再度インストールし直したが、依然と して boot できない。 (2). ここでやるべきこと onl7v1 上の Solaris2.5システムを upgrade ではなくて initial を指定して フルインストールし直す。 (1). onl7v1 上の必要なファイルをバックアップする onl7v1 のディスクを onl5v4 のシステムにつないで、onl5v4 をブート する。 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. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0 le0. Hostname: onl5v4 Configuring the /devices directory vmeplus1 at VME1: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x0 and vme24d32 0x0 and vme32d32 0x0 CAMAC device driver V1.3x, 1991-1993 by Y.TAKEUCHI (T.I.T.) cc1 at VME1: vme16d16 0xff00 VME level 4 vector 0xff sparc ipl 7 vmemem6 at VME1: vme32d16 0x0 vmemem7 at VME1: vme16d16 0x0 vmemem8 at VME1: vme24d16 0x0 vmemem9 at VME1: vme32d32 0x0 vmemem10 at VME1: vme16d32 0x0 vmemem11 at VME1: vme24d32 0x0 vmectl1 at VME1 Configuring the /dev directory NOTICE: VME SYSFAIL (clr) not handled. Could not read symbolic link /dev/bd.off Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: 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 onl5v4 syslog service starting. Print services started. /dev/bd.off: not a serial device. bdconfig: no serial device configured. Run bdconfig interactively (no args). starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl5v4 console login: onl5v4 のネットワーク設定をやる。 onl5v4# ifconfig -a lo0: flags=849 mtu 8232 inet 127.0.0.1 netmask ff000000 hme0: flags=863 mtu 1500 inet 130.87.217.112 netmask fffffc00 broadcast 130.87.219.255 ether 0:80:42:b:49:ba le0: flags=863 mtu 1500 inet 130.87.153.49 netmask fffffc00 broadcast 130.87.155.255 ether 0:80:42:b:49:ba onl5v4# 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.112 U 2 1 hme0 130.87.152.0 130.87.153.49 U 3 4 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 3 onl5v4# route delete net 130.87.216.0 130.87.217.112 delete net 130.87.216.0: gateway 130.87.217.112 onl5v4# route add host 130.87.217.113 130.87.217.112 0 add host 130.87.217.113: gateway 130.87.217.112 onl5v4# 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.113 130.87.217.112 UH 2 0 hme0 130.87.152.0 130.87.153.49 U 3 4 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 3 onl5v4# netstat -r Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- localhost localhost UH 0 0 lo0 onl7v1fast onl5v4fast UH 2 0 hme0 130.87.152.0 onl5v4 U 3 4 le0 BASE-ADDRESS.MCAST.NET onl5v4 U 3 0 le0 default ICCFG1 UG 0 3 onl5v4# onl7v1 のディスクを onl5v4 のシステムにマウントして、必要な ファイルのバックアップをする。 onl5v4# ls -l /mnt total 0 onl5v4# mount /dev/dsk/c0t1d0s0 /mnt onl5v4# その前に、/etc/driver_classes をチェック。 onl5v4# cat /etc/driver_classes # # Copyright (c) 1992-1994, by Sun Microsystems, Inc. # All rights reserved. # #ident "@(#)driver_classes 1.14 95/01/17 SMI" esp scsi ncr scsi isp scsi fas scsi sbus sbus sbi sbus xbox sbus pci pci pci_pci pci VME vme onl5v4# cat /mnt/etc/driver_classes bpp SUNW,bpp pn SUNW,pn rootnex cpu-unit rootnex io-unit rootnex mem-unit cpu TI,TMS390Z55 dma espdma fd SUNW,fdtwo dbri SUNW,DBRId dbri SUNW,DBRIe dbri SUNW,DBRIf xbox SUNW,xbox sx SUNW,sx isp QLGC,isp isp SUNW,isp stc SUNW,sonl5v4# onl5v4 の/etc/driver_classes を onl7v1 にコピーしてみる。 後でもう一度ブートしてみる。 onl7v1 のディスクを onl5v4 のシステムにマウントして、必要な ファイルのバックアップをする。 /dev/dsk/c0t1d0s0 / /dev/dsk/c0t1d0s6 /usr /usr/local は /home1 以下に シンボリック・リンクしてある。 /dev/dsk/c0t1d0s7 /export/home /dev/dsk/c0t1d0s3 /home1 onl5v4# pwd /export/home/onl5v4/inoue/onl7v1-bak onl5v4# ls -l total 6 drwxr-xr-x 3 root other 512 Dec 24 11:17 etc/ drwxr-xr-x 5 root other 512 Nov 18 11:38 local/ drwxr-xr-x 8 root other 512 Nov 17 14:50 onl7v1/ onl5v4# onl5v4# umount /mnt ここで onl7v1用のディスクを元に戻して onl7v1 を再度ブートして みる。 onl5v4 console login: root Password: Dec 24 11:35:48 onl5v4 login: ROOT LOGIN /dev/console Last login: Wed Dec 24 11:18:37 on pts/1 Sun Microsystems Inc. SunOS 5.5 Generic November 1995 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# /usr/sbin/shutdown -i0 -g0 Shutdown started. Wed Dec 24 11:36:00 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Wed Dec 24 11:36:02... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged 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. Dec 24 11:36:10 onl5v4 syslogd: going down on signal 15 nfs umount: onl5v4:vold(pid223) server not responding: RPC: Program not registered Dec 24 11:36:18 cssd: Got sig#15, sending it to all CSes and exit Dec 24 11:36:18 /usr/sbin/vold[664]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... [9] [7] done Program terminated Type help for more information ok onl7v1 をブートしてみる。 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/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. 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. - Type help for more information ok NG. 立ち上がれない。 (2). onl7v1 にシステムをフルインストールする SPARC CPU-7V に onl7v1用のディスクと CD-ROMドライブをつないで パワーをオンする。 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. 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: 12/24/97 14:08 Year (4 digits) : 1997 Month (1-12) : 12 Day (1-31) : 24 Hour (0-23) : 14 Minute (0-59) : 08 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: 12/24/97 14:08: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 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 [ ] /mnt c0t3d0s3 2001 MB [ ] /home2 c0t3d0s4 2001 MB [ ] /opt c0t3d0s5 400 MB [ ] /mnt c0t3d0s6 300 MB [X] /mnt 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 - /mnt c0t3d0s7 3745 MB F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help Customize Disk: c0t3d0 Entry: Recommended: MB Minimum: 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 File S/ c0t3d0s0 124 MB 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 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 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... 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 done rebooting... 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. 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. 正常に立ち上がった。 (3). onl7v1 の各種設定をやる The system is ready. onl7v1 console login: root Password: Dec 24 15:22:54 onl7v1 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.5 Generic November 1995 # csh onl7v1# source /.cshrc /.cshrc: No such file or directory onl7v1# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 119703 14723 93010 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 15401 3231594 1% /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 104096 12 104084 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 onl7v1# ls -l /export/home total 20 drwxr-xr-x 2 root root 512 Nov 5 13:49 TT_DB drwx------ 2 root root 8192 Oct 14 15:14 lost+found drwxr-xr-x 8 root other 512 Nov 17 14:50 onl7v1 onl7v1# /export/home/onl7v1 の下は preserve されている。 ここで、onl7v1 のシステムから CD-ROMドライブをはずして再度 "boot -r" で 立ち上げる。 さらに、停止している onl5v4 も合わせて立ち上げる。 onl7v1# /usr/sbin/shutdown -i0 -g0 Shutdown started. Wed Dec 24 15:44:55 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl7v1 Wed Dec 24 15:44:57... 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. Dec 24 15:45:04 onl7v1 syslogd: going down on signal 15 nfs umount: onl7v1:vold(pid274) server not responding: RPC: Program not registered Dec 24 15:45:12 /usr/sbin/vold[453]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... [9] [2] done Program terminated Type help for more information ok onl7v1 のシステムから CD-ROMドライブをはずして再度 "boot -r" で 立ち上げる。 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. Initializing Memory - Type help for more information ok <-- ここで BREAKキーを押して止めた。 ok boot -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: 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. 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 は正常に立ち上がった。 onlsun1[153]% rlogin onl5v4 Last login: Wed Dec 24 10:50:34 from onlsun1 Sun Microsystems Inc. SunOS 5.5 Generic November 1995 onl5v4[33]% onl5v4 も正常に立ち上がった。 まず、onl5v4 側のネットワーク設定をやる。 onl5v4# ifconfig -a lo0: flags=849 mtu 8232 inet 127.0.0.1 netmask ff000000 hme0: flags=863 mtu 1500 inet 130.87.217.112 netmask fffffc00 broadcast 130.87.219.255 ether 0:80:42:b:2d:5c le0: flags=863 mtu 1500 inet 130.87.153.49 netmask fffffc00 broadcast 130.87.155.255 ether 0:80:42:b:2d:5c onl5v4# 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.112 U 2 1 hme0 130.87.152.0 130.87.153.49 U 3 4 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 3 onl5v4# route delete net 130.87.216.0 130.87.217.112 delete net 130.87.216.0: gateway 130.87.217.112 onl5v4# route add host 130.87.217.113 130.87.217.112 0 add host 130.87.217.113: gateway 130.87.217.112 onl5v4# 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.113 130.87.217.112 UH 2 0 hme0 130.87.152.0 130.87.153.49 U 3 4 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 3 onl5v4# netstat -r Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- localhost localhost UH 0 0 lo0 onl7v1fast onl5v4fast UH 2 0 hme0 130.87.152.0 onl5v4 U 3 4 le0 BASE-ADDRESS.MCAST.NET onl5v4 U 3 0 le0 default ICCFG1 UG 0 3 onl5v4# 続いて、onl7v1 の各種設定をやる。 onl7v1# pwd / onl7v1# ls -l .??* No match onl7v1# ftp 130.87.153.49 Connected to 130.87.153.49. 220 onl5v4 FTP server (UNIX(r) System V Release 4.0) ready. Name (130.87.153.49:root): inoue 331 Password required for inoue. Password: 230 User inoue logged in. ftp> cd / 250 CWD command successful. ftp> dir .??* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32777) (0 bytes). -rw-r--r-- 1 root other 244 Oct 30 1996 .cshrc -rw-r--r-- 1 root other 575 Oct 25 1996 .login -rw-r--r-- 1 root other 560 Oct 25 1996 .profile -rw-r--r-- 1 root other 213 Oct 28 1996 .rhosts 226 ASCII Transfer complete. remote: .??* 251 bytes received in 0.033 seconds (7.5 Kbytes/s) ftp> get .cshrc 200 PORT command successful. 150 ASCII data connection for .cshrc (130.87.153.92,32778) (244 bytes). 226 ASCII Transfer complete. local: .cshrc remote: .cshrc 255 bytes received in 0.02 seconds (13 Kbytes/s) ftp> get .login 200 PORT command successful. 150 ASCII data connection for .login (130.87.153.92,32779) (575 bytes). 226 ASCII Transfer complete. local: .login remote: .login 601 bytes received in 0.012 seconds (51 Kbytes/s) ftp> get .profile 200 PORT command successful. 150 ASCII data connection for .profile (130.87.153.92,32780) (560 bytes). 226 ASCII Transfer complete. local: .profile remote: .profile 590 bytes received in 0.02 seconds (28 Kbytes/s) ftp> get .rhosts 200 PORT command successful. 150 ASCII data connection for .rhosts (130.87.153.92,32781) (213 bytes). 226 ASCII Transfer complete. local: .rhosts remote: .rhosts 231 bytes received in 0.012 seconds (19 Kbytes/s) ftp> quit 221 Goodbye. onl7v1# source .login onl7v1# source .cshrc onl7v1# pwd / onl7v1# cd /etc onl7v1# onl5v4[40]% pwd /export/home/onl5v4/inoue/onl7v1-bak/etc onl5v4[41]% ls -l total 30 -rw-r--r-- 1 root other 106 Dec 24 10:54 auto_kekfs -rw-r--r-- 1 root other 7 Dec 24 10:56 defaultdomain -rw-r--r-- 1 root other 7 Dec 24 10:57 defaultrouter -rw-r--r-- 1 root other 321 Dec 24 10:59 group -rw-r--r-- 1 root other 11 Dec 24 11:00 hostname.hme0 -rw-r--r-- 1 root other 7 Dec 24 11:00 hostname.le0 drwxr-xr-x 2 root other 512 Dec 24 11:11 inet/ -rw-r--r-- 1 root other 690 Dec 24 11:14 nsswitch.conf -r-------- 1 root other 439 Dec 24 11:14 oshadow -r--r--r-- 1 root other 801 Dec 24 11:15 passwd -rw-r--r-- 1 root other 109 Dec 24 11:15 resolv.conf -r-------- 1 root other 437 Dec 24 11:16 shadow -rw-r--r-- 1 root other 1884 Dec 24 11:16 system -rw-r--r-- 1 root other 590 Dec 24 11:17 vfstab onl5v4[42]% onl7v1# ftp 130.87.153.49 Connected to 130.87.153.49. 220 onl5v4 FTP server (UNIX(r) System V Release 4.0) ready. Name (130.87.153.49:root): inoue 331 Password required for inoue. Password: 230 User inoue logged in. ftp> cd onl7v1-bak/etc 250 CWD command successful. ftp> dir 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32783) (0 bytes). total 30 -rw-r--r-- 1 root other 106 Dec 24 10:54 auto_kekfs -rw-r--r-- 1 root other 7 Dec 24 10:56 defaultdomain -rw-r--r-- 1 root other 7 Dec 24 10:57 defaultrouter -rw-r--r-- 1 root other 321 Dec 24 10:59 group -rw-r--r-- 1 root other 11 Dec 24 11:00 hostname.hme0 -rw-r--r-- 1 root other 7 Dec 24 11:00 hostname.le0 drwxr-xr-x 2 root other 512 Dec 24 11:11 inet -rw-r--r-- 1 root other 690 Dec 24 11:14 nsswitch.conf -r-------- 1 root other 439 Dec 24 11:14 oshadow -r--r--r-- 1 root other 801 Dec 24 11:15 passwd -rw-r--r-- 1 root other 109 Dec 24 11:15 resolv.conf -r-------- 1 root other 437 Dec 24 11:16 shadow -rw-r--r-- 1 root other 1884 Dec 24 11:16 system -rw-r--r-- 1 root other 590 Dec 24 11:17 vfstab 226 ASCII Transfer complete. 919 bytes received in 0.056 seconds (16 Kbytes/s) ftp> !ls -l au* -rw-r--r-- 1 root bin 50 Dec 24 14:54 auto_home -rw-r--r-- 1 root bin 94 Dec 24 14:55 auto_master lrwxrwxrwx 1 root root 16 Dec 24 14:54 autopush -> ../sbin/autopush ftp> get auto_kekfs 200 PORT command successful. 150 ASCII data connection for auto_kekfs (130.87.153.92,32784) (106 bytes). 226 ASCII Transfer complete. local: auto_kekfs remote: auto_kekfs 108 bytes received in 0.021 seconds (5 Kbytes/s) ftp> dir d* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32785) (0 bytes). -rw-r--r-- 1 root other 7 Dec 24 10:56 defaultdomain -rw-r--r-- 1 root other 7 Dec 24 10:57 defaultrouter 226 ASCII Transfer complete. remote: d* 138 bytes received in 0.033 seconds (4.1 Kbytes/s) ftp> !ls -l defaultdomain defaultdomain: No such file or directory ftp> get defaultdomain 200 PORT command successful. 150 ASCII data connection for defaultdomain (130.87.153.92,32786) (7 bytes). 226 ASCII Transfer complete. local: defaultdomain remote: defaultdomain 8 bytes received in 0.013 seconds (0.61 Kbytes/s) ftp> !ls -l defaultrouter defaultrouter: No such file or directory ftp> get defaultrouter 200 PORT command successful. 150 ASCII data connection for defaultrouter (130.87.153.92,32787) (7 bytes). 226 ASCII Transfer complete. local: defaultrouter remote: defaultrouter 8 bytes received in 0.013 seconds (0.6 Kbytes/s) ftp> !ls g* getty group grpck ftp> !ls -l group -rw-r--r-- 1 root sys 262 Dec 24 14:55 group ftp> !mv group group.org ftp> get group 200 PORT command successful. 150 ASCII data connection for group (130.87.153.92,32788) (321 bytes). 226 ASCII Transfer complete. local: group remote: group 338 bytes received in 0.013 seconds (26 Kbytes/s) ftp> !ls -l g* lrwxrwxrwx 1 root root 21 Dec 24 14:54 getty -> ../usr/lib/saf/ttymon -rw-r--r-- 1 root other 321 Dec 24 16:42 group -rw-r--r-- 1 root sys 262 Dec 24 14:55 group.org lrwxrwxrwx 1 root root 17 Dec 24 14:54 grpck -> ../usr/sbin/grpck ftp> !chgrp sys group ftp> !ls -l g* lrwxrwxrwx 1 root root 21 Dec 24 14:54 getty -> ../usr/lib/saf/ttymon -rw-r--r-- 1 root sys 321 Dec 24 16:42 group -rw-r--r-- 1 root sys 262 Dec 24 14:55 group.org lrwxrwxrwx 1 root root 17 Dec 24 14:54 grpck -> ../usr/sbin/grpck ftp> dir h* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32789) (0 bytes). -rw-r--r-- 1 root other 11 Dec 24 11:00 hostname.hme0 -rw-r--r-- 1 root other 7 Dec 24 11:00 hostname.le0 226 ASCII Transfer complete. remote: h* 137 bytes received in 0.07 seconds (1.9 Kbytes/s) ftp> !ls -l hostname* -rw-r--r-- 1 root root 7 Dec 24 15:14 hostname.le0 ftp> get hostname.hme0 200 PORT command successful. 150 ASCII data connection for hostname.hme0 (130.87.153.92,32790) (11 bytes). 226 ASCII Transfer complete. local: hostname.hme0 remote: hostname.hme0 12 bytes received in 0.022 seconds (0.53 Kbytes/s) ftp> !ls -l hostname* -rw-r--r-- 1 root other 11 Dec 24 16:45 hostname.hme0 -rw-r--r-- 1 root root 7 Dec 24 15:14 hostname.le0 ftp> !chgrp root hostname.hme0 ftp> !ls -l hostname* -rw-r--r-- 1 root root 11 Dec 24 16:45 hostname.hme0 -rw-r--r-- 1 root root 7 Dec 24 15:14 hostname.le0 ftp> dir n* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32791) (0 bytes). -rw-r--r-- 1 root other 690 Dec 24 11:14 nsswitch.conf 226 ASCII Transfer complete. remote: n* 69 bytes received in 0.056 seconds (1.2 Kbytes/s) ftp> !ls -l nsswitch.* -rw-r--r-- 1 root sys 686 Dec 24 15:14 nsswitch.conf -rw-r--r-- 1 root sys 686 Oct 25 1995 nsswitch.files -rw-r--r-- 1 root sys 915 Oct 25 1995 nsswitch.nis -rw-r--r-- 1 root sys 1184 Oct 25 1995 nsswitch.nisplus ftp> !mv nsswitch.conf nsswitch.conf.org ftp> get nsswitch.conf 200 PORT command successful. 150 ASCII data connection for nsswitch.conf (130.87.153.92,32792) (690 bytes). 226 ASCII Transfer complete. local: nsswitch.conf remote: nsswitch.conf 716 bytes received in 0.022 seconds (32 Kbytes/s) ftp> !chgrp sys nsswitch.conf ftp> !ls -l nsswitch.* -rw-r--r-- 1 root sys 690 Dec 24 16:49 nsswitch.conf -rw-r--r-- 1 root sys 686 Dec 24 15:14 nsswitch.conf.org -rw-r--r-- 1 root sys 686 Oct 25 1995 nsswitch.files -rw-r--r-- 1 root sys 915 Oct 25 1995 nsswitch.nis -rw-r--r-- 1 root sys 1184 Oct 25 1995 nsswitch.nisplus ftp> dir oshadow* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32796) (0 bytes). -r-------- 1 root other 439 Dec 24 11:14 oshadow 226 ASCII Transfer complete. remote: oshadow* 63 bytes received in 0.038 seconds (1.6 Kbytes/s) ftp> !ls -l oshadow* oshadow*: No such file or directory ftp> get oshadow 200 PORT command successful. 550 oshadow: Permission denied. ftp> onl5v4# chmod go+r oshadow onl5v4# ftp> get oshadow 200 PORT command successful. 150 ASCII data connection for oshadow (130.87.153.92,32799) (439 bytes). 226 ASCII Transfer complete. local: oshadow remote: oshadow 457 bytes received in 0.022 seconds (20 Kbytes/s) ftp> !ls -l oshadow* -rw-r--r-- 1 root other 439 Dec 24 16:57 oshadow ftp> !chmod go-r,u-w oshadow ftp> !ls -l oshadow* -r-------- 1 root other 439 Dec 24 16:57 oshadow ftp> dir pas* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32800) (0 bytes). -r--r--r-- 1 root other 801 Dec 24 11:15 passwd 226 ASCII Transfer complete. remote: pas* 62 bytes received in 0.037 seconds (1.6 Kbytes/s) ftp> get passwd 200 PORT command successful. 150 ASCII data connection for passwd (130.87.153.92,32801) (801 bytes). 226 ASCII Transfer complete. local: passwd remote: passwd 819 bytes received in 0.017 seconds (48 Kbytes/s) ftp> !ls -l passwd* -rw-r--r-- 1 root sys 801 Dec 24 17:01 passwd ftp> !ls -l resolv.conf* resolv.conf*: No such file or directory ftp> get resolv.conf 200 PORT command successful. 150 ASCII data connection for resolv.conf (130.87.153.92,32802) (109 bytes). 226 ASCII Transfer complete. local: resolv.conf remote: resolv.conf 114 bytes received in 0.022 seconds (5 Kbytes/s) ftp> !ls -l resolv.conf* -rw-r--r-- 1 root other 109 Dec 24 17:03 resolv.conf ftp> dir shadow* 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32803) (0 bytes). -r-------- 1 root other 437 Dec 24 11:16 shadow 226 ASCII Transfer complete. remote: shadow* 62 bytes received in 0.04 seconds (1.5 Kbytes/s) ftp> !ls -l shadow* -r-------- 1 root sys 243 Dec 24 15:18 shadow ftp> !mv shadow shadow.org ftp> get shadow 200 PORT command successful. 550 shadow: Permission denied. ftp> onl5v4# chmod go+r shadow onl5v4# ftp> get shadow 200 PORT command successful. 150 ASCII data connection for shadow (130.87.153.92,32812) (437 bytes). 226 ASCII Transfer complete. local: shadow remote: shadow 455 bytes received in 0.022 seconds (20 Kbytes/s) ftp> !ls -l shadow* -rw-r--r-- 1 root other 904 Dec 25 10:38 shadow -r-------- 1 root sys 243 Dec 24 15:18 shadow.org ftp> !chmod u-w,go-r shadow ftp> !chgrp sys shadow ftp> !ls -l shadow* -r-------- 1 root sys 904 Dec 25 10:38 shadow -r-------- 1 root sys 243 Dec 24 15:18 shadow.org ftp> dir 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32815) (0 bytes). total 30 -rw-r--r-- 1 root other 106 Dec 24 10:54 auto_kekfs -rw-r--r-- 1 root other 7 Dec 24 10:56 defaultdomain -rw-r--r-- 1 root other 7 Dec 24 10:57 defaultrouter -rw-r--r-- 1 root other 321 Dec 24 10:59 group -rw-r--r-- 1 root other 11 Dec 24 11:00 hostname.hme0 -rw-r--r-- 1 root other 7 Dec 24 11:00 hostname.le0 drwxr-xr-x 2 root other 512 Dec 24 11:11 inet -rw-r--r-- 1 root other 690 Dec 24 11:14 nsswitch.conf -r--r--r-- 1 root other 439 Dec 24 11:14 oshadow -r--r--r-- 1 root other 801 Dec 24 11:15 passwd -rw-r--r-- 1 root other 109 Dec 24 11:15 resolv.conf -r--r--r-- 1 root other 437 Dec 24 11:16 shadow -rw-r--r-- 1 root other 1884 Dec 24 11:16 system -rw-r--r-- 1 root other 590 Dec 24 11:17 vfstab 226 ASCII Transfer complete. 919 bytes received in 0.057 seconds (16 Kbytes/s) ftp> cd inet 250 CWD command successful. ftp> dir 200 PORT command successful. 150 ASCII data connection for /bin/ls (130.87.153.92,32816) (0 bytes). total 682 -r--r--r-- 1 root other 320224 Dec 24 11:11 hosts -r--r--r-- 1 root other 76 Dec 24 11:11 hosts.org -r--r--r-- 1 root other 4615 Dec 24 11:11 inetd.conf -r--r--r-- 1 root other 592 Dec 24 11:11 netmasks -rw-r--r-- 1 root other 400 Dec 24 11:11 networks -r--r--r-- 1 root other 372 Dec 24 11:11 networks.org -r--r--r-- 1 root other 499 Dec 24 11:11 protocols -r--r--r-- 1 root other 2059 Dec 24 11:11 services 226 ASCII Transfer complete. 528 bytes received in 0.045 seconds (12 Kbytes/s) ftp> lcd inet Local directory now /etc/inet ftp> !ls -l total 24 -r--r--r-- 1 root sys 76 Dec 24 15:14 hosts -r--r--r-- 1 root sys 4615 Dec 24 14:54 inetd.conf -r--r--r-- 1 root sys 592 Dec 24 15:14 netmasks -r--r--r-- 1 root sys 372 Dec 24 14:54 networks -r--r--r-- 1 root sys 499 Oct 25 1995 protocols -r--r--r-- 1 root sys 2059 Oct 25 1995 services ftp> !mv hosts hosts.org ftp> get hosts 200 PORT command successful. 150 ASCII data connection for hosts (130.87.153.92,32817) (320224 bytes). 226 ASCII Transfer complete. local: hosts remote: hosts 326366 bytes received in 0.68 seconds (4.7e+02 Kbytes/s) ftp> !ls -l hosts* -rw-r--r-- 1 root other 320224 Dec 25 10:46 hosts -r--r--r-- 1 root sys 76 Dec 24 15:14 hosts.org ftp> !chgrp sys hosts ftp> !ls -l hosts* -rw-r--r-- 1 root sys 320224 Dec 25 10:46 hosts -r--r--r-- 1 root sys 76 Dec 24 15:14 hosts.org ftp> !mv networks networks.org ftp> get networks 200 PORT command successful. 150 ASCII data connection for networks (130.87.153.92,32819) (400 bytes). 226 ASCII Transfer complete. local: networks remote: networks 418 bytes received in 0.024 seconds (17 Kbytes/s) ftp> !ls -l networks* -rw-r--r-- 1 root other 519 Dec 25 10:50 networks -r--r--r-- 1 root sys 372 Dec 24 14:54 networks.org ftp> !chgrp sys networks ftp> !ls -l networks* -rw-r--r-- 1 root sys 519 Dec 25 10:50 networks -r--r--r-- 1 root sys 372 Dec 24 14:54 networks.org ftp> quit 221 Goodbye. onl7v1# ここで、リブートする。 onl7v1# reboot Dec 25 10:53:44 onl7v1 reboot: rebooted by root Dec 25 10:53:45 onl7v1 syslogd: going down on signal 15 Dec 25 10:53:45 rpcbind: rpcbind terminating on signal. Dec 25 10:53:46 /usr/sbin/vold[699]: problem unmounting /vol; No such file or director y syncing file systems... [1] done rebooting... 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: 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: hme0 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. 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: root onl7v1 console login: root onl7v1 console login: ログインできなくなってしまった。 SPARC CPU-7V の RESETスイッチを押した。 onl7v1 console login: 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. Initializing Memory - Type help for more information ok ok boot -sw Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: -sw 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 INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal startup, INIT: New run level: 3 The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is stable. /dev/rdsk/c0t3d0s4: is stable. /dev/rdsk/c0t3d0s3: is stable. /dev/rdsk/c0t3d0s7: is stable. 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: onl7v1 console login: root onl7v1 console login: onl7v1 console login: Type 'go' to resume ok <--- BREAKキーを押して止めた。 onl5v4 のシステムに onl7v1用のディスクをつないで /etc の下を修正しよう。 onl7v1 console login: Type 'go' to resume Type help for more information ok onl5v4 console login: onl5v4 console login: root Password: Dec 25 14:09:43 onl5v4 login: ROOT LOGIN /dev/console Last login: Wed Dec 24 11:35:48 on console Sun Microsystems Inc. SunOS 5.5 Generic November 1995 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# /usr/sbin/shutdown -i0 -g0 Shutdown started. Thu Dec 25 14:10:13 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Thu Dec 25 14:10:14... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged 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. Dec 25 14:10:21 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 25 14:10:28 cssd: Got sig#15, sending it to all CSes and exit Dec 25 14:10:28 /usr/sbin/vold[437]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... [8] [4] done Program terminated Type help for more information ok onl7v1用のディスクの SCSI ID を "1" にして onl5v4 のシステムにつないだ。 ここで onl5v4 をブートする。 ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. 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. NOTICE: VME SYSFAIL (clr) not handled. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0 le0. Hostname: onl5v4 Configuring the /devices directory vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x0 and vme24d32 0x0 and vme32d32 0x0 CAMAC device driver V1.3x, 1991-1993 by Y.TAKEUCHI (T.I.T.) cc0 at VME0: vme16d16 0xff00 VME level 4 vector 0xff sparc ipl 7 vmemem0 at VME0: vme32d16 0x0 vmemem1 at VME0: vme16d16 0x0 vmemem2 at VME0: vme24d16 0x0 vmemem3 at VME0: vme32d32 0x0 vmemem4 at VME0: vme16d32 0x0 vmemem5 at VME0: vme24d32 0x0 vmectl0 at VME0 Configuring the /dev directory Could not read symbolic link /dev/bd.off Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: 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 onl5v4 syslog service starting. Print services started. /dev/bd.off: not a serial device. bdconfig: no serial device configured. Run bdconfig interactively (no args). starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl5v4 console login: ok. 正常に立ち上がった。 onl5v4 のネットワーク設定をやる。 onl5v4# 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.112 U 2 1 hme0 130.87.152.0 130.87.153.49 U 3 4 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 5 onl5v4# route delete net 130.87.216.0 130.87.217.112 delete net 130.87.216.0: gateway 130.87.217.112 onl5v4# route add host 130.87.217.113 130.87.217.112 0 add host 130.87.217.113: gateway 130.87.217.112 onl5v4# 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.113 130.87.217.112 UH 2 0 hme0 130.87.152.0 130.87.153.49 U 3 4 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 5 onl5v4# onl7v1用のディスクを /mnt にマウントする。 onl5v4# ls -l /mnt total 0 onl5v4# mount /dev/dsk/c0t1d0s0 /mnt onl5v4# cd /mnt/etc onl5v4# pwd /mnt/etc onl5v4# cat shadow total 30 -rw-r--r-- 1 root other 106 Dec 24 10:54 auto_kekfs -rw-r--r-- 1 root other 7 Dec 24 10:56 defaultdomain -rw-r--r-- 1 root other 7 Dec 24 10:57 defaultrouter -rw-r--r-- 1 root other 321 Dec 24 10:59 group -rw-r--r-- 1 root other 11 Dec 24 11:00 hostname.hme0 -rw-r--r-- 1 root other 7 Dec 24 11:00 hostname.le0 drwxr-xr-x 2 root other 512 Dec 24 11:11 inet -rw-r--r-- 1 root other 690 Dec 24 11:14 nsswitch.conf -r--r--r-- 1 root other 439 Dec 24 11:14 oshadow -r--r--r-- 1 root other 801 Dec 24 11:15 passwd -rw-r--r-- 1 root other 109 Dec 24 11:15 resolv.conf -r--r--r-- 1 root other 437 Dec 24 11:16 shadow -rw-r--r-- 1 root other 1884 Dec 24 11:16 system -rw-r--r-- 1 root other 590 Dec 24 11:17 vfstab onl5v4# なんだこれは。 shadowファイルを作り直す。 onl5v4# cp /export/home/onl5v4/inoue/onl7v1-bak/etc/shadow . onl5v4# cd / onl5v4# umount /mnt onl5v4# これで、onl7v1 および onl5v4 を立ち上げ直す。 onl5v4# /usr/sbin/shutdown -i0 -g0 Shutdown started. Thu Dec 25 14:42:54 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Thu Dec 25 14:42:55... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged Changing to init state 0 - please wait onl5v4# 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. Dec 25 14:43:02 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 25 14:43:08 cssd: Got sig#15, sending it to all CSes and exit Dec 25 14:43:09 /usr/sbin/vold[467]: problem unmounting /vol; No such file or director y The system is down. syncing file systems... [7] [4] done Program terminated Type help for more information ok onl7v1用のディスクをつなぎ直す。 そして "boot -r" を実行する。 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. Initializing Memory - Type help for more information ok 重要なことではないが、ここでは次の手順で onl7v1 と onl5v4 を立ち上げる ことにした。 現在1つのクレート上に2枚の SPARCボードが差して ある。 onl7v1 がスロット#1で、onl5v4 がスロット#3に差してある。 したがって onl7v1 を立ち上げてしまうと 同時に onl5v4 も立ち上がって しまう。 この時、onl5v4 は "boot -r" ではなくて "boot" で立ち上がって しまう。 ここでは、ハードウェアの接続変更後のブートなので、一度は "boot -r" をやっておきたい。 そこで、onl7v1 と onl5v4 の両方を モニターのプロンプトの状態にしてやる。 続いて、onl5v4 のみを "boot -r" で起動し立ち上がったところで、シャットダウンする。 そして、onl7v1 を "boot -r" で起動する、この時、onl5v4 は "boot" で立ち上がるが、先に 一度 "boot -r" で起動してあるから気にしない。 これで、onl7v1 も onl5v4 もハードウェアの接続変更後の状態を反映していることになる。 ここで、BREAKキーを押して onl7v1 の立ち上げを中断した。 コンソールを onl5v4 につなぎ換えて、onl5v4 の立ち上げも中断する。 ok screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. Initializing Memory / Type help for more information ok <--- onl5v4 の立ち上げを中断した。 onl5v4 を "boot -r" で立ち上げる。 ok boot -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: -r syslog service starting. Print services started. /dev/bd.off: not a serial device. bdconfig: no serial device configured. Run bdconfig interactively (no args). starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl5v4 console login: root Password: Dec 25 14:51:32 onl5v4 login: ROOT LOGIN /dev/console Last login: Thu Dec 25 14:24:56 on console Sun Microsystems Inc. SunOS 5.5 Generic November 1995 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# /usr/sbin/shutdwon -i0 -g0 /usr/sbin/shutdwon: not found # /usr/sbin/shutdown -i0 -g0 Shutdown started. Thu Dec 25 14:52:05 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Thu Dec 25 14:52:07... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged 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. Dec 25 14:52:14 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 25 14:52:20 cssd: Got sig#15, sending it to all CSes and exit Dec 25 14:52:20 /usr/sbin/vold[397]: problem unmounting /vol; No such file or director y The system is down. syncing file systems... [8] [5] done Program terminated ok onl5v4 を一旦シャットダウンした。 コンソールを onl7v1 につなぎ換えて、onl7v1 を "boot -r" で立ち上げる。 ok boot -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 stable. /dev/rdsk/c0t3d0s4: is stable. /dev/rdsk/c0t3d0s3: is stable. /dev/rdsk/c0t3d0s7: is stable. 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: onl7v1 console login: root Password: Dec 25 17:01:31 onl7v1 login: ROOT LOGIN /dev/console Last login: Wed Dec 24 16:25:31 on console Sun Microsystems Inc. SunOS 5.5 Generic November 1995 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# ok. 今度はログインできた。 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 1 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# コンソールを onl5v4 つなぎ換える。 onl7v1 console login: ok ok onl5v4 は立ち上がっていない。 onl7v1 と一緒に立ち上がらなかったようだ。 onl5v4 を立ち上げる。 ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. 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. NOTICE: VME SYSFAIL (clr) not handled. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0 le0. Hostname: onl5v4 Configuring the /devices directory vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x0 and vme24d32 0x0 and vme32d32 0x0 CAMAC device driver V1.3x, 1991-1993 by Y.TAKEUCHI (T.I.T.) cc0 at VME0: vme16d16 0xff00 VME level 4 vector 0xff sparc ipl 7 vmemem0 at VME0: vme32d16 0x0 vmemem1 at VME0: vme16d16 0x0 vmemem2 at VME0: vme24d16 0x0 vmemem3 at VME0: vme32d32 0x0 vmemem4 at VME0: vme16d32 0x0 vmemem5 at VME0: vme24d32 0x0 vmectl0 at VME0 Configuring the /dev directory Could not read symbolic link /dev/bd.off Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: 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 onl5v4 syslog service starting. Print services started. /dev/bd.off: not a serial device. bdconfig: no serial device configured. Run bdconfig interactively (no args). starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl5v4 console login: ok. 正常に立ち上がった。 onl5v4 のネットワーク設定をやる。 onl5v4# ifconfig -a lo0: flags=849 mtu 8232 inet 127.0.0.1 netmask ff000000 hme0: flags=863 mtu 1500 inet 130.87.217.112 netmask fffffc00 broadcast 130.87.219.255 ether 0:80:42:b:2d:5c le0: flags=863 mtu 1500 inet 130.87.153.49 netmask fffffc00 broadcast 130.87.155.255 ether 0:80:42:b:2d:5c onl5v4# 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.112 U 2 0 hme0 130.87.152.0 130.87.153.49 U 3 2 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 2 onl5v4# route delete net 130.87.216.0 130.87.217.112 delete net 130.87.216.0: gateway 130.87.217.112 onl5v4# route add host 130.87.217.113 130.87.217.112 0 add host 130.87.217.113: gateway 130.87.217.112 onl5v4# 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.113 130.87.217.112 UH 2 0 hme0 130.87.152.0 130.87.153.49 U 3 2 le0 224.0.0.0 130.87.153.49 U 3 0 le0 default 130.87.152.1 UG 0 2 onl5v4# netstat -r Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- localhost localhost UH 0 0 lo0 onl7v1fast onl5v4fast UH 2 0 hme0 130.87.152.0 onl5v4 U 3 2 le0 BASE-ADDRESS.MCAST.NET onl5v4 U 3 0 le0 default ICCFG1 UG 0 2 onl5v4# (4). onl7v1 の sendmail をバージョンアップする (5). onl7v1 に VMEドライバをインストールする (6). onl7v1 に hmeドライバをインストールする