May 22, 1998 onl5v4: Solaris 2.5.1 cc ドライバのテスト cc ドライバのインストール ~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl5v4-sol2.5.1/camac-step01.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). Soalris2.5.1 が届いた。 (B). Soalris2.5.1 のシステムをインストールした。 (C). /etc の下の各設定、および /export/home のリストアをやった。 (D). sendmail のバージョン・アップをやった。 (E). Solaris2.5.1 にシステム・パッチをあてた。 (F). Solaris2.5用の VMEドライバ、sol2.5-vme-driver-v2.0.2 を インストールした。 (注. FORCE は Solaris2.5.1用の VMEドライバは 提供していない。) (2). ここでやるべきこと onl5v4 に ccドライバをインストールする。 (3). VMEドライバがインストールされていることを確認 onlsun1[48]% rlogin onl7v1 Last login: Thu May 21 16:19:49 from onlsun2 Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996 onl7v1[33]% pkginfo | grep FRC system FRCvme VMEbus Driver CPU-5V/5VT/20VT/24VT/7V/ Solaris 2.5 onl7v1[34]% ok. 正しくインストールされている。 (4). ccドライバのキットを入手 (4-1). オンライン・グループの anonymous ftp サイトから、キットを入手 onl5v4[39]% pwd /export/home/onl5v4/inoue/CAMAC/Driver onl5v4[40]% ls -l total 0 onl5v4[41]% ftp online.kek.jp Connected to onlax2.kek.jp. 220 onlax2.kek.jp FTP server (Version wu-2.4(1) Tue May 9 18:06:21 JST 1995) ready. Name (online.kek.jp:inoue): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: 230-*** KEK Online Group Anonymous FTP service *** 230- 230-Welcome to KEK Online Group FTP service. 230- 230-ALL YOUR TRANSFERS WILL BE LOGGED. 230- 230 Guest login ok, access restrictions apply. ftp> cd pub/kek/camac 250-Please read the file README 250- it was last modified on Fri Dec 2 00:40:41 1994 - 1265 days ago 250 CWD command successful. ftp> dir 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. total 3256 -rw-r--r-- 1 0 10 1173 Apr 19 1995 122d_to_e.tar.gz -rw-r--r-- 1 0 10 22160 Nov 19 1997 FORCE-5V-sol2.5.tar.gz -rw-r--r-- 1 0 10 2494 Dec 2 1994 README -rw-r--r-- 1 0 10 21435 Dec 13 1994 camac.sol2-1.30.tar.gz -rw-r--r-- 1 0 10 169539 Aug 18 1993 camac.sparc-1.22b.tar.Z -rw-r--r-- 1 0 10 91662 Aug 18 1993 camac.sparc-1.22b.tar.gz -rw-r--r-- 1 0 10 198417 Aug 19 1993 camac.sparc-1.22c.tar.Z -rw-r--r-- 1 0 10 110755 Aug 19 1993 camac.sparc-1.22c.tar.gz -rw-r--r-- 1 0 10 199103 Sep 4 1993 camac.sparc-1.22d.tar.Z -rw-r--r-- 1 0 10 110752 Sep 4 1993 camac.sparc-1.22d.tar.gz -rw-r--r-- 1 0 10 287493 Apr 20 1995 camacv1.01_decs.tar.Z -rw-r--r-- 1 0 10 231505 Dec 2 1994 camacv1.01_hprt.tar.Z -rw-r--r-- 1 0 10 132002 Dec 2 1994 camacv1.01_hprt.tar.gz -rw-r--r-- 1 0 10 283202 Dec 2 1994 camacv1.0_decs.tar.Z -rw-r--r-- 1 0 10 159495 Dec 2 1994 camacv1.0_decs.tar.gz -rw-r--r-- 1 0 10 216777 Sep 13 1994 camacv1.0_hprt.tar.Z -rw-r--r-- 1 0 10 122114 Sep 13 1994 camacv1.0_hprt.tar.gz -rw-r--r-- 1 0 10 87379 Nov 30 1994 camlib-docs-1.0.tar.Z -rw-r--r-- 1 0 10 51118 Nov 30 1994 camlib-docs-1.0.tar.gz -rw-r--r-- 1 0 10 13589 Jan 17 1995 sparc-3ce.tar.gz -rw-r--r-- 1 0 10 233395 Aug 18 1993 tdaq-1.00.tar.Z -rw-r--r-- 1 0 10 121288 Apr 2 1992 tdaq-1.00.tar.gz -rw-r--r-- 1 0 10 277799 Jan 20 1995 vme-3CE.tar.gz 226 Transfer complete. 1757 bytes received in 0.034 seconds (51 Kbytes/s) ftp> binary 200 Type set to I. ftp> get FORCE-5V-sol2.5.tar.gz 200 PORT command successful. 150 Opening BINARY mode data connection for FORCE-5V-sol2.5.tar.gz (22160 bytes). 226 Transfer complete. local: FORCE-5V-sol2.5.tar.gz remote: FORCE-5V-sol2.5.tar.gz 22160 bytes received in 0.045 seconds (4.8e+02 Kbytes/s) ftp> quit 221 Goodbye. onl5v4[42]% (4-2). 入手したキットを展開する onl5v4[42]% ls -l total 44 -rw-r--r-- 1 inoue kek 22160 May 21 16:40 FORCE-5V-sol2.5.tar.gz onl5v4[43]% gzip -d FORCE-5V-sol2.5.tar.gz onl5v4[44]% ls -l total 256 -rw-r--r-- 1 inoue kek 120320 May 21 16:40 FORCE-5V-sol2.5.tar onl5v4[45]% tar xvf FORCE-5V-sol2.5.tar x FORCE-5V-sol2.5, 0 bytes, 0 tape blocks x FORCE-5V-sol2.5/Makefile, 2041 bytes, 4 tape blocks x FORCE-5V-sol2.5/README, 2730 bytes, 6 tape blocks x FORCE-5V-sol2.5/cam1.c, 1170 bytes, 3 tape blocks x FORCE-5V-sol2.5/cam3.c, 2055 bytes, 5 tape blocks x FORCE-5V-sol2.5/camlib.c, 9740 bytes, 20 tape blocks x FORCE-5V-sol2.5/camlib.h, 1415 bytes, 3 tape blocks x FORCE-5V-sol2.5/cc.c, 64403 bytes, 126 tape blocks x FORCE-5V-sol2.5/cc.conf, 288 bytes, 1 tape blocks x FORCE-5V-sol2.5/cc.h, 2748 bytes, 6 tape blocks x FORCE-5V-sol2.5/cc_common.h, 2288 bytes, 5 tape blocks x FORCE-5V-sol2.5/cc_config.h, 876 bytes, 2 tape blocks x FORCE-5V-sol2.5/forlib.c, 3289 bytes, 7 tape blocks x FORCE-5V-sol2.5/k2917.h, 4058 bytes, 8 tape blocks x FORCE-5V-sol2.5/script, 0 bytes, 0 tape blocks x FORCE-5V-sol2.5/script/cc_build.sh, 234 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/cc_load.sh, 611 bytes, 2 tape blocks x FORCE-5V-sol2.5/script/cc_unload.sh, 270 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/cc_build.gcc.sh, 233 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/cc_link.sh, 528 bytes, 2 tape blocks x FORCE-5V-sol2.5/script/awk2.txt, 37 bytes, 1 tape blocks x FORCE-5V-sol2.5/script/awk1.txt, 66 bytes, 1 tape blocks x FORCE-5V-sol2.5/cam2.f, 2295 bytes, 5 tape blocks onl5v4[46]% (4-3). 展開したキットをコンパイルする (4-3-1). コンパイラのバージョンをチェック onl5v4[42]% which cc /kek/compilers/volume5/SUNWspro/bin/cc onl5v4[43]% cc -V cc: WorkShop Compilers 4.2.1 04 Feb 1997 C 4.2.1 usage: cc [ options] files. Use 'cc -flags' for details onl5v4[44]% which f77 /kek/compilers/volume5/SUNWspro/bin/f77 onl5v4[45]% 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 onl5v4[46]% (4-3-2). CAMACドライバをコンパイルする onl5v4[46]% pwd /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.5 onl5v4[47]% ls -l total 210 -rw-r--r-- 1 inoue kek 2041 May 23 1997 Makefile -rw-r--r-- 1 inoue kek 2730 Jul 1 1997 README -rw-r--r-- 1 inoue kek 1170 May 13 1997 cam1.c -rw-r--r-- 1 inoue kek 2295 May 22 1997 cam2.f -rw-r--r-- 1 inoue kek 2055 May 21 1997 cam3.c -rw-r--r-- 1 inoue kek 9740 May 21 1997 camlib.c -rw-r--r-- 1 inoue kek 1415 May 13 1997 camlib.h -rw-r--r-- 1 inoue kek 64403 Jun 2 1997 cc.c -rw-r--r-- 1 inoue kek 288 May 13 1997 cc.conf -rw-r--r-- 1 inoue kek 2748 May 13 1997 cc.h -rw-r--r-- 1 inoue kek 2288 May 13 1997 cc_common.h -rw-r--r-- 1 inoue kek 876 May 13 1997 cc_config.h -rw-r--r-- 1 inoue kek 3289 May 13 1997 forlib.c -rw-r--r-- 1 inoue kek 4058 May 13 1997 k2917.h drwxr-xr-x 2 inoue kek 512 Nov 10 1997 script/ onl5v4[48]% onl5v4[48]% 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 onl5v4[49]% (4-4). "make install" をやる onl5v4# pwd /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.5 onl5v4# ls -l total 482 -rw-r--r-- 1 inoue kek 2041 May 23 1997 Makefile -rw-r--r-- 1 inoue kek 2730 Jul 1 1997 README -rwxr-xr-x 1 inoue kek 13068 May 22 11:46 cam1 -rw-r--r-- 1 inoue kek 1170 May 13 1997 cam1.c -rwxr-xr-x 1 inoue kek 27568 May 22 11:46 cam2 -rw-r--r-- 1 inoue kek 2295 May 22 1997 cam2.f -rwxr-xr-x 1 inoue kek 13656 May 22 11:46 cam3 -rw-r--r-- 1 inoue kek 2055 May 21 1997 cam3.c -rw-r--r-- 1 inoue kek 9740 May 21 1997 camlib.c -rw-r--r-- 1 inoue kek 1415 May 13 1997 camlib.h -rw-r--r-- 1 inoue kek 9492 May 22 11:46 camlib.o -rw-r--r-- 1 inoue kek 54292 May 22 11:45 cc -rw-r--r-- 1 inoue kek 64403 Jun 2 1997 cc.c -rw-r--r-- 1 inoue kek 288 May 13 1997 cc.conf -rw-r--r-- 1 inoue kek 2748 May 13 1997 cc.h -rw-r--r-- 1 inoue kek 2288 May 13 1997 cc_common.h -rw-r--r-- 1 inoue kek 876 May 13 1997 cc_config.h -rw-r--r-- 1 inoue kek 3289 May 13 1997 forlib.c -rw-r--r-- 1 inoue kek 3444 May 22 11:46 forlib.o -rw-r--r-- 1 inoue kek 4058 May 13 1997 k2917.h -rw-r--r-- 1 inoue kek 13796 May 22 11:46 libcamac.a drwxr-xr-x 2 inoue kek 512 Nov 10 1997 script onl5v4# 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 onl5v4# onl5v4# ls -lLR /usr/local/vme /usr/local/vme: total 2 drwxr-xr-x 4 root other 512 Nov 29 1996 camac /usr/local/vme/camac: total 4 drwxr-xr-x 2 root other 512 May 22 13:53 include drwxr-xr-x 2 root other 512 May 22 13:53 lib /usr/local/vme/camac/include: total 26 -rw-r--r-- 1 root staff 1415 May 22 13:53 camlib.h -rw-r--r-- 1 root staff 2748 May 22 13:53 cc.h -rw-r--r-- 1 root staff 2288 May 22 13:53 cc_common.h -rw-r--r-- 1 root staff 876 May 22 13:53 cc_config.h -rw-r--r-- 1 root staff 4058 May 22 13:53 k2917.h /usr/local/vme/camac/lib: total 28 -rw-r--r-- 1 root staff 13796 May 22 13:53 libcamac.a onl5v4# (4-5). VME.confファイルに slavewinプロパティを設定する onl5v4# pwd /kernel/drv onl5v4# ls VME ip.conf pln.conf st VME.conf isp profile st.conf arp iwscn pseudo stp4020 arp.conf iwscn.conf pseudo.conf sy atapicd le ptc sy.conf atapicd.conf lebuffer ptc.conf tcp be llc1 ptsl tcp.conf bpp llc1.conf ptsl.conf tl clone log qe tl.conf clone.conf log.conf qec uata cn mm rtvc udp cn.conf mm.conf sad udp.conf conskbd openeepr sad.conf vmectl conskbd.conf openeepr.conf sd vmectl.conf consms options sd.conf vmedma consms.conf options.conf se vmedma.conf dad pci_pci ses vmedvma dad.conf pcmcia ses.conf vmedvma.conf ecpp pcmcia.conf soc vmefdma esp pcmem socal vmefdma.conf fas pcram sp vmeplus glm pcram.conf sp.conf vmeplus.conf hme pcser spcic wc icmp pem ssd wc.conf icmp.conf pem.conf ssd.conf xbox ip pln ssd.conf.02199815 onl5v4# mv VME.conf VME.conf.org onl5v4# cp VME.conf.org VME.conf onl5v4# ls -l VME.conf* -rw-r--r-- 1 root other 1774 May 22 14:05 VME.conf -rw-r--r-- 1 root sys 1774 Oct 11 1996 VME.conf.org onl5v4# chgrp sys VME.conf onl5v4# ls -l VME.conf* -rw-r--r-- 1 root sys 1774 May 22 14:05 VME.conf -rw-r--r-- 1 root sys 1774 Oct 11 1996 VME.conf.org onl5v4# vi VME.conf # @(#)VME.conf 1.3 96/10/11 FRC # # vmewin must be on a 256MB boundary # vmewin= # vmewinX= # The syntax for VME A24/A16 windows is vmexxdxx=, # The parameter is currently ignored (the full 16MB/64K range is used). # If these properties exist, the VSI is programmed with a static SBus to # VMEbus mapping. # # If you don't need this and want to save same range registers in the VSI, # you should comment it out. # # The slavewin property is only needed for device drivers that want to # to do 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 VSI 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 , , # # vme_start must be aligned to vme_size. vme_size must be 0x100000 (1MB), 2MB # 4MB, 8MB, ... 64MB. Space is a bitset of the VME_BT_xxx literals defined # in sys/vme_types. Standard values are: # 0x00020000 for a slave window in A24 space # 0x00040000 for a slave window in A32 space # # Refer to the manual for psooible values for different hardware. E.g. if # you want the slave memory to accept BLT/MBLT transfers, set the # VME_BT_BLT/VME_BT_MBLT bits: # 0x00040600 for a slave window in A32 space with BLT/MBLT enabled. # #vmewin1=0x40000000 #vmewin2=0x20000000 #vmewin3=0x30000000 #vmewin=0x10000000 #vme16d16=0x0,0x10000 #vme16d32=0x0,0x10000 #vme24d32=0x0,0x100000 #vme24d16=0x0,0x100000 #slavewin=0x000000,0x100000,0x00020000 slavewin=0x000000,0x100000,0x00020000 ; "VME.conf" 47 lines, 1812 characters onl5v4# (4-6). ここでシステムを立ち上げ直す onl5v4# /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri May 22 14:09:07 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl5v4 Fri May 22 14:09:09... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl5v4: RPC: Program not registered Changing to init state 0 - please wait onl5v4# 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. May 22 14:09:16 onl5v4 syslogd: going down on signal 15 nfs umount: onl5v4:vold(pid217) server not responding: RPC: Program not register ed May 22 14:09:22 cssd: Got sig#15, sending it to all CSes and exit May 22 14:09:22 /usr/sbin/vold[403]: problem unmounting /vol; Interrupted system call The system is down. syncing file systems... done Program terminated Type help for more information ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.5.1 Version Generic_103640-12 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1996, Sun Microsystems, Inc. NOTICE: VME SYSFAIL (clr) not handled. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0 le0. Hostname: onl5v4 Configuring the /devices directory 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 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s7: is clean. Flushing routing table: add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv kerbd done. Setting netmask of hme0 to 255.255.252.0 Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl5v4 syslog service starting. Print services started. starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl5v4 console login: ok. 正常に立ち上がった。 (4-7). ccドライバのロード、アンロード ccドライバのロード、アンロードが正しく実行できることを確認する。 onl5v4# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] [Configuring CAMAC device driver] [Making CAMAC device files] onl5v4# (4-8). システムをリブートする onl5v4# reboot May 22 14:18:02 onl5v4 reboot: rebooted by root May 22 14:18:02 onl5v4 syslogd: going down on signal 15 May 22 14:18:02 rpcbind: rpcbind terminating on signal. May 22 14:18:02 cssd: Got sig#15, sending it to all CSes and exit syncing file systems... done rebooting... Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-5V, No Keyboard ROM Rev. 2.15.3, 48 MB memory installed, Serial #9149788. Ethernet address 0:80:42:b:2d:5c, Host ID: 808b9d5c. Rebooting with command: Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: SunOS Release 5.5.1 Version Generic_103640-12 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1996, Sun Microsystems, Inc. NOTICE: VME SYSFAIL (clr) not handled. NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: hme0 le0. Hostname: onl5v4 Configuring the /devices directory 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 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s7: is clean. Flushing routing table: add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv kerbd done. Setting netmask of hme0 to 255.255.252.0 Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl5v4 syslog service starting. Print services started. starting Kana-Kanji converters: cssd. Loading /kernel/strmod/jconv7. Loading /kernel/strmod/jconv8. Loading /kernel/strmod/jconvs. volume management starting. The system is ready. onl5v4 console login: ok. システムは camac を認識できた。 camacデバイス・ファイルをチェック。 onl5v4 console login: inoue Password: Last login: Fri May 22 14:15:59 from onlsun2 Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996 Starting OpenWindows in 5 seconds (type Control-C to interrupt)^Conl5v4[33]% onl5v4[33]% su Password: May 22 14:23:31 onl5v4 su: 'su root' succeeded for inoue on /dev/console # source /.cshrc onl5v4# cd CAMAC/Driver/FORCE-5V-sol2.5 onl5v4# pwd /export/home/onl5v4/inoue/CAMAC/Driver/FORCE-5V-sol2.5 onl5v4# ls -l /dev/cc lrwxrwxrwx 1 root other 3 May 22 14:17 /dev/cc -> :cc onl5v4# /dev/cc スペシャル・ファイルが正しく作られていない。 camac ドライバをロードし直す。 onl5v4# make unload ./script/cc_unload.sh [Removing CAMAC device driver] [Removing CAMAC device driver from system] [Deleting CAMAC device files] onl5v4# make load ./script/cc_load.sh [Installing CAMAC device driver] [Adding CAMAC device driver to system] 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 [Configuring CAMAC device driver] 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 vmectl0 at VME0 [Making CAMAC device files] onl5v4# 注. ここでの作業はコンソール上で行った。 そのために、"make load" を 実行した時にコンソールもいっしょに表示されてしまって見にくくなって いる。 onl5v4# ls -l /dev/cc lrwxrwxrwx 1 root other 54 May 22 14:25 /dev/cc -> /devices/iommu@ 0,10000000/VME@0,7ffffe00/cc@2d,ff00:cc onl5v4# ok. /dev/cc スペシャル・ファイルは正しく作られた。 (4-9). ccドライバがロードされた時の情報 o /var/adm/messagesファイル中の情報 May 22 14:24:58 onl5v4 unix: CAMAC device driver V1.3x, 1991-1993 by Y.TAKEUCHI (T.I.T.) May 22 14:24:58 onl5v4 unix: cc0 at VME0 May 22 14:24:58 onl5v4 unix: : May 22 14:24:58 onl5v4 unix: vme16d16 0xff00 May 22 14:24:58 onl5v4 unix: May 22 14:24:58 onl5v4 unix: VME level 4 vector 0xff sparc ipl 7 May 22 14:24:58 onl5v4 unix: cc0 is /iommu@0,10000000/VME@0,7ffffe00/cc@2d,ff00 --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル