Mar 4,1998 onl7v1: Solaris 2.5.1 cc ドライバのテスト. Solaris2.5.1 システムのインストール --- システム・パッチ をあてる#04 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/Machine/onl7v1/ Solaris2.5.1/system-install4.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). Solaris2.5.1 が届いた。 (B). Solaris2.5.1 のシステムをインストールした。 (C). /etc の下の各設定、および /export/home のリストアをやった。 (D). sendmail のバージョン・アップをやった。 (2). ここでやるべきこと Solaris2.5.1 にシステム・パッチをあてる。 (3). onl5v4、onl7v1 のシステムをシャットダウンする onl5v4 をシャットダウンする。 onl5v4 console login: root Password: Mar 3 09:27:51 onl5v4 su: 'su root' succeeded for inoue on /dev/pts/0 Last login: Tue Mar 3 09:27:51 on pts/0 Mar 3 09:28:35 onl5v4 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # # /usr/sbin/shutdown -i0 -g0 Shutdown started. Tue Mar 3 09:28:46 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Tue Mar 3 09:28:48... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl5v4: 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. Mar 3 09:28:55 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Mar 3 09:29:01 cssd: Got sig#15, sending it to all CSes and exit Mar 3 09:29:01 /usr/sbin/vold[969]: problem unmounting /vol; No such device or addres s The system is down. syncing file systems... done Program terminated Type help for more information ok onl7v1 をシャットダウンする。 onl7v1 console login: root Password: Mar 3 09:31:41 onl7v1 login: ROOT LOGIN /dev/console Last login: Mon Mar 2 15:21:14 on console Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # /usr/sbin/shutdown -i0 -g0 Shutdown started. Tue Mar 3 09:31:52 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl7v1 Tue Mar 3 09:31:54... 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. Mar 3 09:32:01 onl7v1 syslogd: going down on signal 15 nfs umount: onl7v1:vold(pid214) server not responding: RPC: Program not registered Mar 3 09:32:08 cssd: Got sig#15, sending it to all CSes and exit Mar 3 09:32:08 /usr/sbin/vold[931]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... done Program terminated Type help for more information ok (4). onl7v1 をシングル・ユーザ・モードで起動する ok boot -sr 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: -sr Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: -sr SunOS Release 5.5.1 Version Generic_103640-12 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1996, Sun Microsystems, Inc. configuring network interfaces: hme0 le0. Hostname: onl7v1 Configuring the /devices directory Configuring the /dev directory Configuring the /dev directory (compatibility devices) INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal startup, (or give root password for system maintenance): Entering System Maintenance Mode Mar 3 11:13:35 su: 'su root' succeeded for root on /dev/syscon Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996 # (5). ディスクをマウントする # mountall -F ufs checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s7: is clean. # (6). 空き容量のチェック # df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 123063 18844 91919 18% / /dev/dsk/c0t3d0s6 443407 337857 61210 85% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 7488675 41651 6698164 1% /export/home /dev/dsk/c0t3d0s5 202287 80485 101582 45% /opt # (7). CD-ROM をマウントする 1枚目の パッチ用の CD-ROM をマウントする。 # mkdir /ptfmnt # mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /ptfmnt # ls -l /ptfmnt total 48 drwxr-xr-x 6 root other 14336 Dec 27 16:02 FSUN_PTF drwxr-xr-x 4 root other 4096 Jan 6 10:08 README drwxr-xr-x 5 root other 6144 Dec 26 19:31 patch # (7-1). 西暦200年対応パッチをあてる # cd /ptfmnt/FSUN_PTF/bin # ./fjpatchapply -c py2000 -d /ptfmnt ### Checking PTF level ### Making a list of patch information ### Making a list of already applied patches ### Making a list for Patch-check ### Checking patches described about each OS .............................. ### Checking already applied patches ...................................................................................... ...................................................................................... ..... ### Checking system conditions by fjpatchck functions Checking unknown patches... Checking PTF database... Checking dependency relation... Applied patch not found. ### Patch-check #### Checking packages to be patched by patch-id .............................. #### Checking obsoleted patches by patch-id ............................ #### Checking machine dependence ..... #### Checking individual patches ..... #### Checking prerequired patches ..... WARNING: Following PTF data is not applied to this system URE06071 (104468-06) there are no packages to be patched URE08134 (104018-03) there are no packages to be patched URE06413 (103801-06) already applied to this system URE06458 (104093-04) already applied to this system URE06460 (104918-01) already applied to this system URE06462 (104977-01) already applied to this system URE06463 (104995-01) already applied to this system URE06853 (103640-12) already applied to this system URE07104 (103600-18) already applied to this system URE07114 (103866-03) already applied to this system URE07115 (103876-03) already applied to this system URE07119 (103948-02) already applied to this system URE07120 (103959-04) already applied to this system URE07126 (104433-04) already applied to this system URE07127 (104463-02) already applied to this system URE07129 (104490-02) already applied to this system URE07138 (104816-01) already applied to this system URE07139 (104818-01) already applied to this system URE07140 (104820-01) already applied to this system URE07141 (104822-01) already applied to this system URE07142 (104824-01) already applied to this system URE07145 (104854-02) already applied to this system URE07146 (104857-01) already applied to this system URE07147 (104873-01) already applied to this system URE07151 (105016-01) already applied to this system ### Checking disk space to save old files #### about /var/sadm/patch ..... ### Correct the order to apply ..... ### Checking system conditions by fjpatchck functions Checking critical patches... Critical patches not found. ### Checking conflicted patches #### about patches applying to this system ..... Following PTF data will be applied URE07105 (103612-33) URE07108 (103690-05) URE07111 (103566-23) URE07241 (104489-02) URE07306 (104976-03) ==================== URE07105 ==================== Start installpatch of 103612-33 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103612-33 has been successfully installed. See /var/sadm/patch/103612-33/log for details Patch packages installed: SUNWarc SUNWcsr SUNWcsu SUNWfns SUNWnisu SUNWscpu SUNWsra SUNWsutl installpatch of 103612-33 was successfully finished completed = 1 / total = 5 ==================== URE07108 ==================== Start installpatch of 103690-05 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103690-05 has been successfully installed. See /var/sadm/patch/103690-05/log for details Patch packages installed: SUNWcsu installpatch of 103690-05 was successfully finished completed = 2 / total = 5 ==================== URE07111 ==================== Start installpatch of 103566-23 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103566-23 has been successfully installed. See /var/sadm/patch/103566-23/log for details Patch packages installed: SUNWxwopt SUNWxwplt SUNWxwslb installpatch of 103566-23 was successfully finished completed = 3 / total = 5 ==================== URE07241 ==================== Start installpatch of 104489-02 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 104489-02 has been successfully installed. See /var/sadm/patch/104489-02/log for details Patch packages installed: SUNWtltk SUNWtltkd installpatch of 104489-02 was successfully finished completed = 4 / total = 5 ==================== URE07306 ==================== Start installpatch of 104976-03 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 104976-03 has been successfully installed. See /var/sadm/patch/104976-03/log for details Patch packages installed: SUNWoldcv SUNWoldst installpatch of 104976-03 was successfully finished completed = 5 / total = 5 Following PTF data was successfully applied to this system URE07105 (103612-33) Tue Mar 3 12:24:11 JST 1998 URE07108 (103690-05) Tue Mar 3 12:38:45 JST 1998 URE07111 (103566-23) Tue Mar 3 12:54:54 JST 1998 URE07241 (104489-02) Tue Mar 3 13:10:35 JST 1998 URE07306 (104976-03) Tue Mar 3 13:25:48 JST 1998 fjpatchapply finished Reboot your system. # (7-2). PTF パッチをあてる # ./fjpatchapply -c L1 -d /ptfmnt ### Checking PTF level ### Making a list of patch information ### Making a list of already applied patches ### Making a list for Patch-check ### Checking patches described about each OS ........................................................................... ### Checking already applied patches ...................................................................................... ...................................................................................... .......... ### Checking system conditions by fjpatchck functions Checking unknown patches... Checking PTF database... Checking dependency relation... ### Patch-check #### Checking packages to be patched by patch-id ........................................................................... #### Checking obsoleted patches by patch-id ........................................................................... #### Checking machine dependence ............ #### Checking individual patches ............ #### Checking prerequired patches ............ WARNING: Following PTF data is not applied to this system URE01352 (103817-01) already applied to this system URE02642 (103900-01) already applied to this system URE02960 (104166-01) obsoleted by already applied patch URE03540 (104010-01) already applied to this system URE04061 (103879-04) already applied to this system URE04829 (104266-01) already applied to this system URE04840 (104613-01) already applied to this system URE04850 (104776-01) obsoleted by already applied patch URE05302 (104692-01) already applied to this system URE05334 (103686-02) already applied to this system URE05994 (104317-01) already applied to this system URE05996 (104334-01) already applied to this system URE05997 (104735-02) already applied to this system URE06000 (104893-01) already applied to this system URE06413 (103801-06) already applied to this system URE06417 (104516-03) already applied to this system URE06423 (104968-01) already applied to this system URE06458 (104093-04) already applied to this system URE06460 (104918-01) already applied to this system URE06462 (104977-01) already applied to this system URE06463 (104995-01) already applied to this system URE06684 (104338-02) already applied to this system URE06740 (103594-10) already applied to this system URE06748 (104795-02) already applied to this system URE06751 (104958-01) already applied to this system URE06752 (104960-01) already applied to this system URE06853 (103640-12) already applied to this system URE07104 (103600-18) already applied to this system URE07105 (103612-33) already applied to this system URE07107 (103663-08) already applied to this system URE07108 (103690-05) already applied to this system URE07111 (103566-23) already applied to this system URE07112 (103821-02) already applied to this system URE07114 (103866-03) already applied to this system URE07115 (103876-03) already applied to this system URE07119 (103948-02) already applied to this system URE07120 (103959-04) already applied to this system URE07123 (104246-05) already applied to this system URE07126 (104433-04) already applied to this system URE07127 (104463-02) already applied to this system URE07129 (104490-02) already applied to this system URE07133 (104654-03) already applied to this system URE07135 (104736-03) already applied to this system URE07138 (104816-01) already applied to this system URE07139 (104818-01) already applied to this system URE07140 (104820-01) already applied to this system URE07141 (104822-01) already applied to this system URE07142 (104824-01) already applied to this system URE07145 (104854-02) already applied to this system URE07146 (104857-01) already applied to this system URE07147 (104873-01) already applied to this system URE07150 (104956-04) already applied to this system URE07151 (105016-01) already applied to this system URE07241 (104489-02) already applied to this system URE07306 (104976-03) already applied to this system URE07620 (103981-08) already applied to this system URE07625 (105004-06) obsoleted by already applied patch URE07979 (103796-18) already applied to this system URE08005 (103558-11) already applied to this system URE08006 (103603-05) already applied to this system URE08010 (103934-06) already applied to this system URE08011 (104212-09) already applied to this system URE08019 (104935-01) already applied to this system ### Checking disk space to save old files #### about /var/sadm/patch ............ ### Correct the order to apply ............ ### Checking system conditions by fjpatchck functions Checking critical patches... Critical patches not found. ### Checking conflicted patches #### about patches applying to this system ............ #### about already applied patches ..... Following PTF data will be applied URE06742 (103630-09) URE06755 (105050-01) URE07240 (103901-08) URE07253 (105251-01) URE07622 (104331-04) URE07712 (104533-03) URE08008 (103738-05) URE08014 (104650-02) URE08020 (105092-01) URE08021 (105299-01) URE08007 (103696-03) URE07102 (103582-15) ==================== URE06742 ==================== Start installpatch of 103630-09 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103630-09 has been successfully installed. See /var/sadm/patch/103630-09/log for details Patch packages installed: SUNWcsr SUNWcsu installpatch of 103630-09 was successfully finished completed = 1 / total = 12 ==================== URE06755 ==================== Start installpatch of 105050-01 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 105050-01 has been successfully installed. See /var/sadm/patch/105050-01/log for details Patch packages installed: SUNWcsu SUNWscpu installpatch of 105050-01 was successfully finished completed = 2 / total = 12 ==================== URE07240 ==================== Start installpatch of 103901-08 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103901-08 has been successfully installed. See /var/sadm/patch/103901-08/log for details Patch packages installed: SUNWolinc SUNWolrte SUNWolslb installpatch of 103901-08 was successfully finished completed = 3 / total = 12 ==================== URE07253 ==================== Start installpatch of 105251-01 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 105251-01 has been successfully installed. See /var/sadm/patch/105251-01/log for details Patch packages installed: SUNWowbcp installpatch of 105251-01 was successfully finished completed = 4 / total = 12 ==================== URE07622 ==================== Start installpatch of 104331-04 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 104331-04 has been successfully installed. See /var/sadm/patch/104331-04/log for details Patch packages installed: SUNWcsu installpatch of 104331-04 was successfully finished completed = 5 / total = 12 ==================== URE07712 ==================== Start installpatch of 104533-03 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 104533-03 has been successfully installed. See /var/sadm/patch/104533-03/log for details Patch packages installed: SUNWolrte SUNWolslb installpatch of 104533-03 was successfully finished completed = 6 / total = 12 ==================== URE08008 ==================== Start installpatch of 103738-05 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103738-05 has been successfully installed. See /var/sadm/patch/103738-05/log for details Patch packages installed: SUNWcsu installpatch of 103738-05 was successfully finished completed = 7 / total = 12 ==================== URE08014 ==================== Start installpatch of 104650-02 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 104650-02 has been successfully installed. See /var/sadm/patch/104650-02/log for details Patch packages installed: SUNWcsu installpatch of 104650-02 was successfully finished completed = 8 / total = 12 ==================== URE08020 ==================== Start installpatch of 105092-01 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 105092-01 has been successfully installed. See /var/sadm/patch/105092-01/log for details Patch packages installed: SUNWcsu installpatch of 105092-01 was successfully finished completed = 9 / total = 12 ==================== URE08021 ==================== Start installpatch of 105299-01 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 105299-01 has been successfully installed. See /var/sadm/patch/105299-01/log for details Patch packages installed: SUNWcsr installpatch of 105299-01 was successfully finished completed = 10 / total = 12 ==================== URE08007 ==================== Start installpatch of 103696-03 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103696-03 has been successfully installed. See /var/sadm/patch/103696-03/log for details Patch packages installed: SUNWcsr SUNWcsu installpatch of 103696-03 was successfully finished completed = 11 / total = 12 ==================== URE07102 ==================== Start installpatch of 103582-15 Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 103582-15 has been successfully installed. See /var/sadm/patch/103582-15/log for details Patch packages installed: SUNWcsr SUNWcsu installpatch of 103582-15 was successfully finished completed = 12 / total = 12 Following PTF data was successfully applied to this system URE06742 (103630-09) Tue Mar 3 14:23:36 JST 1998 URE06755 (105050-01) Tue Mar 3 14:39:03 JST 1998 URE07240 (103901-08) Tue Mar 3 14:55:36 JST 1998 URE07253 (105251-01) Tue Mar 3 15:10:30 JST 1998 URE07622 (104331-04) Tue Mar 3 15:25:51 JST 1998 URE07712 (104533-03) Tue Mar 3 15:41:58 JST 1998 URE08008 (103738-05) Tue Mar 3 15:57:27 JST 1998 URE08014 (104650-02) Tue Mar 3 16:13:00 JST 1998 URE08020 (105092-01) Tue Mar 3 16:28:39 JST 1998 URE08021 (105299-01) Tue Mar 3 16:44:07 JST 1998 URE08007 (103696-03) Tue Mar 3 17:00:25 JST 1998 URE07102 (103582-15) Tue Mar 3 17:16:43 JST 1998 fjpatchapply finished Reboot your system. # (7-3). ログ・ファイルをチェックする # cd /var/sadm/ptf # ls -l log -rw-r--r-- 1 root other 34431 Mar 3 17:16 log # csh onl7v1# setenv TERM vt100 onl7v1# /usr/local/bin/less log ****** BEGIN: Applying patches on Tue Mar 3 11:47:14 JST 1998 ****** EXEC COMMAND: [onl7v1] ./fjpatchapply COMMAND ARGS: -c py2000 -d /ptfmnt COMMAND PATH: /ptfmnt/FSUN_PTF/FSUNptf/reloc/$PTF_BASEDIR/FSUNptf/bin FSUNptf VERS: 1.8 ### Checking PTF level Apply from ### Making a list of patch information ### Making a list of already applied patches ### Making a list for Patch-check ### Checking patches described about each OS ### Checking already applied patches ### Checking system conditions by fjpatchck functions Checking unknown patches... Found unknown patch: <103622-08> obsolete patch: SUNWcsr: obsolete patch: SUNWcsu: obsolete patch: SUNWhea: Found unknown patch: <103699-01> obsolete patch: SUNWcsu: Found unknown patch: <103792-06> obsolete patch: SUNWm64cf: obsolete patch: SUNWm64w: ここで、/ERROR を実行、 Pattern not found (press RETURN) ここで、/WARNNING を実行、 Pattern not found (press RETURN) ここで、/success を実行、 Patch number 103612-33 has been successfully installed. n installpatch of 103612-33 was successfully finished n Patch number 103690-05 has been successfully installed. n installpatch of 103690-05 was successfully finished n Patch number 103566-23 has been successfully installed. n installpatch of 103566-23 was successfully finished n Patch number 104489-02 has been successfully installed. n installpatch of 104489-02 was successfully finished n Patch number 104976-03 has been successfully installed. n installpatch of 104976-03 was successfully finished n Following PTF data was successfully applied to this system *apply URE07105 (103612-33) Tue Mar 3 12:24:11 JST 1998 *apply URE07108 (103690-05) Tue Mar 3 12:38:45 JST 1998 *apply URE07111 (103566-23) Tue Mar 3 12:54:54 JST 1998 *apply URE07241 (104489-02) Tue Mar 3 13:10:35 JST 1998 *apply URE07306 (104976-03) Tue Mar 3 13:25:48 JST 1998 fjpatchapply finished ****** END: Applying patches on Tue Mar 3 13:25:53 JST 1998 ****** ****** BEGIN: Applying patches on Tue Mar 3 13:45:37 JST 1998 ****** EXEC COMMAND: [onl7v1] ./fjpatchapply COMMAND ARGS: -c L1 -d /ptfmnt COMMAND PATH: /ptfmnt/FSUN_PTF/FSUNptf/reloc/$PTF_BASEDIR/FSUNptf/bin FSUNptf VERS: 1.8 : n Patch number 103630-09 has been successfully installed. n installpatch of 103630-09 was successfully finished n Patch number 105050-01 has been successfully installed. n installpatch of 105050-01 was successfully finished n Patch number 103901-08 has been successfully installed. n installpatch of 103901-08 was successfully finished n Patch number 105251-01 has been successfully installed. n installpatch of 105251-01 was successfully finished n Patch number 104331-04 has been successfully installed. n installpatch of 104331-04 was successfully finished n Patch number 104533-03 has been successfully installed. n installpatch of 104533-03 was successfully finished n Patch number 103738-05 has been successfully installed. n installpatch of 103738-05 was successfully finished n Patch number 104650-02 has been successfully installed. n installpatch of 104650-02 was successfully finished n Patch number 105092-01 has been successfully installed. n installpatch of 105092-01 was successfully finished n Patch number 105299-01 has been successfully installed. n installpatch of 105299-01 was successfully finished n Patch number 103696-03 has been successfully installed. n installpatch of 103696-03 was successfully finished n Patch number 103582-15 has been successfully installed. n installpatch of 103582-15 was successfully finished n Following PTF data was successfully applied to this system *apply URE06742 (103630-09) Tue Mar 3 14:23:36 JST 1998 *apply URE06755 (105050-01) Tue Mar 3 14:39:03 JST 1998 *apply URE07240 (103901-08) Tue Mar 3 14:55:36 JST 1998 *apply URE07253 (105251-01) Tue Mar 3 15:10:30 JST 1998 *apply URE07622 (104331-04) Tue Mar 3 15:25:51 JST 1998 *apply URE07712 (104533-03) Tue Mar 3 15:41:58 JST 19 *apply URE08008 (103738-05) Tue Mar 3 15:57:27 JST 1998 *apply URE08014 (104650-02) Tue Mar 3 16:13:00 JST 1998 *apply URE08020 (105092-01) Tue Mar 3 16:28:39 JST 1998 *apply URE08021 (105299-01) Tue Mar 3 16:44:07 JST 1998 *apply URE08007 (103696-03) Tue Mar 3 17:00:25 JST 1998 *apply URE07102 (103582-15) Tue Mar 3 17:16:43 JST 1998 fjpatchapply finished ****** END: Applying patches on Tue Mar 3 17:16:49 JST 1998 ****** ok. PTF パッチは正常にあてられた。 /ptfmnt をアンマウントして、メディアを取り出す。 (8). 2枚目のCD-ROM をマウントする 2枚目の パッチ用の CD-ROM をマウントする。 onl7v1# mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /ptfmnt onl7v1# ls -l /ptfmnt total 126 -rw-r--r-- 1 root other 27147 Nov 28 18:33 README drwxr-xr-x 4 root other 10240 Nov 28 08:55 SunOS5.4 drwxr-xr-x 3 root other 8192 Nov 28 09:05 SunOS5.5 drwxr-xr-x 5 root other 16384 Nov 28 15:20 SunOS5.5.1 drwxr-xr-x 6 root other 2048 Nov 28 18:25 script onl7v1# (8-1). 103680-01パッチをあてる onl7v1# cd /ptfmnt/SunOS5.5.1 onl7v1# ls 103597-02 103738-03 103986-01 104245-04 104475-02 104615-01 104850-02 103600-18 103743-01 104003-02 104246-05 104478-01 104628-05 104915-03 103603-04 103750-03 104029-01 104259-05 104482-01 104637-01 104940-01 103612-33 103770-03 104055-02 104263-01 104484-01 104642-01 104956-04 103618-02 103785-01 104066-04 104277-01 104533-02 104644-01 105011-01 103621-01 103792-03 104072-01 104280-01 104538-01 104650-01 105044-01 103622-06 103795-03 104081-01 104283-01 104560-01 104652-02 105068-01 103623-02 103810-03 104094-01 104287-01 104576-01 104656-01 105077-01 103627-02 103834-01 104162-02 104297-01 104578-01 104658-01 105097-01 103640-12 103839-02 104166-01 104312-08 104580-02 104664-01 105133-01 103643-04 103857-08 104182-01 104361-01 104589-01 104672-02 105165-01 103663-08 103867-01 104200-01 104380-05 104594-01 104696-01 105168-01 103669-03 103891-05 104201-01 104389-01 104595-03 104706-01 105174-01 103680-01 103903-03 104208-01 104406-01 104596-05 104742-01 105176-01 103686-02 103911-01 104212-06 104440-01 104605-01 104807-01 105256-01 103693-02 103928-02 104220-01 104443-02 104607-01 104810-01 105270-01 103696-02 103955-02 104227-01 104447-01 104608-02 104841-02 105340-01 103734-01 103981-06 104236-01 104453-01 104609-01 104849-01 105342-01 onl7v1# cd 103680-01 onl7v1# ls -l total 285 -rwxr-xr-x 1 root other 24890 Nov 28 09:05 Install.info -rw-r--r-- 1 root other 1560 Nov 28 09:05 README.103680-01 drwxr-xr-x 3 root other 2048 Nov 28 09:05 SUNWcsu -rwxr-xr-x 1 root other 37888 Nov 28 09:05 backoutpatch -rwxr-xr-x 1 root other 78352 Nov 28 09:05 installpatch onl7v1# ./installpatch . Patch 103680-01 has already been applied. See README file for instructions. Installpatch is terminating. onl7v1# (8-2). 103686-02パッチをあてる onl7v1# pwd /ptfmnt/SunOS5.5.1/103686-02 onl7v1# ls -l total 373 -rwxr-xr-x 1 root other 26568 Nov 28 09:13 Install.info -rw-r--r-- 1 root other 1687 Nov 28 09:13 README.103686-02 drwxr-xr-x 3 root other 2048 Nov 28 09:13 SUNWnisu -rwxr-xr-x 1 root other 50734 Nov 28 09:13 backoutpatch -rwxr-xr-x 1 root other 108710 Nov 28 09:13 installpatch onl7v1# ./installpatch . Checking installed packages and patches... Patch 103686-02 has already been applied. See README file for instructions. Installpatch is terminating. onl7v1# (8-3). 102979-07パッチをあてる onl7v1# pwd /ptfmnt/SunOS5.5.1 onl7v1# ls 103597-02 103738-03 103986-01 104245-04 104475-02 104615-01 104850-02 103600-18 103743-01 104003-02 104246-05 104478-01 104628-05 104915-03 103603-04 103750-03 104029-01 104259-05 104482-01 104637-01 104940-01 103612-33 103770-03 104055-02 104263-01 104484-01 104642-01 104956-04 103618-02 103785-01 104066-04 104277-01 104533-02 104644-01 105011-01 103621-01 103792-03 104072-01 104280-01 104538-01 104650-01 105044-01 103622-06 103795-03 104081-01 104283-01 104560-01 104652-02 105068-01 103623-02 103810-03 104094-01 104287-01 104576-01 104656-01 105077-01 103627-02 103834-01 104162-02 104297-01 104578-01 104658-01 105097-01 103640-12 103839-02 104166-01 104312-08 104580-02 104664-01 105133-01 103643-04 103857-08 104182-01 104361-01 104589-01 104672-02 105165-01 103663-08 103867-01 104200-01 104380-05 104594-01 104696-01 105168-01 103669-03 103891-05 104201-01 104389-01 104595-03 104706-01 105174-01 103680-01 103903-03 104208-01 104406-01 104596-05 104742-01 105176-01 103686-02 103911-01 104212-06 104440-01 104605-01 104807-01 105256-01 103693-02 103928-02 104220-01 104443-02 104607-01 104810-01 105270-01 103696-02 103955-02 104227-01 104447-01 104608-02 104841-02 105340-01 103734-01 103981-06 104236-01 104453-01 104609-01 104849-01 105342-01 onl7v1# cd 102979-07 102979-07: No such file or directory onl7v1# (8-4). /ptfmnt をアンマウントしてから、CD-ROM をイジェクトする onl7v1# umount /ptfmnt onl7v1# eject onl7v1# (8-5). 富士通の今泉さんに問い合わせる (8-5-1). 103680-01パッチをあてると、 "Patch 103680-01 has already been applied." とメッセージがでる。 [回答] OS のバージョンによっては、すでにパッチがあたった状態で 出荷されている可能性がある。 showrevコマンドでチェック。 [チェック] onl7v1# showrev -p | grep 103680 Patch: 103680-01 Obsoletes: Packages: SUNWcsu onl7v1# ok. すでにパッチはあたっている。 (8-5-2). 103686-02パッチをあてると、 "Patch 103686-02 has already been applied." とメッセージがでる。 [回答] OS のバージョンによっては、すでにパッチがあたった状態で 出荷されている可能性がある。 showrevコマンドでチェック。 [チェック] onl7v1# showrev -p | grep 103686 Patch: 103686-02 Obsoletes: Packages: SUNWnisu onl7v1# ok. すでにパッチはあたっている。 (8-5-3). 102979-07パッチをあてるのに必要なディレクトリがない onl7v1# cd 102979-07 102979-07: No such file or directory onl7v1# [回答] Solaris2.5.1 のバージョンであてるべきパッチは、 104212-xx である。 [チェック] onl7v1# mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /ptfmnt onl7v1# cd /ptfmnt onl7v1# ls README SunOS5.4 SunOS5.5 SunOS5.5.1 script onl7v1# cd SunOS5.5.1 onl7v1# ls 103597-02 103738-03 103986-01 104245-04 104475-02 104615-01 104850-02 103600-18 103743-01 104003-02 104246-05 104478-01 104628-05 104915-03 103603-04 103750-03 104029-01 104259-05 104482-01 104637-01 104940-01 103612-33 103770-03 104055-02 104263-01 104484-01 104642-01 104956-04 103618-02 103785-01 104066-04 104277-01 104533-02 104644-01 105011-01 103621-01 103792-03 104072-01 104280-01 104538-01 104650-01 105044-01 103622-06 103795-03 104081-01 104283-01 104560-01 104652-02 105068-01 103623-02 103810-03 104094-01 104287-01 104576-01 104656-01 105077-01 103627-02 103834-01 104162-02 104297-01 104578-01 104658-01 105097-01 103640-12 103839-02 104166-01 104312-08 104580-02 104664-01 105133-01 103643-04 103857-08 104182-01 104361-01 104589-01 104672-02 105165-01 103663-08 103867-01 104200-01 104380-05 104594-01 104696-01 105168-01 103669-03 103891-05 104201-01 104389-01 104595-03 104706-01 105174-01 103680-01 103903-03 104208-01 104406-01 104596-05 104742-01 105176-01 103686-02 103911-01 104212-06 104440-01 104605-01 104807-01 105256-01 103693-02 103928-02 104220-01 104443-02 104607-01 104810-01 105270-01 103696-02 103955-02 104227-01 104447-01 104608-02 104841-02 105340-01 103734-01 103981-06 104236-01 104453-01 104609-01 104849-01 105342-01 onl7v1# ls -l 104212* total 394 -rwxr-xr-x 1 428 5000 29855 Nov 28 09:16 Install.info -rw-r--r-- 1 428 5000 4255 Nov 28 09:16 README.104212-06 drwxr-xr-x 4 428 5000 2048 Nov 28 09:16 SUNWhmd drwxr-xr-x 3 428 5000 2048 Nov 28 09:17 SUNWhmdu -rwxr-xr-x 1 428 5000 52055 Nov 28 09:17 backoutpatch -rwxr-xr-x 1 428 5000 110541 Nov 28 09:17 installpatch onl7v1# ok. 104212-06 ディレクトリは存在する。 (8-6). 104212-06パッチをあてる onl7v1# pwd /ptfmnt/SunOS5.5.1/104212-06 onl7v1# ls -l total 394 -rwxr-xr-x 1 428 5000 29855 Nov 28 09:16 Install.info -rw-r--r-- 1 428 5000 4255 Nov 28 09:16 README.104212-06 drwxr-xr-x 4 428 5000 2048 Nov 28 09:16 SUNWhmd drwxr-xr-x 3 428 5000 2048 Nov 28 09:17 SUNWhmdu -rwxr-xr-x 1 428 5000 52055 Nov 28 09:17 backoutpatch -rwxr-xr-x 1 428 5000 110541 Nov 28 09:17 installpatch onl7v1# ./installpatch . Checking installed packages and patches... Generating list of files to be patched... Verifying sufficient filesystem capacity (exhaustive method)... Installing patch packages... Patch number 104212-06 is superceded by the already applied 104212-09. Installpatch is terminating. onl7v1# ok. パッチはすでにあたっている。 (8-7). /ptfmnt をアンマウントしてから、CD-ROM をイジェクトする onl7v1# umount /ptfmnt onl7v1# eject onl7v1# (9). システムをリブートする onl7v1# /usr/sbin/shutdown -i0 -g0 Shutdown started. Wed Mar 4 13:38:52 JST 1998 Do you want to continue? (y or n): y showmount: onl7v1: RPC: Rpcbind failure - RPC: Timed out Changing to init state 0 - please wait Hangup INIT: New run level: 0 The system is coming down. Please wait. onl7v1# System services are now being stopped. Print services already stopped. Stopping the syslog service. The system is down. syncing file systems... done Program terminated Type help for more information ok 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.1 Version Generic_103640-12 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1996, 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/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. starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl7v1 console login: ok. 正常に立ち上がった。 (9-1). ネットワークの設定をやる # csh onl7v1# source /.cshrc 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 3 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 -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 3 onl7v1# --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション