May 21, 2001 onl50t: Solaris8 cc ドライバのテスト --- cc ドライバのインストール#01 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/onl50t-sol8/ Desktop/camac-step01.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). Solaris8 6/00 が届いた。 (B). "SOLARIS 8 INSTALLATION 6/00" でインストール時にエラー。 (C). "SOLARIS 8 SOFTWARE 1,2" のメディアを使ってインストールした。 インストール時の指定ミスにより、"couldn't set locale correctly"の メッセージがブート時等にコンソールに表示されてしまう。 (D). "SOLARIS 8 SOFTWARE 1,2" のメディアを使って再インストールした。 (E). /etc の下の各設定、および /export/home の作成をやった。 (F). CPU-50TにSolaris8用の VMEドライバ、FRCvme-2.5 をインストールした、 直後にシステムが起動できなくなった。 (G). "SOLARIS 8 SOFTWARE 1,2" のメディアを使って再インストールした (その2)。 (H). /etc の下の各設定、および /export/home の作成をやった(その2)。 (I). CPU-50TにSolaris8用の VMEドライバ、FRCvme-2.5 をインストールした。 (2). ここでやるべきこと onl50t に ccドライバをインストールする(その2)。 (3). onl50t 上でデバッグした cc.cファイル一式を入手、再コンパイル、リロード (3-1). CAMACドライバ・キット FORCE-50T-sol7 を online.kek.jp から入手 onl50t[42]% pwd /export/home/onl50t/inoue/CAMAC onl50t[43]% ls -l 合計 0 onl50t[44]% ftp online.kek.jp Connected to onlax2.kek.jp. 220 onlax2.kek.jp FTP server (Compaq Tru64 UNIX Version 5.60) ready. Name (online.kek.jp:inoue): anonymous 331 Guest login ok, send ident as password. Password: 230 Guest login ok, access restrictions apply. 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.219.209,32812). total 3718 -rw-r--r-- 1 0 10 1173 Apr 19 1995 122d_to_e.tar.gz -rw-r--r-- 1 0 10 1153 Mar 16 10:55 8vt-sol2.6-driver.html -rw-r--r-- 1 0 10 89611 Oct 20 2000 FORCE-50T-sol2.6-list.tar.Z -rw-r--r-- 1 0 10 48627 Oct 20 2000 FORCE-50T-sol2.6-list.tar.gz -rw-r--r-- 1 0 10 24125 Jul 26 1999 FORCE-50T-sol2.6.tar.gz -rw-r--r-- 1 0 10 68469 Feb 7 15:50 FORCE-50T-sol7.tar.Z -rw-r--r-- 1 0 10 39636 Feb 7 15:50 FORCE-50T-sol7.tar.gz -rw-r--r-- 1 0 10 22160 Nov 19 1997 FORCE-5V-sol2.5.tar.gz -rw-r--r-- 1 0 10 76149 Mar 22 14:23 FORCE-5V-sol7-list.tar.Z -rw-r--r-- 1 0 10 39333 Mar 22 14:23 FORCE-5V-sol7-list.tar.gz -rw-r--r-- 1 0 10 2494 Dec 2 1994 README -rw-r--r-- 1 0 10 39165 Mar 16 10:40 SPARC-status-old1.html -rw-r--r-- 1 0 10 40268 Mar 26 15:19 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 drwxr-xr-x 2 0 10 512 Jul 24 2000 doc -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. 2605 bytes received in 0.36 seconds (7.09 Kbytes/s) ftp> binary 200 Type set to I. ftp> get FORCE-50T-sol7.tar.gz 200 PORT command successful. 150 Opening BINARY mode data connection for FORCE-50T-sol7.tar.gz (130.87.219.209,32813) (39636 bytes). 226 Transfer complete. local: FORCE-50T-sol7.tar.gz remote: FORCE-50T-sol7.tar.gz 39636 bytes received in 0.042 seconds (924.28 Kbytes/s) ftp> quit 221 Goodbye. onl50t[45]% onl50t[45]% ls -l 合計 78 -rw-r--r-- 1 inoue kek 39636 5月 17日 15:17 FORCE-50T-sol7.tar.gz onl50t[46]% gzip -d FORCE-50T-sol7.tar.gz onl50t[47]% ls -l 合計 464 -rw-r--r-- 1 inoue kek 223232 2月 7日 15:47 FORCE-50T-sol7.tar onl50t[48]% tar xvf FORCE-50T-sol7.tar x FORCE-50T-sol7, 0 bytes, 0 テープブロック x FORCE-50T-sol7/Makefile, 2102 bytes, 5 テープブロック x FORCE-50T-sol7/README, 4022 bytes, 8 テープブロック x FORCE-50T-sol7/cam1.c, 1170 bytes, 3 テープブロック x FORCE-50T-sol7/cam2.f, 2336 bytes, 5 テープブロック x FORCE-50T-sol7/cam3.c, 2055 bytes, 5 テープブロック x FORCE-50T-sol7/camlib.c, 9740 bytes, 20 テープブロック x FORCE-50T-sol7/camlib.h, 1415 bytes, 3 テープブロック x FORCE-50T-sol7/cc.c, 81531 bytes, 160 テープブロック x FORCE-50T-sol7/cc64.c, 82996 bytes, 163 テープブロック x FORCE-50T-sol7/cc.conf, 288 bytes, 1 テープブロック x FORCE-50T-sol7/cc.h, 2931 bytes, 6 テープブロック x FORCE-50T-sol7/cc_common.h, 2288 bytes, 5 テープブロック x FORCE-50T-sol7/cc_config.h, 876 bytes, 2 テープブロック x FORCE-50T-sol7/forlib.c, 3289 bytes, 7 テープブロック x FORCE-50T-sol7/k2917.h, 4058 bytes, 8 テープブロック x FORCE-50T-sol7/script, 0 bytes, 0 テープブロック x FORCE-50T-sol7/script/awk1.txt, 66 bytes, 1 テープブロック x FORCE-50T-sol7/script/awk2.txt, 37 bytes, 1 テープブロック x FORCE-50T-sol7/script/cc_build.gcc.sh, 233 bytes, 1 テープブロック x FORCE-50T-sol7/script/cc_build.sh, 470 bytes, 1 テープブロック x FORCE-50T-sol7/script/cc_link.sh, 833 bytes, 2 テープブロック x FORCE-50T-sol7/script/cc_load.sh, 949 bytes, 2 テープブロック x FORCE-50T-sol7/script/cc_unload.sh, 404 bytes, 1 テープブロック onl50t[49]% (3-2). camac ドライバのキットをコンパイルし直す onl50t[49]% which cc /kek/compilers/ws5.0/SUNWspro/bin/cc onl50t[50]% cc -V cc: WorkShop Compilers 5.0 98/12/15 C 5.0 使用法: cc [オプション] ファイル # 詳細は 'cc -flags' を参照してください onl50t[51]% which f77 /kek/compilers/ws5.0/SUNWspro/bin/f77 onl50t[52]% f77 -V f77: WorkShop Compilers 5.0 98/12/15 FORTRAN 77 5.0 使用法: f77 [ オプション ] ファイル # 詳細は 'f77 -flags' を参照してください。 onl50t[53]% onl50t[53]% ls -l 合計 466 drwxr-xr-x 3 inoue kek 512 1月 26日 10:24 FORCE-50T-sol7/ -rw-r--r-- 1 inoue kek 223232 2月 7日 15:47 FORCE-50T-sol7.tar onl50t[54]% cd FORCE-50T-sol7 /export/home/onl50t/inoue/CAMAC/FORCE-50T-sol7 onl50t[55]% ls -lR .: 合計 412 -rw-r--r-- 1 inoue kek 2102 12月 18日 10:12 Makefile -rw-r--r-- 1 inoue kek 4022 2月 7日 15:46 README -rw-r--r-- 1 inoue kek 1170 11月 22日 15:52 cam1.c -rw-r--r-- 1 inoue kek 2336 11月 22日 15:52 cam2.f -rw-r--r-- 1 inoue kek 2055 11月 22日 15:52 cam3.c -rw-r--r-- 1 inoue kek 9740 12月 18日 15:19 camlib.c -rw-r--r-- 1 inoue kek 1415 11月 22日 15:52 camlib.h -rw-r--r-- 1 inoue kek 81531 2月 5日 11:37 cc.c -rw-r--r-- 1 inoue kek 288 11月 22日 15:52 cc.conf -rw-r--r-- 1 inoue kek 2931 2月 5日 14:08 cc.h -rw-r--r-- 1 inoue kek 82996 2月 5日 10:50 cc64.c -rw-r--r-- 1 inoue kek 2288 11月 22日 15:52 cc_common.h -rw-r--r-- 1 inoue kek 876 11月 22日 15:52 cc_config.h -rw-r--r-- 1 inoue kek 3289 11月 22日 15:52 forlib.c -rw-r--r-- 1 inoue kek 4058 11月 22日 15:52 k2917.h drwxr-xr-x 2 inoue kek 512 12月 6日 11:33 script/ ./script: 合計 14 -rw-r--r-- 1 inoue kek 66 11月 22日 15:52 awk1.txt -rw-r--r-- 1 inoue kek 37 11月 22日 15:52 awk2.txt -rwxr-xr-x 1 inoue kek 233 11月 22日 15:52 cc_build.gcc.sh* -rwxr-xr-x 1 inoue kek 470 1月 18日 09:58 cc_build.sh* -rwxr-xr-x 1 inoue kek 833 1月 19日 10:20 cc_link.sh* -rwxr-xr-x 1 inoue kek 949 11月 22日 15:52 cc_load.sh* -rwxr-xr-x 1 inoue kek 404 11月 22日 15:52 cc_unload.sh* onl50t[56]% onl50t[56]% pwd /export/home/onl50t/inoue/CAMAC/FORCE-50T-sol7 onl50t[57]% ls -l 合計 412 -rw-r--r-- 1 inoue kek 2102 12月 18日 10:12 Makefile -rw-r--r-- 1 inoue kek 4022 2月 7日 15:46 README -rw-r--r-- 1 inoue kek 1170 11月 22日 15:52 cam1.c -rw-r--r-- 1 inoue kek 2336 11月 22日 15:52 cam2.f -rw-r--r-- 1 inoue kek 2055 11月 22日 15:52 cam3.c -rw-r--r-- 1 inoue kek 9740 12月 18日 15:19 camlib.c -rw-r--r-- 1 inoue kek 1415 11月 22日 15:52 camlib.h -rw-r--r-- 1 inoue kek 81531 2月 5日 11:37 cc.c -rw-r--r-- 1 inoue kek 288 11月 22日 15:52 cc.conf -rw-r--r-- 1 inoue kek 2931 2月 5日 14:08 cc.h -rw-r--r-- 1 inoue kek 82996 2月 5日 10:50 cc64.c -rw-r--r-- 1 inoue kek 2288 11月 22日 15:52 cc_common.h -rw-r--r-- 1 inoue kek 876 11月 22日 15:52 cc_config.h -rw-r--r-- 1 inoue kek 3289 11月 22日 15:52 forlib.c -rw-r--r-- 1 inoue kek 4058 11月 22日 15:52 k2917.h drwxr-xr-x 2 inoue kek 512 12月 6日 11:33 script/ onl50t[58]% make clean \rm -f cc cc64 *.o libcamac.a cam1 cam2 cam2a cam3 *~ core onl50t[59]% make ./script/cc_build.sh [Building for sun4u] rm -f cc.o cc64.o cc -xarch=v9 -O -c camlib.c -o camlib.o -I. cc -xarch=v9 -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 -xarch=v9 -O cam1.c -o cam1 -I. -L. -lcamac f77 -xarch=v9 -fast -O3 -u cam2.f -o cam2 -I. -L. -lcamac cam2.f: MAIN: cc -xarch=v9 -O cam3.c -o cam3 -I. -L. -lcamac onl50t[60]% onl50t# pwd /export/home/onl50t/inoue/CAMAC/FORCE-50T-sol7 onl50t# 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 onl50t# (3-2). ccドライバをロードし直す onl50t# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] Driver (cc) not installed. [Deleting CAMAC device files] onl50t# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] sun4u onl50t# ls -l /dev/cc lrwxrwxrwx 1 root other 22 5月 17日 15:53 /dev/cc -> /devices15:53:30///:cc onl50t# NG. /dev/ccスペシャルファイルを正常に作れなかった。 チェック。 (3-3). "make load"に関係する部分をチェック onl50t[39]% pwd /export/home/onl50t/inoue/CAMAC/FORCE-50T-sol7 onl50t[40]% vi Makefile : load : cc ./script/cc_load.sh : onl50t[41]% onl50t[41]% pwd /export/home/onl50t/inoue/CAMAC/FORCE-50T-sol7/script onl50t[42]% ls -l 合計 14 -rw-r--r-- 1 inoue kek 66 11月 22日 15:52 awk1.txt -rw-r--r-- 1 inoue kek 37 11月 22日 15:52 awk2.txt -rwxr-xr-x 1 inoue kek 233 11月 22日 15:52 cc_build.gcc.sh* -rwxr-xr-x 1 inoue kek 470 1月 18日 09:58 cc_build.sh* -rwxr-xr-x 1 inoue kek 833 1月 19日 10:20 cc_link.sh* -rwxr-xr-x 1 inoue kek 949 11月 22日 15:52 cc_load.sh* -rwxr-xr-x 1 inoue kek 404 11月 22日 15:52 cc_unload.sh* onl50t[43]% onl50t[43]% vi cc_load.sh : echo '[Installing CAMAC device driver]' #cp cc /usr/kernel/drv/ cp cc /kernel/drv/ cp cc64 /kernel/drv/sparcv9/cc #cp cc.conf /usr/kernel/drv/ cp cc.conf /kernel/drv/ echo '[Adding CAMAC device driver to system]' add_drv -m '* 0666 root sys' cc echo '[Configuring CAMAC device driver]' drvconfig -r /devices echo '[Making CAMAC device files]' ARCH=`uname -m` #echo "ARCH=$ARCH" if [ $ARCH = "sun4d" ]; then echo 'sun4d' ln -s /devices/io-unit*/sbi*/sfvme*:cc /dev/cc elif [ $ARCH = "sun4m" ]; then echo 'sun4m' ./script/cc_link.sh elif [ $ARCH = "sun4c" ]; then echo 'sun4c' # ln -s /devices/sbus*/sfvme*:cc /dev/cc ln -s /devices/sbus*/sfvme@1,3ff000/cc@2d,ff00:cc /dev/cc elif [ $ARCH = "sun4u" ]; then echo 'sun4u' ./script/cc_link.sh fi : onl50t[44]% onl50t[53]% vi cc_link.sh : set SYS57 = "5.7" set SYSNL = `uname -sr` if ( $SYSNL[2] == $SYS57 )then set CCDIR=`dmesg|grep 'cc0 is'|tail -1|awk '{print $8}'|awk -f script/awk1.txt` set CCNAM=`dmesg|grep 'cc0 is'|tail -1|awk '{print $8}'|awk -f script/awk2.txt` else set CCDIR=`dmesg|grep 'cc0 is'|tail -1|awk '{print $3}'|awk -f script/awk1.txt` set CCNAM=`dmesg|grep 'cc0 is'|tail -1|awk '{print $3}'|awk -f script/awk2.txt` #set CCMAJOR = `modinfo | grep CAMAC | awk ' {print $4}'` endif : onl50t[54]% Solaris8 の時の処理を追加する。 onl50t[59]% mv cc_link.sh cc_link.sh-org onl50t[60]% cp cc_link.sh-org cc_link.sh onl50t[61]% ls -l 合計 16 -rw-r--r-- 1 inoue kek 66 11月 22日 15:52 awk1.txt -rw-r--r-- 1 inoue kek 37 11月 22日 15:52 awk2.txt -rwxr-xr-x 1 inoue kek 233 11月 22日 15:52 cc_build.gcc.sh* -rwxr-xr-x 1 inoue kek 470 1月 18日 09:58 cc_build.sh* -rwxr-xr-x 1 inoue kek 833 5月 18日 14:54 cc_link.sh* -rwxr-xr-x 1 inoue kek 833 1月 19日 10:20 cc_link.sh-org* -rwxr-xr-x 1 inoue kek 949 11月 22日 15:52 cc_load.sh* -rwxr-xr-x 1 inoue kek 404 11月 22日 15:52 cc_unload.sh* onl50t[62]% vi cc_link.sh : set SYS58 = "5.8" set SYS57 = "5.7" set SYSNL = `uname -sr` if ( $SYSNL[2] == $SYS58 )then set CCDIR=`dmesg|grep 'cc0 is'|tail -1|awk '{print $11}'|awk -f script/awk1.txt` set CCNAM=`dmesg|grep 'cc0 is'|tail -1|awk '{print $11}'|awk -f script/awk2.txt` else if ( $SYSNL[2] == $SYS57 )then set CCDIR=`dmesg|grep 'cc0 is'|tail -1|awk '{print $8}'|awk -f script/awk1.txt` set CCNAM=`dmesg|grep 'cc0 is'|tail -1|awk '{print $8}'|awk -f script/awk2.txt` else set CCDIR=`dmesg|grep 'cc0 is'|tail -1|awk '{print $3}'|awk -f script/awk1.txt` set CCNAM=`dmesg|grep 'cc0 is'|tail -1|awk '{print $3}'|awk -f script/awk2.txt` #set CCMAJOR = `modinfo | grep CAMAC | awk ' {print $4}'` endif : onl50t[63]% (3-4). ccドライバをロードし直す onl50t# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] onl50t# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] sun4u onl50t# onl50t# ls -l /dev/cc lrwxrwxrwx 1 root other 37 5月 18日 15:18 /dev/cc -> /devices/pci@1f,0/vme@5/cc@2d,ff00:cc onl50t# ドライバをロードした時のコンソール上のメッセージ。 May 18 15:18:27 onl50t cc: CAMAC device driver V3.0x, 1991-1993 by Y.TAKEUCHI (T .I.T.) ok. 正常にロードできた。 (4). VME スレーブ・ウインドウを設定する (4-1). VME.conf ファイルを修正する onl50t# pwd /platform/sun4u/kernel/drv onl50t# ls -l 合計 3334 -r-xr-xr-x 1 root sys 60648 11月 12日 1999年 Neide -rw-r----- 1 root other 166764 5月 16日 10:55 VME -rw-r----- 1 root other 2850 5月 16日 10:55 VME.conf -rwxr-xr-x 1 root sys 82392 2月 24日 2000年 afb -rwxr-xr-x 1 root sys 40824 11月 12日 1999年 ata -rw-r--r-- 1 root sys 229 11月 12日 1999年 ata.conf -r-xr-xr-x 1 root sys 6404 11月 12日 1999年 atata -r--r--r-- 1 root sys 34 11月 12日 1999年 atata.conf -rwxr-xr-x 1 root sys 44336 11月 11日 1999年 audioens -rwxr-xr-x 1 root sys 106 11月 11日 1999年 audioens.conf -rwxr-xr-x 1 root sys 17712 1月 9日 2000年 bwtwo -rwxr-xr-x 1 root sys 23856 1月 9日 2000年 cgsix -rwxr-xr-x 1 root sys 19456 1月 9日 2000年 cgthree -rwxr-xr-x 1 root sys 16692 11月 12日 1999年 cmdk -rw-r--r-- 1 root sys 265 11月 12日 1999年 cmdk.conf -rwxr-xr-x 2 root sys 9992 1月 9日 2000年 cpc -rw-r--r-- 1 root sys 153 1月 6日 2000年 cpc.conf -rwxr-xr-x 1 root sys 27240 4月 26日 2000年 db21554 lrwxrwxrwx 1 root root 26 5月 11日 11:43 disk_ata -> ../../../../kernel/drv/dad -r--r--r-- 1 root sys 451 11月 12日 1999年 disk_ata.conf -rwxr-xr-x 1 root sys 6484 1月 9日 2000年 dma -rwxr-xr-x 1 root sys 8884 1月 9日 2000年 ebus -rwxr-xr-x 1 root sys 8980 11月 12日 1999年 eide -rwxr-xr-x 1 root sys 71948 1月 9日 2000年 fd -rwxr-xr-x 1 root sys 67244 2月 24日 2000年 ffb -rw-r--r-- 1 root sys 75868 10月 9日 1999年 gfxp -rwxr-xr-x 1 root sys 22468 10月 20日 1999年 i2c -rwxr-xr-x 1 root sys 14284 10月 20日 1999年 i2cadc -rwxr-xr-x 1 root sys 12292 10月 20日 1999年 i2cgpio -rwxr-xr-x 1 root sys 6296 10月 20日 1999年 i8042 -rwxr-xr-x 1 root sys 109560 3月 24日 2000年 ifb -rwxr-xr-x 1 root sys 37684 11月 2日 1999年 igs -rwxr-xr-x 1 root sys 35924 10月 20日 1999年 kb_ps2 -rwxr-xr-x 1 root sys 4324 10月 13日 1999年 kb_ps2.conf -rwxr-xr-x 1 root sys 11548 11月 11日 1999年 kdmouse -rwxr-xr-x 1 root sys 5400 1月 9日 2000年 ledma -rwxr-xr-x 1 root sys 44508 12月 8日 1999年 m64 -rwxr-xr-x 1 root sys 12076 4月 26日 2000年 pci_pci -rwxr-xr-x 1 root sys 82372 4月 26日 2000年 pcipsy -rwxr-xr-x 1 root sys 8024 1月 9日 2000年 power -rw-r--r-- 1 root sys 133100 6月 16日 1999年 raptor -rwxr-xr-x 1 root sys 13740 1月 9日 2000年 rootnex -rwxr-xr-x 1 root sys 51732 1月 9日 2000年 sbus -rwxr-xr-x 1 root sys 6052 1月 9日 2000年 sbusmem -rw-r--r-- 1 root sys 678 1月 6日 2000年 sbusmem.conf -rwxr-xr-x 1 root sys 65868 1月 9日 2000年 sf -rw-r--r-- 1 root sys 185 1月 6日 2000年 sf.conf -rwxr-xr-x 1 root sys 13256 1月 9日 2000年 simba drwxr-xr-x 2 root sys 1024 5月 16日 10:55 sparcv9 -rwxr-xr-x 1 root sys 62892 1月 9日 2000年 stc -rw-r--r-- 1 root sys 1244 1月 6日 2000年 stc.conf -rwxr-xr-x 1 root sys 27568 1月 9日 2000年 su -rwxr-xr-x 1 root sys 6248 1月 9日 2000年 tod -rw-r--r-- 1 root sys 68 1月 6日 2000年 tod.conf -rwxr-xr-x 1 root sys 59044 1月 9日 2000年 zs -rwxr-xr-x 1 root sys 25604 1月 9日 2000年 zsh -rw-r--r-- 1 root sys 131 1月 6日 2000年 zsh.conf onl50t# 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,0x01020000 pamc=0x10, 0x11 ; "VME.conf" 64 行、2888 バイト onl50t# (5-2). システムをリブートする onl50t# /usr/sbin/shutdown -i0 -g0 Shutdown started. Mon May 21 09:45:20 JST 2001 Do you want to continue? (y or n): y Changing to init state 0 - please wait Broadcast Message from root (console) on onl50t Mon May 21 09:45:25... THE SYSTEM onl50t IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged onl50t# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. May 21 09:45:37 onl50t syslogd: going down on signal 15 The system is down. INIT: failed write of utmpx entry:"s0" INIT: failed write of utmpx entry:"fw" syncing file systems... done Program terminated ok ok ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using ttya for input and output. FORCE,CPU-50(UltraSPARC-IIi 300MHz), No Keyboard OpenBoot 3.10.8, 256 MB memory installed, Serial #9204337. Ethernet address 0:80:42:10:2:74, Host ID: 808c7271. Executing last command: boot -r Boot device: /pci@1f,0/scsi@4/disk@3,0:a File and args: -r SunOS Release 5.8 Version Generic_108528-01 64-bit Copyright 1983-2000 Sun Microsystems, Inc. All rights reserved. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x302061f WARNING: Failed to install "power" driver. configuring IPv4 interfaces: hme0. configuring IPv6 interfaces: hme0. Hostname: onl50t Configuring /dev and /devices CAMAC device driver V3.0x, 1991-1993 by Y.TAKEUCHI (T.I.T.) Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s7: is clean. NIS domainname is kek.jp Starting IPv6 neighbor discovery. Setting default IPv6 interface for multicast: add net ff00::/8: gateway fe80::28 0:42ff:fe10:274 starting rpc services: rpcbind keyserv done. Setting netmask of hme0 to 255.255.248.0 Setting default IPv4 interface for multicast: add net 224.0/4: gateway onl50t syslog service starting. Print services started. volume management starting. Wnn6: Key License Server started.... Nihongo Multi Client Server (Wnn6 R2.32) Finished Reading Files The system is ready. onl50t console login: ok. slavewin は正しく設定できた。 ---xxxx ここまでやった(継続中) --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション