Feb 12, 1999 frc7v-cl1: Server Solaris 2.6、cc ドライバのテスト --- クライアントシステムへのcc ドライバの インストール#01(その1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/onl8v1-sol2.6-serv/ Cli1-CAMAC/camac-step01.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). 株式会社ロジックハウスの白田様より SPARC CPU-8VT と、VMEドライバ v2.3.1 を借用した。 (B). 株式会社ロジックハウスの白田様より Server Solaris 2.6 のシステム がインストールされているハードディスクを借用した。 (C). 借用したハードディスクのサーバ側のシステム設定を変更して、KEK の FP クラスタ上で立ち上げた。 (D). ファイルを直接修正する方法で、クライアント(その1)側のシステム 設定を変更したがクライアントは立ち上がれなかった。 (E). Solsticeを起動してホストマネージャを使って、frc7v-cl1ディスクレス クライアントの設定をやり直した。 (F). ディスクレス・クライアントのシステム、frc7v-cl1 が起動できること を確認した。 (G). frc7v-cl1 のシステムにVMEドライバ、FRCvme-2.3.1 をインストールし、 その後、frc7v-cl1 のシステム設定をやり直した。 (H). Solsticeを起動してホストマネージャを使って、frc7v-cl2ディスクレス クライアントの設定をやり直した。 (I). ディスクレス・クライアントのシステム、frc7v-cl2 が起動できること を確認した。 (2). ここでやるべきこと frc7v-cl1、クライアントのシステムに ccドライバをインストールする。 (3). frc7v-cl1、クライアントシステムでの camacテスト構成 配置図は次のとうり。 Slot Number #1 #2 #3 #4 #5 #6 #7 +----------------------------------------------------+ |+--+ +--+ +--+ | || | | | | | | || | | | | | | || | | | | | VME Crate | || | | | | | | || | | | | | | || | | | | | | || |+--+| | | | | Hard Disk || || || | | | | +------+ || || || | | | | | o--------------o || || | |o | | | | || || || | || | | +------+ ||o |+--+|o | || | | |+|-+ +|-+ +|-+ | +-|-------|---------------|--------------------------+ | | V 10Base-T | | 10Base-T CAMAC | | FP +-------------|-------|-----------------------------+ Cluster | +--+ +|-+ +|-+ | <--------o | |o | |o | Switching Hub | | +--+ +--+ +--+ | | | +---------------------------------------------------+ スロット#1: SPARC CPU-8VT(ホスト名はfrc8vt) このボードには、一時的にFPクラスタのIPアドレス   を割り当ててテストを行う。 このボードは、               スロット#3に挿してあるボードのサーバ・システム               として動作している。 スロット#2: このスロットはスロット#1のCPU-8VTのSBusに差した FastEthernetボードが占有している。 スロット#3: SPARC CPU-7V(ホスト名はfrc7v-cl1) このボードにはローカル・ディスクはつないでない。               スロット#1に挿してあるボードのディスクレス・ クライアント・システムとして動作している。 スロット#4: 空き スロット#5: 空き スロット#6: 空き スロット#7: K2917 (3). ccドライバのキットを入手、インストールする (3-1). オンライン・グループの anonymous ftp サイトから、キットを入手 frc7v-cl1[61]% pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver frc7v-cl1[62]% ls -l total 0 frc7v-cl1[63]% ftp online Connected to onlax2.kek.jp. 220 onlax2.kek.jp FTP server (Digital UNIX Version 5.60) ready. Name (online:inoue): anonymous 331 Guest login ok, send ident as password. Password: 230 Guest login ok, access restrictions apply. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls (130.87.217.127,32852). total 4 d--x--x--x 2 0 0 512 Jun 17 1997 bin drwxr-xr-x 3 0 0 512 Jun 17 1997 etc drwxr-xr-x 4 60002 60002 512 Jun 17 1997 pub -rw-r--r-- 1 0 0 125 Jun 17 1997 welcome.msg 226 Transfer complete. 253 bytes received in 0.24 seconds (1.05 Kbytes/s) ftp> cd pub/kek/camac 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls (130.87.217.127,32858). total 3260 -rw-r--r-- 1 0 10 1173 Apr 19 1995 122d_to_e.tar.gz -rw-r--r-- 1 0 10 22160 Nov 19 1997 FORCE-5V-sol2.5.tar.gz -rw-r--r-- 1 0 10 2494 Dec 2 1994 README -rw-r--r-- 1 0 10 3885 Nov 18 14:58 SPARC-status.html -rw-r--r-- 1 0 10 21435 Dec 13 1994 camac.sol2-1.30.tar.gz -rw-r--r-- 1 0 10 169539 Aug 18 1993 camac.sparc-1.22b.tar.Z -rw-r--r-- 1 0 10 91662 Aug 18 1993 camac.sparc-1.22b.tar.gz -rw-r--r-- 1 0 10 198417 Aug 19 1993 camac.sparc-1.22c.tar.Z -rw-r--r-- 1 0 10 110755 Aug 19 1993 camac.sparc-1.22c.tar.gz -rw-r--r-- 1 0 10 199103 Sep 4 1993 camac.sparc-1.22d.tar.Z -rw-r--r-- 1 0 10 110752 Sep 4 1993 camac.sparc-1.22d.tar.gz -rw-r--r-- 1 0 10 287493 Apr 20 1995 camacv1.01_decs.tar.Z -rw-r--r-- 1 0 10 231505 Dec 2 1994 camacv1.01_hprt.tar.Z -rw-r--r-- 1 0 10 132002 Dec 2 1994 camacv1.01_hprt.tar.gz -rw-r--r-- 1 0 10 283202 Dec 2 1994 camacv1.0_decs.tar.Z -rw-r--r-- 1 0 10 159495 Dec 2 1994 camacv1.0_decs.tar.gz -rw-r--r-- 1 0 10 216777 Sep 13 1994 camacv1.0_hprt.tar.Z -rw-r--r-- 1 0 10 122114 Sep 13 1994 camacv1.0_hprt.tar.gz -rw-r--r-- 1 0 10 87379 Nov 30 1994 camlib-docs-1.0.tar.Z -rw-r--r-- 1 0 10 51118 Nov 30 1994 camlib-docs-1.0.tar.gz -rw-r--r-- 1 0 10 13589 Jan 17 1995 sparc-3ce.tar.gz -rw-r--r-- 1 0 10 233395 Aug 18 1993 tdaq-1.00.tar.Z -rw-r--r-- 1 0 10 121288 Apr 2 1992 tdaq-1.00.tar.gz -rw-r--r-- 1 0 10 277799 Jan 20 1995 vme-3CE.tar.gz 226 Transfer complete. 1830 bytes received in 0.067 seconds (26.70 Kbytes/s) ftp> binary 200 Type set to I. ftp> get FORCE-5V-sol2.5.tar.gz 200 PORT command successful. 150 Opening BINARY mode data connection for FORCE-5V-sol2.5.tar.gz (130.87.217.1 27,32859) (22160 bytes). 226 Transfer complete. local: FORCE-5V-sol2.5.tar.gz remote: FORCE-5V-sol2.5.tar.gz 22160 bytes received in 0.067 seconds (321.13 Kbytes/s) ftp> quit 221 Goodbye. frc7v-cl1[64]% ls -l total 44 -rw-r--r-- 1 inoue staff 22160 Feb 9 1999 FORCE-5V-sol2.5.tar.gz frc7v-cl1[65]% (3-2). 入手したキットを展開する frc7v-cl1[40]% pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver frc7v-cl1[41]% ls -l total 44 -rw-r--r-- 1 inoue staff 22160 Feb 9 15:57 FORCE-5V-sol2.5.tar.gz frc7v-cl1[42]% gzip -d FORCE-5V-sol2.5.tar.gz frc7v-cl1[43]% ls -l total 256 -rw-r--r-- 1 inoue staff 120320 Nov 10 1997 FORCE-5V-sol2.5.tar frc7v-cl1[44]% tar xvf FORCE-5V-sol2.5.tar x FORCE-5V-sol2.5, 0 bytes, 0 tape blocks x FORCE-5V-sol2.5/Makefile, 2041 bytes, 4 tape blocks x FORCE-5V-sol2.5/README, 2730 bytes, 6 tape blocks x FORCE-5V-sol2.5/cam1.c, 1170 bytes, 3 tape blocks x FORCE-5V-sol2.5/cam3.c, 2055 bytes, 5 tape blocks x FORCE-5V-sol2.5/camlib.c, 9740 bytes, 20 tape blocks x FORCE-5V-sol2.5/camlib.h, 1415 bytes, 3 tape blocks x FORCE-5V-sol2.5/cc.c, 64403 bytes, 126 tape blocks x FORCE-5V-sol2.5/cc.conf, 288 bytes, 1 tape blocks x FORCE-5V-sol2.5/cc.h, 2748 bytes, 6 tape blocks x FORCE-5V-sol2.5/cc_common.h, 2288 bytes, 5 tape blocks x FORCE-5V-sol2.5/cc_config.h, 876 bytes, 2 tape blocks x FORCE-5V-sol2.5/forlib.c, 3289 bytes, 7 tape blocks x FORCE-5V-sol2.5/k2917.h, 4058 bytes, 8 tape blocks x FORCE-5V-sol2.5/script, 0 bytes, 0 tape blocks x FORCE-5V-sol2.5/script/cc_build.sh, 234 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/cc_load.sh, 611 bytes, 2 tape blocks x FORCE-5V-sol2.5/script/cc_unload.sh, 270 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/cc_build.gcc.sh, 233 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/cc_link.sh, 528 bytes, 2 tape blocks x FORCE-5V-sol2.5/script/awk2.txt, 37 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/awk1.txt, 66 bytes, 1 tape blocks x FORCE-5V-sol2.5/cam2.f, 2295 bytes, 5 tape blocks frc7v-cl1[45]% ls -l total 258 drwxr-xr-x 3 inoue staff 512 May 23 1997 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue staff 120320 Nov 10 1997 FORCE-5V-sol2.5.tar frc7v-cl1[44]% (3-3). 展開したキットをコンパイルする (3-3-1). コンパイラのバージョンをチェック frc7v-cl1[45]% which cc /kek/compilers/volume5/SUNWspro/bin/cc frc7v-cl1[46]% which f77 /kek/compilers/volume5/SUNWspro/bin/f77 frc7v-cl1[47]% cc -V cc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 usage: cc [ options] files. Use 'cc -flags' for details frc7v-cl1[48]% f77 -V f77: WorkShop Compilers 4.2.1 04 Feb 1997 FORTRAN 77 4.2.1 Usage: f77 [ options ] files. Use 'f77 -flags' for details frc7v-cl1[49]% (3-3-2). CAMACドライバをコンパイルする frc7v-cl1[53]% pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1[54]% ls -l total 210 -rw-r--r-- 1 inoue staff 2041 May 23 1997 Makefile -rw-r--r-- 1 inoue staff 2730 Jul 1 1997 README -rw-r--r-- 1 inoue staff 1170 May 13 1997 cam1.c -rw-r--r-- 1 inoue staff 2295 May 22 1997 cam2.f -rw-r--r-- 1 inoue staff 2055 May 21 1997 cam3.c -rw-r--r-- 1 inoue staff 9740 May 21 1997 camlib.c -rw-r--r-- 1 inoue staff 1415 May 13 1997 camlib.h -rw-r--r-- 1 inoue staff 64403 Jun 2 1997 cc.c -rw-r--r-- 1 inoue staff 288 May 13 1997 cc.conf -rw-r--r-- 1 inoue staff 2748 May 13 1997 cc.h -rw-r--r-- 1 inoue staff 2288 May 13 1997 cc_common.h -rw-r--r-- 1 inoue staff 876 May 13 1997 cc_config.h -rw-r--r-- 1 inoue staff 3289 May 13 1997 forlib.c -rw-r--r-- 1 inoue staff 4058 May 13 1997 k2917.h drwxr-xr-x 2 inoue staff 512 Nov 10 1997 script/ frc7v-cl1[55]% make ./script/cc_build.sh [Building for sun4m] rm -f cc.o cc -O -c camlib.c -o camlib.o -I. cc -O -c forlib.c -o forlib.o -I. rm -f libcamac.a ar rcv libcamac.a camlib.o forlib.o a - camlib.o a - forlib.o ar: writing libcamac.a cc -O cam1.c -o cam1 -I. -L. -lcamac f77 -fast -O3 -u cam2.f -o cam2 -I. -L. -lcamac cam2.f: MAIN: cc -O cam3.c -o cam3 -I. -L. -lcamac frc7v-cl1[56]% (3-4). "make install" をやる frc7v-cl1[72]% ls -l /usr/local /usr/local: No such file or directory frc7v-cl1[73]% (3-4-1). サーバと共用の /usr/local ディレクトリを作る /usr/local を /export/home/frc8vt/local/ へシンボリック・リンクする。 frc8vt# pwd /usr frc8vt# ls -l total 142 drwxrwxr-x 2 root bin 1024 Dec 7 14:00 4lib/ lrwxrwxrwx 1 root root 5 Dec 7 13:43 5bin -> ./bin/ drwxrwxr-x 5 root sys 512 Dec 7 13:41 SUNWale/ lrwxrwxrwx 1 root root 9 Dec 7 13:33 X -> ./openwin/ lrwxrwxrwx 1 root root 10 Dec 7 13:46 adm -> ../var/adm/ drwx------ 8 root bin 512 Dec 7 13:41 aset/ drwxrwxr-x 2 root bin 7680 Dec 7 14:03 bin/ drwxr-xr-x 4 bin bin 512 Dec 7 13:35 ccs/ drwxrwxr-x 9 root bin 512 Dec 7 13:57 demo/ lrwxrwxrwx 1 root root 16 Dec 7 13:36 dict -> ./share/lib/dict/ drwxrwxr-x 9 root bin 512 Dec 7 13:46 dt/ drwxrwxr-x 2 root bin 512 Dec 7 13:35 games/ drwxrwxr-x 21 root bin 3584 Dec 7 15:05 include/ lrwxrwxrwx 1 root root 7 Dec 7 13:50 java -> java1.1/ drwxrwxr-x 6 root bin 512 Dec 7 13:50 java1.1/ drwxr-xr-x 9 root sys 512 Dec 7 13:35 kernel/ drwxrwxr-x 2 bin bin 512 Dec 7 13:35 kvm/ drwxrwxr-x 36 root bin 7168 Dec 7 17:04 lib/ drwx------ 2 root root 8192 Dec 7 13:32 lost+found/ lrwxrwxrwx 1 root root 11 Dec 7 13:35 mail -> ../var/mail/ lrwxrwxrwx 1 root root 11 Dec 7 13:39 man -> ./share/man/ drwxrwxr-x 4 root sys 512 Dec 7 13:35 net/ lrwxrwxrwx 1 root root 11 Dec 7 13:35 news -> ../var/news/ drwxr-xr-x 5 bin bin 512 Dec 7 13:46 oasys/ drwxrwxr-x 2 root bin 512 Dec 7 13:35 old/ drwxrwxr-x 8 root bin 512 Dec 7 14:03 openwin/ drwxr-xr-x 6 root sys 512 Dec 7 13:47 platform/ lrwxrwxrwx 1 root root 15 Dec 7 13:35 preserve -> ../var/preserv e/ drwxr-xr-x 4 bin bin 512 Dec 7 13:36 proc/ lrwxrwxrwx 1 root root 15 Dec 7 13:35 pub -> ./share/lib/pub/ drwxr-xr-x 5 bin bin 512 Dec 7 13:35 sadm/ drwxrwxr-x 4 root bin 5120 Dec 7 15:05 sbin/ drwxr-xr-x 6 root sys 512 Dec 7 13:35 share/ drwxr-xr-x 6 root bin 512 Dec 7 14:00 snadm/ lrwxrwxrwx 1 root root 12 Dec 7 13:35 spool -> ../var/spool/ lrwxrwxrwx 1 root root 11 Dec 7 13:35 src -> ./share/src/ lrwxrwxrwx 1 root root 10 Dec 7 13:35 tmp -> ../var/tmp/ drwxrwxr-x 2 root bin 2048 Dec 7 14:00 ucb/ drwxr-xr-x 4 bin bin 512 Dec 7 14:01 ucbinclude/ drwxr-xr-x 2 bin bin 512 Dec 7 14:01 ucblib/ drwxrwxr-x 2 root bin 512 Dec 7 13:48 usr/ drwxr-xr-x 7 bin bin 512 Dec 7 13:46 vmsys/ drwxr-xr-x 5 root bin 512 Dec 7 14:03 xpg4/ frc8vt# ln -s /export/home/frc8vt/local local frc8vt# ls -l total 144 drwxrwxr-x 2 root bin 1024 Dec 7 14:00 4lib/ lrwxrwxrwx 1 root root 5 Dec 7 13:43 5bin -> ./bin/ drwxrwxr-x 5 root sys 512 Dec 7 13:41 SUNWale/ lrwxrwxrwx 1 root root 9 Dec 7 13:33 X -> ./openwin/ lrwxrwxrwx 1 root root 10 Dec 7 13:46 adm -> ../var/adm/ drwx------ 8 root bin 512 Dec 7 13:41 aset/ drwxrwxr-x 2 root bin 7680 Dec 7 14:03 bin/ drwxr-xr-x 4 bin bin 512 Dec 7 13:35 ccs/ drwxrwxr-x 9 root bin 512 Dec 7 13:57 demo/ lrwxrwxrwx 1 root root 16 Dec 7 13:36 dict -> ./share/lib/dict/ drwxrwxr-x 9 root bin 512 Dec 7 13:46 dt/ drwxrwxr-x 2 root bin 512 Dec 7 13:35 games/ drwxrwxr-x 21 root bin 3584 Dec 7 15:05 include/ lrwxrwxrwx 1 root root 7 Dec 7 13:50 java -> java1.1/ drwxrwxr-x 6 root bin 512 Dec 7 13:50 java1.1/ drwxr-xr-x 9 root sys 512 Dec 7 13:35 kernel/ drwxrwxr-x 2 bin bin 512 Dec 7 13:35 kvm/ drwxrwxr-x 36 root bin 7168 Dec 7 17:04 lib/ lrwxrwxrwx 1 root other 25 Feb 10 10:22 local -> /export/home/frc8 vt/local drwx------ 2 root root 8192 Dec 7 13:32 lost+found/ lrwxrwxrwx 1 root root 11 Dec 7 13:35 mail -> ../var/mail/ lrwxrwxrwx 1 root root 11 Dec 7 13:39 man -> ./share/man/ drwxrwxr-x 4 root sys 512 Dec 7 13:35 net/ lrwxrwxrwx 1 root root 11 Dec 7 13:35 news -> ../var/news/ drwxr-xr-x 5 bin bin 512 Dec 7 13:46 oasys/ drwxrwxr-x 2 root bin 512 Dec 7 13:35 old/ drwxrwxr-x 8 root bin 512 Dec 7 14:03 openwin/ drwxr-xr-x 6 root sys 512 Dec 7 13:47 platform/ lrwxrwxrwx 1 root root 15 Dec 7 13:35 preserve -> ../var/preserv e/ drwxr-xr-x 4 bin bin 512 Dec 7 13:36 proc/ lrwxrwxrwx 1 root root 15 Dec 7 13:35 pub -> ./share/lib/pub/ drwxr-xr-x 5 bin bin 512 Dec 7 13:35 sadm/ drwxrwxr-x 4 root bin 5120 Dec 7 15:05 sbin/ drwxr-xr-x 6 root sys 512 Dec 7 13:35 share/ drwxr-xr-x 6 root bin 512 Dec 7 14:00 snadm/ lrwxrwxrwx 1 root root 12 Dec 7 13:35 spool -> ../var/spool/ lrwxrwxrwx 1 root root 11 Dec 7 13:35 src -> ./share/src/ lrwxrwxrwx 1 root root 10 Dec 7 13:35 tmp -> ../var/tmp/ drwxrwxr-x 2 root bin 2048 Dec 7 14:00 ucb/ drwxr-xr-x 4 bin bin 512 Dec 7 14:01 ucbinclude/ drwxr-xr-x 2 bin bin 512 Dec 7 14:01 ucblib/ drwxrwxr-x 2 root bin 512 Dec 7 13:48 usr/ drwxr-xr-x 7 bin bin 512 Dec 7 13:46 vmsys/ drwxr-xr-x 5 root bin 512 Dec 7 14:03 xpg4/ frc8vt# /export/home/frc8vt に localディレクトリを作る。 frc8vt# pwd /export/home/frc8vt frc8vt# ls -l total 2 drwxrwxrwx 4 inoue staff 512 Feb 9 15:33 inoue/ frc8vt# mkdir local frc8vt# ls -l total 4 drwxrwxrwx 4 inoue staff 512 Feb 9 15:33 inoue/ drwxr-xr-x 2 root other 512 Feb 10 10:24 local/ frc8vt# chmod go+w local frc8vt# ls -l total 4 drwxrwxrwx 4 inoue staff 512 Feb 9 15:33 inoue/ drwxrwxrwx 2 root other 512 Feb 10 10:24 local/ frc8vt# frc7v-cl1# pwd /export/home frc7v-cl1# ls -l total 2 drwxr-xr-x 4 root other 512 Feb 10 10:24 frc7v-cl1/ frc7v-cl1# mkdir frc8vt frc7v-cl1# ls -l total 4 drwxr-xr-x 4 root other 512 Feb 10 10:24 frc7v-cl1/ drwxr-xr-x 2 root other 512 Feb 10 1999 frc8vt/ frc7v-cl1# cd frc8vt frc7v-cl1# pwd /export/home/frc8vt frc7v-cl1# ln -s ../frc7v-cl1/local local frc7v-cl1# cd /usr/local frc7v-cl1# ls -l total 0 frc7v-cl1# pwd /export/home/frc7v-cl1/local frc7v-cl1# ok. これで、サーバとディスクレス・クライアントで /usr/localディレクトリ を共有できた。 frc7v-cl1[37]% cd /usr/local /usr/local frc7v-cl1[38]% ls -l total 0 frc7v-cl1[39]% pwd /usr/local frc7v-cl1[40]% touch t1 frc7v-cl1[41]% ls -l total 0 -rw-r--r-- 1 inoue staff 0 Feb 10 1999 t1 frc7v-cl1[42]% rm t1 frc7v-cl1[43]% ls -l total 0 frc7v-cl1[44]% (3-4-2). "make install" を実行する frc7v-cl1# pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1# ls -l total 490 -rw-r--r-- 1 inoue staff 2041 May 23 1997 Makefile -rw-r--r-- 1 inoue staff 2730 Jul 1 1997 README -rwxr-xr-x 1 inoue staff 13952 Feb 10 10:11 cam1* -rw-r--r-- 1 inoue staff 1170 May 13 1997 cam1.c -rwxr-xr-x 1 inoue staff 28972 Feb 10 10:11 cam2* -rw-r--r-- 1 inoue staff 2295 May 22 1997 cam2.f -rwxr-xr-x 1 inoue staff 14480 Feb 10 10:11 cam3* -rw-r--r-- 1 inoue staff 2055 May 21 1997 cam3.c -rw-r--r-- 1 inoue staff 9740 May 21 1997 camlib.c -rw-r--r-- 1 inoue staff 1415 May 13 1997 camlib.h -rw-r--r-- 1 inoue staff 9532 Feb 10 10:11 camlib.o -rw-r--r-- 1 inoue staff 54404 Feb 10 10:11 cc -rw-r--r-- 1 inoue staff 64403 Jun 2 1997 cc.c -rw-r--r-- 1 inoue staff 288 May 13 1997 cc.conf -rw-r--r-- 1 inoue staff 2748 May 13 1997 cc.h -rw-r--r-- 1 inoue staff 2288 May 13 1997 cc_common.h -rw-r--r-- 1 inoue staff 876 May 13 1997 cc_config.h -rw-r--r-- 1 inoue staff 3289 May 13 1997 forlib.c -rw-r--r-- 1 inoue staff 3484 Feb 10 10:11 forlib.o -rw-r--r-- 1 inoue staff 4058 May 13 1997 k2917.h -rw-r--r-- 1 inoue staff 13876 Feb 10 10:11 libcamac.a drwxr-xr-x 2 inoue staff 512 Nov 10 1997 script/ frc7v-cl1# pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1# make install /usr/ucb/install -d /usr/local/vme/camac/include /usr/ucb/install -d /usr/local/vme/camac/lib /usr/ucb/install -m 644 camlib.h cc_config.h cc_common.h cc.h \ k2917.h /usr/local/vme/camac/include /usr/ucb/install -m 644 libcamac.a /usr/local/vme/camac/lib frc7v-cl1# ls -lLR /usr/local /usr/local: total 2 drwxr-xr-x 3 nobody other 512 Feb 10 1999 vme/ /usr/local/vme: total 2 drwxr-xr-x 4 nobody other 512 Feb 10 1999 camac/ /usr/local/vme/camac: total 4 drwxr-xr-x 2 nobody other 512 Feb 10 1999 include/ drwxr-xr-x 2 nobody other 512 Feb 10 1999 lib/ /usr/local/vme/camac/include: total 26 -rw-r--r-- 1 nobody other 1415 Feb 10 1999 camlib.h -rw-r--r-- 1 nobody other 2748 Feb 10 1999 cc.h -rw-r--r-- 1 nobody other 2288 Feb 10 1999 cc_common.h -rw-r--r-- 1 nobody other 876 Feb 10 1999 cc_config.h -rw-r--r-- 1 nobody other 4058 Feb 10 1999 k2917.h /usr/local/vme/camac/lib: total 28 -rw-r--r-- 1 nobody other 13876 Feb 10 1999 libcamac.a frc7v-cl1# (3-4-2). "make load" を実行する frc7v-cl1# pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1# make load ./script/cc_load.sh [Installing CAMAC device driver] cp: cannot create /usr/kernel/drv/cc: Read-only file system cp: cannot create /usr/kernel/drv/cc.conf: Read-only file system [Adding CAMAC device driver to system] No such file or directory Cannot find module (cc). [Configuring CAMAC device driver] [Making CAMAC device files] frc7v-cl1# cc、および cc.confファイルを /usr/kernel/drvディレクトリへコピー できなかった。 frc7v-cl1[45]% df -k Filesystem kbytes used avail capacity Mounted on frc8vt:/export/root/frc7v-cl1 384360 55776 290144 17% / frc8vt:/export/exec/Solaris_2.6_sparc.all/usr 769248 481288 234112 68% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd swap 60624 12 60612 1% /tmp frc8vt:/export/home/frc8vt 2201104 14184 2142896 1% /export/home/frc7v-cl1 kiwifs:/public/sun/Solaris2 8316189 7573172 659856 92% /kekfs/kek onlsun1:/home3/local 1972728 943784 1026976 48% /net/onlsun1/home3/local frc7v-cl1[46]% /usrディレクトリは、frc8vt:/export/exec/Solaris_2.6_sparc.all/usr ディレクトリを使用している。 frc8vt[138]% pwd /export/exec/Solaris_2.6_sparc.all frc8vt[139]% ls -l total 2 lrwxrwxrwx 1 root root 4 Dec 7 16:32 usr -> /usr/ frc8vt[140]% frc8vt[151]% cat /etc/dfs/dfstab # Place share(1M) commands here for automatic execution # on entering init state 3. # # Issue the command '/etc/init.d/nfs.server start' to run the NFS # daemon processes and the share commands, after adding the very # first entry to this file. # # share [-F fstype] [ -o options] [-d ""] [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs -o ro /export/exec/Solaris_2.6_sparc.all/usr share -F nfs -o ro /usr share -F nfs /export/home/frc8vt share -F nfs -o rw=frc7v-cl1,root=frc7v-cl1 /export/root/frc7v-cl1 share -F nfs -o rw=frc7v-cl1,root=frc7v-cl1 /export/swap/frc7v-cl1 share -F nfs -o rw=frc7v-cl2,root=frc7v-cl2 /export/root/frc7v-cl2 share -F nfs -o rw=frc7v-cl2,root=frc7v-cl2 /export/swap/frc7v-cl2 frc8vt[152]% /export/exec/Solaris_2.6_sparc.all/usr は、クライアント側では、 read only でシェアーするように設定されている。 このディレクトリは サーバ側の /usrディレクトリそのものである。 camac のインストールは サーバ側でやってみよう。 frc8vt# pwd /export/home/frc8vt/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc8vt# ls -l total 490 -rw-r--r-- 1 inoue staff 2041 May 23 1997 Makefile -rw-r--r-- 1 inoue staff 2730 Jul 1 1997 README -rwxr-xr-x 1 inoue staff 13952 Feb 10 10:11 cam1* -rw-r--r-- 1 inoue staff 1170 May 13 1997 cam1.c -rwxr-xr-x 1 inoue staff 28972 Feb 10 10:11 cam2* -rw-r--r-- 1 inoue staff 2295 May 22 1997 cam2.f -rwxr-xr-x 1 inoue staff 14480 Feb 10 10:11 cam3* -rw-r--r-- 1 inoue staff 2055 May 21 1997 cam3.c -rw-r--r-- 1 inoue staff 9740 May 21 1997 camlib.c -rw-r--r-- 1 inoue staff 1415 May 13 1997 camlib.h -rw-r--r-- 1 inoue staff 9532 Feb 10 10:11 camlib.o -rw-r--r-- 1 inoue staff 54404 Feb 10 10:11 cc -rw-r--r-- 1 inoue staff 64403 Jun 2 1997 cc.c -rw-r--r-- 1 inoue staff 288 May 13 1997 cc.conf -rw-r--r-- 1 inoue staff 2748 May 13 1997 cc.h -rw-r--r-- 1 inoue staff 2288 May 13 1997 cc_common.h -rw-r--r-- 1 inoue staff 876 May 13 1997 cc_config.h -rw-r--r-- 1 inoue staff 3289 May 13 1997 forlib.c -rw-r--r-- 1 inoue staff 3484 Feb 10 10:11 forlib.o -rw-r--r-- 1 inoue staff 4058 May 13 1997 k2917.h -rw-r--r-- 1 inoue staff 13876 Feb 10 10:11 libcamac.a drwxr-xr-x 2 inoue staff 512 Nov 10 1997 script/ frc8vt# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] frc8vt# ok. サーバ側では正常に "make load" できた。 これで、cc、および cc.confファイルを /usr/kernel/drvディレクトリへ 正しくコピーできた。 ここで、frc7v-cl1 のシステム上で "make load" を実行する。 frc7v-cl1# make load ./script/cc_load.sh [Installing CAMAC device driver] cp: cannot create /usr/kernel/drv/cc: Read-only file system cp: cannot create /usr/kernel/drv/cc.conf: Read-only file system [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] ln: cannot create /dev/cc: File exists frc7v-cl1# /usr/kernel/drv/cc および /usr/kernel/drv/cc.conf を作れないと メッセージがでるが、先にサーバ上で作ったので気にしなくてよい。 /dev/ccファイルをチェック。 frc7v-cl1# ls -l /dev/cc lrwxrwxrwx 1 root other 3 Feb 10 11:33 /dev/cc -> :cc frc7v-cl1# rm /dev/cc frc7v-cl1# make load ./script/cc_load.sh [Installing CAMAC device driver] cp: cannot create /usr/kernel/drv/cc: Read-only file system cp: cannot create /usr/kernel/drv/cc.conf: Read-only file system [Adding CAMAC device driver to system] Driver (cc) is already installed. [Configuring CAMAC device driver] [Making CAMAC device files] frc7v-cl1# ls -l /dev/cc lrwxrwxrwx 1 root other 3 Feb 10 1999 /dev/cc -> :cc frc7v-cl1# /dev/ccファイルが正しく作れていない。 frc7v-cl1 のシステムをリブートする。 (3-5). ここで、システムを立ちあげ直す frc7v-cl1 console login: root Password: Feb 10 15:45:13 frc7v-cl1 login: ROOT LOGIN /dev/console Last login: Wed Feb 10 15:32:40 on console Sun Microsystems Inc. SunOS 5.6 Generic August 1997 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # /usr/sbin/shutdown -i0 -g0 Shutdown started. Wed Feb 10 15:45:41 JST 1999 Do you want to continue? (y or n): y Broadcast Message from root (console) on frc7v-cl1 Wed Feb 10 15:45:43... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: frc7v-cl1: 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. syslogd: going down on signal 15 umount: /net/onlsun1/home1/opt_ext/inoue-nfs busy umount: /net/onlsun1/home1/opt_ext busy umount: /net/onlsun1/home1/cern busy umount: /net/onlsun1/home3 busy umount: /net/onlsun1/export busy umount: /net/onlsun1/home1 busy umount: /net/onlsun1/home4 busy umount: /net/onlsun1/usr busy umount: /kekfs busy umount: /net busy nfs umount: /export/home/frc7v-cl1: is busy Feb 10 15:46:37 snmpdx: received signal 15 umount: /net/onlsun1/home1/opt_ext/inoue-nfs busy umount: /net/onlsun1/home1/cern/95a busy umount: /net/onlsun1/home1/local busy umount: /net/onlsun1/home1/opt_ext busy umount: /net/onlsun1/home1/cern busy umount: /net/onlsun1/home3/local busy umount: /net/onlsun1/home3 busy umount: /net/onlsun1/export busy umount: /net/onlsun1/home1 busy umount: /net/onlsun1/home4 busy umount: /net/onlsun1/usr busy umount: /net busy The system is down. syncing file systems... done Program terminated Type help for more information ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. apply failed. Rebooting with command: -r Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -r 2dc00 hostname: frc7v-cl1 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl1 SunOS Release 5.6 Version Generic_105181-05 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: frc7v-cl1 Mounting /dev/swap for swap Configuring the /devices directory FRCvme V2.3.1 VME Nexus (FGA-5000 FGA-5100) 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 vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmedma0 at VME0 vmefdma0 at VME0 vmedvma0 at VME0 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. default ICCFP1.kek.jp done add net default: gateway ICCFP1 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 frc7v-cl1 syslog service starting. syslogd: line 24: unexpected getnetconfig failure Print services started. volume management starting. Wnn6: Key License Server started.... Nihongo Multi Client Server (Wnn6 R2.30) Finished Reading Files The system is ready. frc7v-cl1 console login: ok. システムは正常に立ち上がった。 /dev/ccファイルのチェック。 frc7v-cl1 console login: frc7v-cl1# ls -l /dev/cc lrwxrwxrwx 1 root other 3 Feb 10 15:49 /dev/cc -> :cc frc7v-cl1# NG. /dev/ccファイルは正常に作られていない。 /dev/ccファイルを作り直す。 frc7v-cl1# rm /dev/cc frc7v-cl1# pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1# make load ./script/cc_load.sh [Installing CAMAC device driver] cp: cannot create /usr/kernel/drv/cc: Read-only file system cp: cannot create /usr/kernel/drv/cc.conf: Read-only file system [Adding CAMAC device driver to system] Driver (cc) is already installed. [Configuring CAMAC device driver] [Making CAMAC device files] frc7v-cl1# ls -l /dev/cc lrwxrwxrwx 1 root other 69 Feb 10 1999 /dev/cc -> /devices/iommu@ 0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc frc7v-cl1# ok. /dev/ccファイルは正常に作られた。 (3-6). ccドライバのロード、アンロード ccドライバのロード、アンロードが正しく実行できることを確認する。 (3-6-1). ロード時の状態 frc7v-cl1[51]% modinfo | grep CAMAC 106 f5fcf000 898b3 60 1 cc (CAMAC driver v1.3x by Y.Takeuch) frc7v-cl1[52]% modinfo | grep vme 113 f5b08800 69f 67 1 vmemem (VME memory driver) 150 f5c04800 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 171 f5c02000 24b1 134 1 vmedma (vmedma driverJul 31 1998) 172 f5bf0550 191d 135 1 vmefdma (vmefdma driverAug 10 1998) 173 f5d25000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f605a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl1[53]% modinfo | grep FORCE 107 f5ce9000 12ad6 109 1 VME (FORCE VME Nexus V2.3.1) 150 f5c04800 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 173 f5d25000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f605a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl1[54]% (3-6-2). アンロード時の状態 frc7v-cl1# pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] frc7v-cl1# ls -l /dev/cc /dev/cc: No such file or directory frc7v-cl1# modinfo | grep CAMAC frc7v-cl1# modinfo | grep vme 113 f5b08800 69f 67 1 vmemem (VME memory driver) 150 f5c04800 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 171 f5c02000 24b1 134 1 vmedma (vmedma driverJul 31 1998) 172 f5bf0550 191d 135 1 vmefdma (vmefdma driverAug 10 1998) 173 f5d25000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f605a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl1# modinfo | grep FORCE 107 f5ce9000 12ad6 109 1 VME (FORCE VME Nexus V2.3.1) 150 f5c04800 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 173 f5d25000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f605a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl1# ok. 正常に実行できた。 camacドライバをロードし直す。 frc7v-cl1# pwd /export/home/frc7v-cl1/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl1# make load ./script/cc_load.sh [Installing CAMAC device driver] cp: cannot create /usr/kernel/drv/cc: Read-only file system cp: cannot create /usr/kernel/drv/cc.conf: Read-only file system [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] frc7v-cl1# ls -l /dev/cc lrwxrwxrwx 1 root other 69 Feb 12 1999 /dev/cc -> /devices/iommu@ 0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc frc7v-cl1# modinfo | grep CAMAC 106 f608a000 898b3 60 1 cc (CAMAC driver v1.3x by Y.Takeuch) frc7v-cl1# modinfo | grep vme 113 f5b08800 69f 67 1 vmemem (VME memory driver) 150 f5c04800 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 171 f5c02000 24b1 134 1 vmedma (vmedma driverJul 31 1998) 172 f5bf0550 191d 135 1 vmefdma (vmefdma driverAug 10 1998) 173 f5d25000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f605a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl1# modinfo | grep FORCE 107 f5ce9000 12ad6 109 1 VME (FORCE VME Nexus V2.3.1) 150 f5c04800 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 173 f5d25000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f605a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl1# ok. 正常に実行できた。 (4). VME スレーブ・ウインドウを設定する (4-1). VME.conf ファイルを修正する frc7v-cl1# pwd /platform/sun4m/kernel/drv frc7v-cl1# ls -l VME* -rwxr-xr-x 2 root sys 183676 Feb 3 16:12 VME* -rw-r--r-- 1 root sys 2850 Jul 29 1998 VME.conf -rwxr-xr-x 2 root sys 183676 Feb 3 16:12 VME_fga5000* -rwxr-xr-x 1 root sys 157244 Aug 11 1998 VME_s4* frc7v-cl1# mv VME.conf VME.conf.org frc7v-cl1# cp VME.conf.org VME.conf frc7v-cl1# ls -l VME.conf* -rw-r--r-- 1 root other 2850 Feb 12 1999 VME.conf -rw-r--r-- 1 root sys 2850 Jul 29 1998 VME.conf.org frc7v-cl1# chgrp sys VME.conf frc7v-cl1# ls -l VME.conf* -rw-r--r-- 1 root sys 2850 Feb 12 1999 VME.conf -rw-r--r-- 1 root sys 2850 Jul 29 1998 VME.conf.org frc7v-cl1# vi VME.conf # %Z%$RCSfile: VME.conf,v $ $Revision: 1.7 $ %D% FRC # ############################################################################### # The "pamc" property declares the AM-code values for the two programmable AM # codes (if supported by the hardware). Drivers that want to use these have to # use the values configured here in the bustype value(s) of their reg property. # ############################################################################### # "vmewin" properties may be defined to set up static local-to-VMEbus # mappings (usually not necessary, since mappings are set up on demand). # # The format is # vmewin=,, # # can be omitted for the first vmewin property. For subsequent properties, # set it to 1,2,3,4... The limit is the number of hardware ranges, # e.g. 16 on FGA-5000. # defines the requested VMEbus address. # defines the size of the mapping in bytes. # encodes the properties of the VME window. It's a bit set of # VME_BT_xxx values as defined in sys/vme_types.h. # # Example to set up a VME window for VMEbus address 0x0 - 0x10000 in A24 # space for D32 privileged data accesses, write posting enabled: # # vmewin=0x0, 0x10000, 0x01020004 # ############################################################################### # The "slavewin" property defines a VMEbus-to-local mapping. It's necessary for # device drivers that want to set up DMA via the standard DDI DMA interface # calls, so that the VME nexus can provide a VMEbus address where the device # can perform DMA to. # Don't define this if you do not need it, as it will eat up a VME slave # range. Note also that the VME bridge will decode these addresses once the # slavewin property has been set and report VME Bus Errors if no driver # uses it! So if you get strange bus errors, check this file for the # slavewin property. # The format is: # # slavewin , , # # and must be aligned exactly to hardware requirements: # S4: vme_start must be aligned to 1MB, size must be 1MB # FGA-5x00: vme_start must be aligned to size. size can be # 8K, 16K, 32K, ..., 16MB for A24 # 2MB, 4MB, 8MB, 16MB for A32 # Universe: vme_start and size must be aligned to 64K # is a bitset of the VME_BT_xxx values as defined # in sys/vme_types. Standard values are: # 0x00020000 for a slave window in A24 space # 0x00040000 for a slave window in A32 space # # Add 0x01000000 to enable write posting for higher performance (FGA-5x00, # Universe). # # Refer to the manual for possible values for different hardware. # Example for a slave window of 1MB in A24 space at address 0: # # slavewin=0x000000,0x100000,0x00020000 ############################################################################### # slavewin=0x000000,0x100000,0x00020000 pamc=0x10, 0x11 ; "VME.conf" 64 lines, 2888 characters frc7v-cl1# (4-2). システムをリブートする frc7v-cl1 console login: root Password: Feb 12 13:22:03 frc7v-cl1 login: ROOT LOGIN /dev/console Last login: Wed Feb 10 15:45:13 on console Sun Microsystems Inc. SunOS 5.6 Generic August 1997 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri Feb 12 13:22:17 JST 1999 Do you want to continue? (y or n): y Broadcast Message from root (console) on frc7v-cl1 Fri Feb 12 13:22:18... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: frc7v-cl1: 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. syslogd: going down on signal 15 nfs umount: /export/home/frc7v-cl1: is busy Feb 12 13:23:11 snmpdx: received signal 15 The system is down. syncing file systems... done Program terminated Type help for more information ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9157050. Ethernet address 0:80:42:b:49:ba, Host ID: 808bb9ba. apply failed. Rebooting with command: -r Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -r 2dc00 hostname: frc7v-cl1 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl1 SunOS Release 5.6 Version Generic_105181-05 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: frc7v-cl1 Mounting /dev/swap for swap Configuring the /devices directory FRCvme V2.3.1 VME Nexus (FGA-5000 FGA-5100) NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 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 vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmedma0 at VME0 vmefdma0 at VME0 vmedvma0 at VME0 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. default ICCFP1.kek.jp done add net default: gateway ICCFP1 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 frc7v-cl1 syslog service starting. syslogd: line 24: unexpected getnetconfig failure Print services started. volume management starting. Wnn6: Key License Server started.... Nihongo Multi Client Server (Wnn6 R2.30) Finished Reading Files The system is ready. frc7v-cl1 console login: ok. slavewin は正しく設定できた。 (4-3). ユーザのホームディレクトリをマウントする onlsun1[39]% rlogin frc7v-cl1 Password: No directory! Logging in with home=/ Last login: Fri Feb 12 10:41:12 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl1% su Password: # csh frc7v-cl1# source /.cshrc frc7v-cl1# mount frc8vt:/export/home/frc8vt /export/home/frc7v-cl1 frc7v-cl1# 続いて、camacの例題プログラムを実行する。 --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション