Jan 14, 1998 onl7v1: Solaris 2.5 cc ドライバのデバッグ. cc ドライバの実行(その2) ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ (http://www-online.kek.jp/‾inoue/CAMAC/onl7v1-sol2.5/camac-step03.log) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). FORCE、SPARC CPU-7V で CAMAC シングル・アクション read/write は 正常に実行できた。 (B). CAMAC 割り込みは正常に実行できた。 (C). CAMAC ブロック転送を起動するとフリーズする。 最悪の事態では、 システムを壊してしまう。 (2). ここでやるべきこと onl7v1 上で ccドライバの動作確認をするために、再度ブロック転送の サンプル・プログラム cam2 を実行する。 onl7v1[22]% cam2 Input transfer mode (1:word 2:long word) >1 Input loop >5 Input mode (0:QSTOP 1:QIGNORE 2:QREPEAT 3:QSCAN) >1 Input data counts >5 Input n a f >3 0 0 <--- ここでフリーズしてしまう。 この時、K2917 の LED は: RUN、M1 が点灯している。 SPARC CPU-7V の LED は: RUN のみが赤、とオレンジ色の間を点滅している。 キーボードから CTL-C を入力してもダメ。 中断できない。 SPARC CPU-7V の ABORTスイッチを押してもダメ。 SPARC CPU-7V の RESETスイッチを押して、システム をリブートさせた。 システムは立ち上がろうとする が、立ち上がれない。 いきなり RESETスイッチを 押したためにファイル・システムを壊してしまった ようだ。 そこで、BREAK キーを押して中断させた。 WARNING: Unexpected token '' on line 5 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases BAD TRAP: type=9 rp=f0241904 addr=0 mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0241654 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02413a4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02410f4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240e44 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240b94 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02408e4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240634 addr=c mmu_fsr=326 rw=1 screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: Type 'go' to resume Type help for more information ok <--- BREAK キーを押して、ブートを中断 させた。 シングル・ユーザ・モードで立ち上げてみるが、同じ症状で立ち上がれない。 onl5v4 をシャットダウンした後、VMEクレートの電源を落した。 そして、再度電源をオンにした。 Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: SunOS Release 5.5 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1995, Sun Microsystems, Inc. WARNING: Unexpected token '=' on line 1 of /etc/driver_aliases WARNING: Unexpected token '288004' on line 1 of /etc/driver_aliases WARNING: Unexpected token '882493636' on line 1 of /etc/driver_aliases WARNING: Missing alias for f on line 1 of /etc/driver_aliases WARNING: Unexpected token ':' on line 2 of /etc/driver_aliases WARNING: Unexpected token '/' on line 2 of /etc/driver_aliases WARNING: Unexpected token ':' on line 3 of /etc/driver_aliases WARNING: Unexpected token '/' on line 3 of /etc/driver_aliases WARNING: Unexpected token ':' on line 4 of /etc/driver_aliases WARNING: Unexpected token '/' on line 4 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases WARNING: Unexpected token '' on line 5 of /etc/driver_aliases : 以下同じWARNINGが表示された後、BAD TRAP になりそしてブートをやり直そうと する。 この繰り返しで立ち上がれない。 : WARNING: Unexpected token '' on line 5 of /etc/driver_aliases BAD TRAP: type=9 rp=f0241904 addr=0 mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0241654 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02413a4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02410f4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240e44 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240b94 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f02408e4 addr=c mmu_fsr=326 rw=1 : Data fault BAD TRAP: type=9 rp=f0240634 addr=c mmu_fsr=326 rw=1 screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. Initializing Memory | Type help for more information ok <--- BREAK キーを押して止めた。 onl5v4 の /etc/driver_aliases をチェック。 onl5v4[35]% cat /etc/driver_aliases 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,spif audiocs SUNW,CS4231 environ environment simmstat simm-status sysctrl clock-board pci SUNW,pci soc SUNW,soc pln SUNW,pln ssd SUNW,ssd fas SUNW,fas leo SUNW,leo104 leo SUNW,leo stp4020 SUNW,pcmcia rtvc SUNW,rtvc tcx SUNW,tcx pcmem PC,memory pcser PC,serial pcser "PC,102.5" pcser "PC,102.2" hme SUNW,hme onl5v4[36]% onl7v1 のディスクを onl5v4 にマウントして、onl5v4の /etc/driver_aliases を onl7v1 にコピーしてみるかな。 onl5v4 をシャットダウンする。 ok onl5v4 console login: onl5v4 console login: root Password: Dec 22 09:39:56 onl5v4 login: ROOT LOGIN /dev/console Last login: Fri Dec 19 16:58:06 on pts/0 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. Mon Dec 22 09:40:07 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Mon Dec 22 09:40:09... 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 22 09:40:16 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 22 09:40:23 cssd: Got sig#15, sending it to all CSes and exit Dec 22 09:40:23 /usr/sbin/vold[1517]: problem unmounting /vol; No such file or directo ry The system is down. syncing file systems... [8] [7] done Program terminated Type help for more information ok onl7v1 のハード・ディスクの SCSI ID を 一時的に 3 から 1 に変更する。 そして onl5v4 のシステムにつなぐ。 onl7v1 はスロット#1に差したまま で Ethernetケーブルと SCSIケーブルは抜いておく。 そして VMEクレートの パワーをオンした。 ok 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. 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. NOTICE: VME SYSFAIL (clr) not handled. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0 le0. Hostname: onl5v4 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 のネットワーキ設定。 onlsun1[147]% rlogin onl5v4 Last login: Fri Dec 19 17:53:29 from onlsun1 Sun Microsystems Inc. SunOS 5.5 Generic November 1995 onl5v4[33]% su Password: # csh onl5v4# source /.cshrc 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 用のディスクを onl5v4 のシステムにマウントする。 nl5v4# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 121622 23295 86167 22% / /dev/dsk/c0t3d0s6 438902 332965 62047 85% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 3114643 723757 2079426 26% /export/home /dev/dsk/c0t3d0s5 200942 79069 101783 44% /opt swap 83800 8 83792 1% /tmp kiwifs:/public/hp 3942380 3398216 544164 87% /net/kiwifs/public/hp kiwifs:/public/pc 3942380 3938244 0 111% /net/kiwifs/public/pc kiwifs:/public/sgi 1385789 921226 464563 67% /net/kiwifs/public/sgi kiwifs:/public/ibm 1385789 811824 573965 59% /net/kiwifs/public/ibm kiwifs:/export/BSD 1385789 852749 394462 69% /net/kiwifs/export/BSD kiwifs:/export/LISP 1385789 852749 394462 69% /net/kiwifs/export/LISP kiwifs:/export/pvm3 1385789 852749 394462 69% /net/kiwifs/export/pvm3 kiwifs:/public/decs 1385789 1111722 135489 90% /net/kiwifs/public/decs kiwifs:/public2/sun 8316189 7190388 1042640 88% /net/kiwifs/public2/sun kiwifs:/export/X11R5 1385789 852749 394462 69% /net/kiwifs/export/X11R5 kiwifs:/export/X11R6 1385789 852749 394462 69% /net/kiwifs/export/X11R6 kiwifs:/export/hence 1385789 852749 394462 69% /net/kiwifs/export/hence kiwifs:/public2/lib1 8316189 7190388 1042640 88% /net/kiwifs/public2/lib1 kiwifs:/public/alpha 1836252 1186184 650068 65% /net/kiwifs/public/alpha kiwifs:/public2/share 8316189 7190388 1042640 88% /net/kiwifs/public2/share kiwifs:/public/hpux10 3938280 2545638 998814 72% /net/kiwifs/public/hpux10 kiwifs:/public/ms-windows 2772090 954275 1540606 39% /net/kiwifs/public/ms-windows kiwifs:/export/4.4BSD-Lite 1385789 852749 394462 69% /net/kiwifs/export/4.4BSD-Lite onlsun1:/home1/local 1567991 1395806 15395 99% /net/onlsun1/home1/local onlsun1:/opt/SUNWspro 375255 171842 165893 51% /net/onlsun1/opt/SUNWspro onlsun1:/home1/cern/95a 1567991 1395806 15395 99% /net/onlsun1/home1/cern/95a onlsun1:/cdrom/fddi_3_0 61615 39485 15970 72% /net/onlsun1/cdrom/fddi_3_0 onlsun1:/home3/opt_ext/NSUG93 1972734 628755 1146709 36% /net/onlsun1/home3/opt_ext/NSUG93 onlsun1:/home1/opt_ext/inoue-nfs 1567991 1395806 15395 99% /net/onlsun1/home1/opt_ext/inoue-nfs onlsun1:/export/home/onlsun1/inoue 1972734 791664 983800 45% /net/onlsun1/export/home/onlsun1/inoue onl5v4# ls -l / total 98 lrwxrwxrwx 1 root root 9 Oct 2 1996 bin -> ./usr/bin/ drwxr-xr-x 2 root nobody 512 Oct 3 1996 cdrom/ drwxrwxr-x 16 root sys 5120 Dec 22 09:50 dev/ drwxrwxr-x 5 root sys 512 Oct 2 1996 devices/ drwxrwxr-x 25 root sys 3072 Dec 22 09:50 etc/ drwxrwxr-x 5 root sys 512 Jan 20 1997 export/ dr-xr-xr-x 2 root root 2 Dec 22 10:03 home/ lrwxrwxrwx 1 root other 32 Oct 29 1996 kek -> /net/kiwifs/public2/sun/Solaris2/ drwxr-xr-x 9 root sys 512 Oct 2 1996 kernel/ lrwxrwxrwx 1 root root 9 Oct 2 1996 lib -> ./usr/lib/ drwx------ 3 root root 8192 Oct 2 1996 lost+found/ drwxrwxr-x 2 root sys 512 Oct 2 1996 mnt/ dr-xr-xr-x 2 root root 4 Dec 22 10:03 net/ dr-xr-xr-x 11 root sys 1024 Jan 16 1997 opt/ drwxr-xr-x 5 root sys 1024 Oct 2 1996 platform/ dr-xr-xr-x 2 root root 11968 Dec 22 10:03 proc/ drwxrwxr-x 2 root sys 512 Oct 2 1996 sbin/ drwxrwxrwt 3 sys sys 149 Dec 22 10:00 tmp/ drwxr-xr-x 2 root other 512 Dec 19 1996 tmp_mnt/ drwxrwxr-x 30 root sys 1024 Jan 20 1997 usr/ drwxrwxr-x 21 root sys 512 Oct 3 1996 var/ drwxr-xr-x 2 root root 512 Oct 3 1996 vol/ dr-xr-xr-x 2 root root 512 Oct 3 1996 xfn/ onl5v4# ls -l /mnt total 0 onl5v4# onl5v4# mount /dev/dsk/c0t1d0s0 /mnt mount: /dev/dsk/c0t1d0s0 or /mnt, no such file or directory onl5v4# ls -l /mnt total 0 onl5v4# "boot -r" で起動していないので /dev/dsk/c0t1d0 を認識できていない。 ブートし直す。 onl5v4 console login: root Password: Dec 22 10:13:43 onl5v4 login: ROOT LOGIN /dev/console Last login: Mon Dec 22 09:57:18 on pts/0 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. Mon Dec 22 10:13:58 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Mon Dec 22 10:14:00... 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 22 10:14:07 onl5v4 syslogd: going down on signal 15 umount: /net busy Dec 22 10:14:16 cssd: Got sig#15, sending it to all CSes and exit Dec 22 10:14:16 /usr/sbin/vold[470]: problem unmounting /vol; No such file or director y umount: /net busy The system is down. syncing file systems... [8] [5] done Program terminated Type help for more information 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: onl5v4 のネットワーク設定をする。 onl5v4# source /.cshrc 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 用のディスクをマウントする。 onl5v4# mount /dev/dsk/c0t1d0s0 /mnt mount: the state of /dev/dsk/c0t1d0s0 is not okay and it was attempted to be mounted read/write mount: Please run fsck and try again onl5v4# ファイルシステムに矛盾があるようだ。 fsck をやれといっている。 fsck をやる。 onl5v4# fsck /dev/rdsk/c0t1d0s0 ** /dev/rdsk/c0t1d0s0 ** Last Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? y 2537 files, 16785 used, 102918 free (174 frags, 12843 blocks, 0.1% fragmentation) onl5v4# onl5v4# mount /dev/dsk/c0t1d0s0 /mnt onl5v4# ls -l /mnt total 74 drwxr-xr-x 2 root root 512 Nov 5 13:49 TT_DB/ lrwxrwxrwx 1 root root 9 Oct 14 15:15 bin -> ./usr/bin drwxr-xr-x 3 root nobody 512 Oct 14 15:42 cdrom/ drwxrwxr-x 16 root sys 4096 Dec 19 15:31 dev/ drwxrwxr-x 5 root sys 512 Oct 14 15:37 devices/ drwxrwxr-x 24 root sys 3072 Dec 19 15:31 etc/ drwxrwxr-x 5 root sys 512 Oct 14 15:20 export/ drwxrwxr-x 2 root sys 512 Oct 14 15:31 home/ drwxr-xr-x 2 root root 512 Oct 14 15:14 home1/ drwxr-xr-x 2 root root 512 Oct 14 15:14 home2/ lrwxrwxrwx 1 root other 32 Oct 31 10:10 kek -> /net/kiwifs/public2/sun/Solaris2/ drwxr-xr-x 9 root sys 512 Oct 14 15:15 kernel/ lrwxrwxrwx 1 root root 9 Oct 14 15:15 lib -> ./usr/lib drwx------ 3 root root 8192 Oct 14 15:10 lost+found/ drwxrwxr-x 2 root sys 512 Oct 14 15:15 mnt/ dr-xr-xr-x 2 root root 512 Oct 14 15:42 net/ drwxr-xr-x 2 root root 512 Oct 14 15:14 opt/ drwxr-xr-x 5 root sys 1024 Oct 14 15:16 platform/ drwxr-xr-x 2 root sys 512 Oct 14 15:15 proc/ -rw-r--r-- 1 root other 0 Dec 19 15:30 reconfigure drwxrwxr-x 2 root sys 512 Oct 14 15:20 sbin/ drwxrwxrwt 2 sys sys 512 Oct 14 15:28 tmp/ drwxr-xr-x 2 root root 512 Oct 14 15:14 usr/ drwxrwxr-x 19 root sys 512 Oct 14 15:42 var/ drwxr-xr-x 2 root root 512 Oct 14 15:42 vol/ dr-xr-xr-x 2 root root 512 Oct 14 15:42 xfn/ onl5v4# ブート時に warning を出していた /etc/driver_aliasesファイルをチェック する。 onl5v4 の /etc/driver_aliases onl5v4# cat /etc/driver_aliases 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,spif audiocs SUNW,CS4231 environ environment simmstat simm-status sysctrl clock-board pci SUNW,pci soc SUNW,soc pln SUNW,pln ssd SUNW,ssd fas SUNW,fas leo SUNW,leo104 leo SUNW,leo stp4020 SUNW,pcmcia rtvc SUNW,rtvc tcx SUNW,tcx pcmem PC,memory pcser PC,serial pcser "PC,102.5" pcser "PC,102.2" hme SUNW,hme onl5v4# onl7v1 用の /etc/driver_aliases onl5v4# cat /mnt/etc/driver_aliases =288004f 882493636 onlsun1:/home3/opt_ext/NSUG93 /net/onlsun1/home3/opt_ext/NSUG93 nfs nosuid,dev=2880050 882493637 onlsun1:/home1/opt_ext/inoue-nfs /net/onlsun1/home1/opt_ext/inoue-nfs nfs nosuid,dev=2880051 882493637 onlsun1:/export/home/onlsun1/inoue /net/onlsun1/export/home/onlsun1/inoue nfs nosuid,dev=2880052 882493637 onl5v4# onl5v4 の /etc/driver_aliases onl7v1 用のディスクの /etc/driver_aliases にコピーする。 onl5v4# pwd /mnt/etc onl5v4# ls TIMEZONE@ hostname.hme0 nsswitch.conf security/ acct/ hostname.le0 nsswitch.conf.org services@ aliases@ hosts@ nsswitch.files setmnt@ asppp.cf* inet/ nsswitch.nis shadow auto_home inetd.conf@ nsswitch.nisplus shadow.bak auto_master init@ opt/ shadow.org autopush@ init.d/ oshadow shutdown@ chroot@ initpipe| passwd skel/ clri@ inittab passwd.org sulogin@ crash@ install@ path_to_inst swap@ cron@ ioctl.syscon path_to_inst.old swapadd@ cron.d/ iu.ap profile sysdef@ datemsk killall@ protocols@ syslog.conf dcopy@ labelit@ prtconf@ syslog.pid default/ lib/ prtvtoc@ system defaultdomain link@ publickey* tar@ defaultrouter log@ pwck@ telinit@ device.tab logindevperm rc0@ termcap@ devlink.tab lp/ rc0.d/ tm/ dfs/ magic rc1@ ttydefs dgroup.tab mail/ rc1.d/ ttysrch driver_aliases minor_perm rc2@ uadmin@ driver_classes mkfs@ rc2.d/ umount@ dumpdates mknod@ rc3@ umountall@ ff@ mnttab rc3.d/ unlink@ fmthard@ motd rc5@ utmp@ format@ mount@ rc6@ utmppipe| format.dat mountall@ rcS@ utmpx@ fs/ mvdir@ rcS.d/ uucp/ fsck@ name_to_major reboot@ vfstab fsdb@ name_to_sysnum rem_name_to_major volcopy@ fstyp@ ncheck@ remote vold.conf fuser@ net/ resolv.conf wall@ getty@ netconfig rmmount.conf whodo@ group netmasks@ rmt@ wtmp@ group.org networks@ rpc wtmpx@ grpck@ nodename rpld.conf halt@ nscd.conf saf/ onl5v4# pwd /mnt/etc onl5v4# mv driver_aliases driver_aliases.old onl5v4# cp /etc/driver_aliases . onl5v4# ls -l dr* -rw-r--r-- 1 root other 532 Dec 22 10:48 driver_aliases -rw-r--r-- 1 root other 532 Dec 19 15:30 driver_aliases.old -rw-r--r-- 1 root other 226 Dec 19 15:30 driver_classes onl5v4# onl5v4# cd / onl5v4# umount /mnt s0 以外のスライスのファイルシステムについてチェック。 onl5v4# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 121622 23335 86127 22% / /dev/dsk/c0t3d0s6 438902 332965 62047 85% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 3114643 723757 2079426 26% /export/home /dev/dsk/c0t3d0s5 200942 79069 101783 44% /opt swap 83288 8 83280 1% /tmp onl5v4# mount /dev/dsk/c0t1d0s6 /mnt mount: the state of /dev/dsk/c0t1d0s6 is not okay and it was attempted to be mounted read/write mount: Please run fsck and try again onl5v4# mount /dev/dsk/c0t1d0s7 /mnt mount: the state of /dev/dsk/c0t1d0s7 is not okay and it was attempted to be mounted read/write mount: Please run fsck and try again onl5v4# s6、s7 も fsck しよう。 onl5v4# fsck /dev/rdsk/c0t1d0s6 ** /dev/rdsk/c0t1d0s6 ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? y 15929 files, 185911 used, 102408 free (104 frags, 12788 blocks, 0.0% fragmentation) onl5v4# onl5v4# fsck /dev/rdsk/c0t1d0s7 ** /dev/rdsk/c0t1d0s7 ** Last Mounted on /export/home ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? y 314 files, 15401 used, 3592364 free (364 frags, 449000 blocks, 0.0% fragmentation) onl5v4# s6、s7 をマウントしてみる。 onl5v4# mount /dev/dsk/c0t1d0s6 /mnt onl5v4# ls -l /mnt total 128 drwxrwxr-x 2 root bin 1024 Oct 14 15:36 4lib/ lrwxrwxrwx 1 root root 5 Oct 14 15:29 5bin -> ./bin/ drwxr-xr-x 2 root root 512 Nov 5 13:49 TT_DB/ lrwxrwxrwx 1 root root 10 Oct 14 15:30 adm -> ../var/adm/ drwx------ 8 root bin 512 Oct 14 15:29 aset/ drwxrwxr-x 2 root bin 7168 Oct 14 15:32 bin/ drwxr-xr-x 4 bin bin 512 Oct 14 15:28 ccs/ drwxrwxr-x 5 root bin 512 Oct 14 15:34 demo/ lrwxrwxrwx 1 root root 16 Oct 14 15:17 dict -> ./share/lib/dict/ drwxrwxr-x 5 root bin 512 Oct 14 15:20 dt/ drwxrwxr-x 2 root bin 512 Oct 14 15:15 games/ drwxrwxr-x 20 root bin 3072 Oct 14 15:36 include/ drwxr-xr-x 8 root sys 512 Oct 14 15:15 kernel/ drwxrwxr-x 2 bin bin 512 Oct 14 15:15 kvm/ drwxrwxr-x 28 root bin 4608 Oct 27 14:08 lib/ lrwxrwxrwx 1 root other 12 Nov 5 16:49 local -> /home1/local drwx------ 2 root root 8192 Oct 14 15:12 lost+found/ lrwxrwxrwx 1 root root 11 Oct 14 15:15 mail -> ../var/mail/ lrwxrwxrwx 1 root root 11 Oct 14 15:27 man -> ./share/man/ drwxrwxr-x 4 root sys 512 Oct 14 15:15 net/ lrwxrwxrwx 1 root root 11 Oct 14 15:15 news -> ../var/news/ drwxr-xr-x 5 bin bin 512 Oct 14 15:30 oasys/ drwxrwxr-x 2 root bin 512 Oct 14 15:15 old/ drwxrwxr-x 8 root bin 512 Oct 14 15:25 openwin/ drwxr-xr-x 6 root sys 1024 Oct 14 15:30 platform/ lrwxrwxrwx 1 root root 15 Oct 14 15:15 preserve -> ../var/preserve/ drwxr-xr-x 4 bin bin 512 Oct 14 15:17 proc/ lrwxrwxrwx 1 root root 15 Oct 14 15:15 pub -> ./share/lib/pub/ drwxr-xr-x 5 bin bin 512 Oct 14 15:15 sadm/ drwxrwxr-x 4 root bin 4608 Oct 14 15:36 sbin/ drwxr-xr-x 6 root sys 512 Oct 14 15:27 share/ drwxr-xr-x 6 root bin 512 Oct 14 15:21 snadm/ lrwxrwxrwx 1 root root 12 Oct 14 15:15 spool -> ../var/spool/ lrwxrwxrwx 1 root root 11 Oct 14 15:15 src -> ./share/src/ lrwxrwxrwx 1 root root 10 Oct 14 15:15 tmp -> ../var/tmp/ drwxrwxr-x 2 root bin 2048 Oct 14 15:29 ucb/ drwxr-xr-x 4 bin bin 512 Oct 14 15:31 ucbinclude/ drwxr-xr-x 2 bin bin 512 Oct 14 15:31 ucblib/ drwxr-xr-x 7 bin bin 512 Oct 14 15:30 vmsys/ drwxr-xr-x 3 root bin 512 Oct 14 15:32 xpg4/ onl5v4# umount /mnt onl5v4# onl5v4# mount /dev/dsk/c0t1d0s7 /mnt onl5v4# ls -l /mnt 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/ onl5v4# umount /mnt onl5v4# ok. 正常にマウントできた。 onl7v1用のディスクはしようできるようになったと思えるので、onl5v4 から はずしてもとのように onl7v1 につなぐ。 onl5v4 をシャットダウンする。 onl5v4 console login: root Password: Dec 22 11:29:16 onl5v4 login: ROOT LOGIN /dev/console Last login: Mon Dec 22 10:19:25 on pts/0 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. Mon Dec 22 11:29:33 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Mon Dec 22 11:29:35... 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 22 11:29:43 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 22 11:29:50 cssd: Got sig#15, sending it to all CSes and exit Dec 22 11:29:50 /usr/sbin/vold[508]: problem unmounting /vol; No such file or director y The system is down. syncing file systems... [8] [5] done Program terminated Type help for more information ok onl7v1用のディスクの SCSI ID を 3 から 1 へ戻す。 onl7v1 のディスクの ケブルと Ethernet のケーブルは、まだつながないで、まず、onl5v4 のみを 立ち上げる。 onl5v4 のコンソールで "boot -r" を実行する。 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. Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - <--- ここで、BREAKキーを押して中断した。 Type 'go' to resume Type help for more information ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-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 を一旦シャットダウンして、onl7v1 を "boot -r" で 立ち上げる。 onl5v4 console login: root Password: Dec 22 13:53:19 onl5v4 login: ROOT LOGIN /dev/console Last login: Mon Dec 22 11:29:16 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. Mon Dec 22 13:54:48 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Mon Dec 22 13:55:21... 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 22 13:55:29 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 22 13:55:35 cssd: Got sig#15, sending it to all CSes and exit Dec 22 13:55:35 /usr/sbin/vold[427]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... [8] [5] 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: | <--- ここで、BREAKキーを押して止めた。 Type 'go' to resume Type help for more information ok ここで、onl7v1 を "boot -r" で起動する。 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. 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. 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 以下この繰り返しが続く。 onl5v4 のディスクを onl7v1 につないで立ち上げてみる。 onl5v4 をシャットダウンする。 onl5v4 console login: root Password: Dec 22 14:28:20 onl5v4 login: ROOT LOGIN /dev/console Last login: Mon Dec 22 13:53:19 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. Mon Dec 22 14:28:33 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Mon Dec 22 14:28:34... 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 22 14:28:41 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 22 14:28:48 cssd: Got sig#15, sending it to all CSes and exit Dec 22 14:28:48 /usr/sbin/vold[388]: problem unmounting /vol; No such file or directory The system is down. syncing file systems... [8] [6] done Program terminated Type help for more information ok ここで、onl5v4 のディスクを 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. 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. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0NOTICE: VME SYSFAIL (clr) not handled. le0. Hostname: onl5v4 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. 正常に立ち上がった。 再度、onl7v1用のディスクにつなぎ戻して立ち上げてみる。 onl5v4 のシステムをシャットダウンする。 onl5v4 console login: root Password: Dec 22 14:41:07 onl5v4 login: ROOT LOGIN /dev/console Last login: Mon Dec 22 14:28:20 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. Mon Dec 22 14:41:17 JST 1997 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Mon Dec 22 14:41:18... 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 22 14:41:25 onl5v4 syslogd: going down on signal 15 nfs umount: /vol: not mounted Dec 22 14:41:32 cssd: Got sig#15, sending it to all CSes and exit Dec 22 14:41:32 /usr/sbin/vold[388]: problem unmounting /vol; No such file or director y The system is down. syncing file systems... [8] [4] done Program terminated Type help for more information ok onl5v4 にはディスク、ネットワークをつながないで、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. Testing Memory Type help for more information ok システムインストールをやり直そう。