Apr 14, 1999 frc7v-cl2: Server Solaris 2.6、cc ドライバのテスト --- クライアントシステムへのcc ドライバの インストール#02(その1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/onl8v1-sol2.6-serv/ Cli2-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 が起動できること を確認した。 (J). frc7v-cl1、クライアントのシステムに ccドライバをインストールした。 (K). frc7v-cl1、クライアントのシステム上でサンプル・プログラムを実行 シングルアクションの 24ビットread/write は ok. LAM割り込み処理は、ok. ブロック転送 read/write は NG. (L). CPU-7Vのボードで FRCvme2.3.1 が正しく動作できることを確認した。 (M). frc8vt、サーバ・システムに ccドライバをインストールした。 (N). frc8vt、サーバ・システム上でンプル・プログラムを実行 シングルアクションの 24ビットread/write は ok. LAM割り込み処理は、ok. ブロック転送 read/write は 16 および 24ビットとも、ok. (O). 株式会社ロジックハウスの高橋様の修正された ccドライバを実行したが 状況に変化はなかった。 (P). 株式会社ロジックハウスの白田様の提案より、デスクレス・クライアント のシステムにローカル・ディスクをつなぎ、マウントした後で ccドライバ を実行したが状況に変化はなかった。 (Q). cam2 プログラムを実行すると、 cc.cプログラム中のどの命令を実行 した時にパニックを起こすのか調べた。 (R). 株式会社ロジックハウスの高橋様の提案より、savecore について調べる。 savecoreコマンドにより、vmcore.x および unix.x ファイルを入手した。 (S). ドライバ・プログラムが DMA完了の待ち状態のままになっているのを 確認 (T). cam2プログラムを frc8vt、frc7v-cl1上で実行して結果を調べた。    frc8vt上での実行: (1). cv_wait_sig()コールが入っていると、そこで待ち状態が続く。 (2). cv_wait_sig()コールが入っていないと、正常終了する。    frc7v-cl1上での実行: (1). cv_wait_sig()コールが入っていると、そこで待ち状態が続く。 (U). cv_wait_sig() を while文でループさせることで、シグナルを受け取れた (V). DMA 開始前に以前の割り込み信号が残って影響を与えていないことを 確認した。 (W). バーチャル・アドレス・スペースの割り当てを追加して動作させてみたが 症状は変わらない。 (X). cc->bp へのアクセスを camac_b()ルーチンでやらないようにしてみたが 症状は変わらない。 (Y). Soft State Managementルーチンを使ってみたが症状は変わらない。 (Z). minphys のバッファサイズを大きくして試してみたが症状は変わらない。 (2-A). camac_b()を呼び出す箇所で渡す値をチェックしたが症状は変わらない。 (2-B). クラッシュダンプのチェック。 physio()でエラー。 (2-C). cc_strategy()ルーチンをチェック。 physio()でエラー。 (2-D). cc_strategy()ルーチンのcv_wait() を mutexロックした。変化なし。 (2-E). クラッシュダンプのチェック。 camac_b+0x2d0アドレスでエラー。 0xf60b5080?i camac_b+0x2d0: ld [%l0], %l1 $q (2-F). cc_device構造体へ cc_sys_statusを付加して調べた。 変化なし。 (2-G). cc->cc_sys_status = bp->b_error; の行をcc_intr()ルーチンへ持って いって動作させた。 ok. cam2、camacブロック転送は正常に実行できた。 (2-H). デバッグ用に付加した部分で実行上必要のない文を削除した。cam3実行 でタイムアウト時にシステムクラッシュが起きた。 (2-I). cam3のデバッグをやった。 cc_timeout()への引数の定義変更、および ddi_get_soft_state()への引数の定義変更、ioctl(...CCIOC_WAIT_LAM..) での timeout()コール後に mutex_enter()するように変更することで cc_timeout()実行時のクラッシュはなくなった。 (2). ここでやるべきこと frc7v-cl2、クライアントのシステムに ccドライバをインストールする。 (3). frc7v-cl2、クライアントシステムでの camacテスト構成 配置図は次のとうり。 Slot Number #1 #2 +----------------------------------------------------+ |+--+ | || | | Server || | | CPU || | VME Crate #1 | || | | || | | || | | || | | Hard Disk || | | +------+ || | | | o--------------o | | | | || | | +------+ ||o | | |+|-+ | +-|--------------------------------------------------+ | 10Base-T | +------------------+ | | Slot Number #1 #2 #3 #4 #5 #6 #7 | +----------------------------------------------------+ | |+--+ +--+ | | || | | | | | Client #1 || | | | | | CPU || | | | VME Crate #2 | | || | | | | | || | | | | | || | | | | | || | | | | | || | | | | | || | | | | | ||o | |o | | | || | || | | | ||o-------+ || | | | |+--+ | +|-+ | | +---------|---------------|--------------------------+ | | V +------------------+ | CAMAC 10Base-T | | | | FP +-------------|-------|-----------------------------+ Cluster | +--+ +|-+ +|-+ | <--------o | |o | |o | Switching Hub | | +--+ +--+ +--+ | | | +---------------------------------------------------+ クレート#1 スロット#1: SPARC CPU-8VT(ホスト名はfrc8vt) このボードには、一時的にFPクラスタのIPアドレス   を割り当ててテストを行う。 このボードは、 クレート#2の、スロット#1に挿してあるボードの サーバ・システムとして動作している。 クレート#2 スロット#1: SPARC CPU-7V(ホスト名はfrc7v-cl2) このボードにはローカル・ディスクはつないでない。 クレート#1の、スロット#1に挿してあるボードの ディスクレス・クライアント・システムとして 動作している。 スロット#2: 空き スロット#3: 空き スロット#4: 空き スロット#5: 空き スロット#6: 空き スロット#7: K2917 (3). ccドライバのインストールする (3-1). frc7v-cl2システムを立ち上げる onl7v2 の CPUボードを挿してパワーオン。 ok pp 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 Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Incorrect configuration checksum; Setting NVRAM parameters to default values. Setting diag-switch? NVRAM parameter to true Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 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-cl2 Mounting /dev/swap for swap 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-cl2 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-cl2 console login: (3-2). ホームディレクトリをマウントする onlsun1[75]% rlogin frc7v-cl2 Password: No directory! Logging in with home=/ Last login: Tue Feb 9 16:03:19 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl2% su Password: # mount frc8vt:/export/home/frc8vt /export/home/frc7v-cl2 # frc7v-cl2% logout Connection closed. onlsun1[76]% !! rlogin frc7v-cl2 Last login: Tue Apr 13 14:19:23 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl2[36]% ls -l total 10 drwxr-xr-x 3 inoue staff 512 Feb 9 15:34 CAMAC/ drwxr-xr-x 3 inoue staff 512 Apr 5 17:47 Driver-samples-2.6/ drwxr-xr-x 3 inoue staff 512 Nov 6 11:07 FORCE/ drwxr-xr-x 2 inoue staff 512 Feb 18 10:29 Ktaka/ -rw------- 1 inoue staff 592 Feb 26 16:49 mbox frc7v-cl2[37]% (3-3). camacドライバをインストールする camacドライバソースをワークスペースにコピーする。 frc7v-cl2[58]% pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver frc7v-cl2[59]% ls -l total 9476 -rw-r--r-- 1 inoue staff 672643 Apr 13 1999 Diskless-sol2.6.tar.gz drwxr-xr-x 5 inoue staff 1024 Apr 12 10:12 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue staff 120320 Nov 10 1997 FORCE-5V-sol2.5.tar -rw-r--r-- 1 inoue staff 73164 Apr 7 10:35 cc.c-Apr-7-1999-ok -rw-r--r-- 1 inoue staff 3942279 Mar 1 14:32 crash-dump.tar.gz drwxr-xr-x 2 inoue staff 512 Mar 1 14:24 var-crash-frc7v-cl1/ frc7v-cl2[60]% cp -r FORCE-5V-sol2.5 frc7v-cl2 frc7v-cl2[61]% ls -l total 9478 -rw-r--r-- 1 inoue staff 672643 Apr 13 1999 Diskless-sol2.6.tar.gz drwxr-xr-x 5 inoue staff 1024 Apr 12 10:12 FORCE-5V-sol2.5/ -rw-r--r-- 1 inoue staff 120320 Nov 10 1997 FORCE-5V-sol2.5.tar -rw-r--r-- 1 inoue staff 73164 Apr 7 10:35 cc.c-Apr-7-1999-ok -rw-r--r-- 1 inoue staff 3942279 Mar 1 14:32 crash-dump.tar.gz drwxr-xr-x 5 inoue staff 1024 Apr 13 1999 frc7v-cl2/ drwxr-xr-x 2 inoue staff 512 Mar 1 14:24 var-crash-frc7v-cl1/ frc7v-cl2[62]% cd frc7v-cl2 /export/home/frc7v-cl2/inoue/CAMAC/Driver/frc7v-cl2 frc7v-cl2[63]% ls -l total 1150 -rw-r--r-- 1 inoue staff 2041 Apr 13 1999 Makefile -rw-r--r-- 1 inoue staff 2730 Apr 13 1999 README -rwxr-xr-x 1 inoue staff 13952 Apr 13 1999 cam1* -rw-r--r-- 1 inoue staff 1170 Apr 13 1999 cam1.c -rwxr-xr-x 1 inoue staff 28972 Apr 13 1999 cam2* -rw-r--r-- 1 inoue staff 2295 Apr 13 1999 cam2.f -rw-r--r-- 1 inoue staff 16422 Apr 13 1999 cam2.nm -rwxr-xr-x 1 inoue staff 14480 Apr 13 1999 cam3* -rw-r--r-- 1 inoue staff 2055 Apr 13 1999 cam3.c -rw-r--r-- 1 inoue staff 9740 Apr 13 1999 camlib.c -rw-r--r-- 1 inoue staff 1415 Apr 13 1999 camlib.h -rw-r--r-- 1 inoue staff 9532 Apr 13 1999 camlib.o -rw-r--r-- 1 inoue staff 58824 Apr 13 1999 cc -rw-r--r-- 1 inoue staff 73399 Apr 13 1999 cc.c -rw-r--r-- 1 inoue staff 73164 Apr 13 1999 cc.c-Apr-7-1999-ok -rw-r--r-- 1 inoue staff 73498 Apr 13 1999 cc.c-Apr-9-1999-bak drwxr-xr-x 2 inoue staff 512 Apr 13 1999 cc.c-bak/ -rw-r--r-- 1 inoue staff 64403 Apr 13 1999 cc.c-org -rw-r--r-- 1 inoue staff 288 Apr 13 1999 cc.conf -rw-r--r-- 1 inoue staff 2861 Apr 13 1999 cc.h -rw-r--r-- 1 inoue staff 2861 Apr 13 1999 cc.h-Apr-5-1999 -rw-r--r-- 1 inoue staff 2748 Apr 13 1999 cc.h-org -rwxr----- 1 inoue staff 66215 Apr 13 1999 cc.new.c* -rw-r--r-- 1 inoue staff 2288 Apr 13 1999 cc_common.h -rw-r--r-- 1 inoue staff 876 Apr 13 1999 cc_config.h -rw-r--r-- 1 inoue staff 3289 Apr 13 1999 forlib.c -rw-r--r-- 1 inoue staff 3484 Apr 13 1999 forlib.o -rw-r--r-- 1 inoue staff 4058 Apr 13 1999 k2917.h drwxr-xr-x 10 inoue staff 512 Apr 13 1999 ktaka/ -rw-r--r-- 1 inoue staff 13876 Apr 13 1999 libcamac.a -rw-r--r-- 1 inoue staff 8875 Apr 13 1999 out -rw-r--r-- 1 inoue staff 9033 Apr 13 1999 out1 -rw-r--r-- 1 inoue staff 1390 Apr 13 1999 out2 drwxr-xr-x 2 inoue staff 512 Apr 13 1999 script/ frc7v-cl2[64]% (3-3-1). コンパイラのバージョンをチェック frc7v-cl2[69]% which cc /kek/compilers/volume5/SUNWspro/bin/cc frc7v-cl2[70]% which f77 /kek/compilers/volume5/SUNWspro/bin/f77 frc7v-cl2[71]% 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-cl2[72]% 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-cl2[73]% (3-3-2). cc.c およびその他のファイルをコンパイルする frc7v-cl2[74]% pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver/frc7v-cl2 frc7v-cl2[75]% make clean \rm -f cc *.o libcamac.a cam1 cam2 cam3 *~ core frc7v-cl2[76]% 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-cl2[77]% (3-3-3). "make install" をやる /usr/local へのシンボリック・リンクを張る。 frc7v-cl2# ls -l /usr/local lrwxrwxrwx 1 root other 25 Feb 10 10:22 /usr/local -> /export/home/frc8vt/local frc7v-cl2# ls -l /export/home total 2 drwxr-xr-x 6 root other 512 Feb 25 10:02 frc7v-cl2/ frc7v-cl2# mkdir /export/home/frc8vt frc7v-cl2# cd /export/home/frc8vt frc7v-cl2# ln -s ../frc7v-cl2/local local frc7v-cl2# ls -lL /usr/local total 2 drwxr-xr-x 3 nobody other 512 Feb 10 10:55 vme/ frc7v-cl2# ok. これで、サーバとディスクレス・クライアントで /usr/localディレクトリ を共有できた。 frc7v-cl2# pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl2# 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-cl2# frc7v-cl2# ls -lLR /usr/local /usr/local: total 2 drwxr-xr-x 3 nobody other 512 Feb 10 10:55 vme/ /usr/local/vme: total 2 drwxr-xr-x 4 nobody other 512 Feb 10 10:55 camac/ /usr/local/vme/camac: total 4 drwxr-xr-x 2 nobody other 512 Apr 14 1999 include/ drwxr-xr-x 2 nobody other 512 Apr 14 1999 lib/ /usr/local/vme/camac/include: total 26 -rw-r--r-- 1 nobody other 1415 Apr 14 1999 camlib.h -rw-r--r-- 1 nobody other 2861 Apr 14 1999 cc.h -rw-r--r-- 1 nobody other 2288 Apr 14 1999 cc_common.h -rw-r--r-- 1 nobody other 876 Apr 14 1999 cc_config.h -rw-r--r-- 1 nobody other 4058 Apr 14 1999 k2917.h /usr/local/vme/camac/lib: total 28 -rw-r--r-- 1 nobody other 13876 Apr 14 1999 libcamac.a frc7v-cl2# (3-3-4). "make load" をやる cc および cc.confファイルを /usr/kernel/drv にコピーする。 frc8vt# pwd /usr/kernel/drv frc8vt# ls -l cc* -rwxr-xr-x 1 root sys 58824 Apr 12 10:15 cc* -rwxr-xr-x 1 root sys 288 Apr 12 10:15 cc.conf* frc8vt# rcp frc7v-cl2:/export/home/frc7v-cl2/inoue/CAMAC/Driver/FORCE-5V-sol2.5/cc . frc8vt# rcp frc7v-cl2:/export/home/frc7v-cl2/inoue/CAMAC/Driver/FORCE-5V-sol2.5/cc.conf . frc8vt# ls -l cc* -rwxr-xr-x 1 root sys 58824 Apr 14 10:01 cc* -rwxr-xr-x 1 root sys 288 Apr 14 10:01 cc.conf* frc8vt# ccドライバをロードする。 frc7v-cl2# pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl2# 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] ここでフリーズした。 システムはハングしてしまってコンソールから何も コントロールできない。 CPUボードの RUN の LED は赤と黄の点滅を繰り返して いる。 FRCvme コンソールには FRCvme と表示された状態でフリーズしている。 キー入力も できない。 CPUボードの RESETスイッチを押して強制的にシステムを落とした。 Power-ON Reset 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 initializing TLB initializing cache Setting WS to fast mode Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Automatic network cable selection succeeded : Using AUI Ethernet Interface 24e00 Type help for more information ok ok ok boot net -r Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -r Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 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-cl2 Mounting /dev/swap for swap Configuring the /devices directory FRCvm ここでシステムのブートアップはフリーズしてしまった。 "boot -v" でブートしてみる。 FRCvm Power-ON Reset 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 initializing TLB initializing cache Setting WS to fast mode Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 / Type 'go' to resume Type help for more information ok boot net -v -r Resetting ... initializing TLB initializing cache Setting WS to fast mode Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Rebooting with command: net -v -r Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -v -r Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 Size: 243560+176918+41926 Bytes SunOS Release 5.6 Version Generic_105181-05 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. vac: enabled in writeback mode cpu0: FMI,MB86907 (mid 0 impl 0x0 ver 0x5 clock 171 MHz) mem = 65536K (0x4000000) avail mem = 61403136 Ethernet address = 0:80:42:b:53:10 root nexus = FORCE,CPU-7V iommu0 at root: obio 0x10000000 sbus0 at iommu0: obio 0x10001000 ledma0 at sbus0: SBus slot 5 0x8400010 le0 at ledma0: SBus slot 5 0x8c00000 sparc ipl 6 le0 is /iommu@0,10000000/sbus@0,10001000/ledma@5,8400010/le@5,8c00000 Requesting Internet address for 0:80:42:b:53:10 Found my IP address: 8257d980 (130.87.217.128) hostname: frc7v-cl2 domainname: kek.jp root on frc8vt:/export/root/frc7v-cl2 fstype nfsdyn obio0 at root zs0 at obio0: obio 0x100000 sparc ipl 12 zs0 is /obio/zs@0,100000 zs1 at obio0: obio 0x0 sparc ipl 12 zs1 is /obio/zs@0,0 configuring network interfaces: le0. Hostname: frc7v-cl2 Mounting /dev/swap for swap dump on /dev/swap size 32756K Configuring the /devices directory espdma0 at sbus0: SBus slot 5 0x8400000 esp0: esp-options=0x46 esp0 at espdma0: SBus slot 5 0x8800000 sparc ipl 4 esp0 is /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000 pem: no event handler FRCvme ここでブートアップはフリーズした。 frc7v-cl2 の CPUボードのジャンパーを確認したところ、スロット#1の設定に なっていなかった。 ジャンパーをスロット#1の設定に変更する。 再度ブートする。 Power-ON Reset 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 initializing TLB initializing cache Setting WS to fast mode Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 / Type 'go' to resume Type help for more information ok boot net -r Resetting ... initializing TLB initializing cache Setting WS to fast mode Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Rebooting with command: net -r Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -r Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 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-cl2 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-cl2 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-cl2 console login: ok. システムは正常に立ち上がった。 ホームディレクトリをマウントする。 onlsun1[77]% !! rlogin frc7v-cl2 Password: No directory! Logging in with home=/ Last login: Wed Apr 14 09:26:20 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl2% su Password: # mount frc8vt:/export/home/frc8vt /export/home/frc7v-cl2 # frc7v-cl2% logout Connection closed. onlsun1[78]% !! rlogin frc7v-cl2 Last login: Wed Apr 14 14:36:37 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl2[33]% ls -l total 10 drwxr-xr-x 3 inoue staff 512 Feb 9 15:34 CAMAC/ drwxr-xr-x 3 inoue staff 512 Apr 5 17:47 Driver-samples-2.6/ drwxr-xr-x 3 inoue staff 512 Nov 6 11:07 FORCE/ drwxr-xr-x 2 inoue staff 512 Feb 18 10:29 Ktaka/ -rw------- 1 inoue staff 592 Feb 26 16:49 mbox frc7v-cl2[34]% camacドライバのロードをする。 frc7v-cl2# pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver/frc7v-cl2 frc7v-cl2# ls -l /dev/cc /dev/cc: No such file or directory frc7v-cl2# 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-cl2# ls -l /dev/cc lrwxrwxrwx 1 root other 69 Apr 14 1999 /dev/cc -> /devices/iommu@ 0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc frc7v-cl2# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] frc7v-cl2# ls -l /dev/cc /dev/cc: No such file or directory frc7v-cl2# 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-cl2# ls -l /dev/cc lrwxrwxrwx 1 root other 69 Apr 14 1999 /dev/cc -> /devices/iommu@ 0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc frc7v-cl2# ok. camacドライバは正常にロードできた。 ロード時の状態 frc7v-cl2[37]% modinfo | grep CAMAC 106 f6085000 8a4b3 60 1 cc (CAMAC driver v1.3x by Y.Takeuch) frc7v-cl2[38]% modinfo | grep vme 113 f5b09800 69f 67 1 vmemem (VME memory driver) 150 f5976000 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 171 f6067800 24b1 134 1 vmedma (vmedma driverJul 31 1998) 172 f5bf3550 191d 135 1 vmefdma (vmefdma driverAug 10 1998) 173 f5d26000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f606a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl2[39]% modinfo | grep FORCE 107 f5ceb000 12ad6 109 1 VME (FORCE VME Nexus V2.3.1) 150 f5976000 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 173 f5d26000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f606a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl2[40]% アンロード時の状態 frc7v-cl2# pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl2# ls -l /dev/cc lrwxrwxrwx 1 root other 69 Apr 14 14:49 /dev/cc -> /devices/iommu@0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc frc7v-cl2# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] frc7v-cl2# ls -l /dev/cc /dev/cc: No such file or directory frc7v-cl2# modinfo | grep CAMAC frc7v-cl2# modinfo | grep vme 113 f5b09800 69f 67 1 vmemem (VME memory driver) 150 f5976000 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 171 f6067800 24b1 134 1 vmedma (vmedma driverJul 31 1998) 172 f5bf3550 191d 135 1 vmefdma (vmefdma driverAug 10 1998) 173 f5d26000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f606a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl2# modinfo | grep FORCE 107 f5ceb000 12ad6 109 1 VME (FORCE VME Nexus V2.3.1) 150 f5976000 2445 110 1 vmeplus (FORCE VME leaf driver vmeplus A) 173 f5d26000 28a5 136 1 vmedvma (FORCE vmedvma driver Jul 31 199) 174 f606a000 437d 137 1 vmectl (FORCE VME leaf driver vmectl Ju) frc7v-cl2# camacドライバをロードし直す。 frc7v-cl2# pwd /export/home/frc7v-cl2/inoue/CAMAC/Driver/FORCE-5V-sol2.5 frc7v-cl2# 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-cl2# ls -l /dev/cc lrwxrwxrwx 1 root other 69 Apr 14 1999 /dev/cc -> /devices/iommu@0,10000000/sbus@0,10001000/VME@5,ffffe00/cc@2d,ff00:cc frc7v-cl2# (4). VME スレーブ・ウインドウを設定する (4-1). VME.conf ファイルを修正する frc7v-cl2# pwd /platform/sun4m/kernel/drv frc7v-cl2# ls -l VME* -rwxr-xr-x 2 root sys 183676 Feb 5 16:02 VME* -rw-r--r-- 1 root sys 2850 Jul 29 1998 VME.conf -rwxr-xr-x 2 root sys 183676 Feb 5 16:02 VME_fga5000* -rwxr-xr-x 1 root sys 157244 Aug 11 1998 VME_s4* frc7v-cl2# mv VME.conf VME.conf.org frc7v-cl2# cp VME.conf.org VME.conf frc7v-cl2# ls -l VME.conf* -rw-r--r-- 1 root other 2850 Apr 14 1999 VME.conf -rw-r--r-- 1 root sys 2850 Jul 29 1998 VME.conf.org frc7v-cl2# chgrp sys VME.conf frc7v-cl2# ls -l VME.conf* -rw-r--r-- 1 root sys 2850 Apr 14 1999 VME.conf -rw-r--r-- 1 root sys 2850 Jul 29 1998 VME.conf.org frc7v-cl2# 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-cl2# (4-2). システムをリブートする frc7v-cl2 console login: root Password: Apr 14 16:17:38 frc7v-cl2 login: ROOT LOGIN /dev/console Last login: Fri Feb 12 15:10:44 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 Apr 14 16:17:48 JST 1999 Do you want to continue? (y or n): y Broadcast Message from root (console) on frc7v-cl2 Wed Apr 14 16:17:51... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: frc7v-cl2: 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-cl2: is busy Apr 14 16:18:44 snmpdx: received signal 15 The system is down. syncing file systems... done Program terminated Type help for more information ok ok ok boot net -r Resetting ... initializing TLB initializing cache Setting WS to fast mode Allocating SRMMU Context Table Setting SRMMU Context Register Setting SRMMU Context Table Pointer Register Allocating SRMMU Level 1 Table Mapping RAM Mapping ROM ttya initialized Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there screen not found. Can't open input device. Keyboard not present. Using tty for input and output. Probing Memory Bank #0 32 Megabytes Probing Memory Bank #1 32 Megabytes Probing Memory Bank #2 Nothing there Probing Memory Bank #3 Nothing there Probing Memory Bank #4 Nothing there Probing Memory Bank #5 Nothing there Probing Memory Bank #6 Nothing there Probing Memory Bank #7 Nothing there Probing CPU FMI,MB86907 0 KB Secondary Cache Present IOCLK Setting = CPUCLK/2 SBUSCLK Setting = CPUCLK/8 Running in TurboSPARC Native Mode Running in microSPARC-II Compatible Mode Setting SPARC FGA-5000 base address ... @5,ffffe00 Mapping SPARC FGA-5000 Registers ... @ 0xffee3e00 done! Mapping /sysconfig ... @ 0xffee2000 done! Performing system configuration (Watchdog Timer, Abort Switch, etc) ... done! Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledm a le Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there 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. Running TurboSPARC in the microSPARC-II mode. Snoop and IC-Snoop are turned on. Initialising VMEbus device ... clearing SYSFAIL* signal ... done! Rebooting with command: net -r Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -r Automatic network cable selection succeeded : Using AUI Ethernet Interface 2dc00 Server IP address: 130.87.217.126 Client IP address: 130.87.217.128 Automatic network cable selection succeeded : Using AUI Ethernet Interface hostname: frc7v-cl2 domainname: kek.jp root server: frc8vt root directory: /export/root/frc7v-cl2 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-cl2 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-cl2 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-cl2 console login: ok. slavewin は正しく設定できた。 (4-3). ユーザのホームディレクトリをマウントする onlsun1[35]% !! rlogin frc7v-cl2 Password: No directory! Logging in with home=/ Last login: Wed Apr 14 15:41:36 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl2% su Password: # mount frc8vt:/export/home/frc8vt /export/home/frc7v-cl2 # frc7v-cl2% logout Connection closed. onlsun1[36]% !! rlogin frc7v-cl2 Last login: Wed Apr 14 16:26:46 from onlsun1.kek.jp Sun Microsystems Inc. SunOS 5.6 Generic August 1997 frc7v-cl2[36]% ls -l total 10 drwxr-xr-x 3 inoue staff 512 Feb 9 15:34 CAMAC/ drwxr-xr-x 3 inoue staff 512 Apr 5 17:47 Driver-samples-2.6/ drwxr-xr-x 3 inoue staff 512 Nov 6 11:07 FORCE/ drwxr-xr-x 2 inoue staff 512 Feb 18 10:29 Ktaka/ -rw------- 1 inoue staff 592 Feb 26 16:49 mbox frc7v-cl2[37]% 続いて、camacの例題プログラムを実行する。 ---xxxx ここまでやった(継続中) --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション