Feb 15, 2000 onl50t: Solaris 7 cc ドライバのデバッグ. cc ドライバの実行(64ビットカーネル、その2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl50t-sol7/Desktop/camac-step07.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). SPARC CPU-50T、Solaris7 が届いた。 (B). FORCE,CPU-50(UltraSPARC-IIi 300MHz)、に Solaris 7 のシステムを インストールした。 (C). /etc の下のシステム設定の途中、同一SCSIケーブル上に narrow の ディスクと wide のディスクを混在してつないだらシステムが立ち 上がらなくなってしまった。 (D). wide のディスクを narrow のディスクに替えてもらった。 (E). FORCE,CPU-50(UltraSPARC-IIi 300MHz)、に Solaris 7 のシステムを 再インストールした。 (F). /etc の下の各設定、および /export/home の作成をやった。 (G). CPU-50T に Solaris7用の VMEドライバ、FRCvme-2.4.1 をインストール (H). onl50t に ccドライバを make load しようとしたが、64ビット対応に なっていないために組み込めない。 (I). Solaris7、32ビット・カーネルで onl50t を起動して camacドライバを 組み込んだ。 (J). onl50t、Solaris7 で 32ビット・カーネルの下での camacドライバの 動作確認をやった。 正常に実行できた。 (K). Solaris7、32ビット・カーネルの下で、シングルアクション、割り込み を実行した時のデータ転送速度は正常に測定できたが、ブロック転送の データ転送速度を測定時にシステムがフリーズしてしまった。 (L). 32ビットカーネルを使ってブロック転送を実行すると、複数ワードの データ転送時にフリーズすることがある、この時 camacドライバに制御 が移っていないことを確認した。 (M). ドライバプログラムを64ビット対応にするために必要な作業について調 べた。 (N). lintを使ってcamacドライバプログラムをチェック。 camacドライバを    ロード、アンロードできるようになった。 (O). 64ビット・カーネルの下での camacドライバの動作確認をやった。    シングルアクションR/W はNG。 LAM割り込み処理はNG。 ブロック転送は    確認していない。 (P). CGENC、CGENZ、CGENI、CREMIの実行は正常に実行できるようになった。 (Q). camac シングルアクション read/write の部分をデバッグ中にシステムを 壊してしまった。 (R). Solaris 7 のシステム再インストールした(その2)。 (S). /etc の下の各設定、および /export/home の作成をした(その2)。 (T). VMEドライバ、FRCvme-2.4.1 を再インストールした(その2)。 (U). ccドライバをインストールした(その2)。 (2). ここでやるべきこと onl50t、Solaris7 で 64ビット・カーネルの下での camacドライバの動作確認 をやる(その2)。 (3). 例題プログラムの実行 (3-1). cam1、シングル・アクション 24ビット camac read/write の実行 onl50t[50]% cam1 Input n a f (data)> <--- ok. cam1プログラムを起動した直後、2917の RUN LEDは一瞬だけ点灯して消える。 正常。 Input n a f (data)>3 0 0 N=3 A=0 F=0 Q=0 X=1 Data:000005(Hex) 00000005(Dec) Input n a f (data)> <--- NG. naf=3,0,0 を実行すると、データウェイ オペレーションは実行され、データウェイ上の インジケータは正しいデータ値を示しているが CPUには正しいデータは返ってこない。 a=0,f=0 は camac側に正しく伝わっている。2917の RUN LEDは点灯したままになる。2917のRESETボタン を押して RUN LEDを消した。 Input n a f (data)>3 1 0 N=3 A=1 F=0 Q=0 X=1 Data:000005(Hex) 00000005(Dec) Input n a f (data)> <--- NG. naf=3,1,0 を実行すると、データウェイ オペレーションは実行され、データウェイ上の インジケータは正しいデータ値を示しているが CPUには正しいデータは返ってこない。 a=1,f=0 は camac側に正しく伝わっている。2917の RUN LEDは点灯したままになる。2917のRESETボタン を押して RUN LEDを消した。 Input n a f (data)>3 0 16 5 N=3 A=0 F=16 Q=0 X=1 Data:000005(Hex) 00000005(Dec) Input n a f (data)> <--- NG. naf=3,0,16 を実行すると、データウェイ オペレーションは実行されない。 2917の RUN LEDは点灯したままになる。 2917のRESETボタン を押して RUN LEDを消した。 <<< cam1プログラムを起動した直後のコンソール上のメッセージ >>> onl50t console login: onl50t console login: Feb 14 16:18:40 onl50t unix: NOTICE: cc_open: debug step0 3. --- CC_INT_AUTO_CLEAR is 4 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_open: debug step03. --- intrpri is 2 by tes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 01 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area is 262144 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area = 0x141a128 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 1] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 is 4 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 = 0x2 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step05. --- camac write Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf = 0x3c11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 01 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area is 262144 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area = 0x141a128 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 1] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 is 4 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 = 0x2 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step05. --- camac write Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf = 0x3c11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 01 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area is 262144 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area = 0x141a128 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 1] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 is 4 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 = 0x2 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step05. --- camac write Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf = 0x3c11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 01 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area is 262144 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area = 0x141a128 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 1] = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 is 4 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 = 0x2 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x3c 11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step05. --- camac write Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit is 4 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- unit = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode is 2 byte s Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- mode = 0x0 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- naf = 0x3c11 Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] is 2 bytes Feb 14 16:18:40 onl50t Feb 14 16:18:40 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] = 0x0 Feb 14 16:18:40 onl50t <<< naf=3,0,0 を実行した時のコンソール上のメッセージ >>> onl50t console login: onl50t console login: Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step 01. --- cc->mode is 2 bytes Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x60 0 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- unit is 4 byte s Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- unit = 0x0 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area is 262144 bytes Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area = 0x141a128 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] is 2 bytes Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] = 0x0 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 1] = 0x0 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step04. --- mode is 2 byte s Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step04. --- mode = 0x0 Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 is 4 bytes Feb 14 16:33:12 onl50t Feb 14 16:33:12 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 = 0x2 Feb 14 16:33:12 onl50t <<< naf=3,1,0 を実行した時のコンソール上のメッセージ >>> onl50t console login: onl50t console login: Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step 01. --- cc->mode is 2 bytes Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x62 0 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- unit is 4 byte s Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- unit = 0x0 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area is 262144 bytes Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area = 0x141a128 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] is 2 bytes Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 0] = 0x0 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step03. --- cc->data_area[ 1] = 0x0 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step04. --- mode is 2 byte s Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step04. --- mode = 0x0 Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 is 4 bytes Feb 14 16:41:06 onl50t Feb 14 16:41:06 onl50t unix: NOTICE: cc_write: debug step04. --- CC_BIT16 = 0x2 Feb 14 16:41:06 onl50t <<< naf=3,0,16 data=5 を実行した時のコンソール上のメッセージ >>> onl50t console login: onl50t console login: Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step 01. --- cc->mode is 2 bytes Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step01. --- cc->mode = 0x0 Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf is 2 b ytes Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step02. --- cc->naf = 0x61 0 Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step05. --- camac write Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- unit is 4 byte s Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- unit = 0x0 Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- mode is 2 byte s Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- mode = 0x0 Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- naf is 2 bytes Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- naf = 0x610 Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] is 2 bytes Feb 14 16:56:11 onl50t Feb 14 16:56:11 onl50t unix: NOTICE: cc_write: debug step06. --- cc->data_area[ 0] = 0x0 Feb 14 16:56:11 onl50t camac Z、C の実行が正しく行われるが、camacシングルアクション read/write はうまく実行できていないという状況に復旧できたことを確認した。 ---xxxx ここまでやった(継続中) --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション