Jan 6,1999 onl7v2: Solaris 2.6 cc ドライバのデバッグ システム・トラブルの処置 --- システム環境設定#02 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/Machine/ onl7v2/Solaris2.6/trouble-step02.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). 英語版 Soalris2.6 & VMEドライバ v2.2.2 が届いた。 (B). CPU-7V に Solaris2.6 のシステムをインストールした。 (C). /etc の下の各設定、および /export/home の作成をやった。 (D). Solaris2.6用の VMEドライバ、FRCvme-2.2.2 をインストールした。 (E). onl7v2 に ccドライバをインストールする。 (G). サンプル・プログラムを実行した。 (G-1). 24ビットのシングル・アクション read/writeプログラム、cam1は 正常終了した。 (G-2). 割り込み処理プログラム、cam3 は正常終了した。 (G-3). 16ビットのブロック転送 read/writeプログラム、cam2 は ok。 (G-4). 24ビットのブロック転送 read/writeプログラム、cam2 は ok。 (G-5). シングル・アクション read/write実行時の、リターン値を調べた。 (H). onl7v2 上で、シングルアクション、割り込み、ブロック転送の実行速度 を調べた。 (I). シングルアクションの実行に要する時間を、精度を上げて測定した。 (J). Dhrystone ベンチマーク・プログラムを実行した。 (K). Solaris2.6 のシステムが立ち上がれなくなった。 システムを インストールし直した。 (2). ここでやるべきこと /etc の下の各設定、および /export/home の作成をやる。 (3). /etc の下の各設定 マウント情報をチェック onl7v2# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 65767 20082 45620 31% / /dev/dsk/c0t3d0s6 586735 383722 202427 66% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s7 7910181 153629 7677451 2% /export/home /dev/dsk/c0t3d0s5 28719 10049 18642 36% /opt swap 115912 12 115900 1% /tmp onl7v2# (3-1). ルートの環境設定 onl7v2# pwd / onl7v2# source /.cshrc /.cshrc: No such file or directory onl7v2# ls -l /etc/skel total 6 -rw-r--r-- 1 root sys 124 Dec 25 11:08 local.cshrc -rw-r--r-- 1 root sys 575 Jul 16 1997 local.login -rw-r--r-- 1 root sys 560 Jul 16 1997 local.profile onl7v2# cp /etc/skel/local.cshrc .cshrc onl7v2# cp /etc/skel/local.login .login onl7v2# cp /etc/skel/local.profile .profile onl7v2# source .login onl7v2# source .cshrc onl7v2# (3-2). /etc/auto_kekfs の設定 onl7v2# pwd / onl7v2# cd /etc onl7v2# ls -l auto* -rw-r--r-- 1 root bin 50 Dec 25 11:12 auto_home -rw-r--r-- 1 root bin 113 Dec 25 11:12 auto_master lrwxrwxrwx 1 root root 16 Dec 25 11:07 autopush -> ../sbin/autopush onl7v2# mv auto_master auto_master.org onl7v2# cp auto_master.org auto_master onl7v2# ls -l auto* -rw-r--r-- 1 root bin 50 Dec 25 11:12 auto_home -rw-r--r-- 1 root other 113 Jan 5 15:37 auto_master -rw-r--r-- 1 root bin 113 Dec 25 11:12 auto_master.org lrwxrwxrwx 1 root root 16 Dec 25 11:07 autopush -> ../sbin/autopush onl7v2# chgrp bin auto_master onl7v2# ls -l auto* -rw-r--r-- 1 root bin 50 Dec 25 11:12 auto_home -rw-r--r-- 1 root bin 113 Jan 5 15:37 auto_master -rw-r--r-- 1 root bin 113 Dec 25 11:12 auto_master.org lrwxrwxrwx 1 root root 16 Dec 25 11:07 autopush -> ../sbin/autopush onl7v2# vi auto_master # Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse /home auto_home -nobrowse /xfn -xfn /kekfs /etc/auto_kekfs ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "auto_master" 7 lines, 145 characters onl7v2# onl7v2# vi auto_kekfs kek -ro,intr,suid kiwifs:/public/sun/Solaris2 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "auto_kekfs" [New file] 2 lines, 61 characters onl7v2# ls -l auto* -rw-r--r-- 1 root bin 50 Dec 25 11:12 auto_home -rw-r--r-- 1 root other 61 Jan 5 15:41 auto_kekfs -rw-r--r-- 1 root bin 145 Jan 5 15:40 auto_master -rw-r--r-- 1 root bin 113 Dec 25 11:12 auto_master.org lrwxrwxrwx 1 root root 16 Dec 25 11:07 autopush -> ../sbin/autopush onl7v2# chgrp bin auto_kekfs onl7v2# ls -l auto* -rw-r--r-- 1 root bin 50 Dec 25 11:12 auto_home -rw-r--r-- 1 root bin 61 Jan 5 15:41 auto_kekfs -rw-r--r-- 1 root bin 145 Jan 5 15:40 auto_master -rw-r--r-- 1 root bin 113 Dec 25 11:12 auto_master.org lrwxrwxrwx 1 root root 16 Dec 25 11:07 autopush -> ../sbin/autopush onl7v2# (3-3). /etc/defaultdomain の設定 onl7v2# ls -l defaultdomain defaultdomain: No such file or directory onl7v2# vi defaultdomain kek.jp ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "defaultdomain" [New file] 1 line, 7 characters onl7v2# ls -l defaultdomain -rw-r--r-- 1 root other 7 Jan 5 15:53 defaultdomain onl7v2# chgrp sys defaultdomain onl7v2# ls -l defaultdomain -rw-r--r-- 1 root sys 7 Jan 5 15:53 defaultdomain onl7v2# (3-4). /etc/defaultrouter の設定 onl7v2# ls -l defaultrouter defaultrouter: No such file or directory onl7v2# vi defaultrouter CCFG1 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "defaultrouter" [New file] 1 line, 6 characters onl7v2# ls -l defaultrouter -rw-r--r-- 1 root other 6 Jan 5 15:58 defaultrouter onl7v2# chgrp sys defaultrouter onl7v2# ls -l defaultrouter -rw-r--r-- 1 root sys 6 Jan 5 15:58 defaultrouter onl7v2# (3-5). /etc/group の設定 onl7v2# ls -l gr* -rw-r--r-- 1 root sys 278 Dec 25 11:08 group lrwxrwxrwx 1 root root 17 Dec 25 11:07 grpck -> ../usr/sbin/grpck onl7v2# mv group group.org onl7v2# cp group.org group onl7v2# ls -l group* -rw-r--r-- 1 root other 278 Jan 5 16:00 group -rw-r--r-- 1 root sys 278 Dec 25 11:08 group.org onl7v2# chgrp sys group onl7v2# ls -l group* -rw-r--r-- 1 root sys 278 Jan 5 16:00 group -rw-r--r-- 1 root sys 278 Dec 25 11:08 group.org onl7v2# vi group root::0:root,inoue,,keibun,kodama,yasu,igarashi other::1: bin::2:root,bin,daemon sys::3:root,bin,sys,adm,inoue adm::4:root,adm,daemon uucp::5:root,uucp mail::6:root tty::7:root,tty,adm lp::8:root,lp,adm nuucp::9:root,nuucp staff::10: daemon::12:root,daemon sysadmin::14: user::20: kek::100: nobody::60001: noaccess::60002: nogroup::65534: ~ ~ ~ ~ "group" 18 lines, 339 characters onl7v2# (3-6). /etc/nsswitch.conf の設定 onl7v2# ls -l nss* -rw-r--r-- 1 root root 686 Dec 28 14:48 nsswitch.conf -rw-r--r-- 1 root sys 686 Jul 16 1997 nsswitch.files -rw-r--r-- 1 root sys 919 Jul 16 1997 nsswitch.nis -rw-r--r-- 1 root sys 1193 Jul 16 1997 nsswitch.nisplus onl7v2# mv nsswitch.conf nsswitch.conf.org onl7v2# cp nsswitch.conf.org nsswitch.conf onl7v2# ls -l nsswitch.conf* -rw-r--r-- 1 root other 686 Jan 5 16:06 nsswitch.conf -rw-r--r-- 1 root root 686 Dec 28 14:48 nsswitch.conf.org onl7v2# chgrp root nsswitch.conf onl7v2# ls -l nsswitch.conf* -rw-r--r-- 1 root root 686 Jan 5 16:06 nsswitch.conf -rw-r--r-- 1 root root 686 Dec 28 14:48 nsswitch.conf.org onl7v2# vi nsswitch.conf # # /etc/nsswitch.files: # # An example file that could be copied over to /etc/nsswitch.conf; it # does not use any naming service. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. passwd: files group: files hosts: files dns networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files # At present there isn't a 'files' backend for netgroup; the system will # figure it out pretty quickly, and won't use netgroups at all. netgroup: files automount: files aliases: files services: files sendmailvars: files "nsswitch.conf" 26 lines, 690 characters onl7v2# (3-7). resolv.conf の設定 onl7v2# ls -l resolv.conf resolv.conf: No such file or directory onl7v2# vi resolv.conf domain kek.jp nameserver 130.87.152.2 nameserver 130.87.34.6 nameserver 130.87.34.2 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "resolv.conf" [New file] 5 lines, 109 characters onl7v2# ls -l resolv.conf -rw-r--r-- 1 root other 109 Jan 5 16:20 resolv.conf onl7v2# (3-8). /etc/hosts の設定 nl7v2# cd inet /etc/inet onl7v2# ls -l hosts* -r--r--r-- 1 root sys 77 Dec 25 11:40 hosts onl7v2# mv hosts hosts.org onl7v2# ftp ftp.kek.jp Connected to is2.kek.jp. 220 is2.kek.jp FTP server (Version wu-2.4(9) Thu Mar 27 01:00:50 JST 1997) ready. Name (ftp.kek.jp:inoue): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: 230- 230-*** KEK COMPUTING CENTER ANONYMOUS FTP SERVICE *** 230- 230- This service is experimental. All transfers are logged. 230- Send comments to ftp-admin@is2.kek.jp. 230- 230- Local time (JST): Tue Jan 5 16:33:49 1999 230- 230- There are some extensions to this FTP server such that if the 230- user specifies a filename (when using a RETRIEVE command) such that: 230- 230- True Filename Specified Filename Action 230- ------------- ------------------ ----------------------------------- 230- .Z Decompress file before transmitting 230- .gz Gunzip file before transmitting 230- .Z Compress before 230- transmitting 230- .gz gzip before transmitting 230- .tar Tar before transmitting 230- .tar.Z Tar and compress before 230- transmitting 230- .tar.gz Tar and gzip before 230- transmitting 230--- 230- The access to the /cern directory is restricted. 230- 230 Guest login ok, access restrictions apply. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 3756 dr-xr-xr-x 2 0 0 8192 May 8 1998 bin drwxr-x--x 10 299 127 512 Jun 2 1998 cern dr-xr-xr-x 2 0 0 8192 Apr 28 1997 etc drwxr-xr-x 4 0 0 8192 Apr 28 1997 hep drwxr-xr-x 28 0 0 8192 Aug 18 13:30 kek -rw-r--r-- 1 0 0 3135624 Jan 5 07:01 ls-lR -rw-r--r-- 1 0 0 655228 Jan 5 07:01 ls-lR.Z dr-xr-xr-x 12 0 0 8192 Jul 3 1998 pub drwxr-xr-x 3 0 0 8192 May 8 1998 usr -rw-r--r-- 1 0 0 1031 Apr 28 1997 welcome.msg -rw-r--r-- 1 0 0 304 Apr 28 1997 welcome.msg.old 226 Transfer complete. 688 bytes received in 0.038 seconds (17.74 Kbytes/s) ftp> cd kek/netinfo 250-This directory holds up-to-date network-related tables for KEK internal 250-use only. 250- 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 381 -rw-r--r-- 1 0 30 82 Feb 17 1994 .message -rw-r----- 1 0 30 375812 Jan 5 11:03 hosts drwxr-xr-x 2 0 30 8192 Oct 18 1994 mail-example -rw-r----- 1 0 30 3096 Feb 17 1994 networks 226 Transfer complete. 268 bytes received in 0.031 seconds (8.52 Kbytes/s) ftp> get hosts 200 PORT command successful. 150 Opening ASCII mode data connection for hosts (375812 bytes). 226 Transfer complete. local: hosts remote: hosts 382772 bytes received in 0.43 seconds (871.96 Kbytes/s) ftp> quit 221 Goodbye. onl7v2# ls -l total 786 -rw-r--r-- 1 root other 375812 Jan 5 16:28 hosts -r--r--r-- 1 root sys 77 Dec 25 11:40 hosts.org -r--r--r-- 1 root sys 5060 Dec 25 11:13 inetd.conf -r--r--r-- 1 root sys 592 Dec 25 11:40 netmasks -r--r--r-- 1 root sys 372 Dec 25 11:08 networks -rw-r--r-- 1 root sys 283 Jul 16 1997 ntp.client -rw-r--r-- 1 root sys 2329 Jul 16 1997 ntp.server -r--r--r-- 1 root sys 980 Dec 25 11:08 protocols -r--r--r-- 1 root sys 2177 Dec 25 11:13 services -r--r--r-- 1 root sys 305 Dec 25 11:08 sock2path onl7v2# chgrp sys hosts onl7v2# ls -l hosts* -rw-r--r-- 1 root sys 375812 Jan 5 16:28 hosts -r--r--r-- 1 root sys 77 Dec 25 11:40 hosts.org onl7v2# (3-9). /etc/networks の設定 onl7v2# ls -l networks* -r--r--r-- 1 root sys 372 Dec 25 11:08 networks onl7v2# mv networks networks.org onl7v2# cp networks.org networks onl7v2# ls -l networks* -r--r--r-- 1 root other 372 Jan 6 09:51 networks -r--r--r-- 1 root sys 372 Dec 25 11:08 networks.org onl7v2# chgrp sys networks onl7v2# ls -l networks* -r--r--r-- 1 root sys 372 Jan 6 09:51 networks -r--r--r-- 1 root sys 372 Dec 25 11:08 networks.org onl7v2# chmod u+w networks onl7v2# vi networks #ident "@(#)networks 1.4 92/07/14 SMI" /* SVr4.0 1.1 */ # # The networks file associates Internet Protocol (IP) network numbers # with network names. The format of this file is: # # network-name network-number nicnames . . . # # # The loopback network is used only for intra-machine communication # loopback 127 # # Internet networks # arpanet 10 arpa # Historical FG-cluster-1 130.87.152 ~ ~ ~ ~ "networks" 19 lines, 400 characters onl7v2# ls -l networks* -rw-r--r-- 1 root sys 400 Jan 6 09:53 networks -r--r--r-- 1 root sys 372 Dec 25 11:08 networks.org onl7v2# chmod u-w networks onl7v2# ls -l networks* -r--r--r-- 1 root sys 400 Jan 6 09:53 networks -r--r--r-- 1 root sys 372 Dec 25 11:08 networks.org onl7v2# (3-10). /etc/passwd の設定 onl7v2# pwd /etc onl7v2# ls -l pass* -r--r--r-- 1 root other 508 Jan 5 10:16 passwd onl7v2# mv passwd passwd.org onl7v2# cp /export/home/onl7v2/inoue/etc-log/passwd . onl7v2# ls -l passwd* -r--r--r-- 1 root other 881 Jan 6 10:04 passwd -r--r--r-- 1 root other 508 Jan 5 10:16 passwd.org onl7v2# chgrp sys passwd onl7v2# ls -l passwd* -r--r--r-- 1 root sys 881 Jan 6 10:04 passwd -r--r--r-- 1 root other 508 Jan 5 10:16 passwd.org onl7v2# (3-11). /etc/shadow の設定 onl7v2# ls -l sha* -r-------- 1 root other 297 Jan 5 10:17 shadow onl7v2# mv shadow shadow.org onl7v2# cp shadow.org shadow onl7v2# ls -l shadow* -r-------- 1 root other 297 Jan 6 10:08 shadow -r-------- 1 root other 297 Jan 5 10:17 shadow.org onl7v2# chgrp sys shadow onl7v2# chmod u+w shadow onl7v2# ls -l shadow* -rw------- 1 root sys 297 Jan 6 10:08 shadow -r-------- 1 root other 297 Jan 5 10:17 shadow.org onl7v2# vi shadow ~ ~ "shadow" 21 lines, 520 characters onl7v2# (3-12). /etc/oshadow の設定 onl7v2# ls -l osh* No match onl7v2# cp /export/home/onl7v2/inoue/etc-log/oshadow . onl7v2# ls -l osh* -r-------- 1 root other 475 Jan 6 10:14 oshadow onl7v2# chgrp sys oshadow onl7v2# chmod go-r oshadow onl7v2# ls -l oshadow* -r-------- 1 root sys 475 Jan 6 10:14 oshadow onl7v2# ここでシステムをリブートする。 onl7v2# /usr/sbin/shutdown -i0 -g0 Shutdown started. Wed Jan 6 10:19:28 JST 1999 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl7v2 Wed Jan 6 10:19:30... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl7v2: RPC: Program not registered Changing to init state 0 - please wait onl7v2# 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. syslogd: going down on signal 15 Jan 6 10:20:19 snmpdx: received signal 15 The system is down. syncing file systems... done Program terminated Type help for more information ok ok boot -r Resetting ... SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9159440. Ethernet address 0:80:42:b:53:10, Host ID: 808bc310. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.6 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: onl7v2 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/c0t3d0s7: is clean. add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl7v2 syslog service starting. Print services started. volume management starting. The system is ready. onl7v2 console login: ok. 正常に立ち上がった。 (4). ユーザ登録について ユーザ登録は、/etc/passwd等の復旧をやったことですでに完了している。 各ユーザのホームディレクトリは元に戻してある。 (5). ネットワークの設定を確認 システムをリブートしてからネットワークの設定を確認する。 onl7v2 console login: root Password: Jan 6 10:42:02 onl7v2 login: ROOT LOGIN /dev/console Last login: Wed Jan 6 10:19:01 on console Sun Microsystems Inc. SunOS 5.6 Generic August 1997 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # csh onl7v2# source /.cshrc onl7v2# reboot Jan 6 10:42:20 onl7v2 reboot: rebooted by root syslogd: going down on signal 15 syncing file systems... done rebooting... Resetting ... SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9159440. Ethernet address 0:80:42:b:53:10, Host ID: 808bc310. Rebooting with command: Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: SunOS Release 5.6 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: onl7v2 The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s7: is clean. add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl7v2 syslog service starting. Print services started. volume management starting. The system is ready. onl7v2 console login: onl7v2# ifconfig -a lo0: flags=849 mtu 8232 inet 127.0.0.1 netmask ff000000 le0: flags=863 mtu 1500 inet 130.87.153.109 netmask fffffc00 broadcast 130.87.155.255 ether 0:80:42:b:53:10 onl7v2# netstat -rn Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 130.87.152.0 130.87.153.109 U 3 1 le0 224.0.0.0 130.87.153.109 U 3 0 le0 default 130.87.152.1 UG 0 0 127.0.0.1 127.0.0.1 UH 0 6 lo0 onl7v2# netstat -r Routing Table: Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 130.87.152.0 onl7v2 U 3 1 le0 BASE-ADDRESS.MCAST.NET onl7v2 U 3 0 le0 default ICCFG1 UG 0 0 localhost localhost UH 0 6 lo0 onl7v2# ok. 正しく設定できている。 (6). /kek シンボリックリンクを作る (6-1). / ディレクトリに /kek のシンボリックリンクを作る onl7v2# pwd / onl7v2# ls -l total 122 lrwxrwxrwx 1 root root 9 Dec 25 11:07 bin -> ./usr/bin drwxr-xr-x 2 root nobody 512 Dec 25 13:30 cdrom drwxrwxr-x 18 root sys 3072 Jan 6 10:43 dev drwxrwxr-x 5 root sys 512 Dec 25 11:40 devices drwxr-xr-x 29 root sys 3072 Jan 6 10:43 etc drwxrwxr-x 3 root sys 512 Dec 25 11:05 export dr-xr-xr-x 1 root root 1 Jan 6 10:43 home -rw-r--r-- 1 root other 12863 Dec 25 13:38 inoue.log dr-xr-xr-x 1 root root 1 Jan 6 10:43 kekfs drwxr-xr-x 9 root sys 512 Dec 25 11:08 kernel lrwxrwxrwx 1 root root 9 Dec 25 11:07 lib -> ./usr/lib drwx------ 2 root root 8192 Dec 25 11:04 lost+found drwxrwxr-x 2 root sys 512 Dec 25 11:07 mnt dr-xr-xr-x 2 root root 2 Jan 6 10:43 net drwxrwxr-x 7 root sys 512 Dec 25 11:33 opt drwxr-xr-x 3 root sys 1024 Dec 25 11:09 platform dr-xr-xr-x 35 root root 16064 Jan 6 11:08 proc drwxrwxr-x 2 root sys 512 Dec 25 11:11 sbin drwxrwxrwt 6 sys sys 320 Jan 6 11:04 tmp drwxrwxr-x 32 root sys 1024 Jan 6 11:01 usr drwxrwxr-x 23 root sys 512 Dec 25 13:30 var dr-xr-xr-x 6 root root 512 Jan 6 10:43 vol dr-xr-xr-x 1 root root 1 Jan 6 10:43 xfn onl7v2# ln -s kekfs/kek kek onl7v2# ls -l total 124 lrwxrwxrwx 1 root root 9 Dec 25 11:07 bin -> ./usr/bin drwxr-xr-x 2 root nobody 512 Dec 25 13:30 cdrom drwxrwxr-x 18 root sys 3072 Jan 6 10:43 dev drwxrwxr-x 5 root sys 512 Dec 25 11:40 devices drwxr-xr-x 29 root sys 3072 Jan 6 10:43 etc drwxrwxr-x 3 root sys 512 Dec 25 11:05 export dr-xr-xr-x 1 root root 1 Jan 6 10:43 home -rw-r--r-- 1 root other 12863 Dec 25 13:38 inoue.log lrwxrwxrwx 1 root other 9 Jan 6 11:09 kek -> kekfs/kek dr-xr-xr-x 1 root root 1 Jan 6 10:43 kekfs drwxr-xr-x 9 root sys 512 Dec 25 11:08 kernel lrwxrwxrwx 1 root root 9 Dec 25 11:07 lib -> ./usr/lib drwx------ 2 root root 8192 Dec 25 11:04 lost+found drwxrwxr-x 2 root sys 512 Dec 25 11:07 mnt dr-xr-xr-x 2 root root 2 Jan 6 10:43 net drwxrwxr-x 7 root sys 512 Dec 25 11:33 opt drwxr-xr-x 3 root sys 1024 Dec 25 11:09 platform dr-xr-xr-x 35 root root 16064 Jan 6 11:10 proc drwxrwxr-x 2 root sys 512 Dec 25 11:11 sbin drwxrwxrwt 6 sys sys 320 Jan 6 11:04 tmp drwxrwxr-x 32 root sys 1024 Jan 6 11:01 usr drwxrwxr-x 23 root sys 512 Dec 25 13:30 var dr-xr-xr-x 6 root root 512 Jan 6 10:43 vol dr-xr-xr-x 1 root root 1 Jan 6 10:43 xfn onl7v2# /kek ディレクトリーに正しくマウントできたかどうかチェック。 onl7v2# ls -lL /kek total 8 drwxrwxr-x 23 root sys 512 Apr 1 1995 SUNWspro drwxrwxr-x 10 10101 10101 512 Jun 3 1997 cern drwxr-xr-x 5 root other 512 Mar 4 1998 compilers drwxr-xr-x 34 10101 10101 1024 Mar 26 1998 local onl7v2# ok. うまくマウントできた。 次に VMEドライバのインストール、camacドライバのインストールをやる。 --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル