Jan 11, 2005
onlsbc1, Fedora Core 1 のインストール
--- CC/NETソフトインストール #4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(http://www-online.kek.jp/~inoue/para-CAMAC/
Work/SBC-Linux47.html)
高エネルギー加速器研究機構
素粒子原子核研究所
物理、オンライングループ
井上 栄二
目的
SBC-Linux45.htmlでの作業により、Fedora Core 1 ディスクレスシステムを
構築した。 これはサーバ側のOSが Fedora Core 1 で動作し、クライアン
ト側のOSも Fedora Core 1 で動作するディスクレスシステムである。 こ
こでは、このディスクレスシステムに追加して CC/NET用のシステムとして
使用する上で必要なソフトウェアを実装し、CC/NET用 Fedora Core 1 ディ
スクレスクライアントシステムを構築する。
項目
(1). 現状確認
(2). Apacheの設定
(2-1). /etc/httpd/conf/httpd.confファイルを修正
(3). Javaのインストール
(3-1). Javaの入手
(3-2). Javaのインストール
(3-2-1). 自己解凍バイナリに実行アクセス権を設定する
(3-2-2). Java をインストール
(3-2-3). PATHを設定
(4). CC/NETソフトウェアのインストール
(4-1). ソフトウェアの配置
(4-2). CC/NET用ソフトウェアのコンパイル
(4-2-1). camacディレクトリの下のコンパイル
(4-2-2). remote-camacディレクトリの下のコンパイル
(4-2-3). checkディレクトリの下のコンパイル
(4-2-4). public_htmlディレクトリの下のコンパイル
(4-2-4A). public_htmlディレクトリの下のコンパイル
(4-2-4B). public_html/Webディレクトリの下のコンパイル
(5). CAMACドライバのインストール
(5-1). デバイスファイルの作成
(5-2). CAMACドライバのインストール
(5-3). CAMACドライバのロードおよびチェック
(6). システムアップ/ダウン時のドライバモジュールの処理
(6-1). システムダウン時の CC/NETのリセット
(6-2). システムアップ時の CC/NETのイニシャライズ
(7). CC/NETソフトウェアの実行
(7-1 ). rst_camコマンドの実行
(7-2 ). clr_fifoコマンドの実行
(7-3 ). dump_regコマンドの実行
(7-4 ). camコマンドの実行
(7-5 ). gen_camコマンドの実行
(7-6 ). dec_camコマンドの実行
(7-7 ). put_camコマンドの実行
(7-8 ). get_camコマンドの実行
(7-9 ). exam0コマンドの実行
(7-10). exam1コマンドの実行
(7-11). exam2コマンドの実行
(7-12). exam3コマンドの実行
(7-13). exam4コマンドの実行
(8). CC/NETソフトウェアの実行、その2
(8-1). web3の実行
--------------------------------------------------------------------
(1). 現状確認
サーバマシン onlpc03、クライアントマシン onlsbc1 の構成でディスクレスシ
ステムを構築した。 実行されている OS は、サーバマシン、クライアントマシ
ンともに Fedora Core 1 である。 CC/NETを使用する上で必要なソフトウェア
をクライアントマシン上にインストールする。
(2). Apacheの設定
CC/NET用の Linux システムとして使用するディスクレスクライアントマシン上
で、JavaRMI例題プログラムを実行するには httpd を起動する必要がある。
httpd の設定を行う。
(2-1). /etc/httpd/conf/httpd.confファイルを修正
[root@onlsbc1 conf]# pwd
/etc/httpd/conf
[root@onlsbc1 conf]# ls -l
total 72
lrwxrwxrwx 1 root root 37 Nov 24 15:09 Makefile -> ../../../usr
/share/ssl/certs/Makefile
-rw-r--r-- 1 root root 35775 Oct 23 2003 httpd.conf
-rw-r--r-- 1 root root 12959 Oct 23 2003 magic
drwx------ 2 root root 4096 Nov 5 16:26 ssl.crl
drwx------ 2 root root 4096 Nov 5 16:26 ssl.crt
drwx------ 2 root root 4096 Oct 23 2003 ssl.csr
drwx------ 2 root root 4096 Nov 5 16:26 ssl.key
drwx------ 2 root root 4096 Oct 23 2003 ssl.prm
[root@onlsbc1 conf]# mv httpd.conf httpd.conf-org
[root@onlsbc1 conf]# cp httpd.conf-org httpd.conf
[root@onlsbc1 conf]#
[root@onlsbc1 conf]# vi httpd.conf
:
:
"httpd.conf" 1056L, 36067C written
[root@onlsbc1 conf]#
[root@onlsbc1 conf]# /sbin/service httpd start
Starting httpd: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ja_JP.eucJP-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[ OK ]
[root@onlsbc1 conf]#
[toyo@onlsbc1 toyo]$ mkdir public_html
[toyo@onlsbc1 toyo]$ cd public_html
[toyo@onlsbc1 public_html]$ scp inoue@onlgw.kek.jp:/home/inoue/public_html/Parallel-CAMAC/index.html .
inoue@onlgw.kek.jp's password:
index.html 100% 4814 118.3KB/s 00:00
[toyo@onlsbc1 public_html]$
[toyo@onlsbc1 public_html]$ vi index.html
:
<H1><font color=red>Pipeline CAMAC (CC/NET): onlsbc1テスト</FONT><FONT SIZE=-1>(Dec 1, 2004)</FONT></H1>
:
[toyo@onlsbc1 public_html]$
[root@onlsbc1 html]# pwd
/var/www/html
[root@onlsbc1 html]# ls -l
total 4
drwxr-xr-x 2 webalizer root 4096 Nov 5 16:26 usage
[root@onlsbc1 html]# ln -s /home/toyo/public_html toyo
[root@onlsbc1 html]# ls -l
total 4
lrwxrwxrwx 1 root root 22 Dec 10 2004 toyo -> /home/toyo/public_html
drwxr-xr-x 2 webalizer root 4096 Nov 5 16:26 usage
[root@onlsbc1 html]#
Webブラウザで onlsbc1 にアクセスしてみる。

ユーザtoyo のページにアクセスしてみる。

ok. "http://onlsbc1.kek.jp/toyo/" でアクセスできた。
(3). Javaのインストール
J2SDKをインストールするには、75MB の空きディスク容量が必要である。
(3-1). Javaの入手
http://java.sun.com/j2se/1.4.2/ja/download.htmlサイトから Java 2 Platfor
m, Standard Edition, v 1.4.2 (J2SE) をダウンロードする。
インストール用のバイナリー・ファイルは、onlsbc1 にNFSマウントしたonlpara
のディスク上に置く。
[root@onlsbc1 toyo]# mount onlpara:/home2/onlpara-wrk /mnt
[root@onlsbc1 toyo]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
130.87.153.112:/tftpboot/130.87.153.3
9621848 1683620 7449452 19% /
none 151864 0 151864 0% /dev/shm
onlpara:/home2/onlpara-wrk
22659860 6841652 14667152 32% /mnt
[root@onlsbc1 toyo]#
[root@onlsbc1 toyo]# ls -l /mnt/root/j2sdk1.4.2
total 35604
-rw-rw-r-- 1 toyo toyo 36417364 Dec 13 11:01 j2sdk-1_4_2_06-linux-i58
6.bin
[root@onlsbc1 toyo]#
(3-2). Javaのインストール
(3-2-1). 自己解凍バイナリに実行アクセス権を設定する
[toyo@onlsbc1 j2sdk1.4.2]$ pwd
/mnt/root/j2sdk1.4.2
[toyo@onlsbc1 j2sdk1.4.2]$ ls -l
total 35604
-rw-rw-r-- 1 toyo toyo 36417364 Dec 13 11:01 j2sdk-1_4_2_06-linux-i58
6.bin
[toyo@onlsbc1 j2sdk1.4.2]$ chmod +x j2sdk-1_4_2_06-linux-i586.bin
[toyo@onlsbc1 j2sdk1.4.2]$ ls -l
total 35604
-rwxrwxr-x 1 toyo toyo 36417364 Dec 13 11:01 j2sdk-1_4_2_06-linux-i58
6.bin
[toyo@onlsbc1 j2sdk1.4.2]$
(3-2-2). Java をインストール
/usrディレクトリに移動して、J2SDKをインストールする
[root@onlsbc1 usr]# pwd
/usr
[root@onlsbc1 usr]# ls -l
total 88
drwxr-xr-x 7 root root 4096 Nov 5 16:18 X11R6
drwxr-xr-x 2 root root 20480 Nov 12 11:29 bin
drwxr-xr-x 2 root root 4096 Oct 7 2003 dict
drwxr-xr-x 2 root root 4096 Oct 7 2003 etc
drwxr-xr-x 2 root root 4096 Oct 7 2003 games
drwxr-xr-x 56 root root 4096 Nov 5 16:36 include
drwxr-xr-x 6 root root 4096 Nov 5 16:33 kerberos
drwxr-xr-x 50 root root 20480 Nov 5 19:06 lib
drwxr-xr-x 6 root root 4096 Nov 5 19:06 libexec
drwxr-xr-x 11 root root 4096 Nov 5 16:18 local
drwxr-xr-x 2 root root 8192 Nov 12 11:29 sbin
drwxr-xr-x 117 root root 4096 Nov 5 16:39 share
drwxr-xr-x 4 root root 4096 Nov 5 16:38 src
lrwxrwxrwx 1 root root 10 Nov 24 15:09 tmp -> ../var/tmp
[root@onlsbc1 usr]#
[root@onlsbc1 usr]# /mnt/root/j2sdk1.4.2/j2sdk-1_4_2_06-linux-i586.bin
Sun Microsystems, Inc.
Binary Code License Agreement
for the
JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD
EDITION, VERSION 1.4.2_X
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.
1.DEFINITIONS. "Software" means the identified above in
binary form, any other machine readable materials
(including, but not limited to, libraries, source files,
header files, and data files), any updates or error
corrections provided by Sun, and any user manuals,
programming guides and other documentation provided to you
by Sun under this Agreement. "Programs" mean Java applets
and applications intended to run on the Java 2 Platform,
Standard Edition (J2SETM platform) platform on Java-enabled
general purpose desktop computers and servers.
2.LICENSE TO USE. Subject to the terms and conditions of
this Agreement, including, but not limited to the Java
Technology Restrictions of the Supplemental License Terms,
Sun grants you a non-exclusive, non-transferable, limited
license without license fees to reproduce and use
internally Software complete and unmodified for the sole
purpose of running Programs. Additional licenses for
developers and/or publishers are granted in the
Supplemental License Terms.
3.RESTRICTIONS. Software is confidential and copyrighted.
Title to Software and all associated intellectual property
rights is retained by Sun and/or its licensors. Unless
enforcement is prohibited by applicable law, you may not
modify, decompile, or reverse engineer Software. You
acknowledge that Licensed Software is not designed or
intended for use in the design, construction, operation or
maintenance of any nuclear facility. Sun Microsystems, Inc.
disclaims any express or implied warranty of fitness for
such uses. No right, title or interest in or to any
trademark, service mark, logo or trade name of Sun or its
licensors is granted under this Agreement. Additional
restrictions for developers and/or publishers licenses are
set forth in the Supplemental License Terms.
4.LIMITED WARRANTY. Sun warrants to you that for a period
of ninety (90) days from the date of purchase, as evidenced
by a copy of the receipt, the media on which Software is
furnished (if any) will be free of defects in materials and
workmanship under normal use. Except for the foregoing,
Software is provided "AS IS". Your exclusive remedy and
Sun's entire liability under this limited warranty will be
at Sun's option to replace Software media or refund the fee
paid for Software. Any implied warranties on the Software
are limited to 90 days. Some states do not allow
limitations on duration of an implied warranty, so the
above may not apply to you. This limited warranty gives you
specific legal rights. You may have others, which vary from
state to state.
5.DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.
6.LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY
LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE,
EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. In no event will Sun's liability to you, whether
in contract, tort (including negligence), or otherwise,
exceed the amount paid by you for Software under this
Agreement. The foregoing limitations will apply even if the
above stated warranty fails of its essential purpose. Some
states do not allow the exclusion of incidental or
consequential damages, so some of the terms above may not
be applicable to you.
7.SOFTWARE UPDATES FROM SUN. You acknowledge that at your
request or consent optional features of the Software may
download, install, and execute applets, applications,
software extensions, and updated versions of the Software
from Sun ("Software Updates"), which may require you to
accept updated terms and conditions for installation. If
additional terms and conditions are not presented on
installation, the Software Updates will be considered part
of the Software and subject to the terms and conditions of
the Agreement.
8.SOFTWARE FROM SOURCES OTHER THAN SUN. You acknowledge
that, by your use of optional features of the Software
and/or by requesting services that require use of the
optional features of the Software, the Software may
automatically download, install, and execute software
applications from sources other than Sun ("Other
Software"). Sun makes no representations of a relationship
of any kind to licensors of Other Software. TO THE EXTENT
NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA,
OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR
PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY
OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR
INABILITY TO USE OTHER SOFTWARE, EVEN IF SUN HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Some states do
not allow the exclusion of incidental or consequential
damages, so some of the terms above may not be applicable
to you.
9.TERMINATION. This Agreement is effective until
terminated. You may terminate this Agreement at any time by
destroying all copies of Software. This Agreement will
terminate immediately without notice from Sun if you fail
to comply with any provision of this Agreement. Either
party may terminate this Agreement immediately should any
Software become, or in either party's opinion be likely to
become, the subject of a claim of infringement of any
intellectual property right. Upon Termination, you must
destroy all copies of Software.
10.EXPORT REGULATIONS. All Software and technical data
delivered under this Agreement are subject to US export
control laws and may be subject to export or import
regulations in other countries. You agree to comply
strictly with all such laws and regulations and acknowledge
that you have the responsibility to obtain such licenses to
export, re-export, or import as may be required after
delivery to you.
11.TRADEMARKS AND LOGOS. You acknowledge and agree as
between you and Sun that Sun owns the SUN, SOLARIS, JAVA,
JINI, FORTE, and iPLANET trademarks and all SUN, SOLARIS,
JAVA, JINI, FORTE, and iPLANET-related trademarks, service
marks, logos and other brand designations ("Sun Marks"),
and you agree to comply with the Sun Trademark and Logo
Usage Requirements currently located at
http://www.sun.com/policies/trademarks. Any use you make of
the Sun Marks inures to Sun's benefit.
12.U.S. GOVERNMENT RESTRICTED RIGHTS. If Software is being
acquired by or on behalf of the U.S. Government or by a
U.S. Government prime contractor or subcontractor (at any
tier), then the Government's rights in Software and
accompanying documentation will be only as set forth in
this Agreement; this is in accordance with 48 CFR 227.7201
through 227.7202-4 (for Department of Defense (DOD)
acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
acquisitions).
13.GOVERNING LAW. Any action related to this Agreement will
be governed by California law and controlling U.S. federal
law. No choice of law rules of any jurisdiction will
apply.
14.SEVERABILITY. If any provision of this Agreement is held
to be unenforceable, this Agreement will remain in effect
with the provision omitted, unless omission would frustrate
the intent of the parties, in which case this Agreement
will immediately terminate.
15.INTEGRATION. This Agreement is the entire agreement
between you and Sun relating to its subject matter. It
supersedes all prior or contemporaneous oral or written
communications, proposals, representations and warranties
and prevails over any conflicting or additional terms of
any quote, order, acknowledgment, or other communication
between the parties relating to its subject matter during
the term of this Agreement. No modification of this
Agreement will be binding, unless in writing and signed by
an authorized representative of each party.
SUPPLEMENTAL LICENSE TERMS
These Supplemental License Terms add to or modify the terms
of the Binary Code License Agreement. Capitalized terms not
defined in these Supplemental Terms shall have the same
meanings ascribed to them in the Binary Code License
Agreement . These Supplemental Terms shall supersede any
inconsistent or conflicting terms in the Binary Code
License Agreement, or in any license contained within the
Software.
A.Software Internal Use and Development License Grant.
Subject to the terms and conditions of this Agreement,
including, but not limited to the Java Technology
Restrictions of these Supplemental Terms, Sun grants you a
non-exclusive, non-transferable, limited license without
fees to reproduce internally and use internally the
Software complete and unmodified (unless otherwise
specified in the applicable README file) for the purpose of
designing, developing, and testing your Programs.
B.License to Distribute Software. Subject to the terms and
conditions of this Agreement, including, but not limited to
the Java Technology Restrictions of these Supplemental
Terms, Sun grants you a non-exclusive, non-transferable,
limited license without fees to reproduce and distribute
the Software, provided that (i) you distribute the Software
complete and unmodified (unless otherwise specified in the
applicable README file) and only bundled as part of, and
for the sole purpose of running, your Programs, (ii) the
Programs add significant and primary functionality to the
Software, (iii) you do not distribute additional software
intended to replace any component(s) of the Software
(unless otherwise specified in the applicable README file),
(iv) you do not remove or alter any proprietary legends or
notices contained in the Software, (v) you only distribute
the Software subject to a license agreement that protects
Sun's interests consistent with the terms contained in this
Agreement, and (vi) you agree to defe
C.License to Distribute Redistributables. Subject to the
terms and conditions of this Agreement, including but not
limited to the Java Technology Restrictions of these
Supplemental Terms, Sun grants you a non-exclusive,
non-transferable, limited license without fees to reproduce
and distribute those files specifically identified as
redistributable in the Software "README" file
("Redistributables") provided that: (i) you distribute the
Redistributables complete and unmodified (unless otherwise
specified in the applicable README file), and only bundled
as part of Programs, (ii) you do not distribute additional
software intended to supersede any component(s) of the
Redistributables (unless otherwise specified in the
applicable README file), (iii) you do not remove or alter
any proprietary legends or notices contained in or on the
Redistributables, (iv) you only distribute the
Redistributables pursuant to a license agreement that
protects Sun's interests consistent with the terms
contained in the Agreement, (v)
D.Java Technology Restrictions. You may not modify the Java
Platform Interface ("JPI", identified as classes contained
within the "java" package or any subpackages of the "java"
package), by creating additional classes within the JPI or
otherwise causing the addition to or modification of the
classes in the JPI. In the event that you create an
additional class and associated API(s) which (i) extends
the functionality of the Java platform, and (ii) is exposed
to third party software developers for the purpose of
developing additional software which invokes such
additional API, you must promptly publish broadly an
accurate specification for such API for free use by all
developers. You may not create, or authorize your licensees
to create, additional classes, interfaces, or subpackages
that are in any way identified as "java", "javax", "sun" or
similar convention as specified by Sun in any naming
convention designation.
E.Distribution by Publishers. This section pertains to your
distribution of the Software with your printed book or
magazine (as those terms are commonly used in the industry)
relating to Java technology ("Publication"). Subject to and
conditioned upon your compliance with the restrictions and
obligations contained in the Agreement, in addition to the
license granted in Paragraph 1 above, Sun hereby grants to
you a non-exclusive, nontransferable limited right to
reproduce complete and unmodified copies of the Software on
electronic media (the "Media") for the sole purpose of
inclusion and distribution with your Publication(s),
subject to the following terms: (i) You may not distribute
the Software on a stand-alone basis; it must be distributed
with your Publication(s); (ii) You are responsible for
downloading the Software from the applicable Sun web site;
(iii) You must refer to the Software as JavaTM 2 Software
Development Kit, Standard Edition, Version 1.4.2; (iv) The
Software must be reproduced in its enti
F.Source Code. Software may contain source code that,
unless expressly licensed for other purposes, is provided
solely for reference purposes pursuant to the terms of this
Agreement. Source code may not be redistributed unless
expressly provided for in this Agreement.
G.Third Party Code. Additional copyright notices and
license terms applicable to portions of the Software are
set forth in the THIRDPARTYLICENSEREADME.txt file. In
addition to any terms and conditions of any third party
opensource/freeware license identified in the
THIRDPARTYLICENSEREADME.txt file, the disclaimer of
warranty and limitation of liability provisions in
paragraphs 5 and 6 of the Binary Code License Agreement
shall apply to all Software in this distribution.
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.
(LFI#141496/Form ID#011801)
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
:
:
inflating: j2sdk1.4.2_06/man/ja_JP.eucJP/man1/native2ascii.1
inflating: j2sdk1.4.2_06/man/ja_JP.eucJP/man1/rmic.1
inflating: j2sdk1.4.2_06/man/ja_JP.eucJP/man1/serialver.1
inflating: j2sdk1.4.2_06/man/ja_JP.eucJP/man1/idlj.1
Creating j2sdk1.4.2_06/lib/tools.jar
Creating j2sdk1.4.2_06/jre/lib/rt.jar
Creating j2sdk1.4.2_06/jre/lib/jsse.jar
Creating j2sdk1.4.2_06/jre/lib/charsets.jar
Creating j2sdk1.4.2_06/jre/lib/ext/localedata.jar
Creating j2sdk1.4.2_06/jre/lib/plugin.jar
Creating j2sdk1.4.2_06/jre/javaws/javaws.jar
Done.
[root@onlsbc1 usr]#
[root@onlsbc1 usr]# ls -l
total 92
drwxr-xr-x 7 root root 4096 Nov 5 16:18 X11R6
drwxr-xr-x 2 root root 20480 Nov 12 11:29 bin
drwxr-xr-x 2 root root 4096 Oct 7 2003 dict
drwxr-xr-x 2 root root 4096 Oct 7 2003 etc
drwxr-xr-x 2 root root 4096 Oct 7 2003 games
drwxr-xr-x 56 root root 4096 Nov 5 16:36 include
drwxrwxr-x 9 root root 4096 Dec 13 14:20 j2sdk1.4.2_06
drwxr-xr-x 6 root root 4096 Nov 5 16:33 kerberos
drwxr-xr-x 50 root root 20480 Nov 5 19:06 lib
drwxr-xr-x 6 root root 4096 Nov 5 19:06 libexec
drwxr-xr-x 11 root root 4096 Nov 5 16:18 local
drwxr-xr-x 2 root root 8192 Nov 12 11:29 sbin
drwxr-xr-x 117 root root 4096 Nov 5 16:39 share
drwxr-xr-x 4 root root 4096 Nov 5 16:38 src
lrwxrwxrwx 1 root root 10 Nov 24 15:09 tmp -> ../var/tmp
[root@onlsbc1 usr]#
[root@onlsbc1 usr]# ln -s j2sdk1.4.2_06 java
[root@onlsbc1 usr]# ls -l
total 92
drwxr-xr-x 7 root root 4096 Nov 5 16:18 X11R6
drwxr-xr-x 2 root root 20480 Nov 12 11:29 bin
drwxr-xr-x 2 root root 4096 Oct 7 2003 dict
drwxr-xr-x 2 root root 4096 Oct 7 2003 etc
drwxr-xr-x 2 root root 4096 Oct 7 2003 games
drwxr-xr-x 56 root root 4096 Nov 5 16:36 include
drwxrwxr-x 9 root root 4096 Dec 13 14:20 j2sdk1.4.2_06
lrwxrwxrwx 1 root root 13 Dec 13 2004 java -> j2sdk1.4.2_06
drwxr-xr-x 6 root root 4096 Nov 5 16:33 kerberos
drwxr-xr-x 50 root root 20480 Nov 5 19:06 lib
drwxr-xr-x 6 root root 4096 Nov 5 19:06 libexec
drwxr-xr-x 11 root root 4096 Nov 5 16:18 local
drwxr-xr-x 2 root root 8192 Nov 12 11:29 sbin
drwxr-xr-x 117 root root 4096 Nov 5 16:39 share
drwxr-xr-x 4 root root 4096 Nov 5 16:38 src
lrwxrwxrwx 1 root root 10 Nov 24 15:09 tmp -> ../var/tmp
[root@onlsbc1 usr]#
ok. Java は正常にインストールされた。
(3-2-3). PATHを設定
~/.bashrc を修正して Java の PATH を設定する。
[toyo@onlsbc1 toyo]$ pwd
/home/toyo
[toyo@onlsbc1 toyo]$ ls -la
total 52
drwxr-xr-x 4 toyo toyo 4096 Dec 13 2004 .
drwxr-xr-x 3 root root 4096 Dec 10 16:20 ..
-rw------- 1 toyo toyo 120 Dec 10 16:04 .Xauthority
-rw------- 1 toyo toyo 1856 Dec 13 11:30 .bash_history
-rw-r--r-- 1 toyo toyo 24 Dec 10 15:30 .bash_logout
-rw-r--r-- 1 toyo toyo 191 Dec 10 15:30 .bash_profile
-rw-r--r-- 1 toyo toyo 124 Dec 10 15:30 .bashrc
-rw-r--r-- 1 toyo toyo 5543 Dec 10 15:30 .canna
-rw-r--r-- 1 toyo toyo 237 Dec 10 15:30 .emacs
drwx------ 2 toyo toyo 4096 Dec 10 15:30 .ssh
-rw------- 1 toyo toyo 1127 Dec 10 16:24 .viminfo
drwxrwxr-x 2 toyo toyo 4096 Dec 10 16:24 public_html
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ vi .bashrc
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#export PATH=$PATH:/usr/java/bin
export PATH=/usr/java/bin:$PATH
~
~
".bashrc" 11L, 190C written
[toyo@onlsbc1 toyo]$
.bash_profileファイルをチェックする。
[toyo@onlsbc1 toyo]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
[toyo@onlsbc1 toyo]$
ログインし直してみる。
[toyo@onlsbc1 toyo]$ logout
:
onlsun4[36]% ssh toyo@onlsbc1
toyo@onlsbc1's password:
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ which javac
/usr/java/bin/javac
[toyo@onlsbc1 toyo]$ java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[toyo@onlsbc1 toyo]$
ok. Java は利用可能になった。
(4). CC/NETソフトウェアのインストール
ディスクレスクライアントのホームディレクトリにCC/NET用のソフトウェアを
インストールする。
(4-1). ソフトウェアの配置
/home/toyo ディレクトリの下に camacソフトウェアを配置する。
[toyo@onlsbc1 toyo]$ pwd
/home/toyo
[toyo@onlsbc1 toyo]$ ls -l
total 4
drwxrwxr-x 2 toyo toyo 4096 Dec 10 16:24 public_html
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ scp root@onlgw:/home/yasu/public_html/Parallel-CAMAC/kits/camac.tar.gz .
root@onlgw's password:
camac.tar.gz 100% 15KB 218.7KB/s 00:00
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ scp root@onlgw:/home/yasu/public_html/Parallel-CAMAC/kits/remote-camac.tar.gz .
root@onlgw's password:
remote-camac.tar.gz 100% 8037 302.6KB/s 00:00
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ scp inoue@onlgw:/home/inoue/public_html/Parallel-CAMAC/kits/check.tar.gz-Nov72003 .
inoue@onlgw's password:
check.tar.gz-Nov72003 100% 136KB 1.0MB/s 00:00
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ scp inoue@onlgw:/home/inoue/public_html/Parallel-CAMAC/kits/example-Aug42003.tar.gz .
inoue@onlgw's password:
example-Aug42003.tar.gz 100% 2631 118.1KB/s 00:00
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ scp inoue@onlgw:/home/inoue/public_html/Parallel-CAMAC/kits
/Web-Sep152004.tar.gz .
inoue@onlgw's password:
Web-Sep152004.tar.gz 100% 42KB 799.7KB/s 00:00
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ ls -l
total 220
-rw-r--r-- 1 toyo toyo 43466 Dec 13 15:11 Web-Sep152004.tar.gz
-rw-r--r-- 1 toyo toyo 16163 Dec 13 15:03 camac.tar.gz
-rw-r--r-- 1 toyo toyo 139897 Dec 13 15:05 check.tar.gz-Nov72003
-rw-r--r-- 1 toyo toyo 2631 Dec 13 15:06 example-Aug42003.tar.gz
drwxrwxr-x 2 toyo toyo 4096 Dec 10 16:24 public_html
-rw-r--r-- 1 toyo toyo 8037 Dec 13 15:04 remote-camac.tar.gz
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ tar xzf camac.tar.gz
[toyo@onlsbc1 toyo]$ tar xzf remote-camac.tar.gz
[toyo@onlsbc1 toyo]$ tar xzf check.tar.gz-Nov72003
[toyo@onlsbc1 toyo]$ cd check
[toyo@onlsbc1 check]$ pwd
/home/toyo/check
[toyo@onlsbc1 check]$ tar xzf ../example-Aug42003.tar.gz
[toyo@onlsbc1 check]$ cd ..
[toyo@onlsbc1 toyo]$ pwd
/home/toyo
[toyo@onlsbc1 toyo]$ tar xzf Web-Sep152004.tar.gz
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ pwd
/home/toyo
[toyo@onlsbc1 toyo]$ ls -l
total 232
-rw-r--r-- 1 toyo toyo 43466 Dec 13 15:11 Web-Sep152004.tar.gz
drwxrwxr-x 2 toyo toyo 4096 Dec 19 2003 camac
-rw-r--r-- 1 toyo toyo 16163 Dec 13 15:03 camac.tar.gz
drwxr-xr-x 2 toyo toyo 4096 Dec 13 2004 check
-rw-r--r-- 1 toyo toyo 139897 Dec 13 15:05 check.tar.gz-Nov72003
-rw-r--r-- 1 toyo toyo 2631 Dec 13 15:06 example-Aug42003.tar.gz
drwxrwxr-x 3 toyo toyo 4096 Dec 13 2004 public_html
drwxrwxr-x 2 toyo toyo 4096 Jan 13 2004 remote-camac
-rw-r--r-- 1 toyo toyo 8037 Dec 13 15:04 remote-camac.tar.gz
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ ls -l camac
total 140
-rw-r--r-- 1 toyo toyo 2436 Oct 3 2003 Makefile
-rw-r--r-- 1 toyo toyo 1251 Oct 3 2003 README
-rw-rw-r-- 1 toyo toyo 1050 Oct 1 2003 cam.c
-rw-rw-r-- 1 toyo toyo 13264 Oct 4 2003 camac.c
-rw-r--r-- 1 toyo toyo 2705 Oct 1 2003 camlib.c
-rw-r--r-- 1 toyo toyo 212 Oct 1 2003 camlib.h
-rw-rw-r-- 1 toyo toyo 1882 Oct 1 2003 camtest1c.c
-rw-rw-r-- 1 toyo toyo 411 Oct 1 2003 clr_fifo.c
-rw-rw-r-- 1 toyo toyo 3290 Oct 1 2003 data_pattern.c
-rw-rw-r-- 1 toyo toyo 480 Oct 1 2003 dec_cam.c
-rw-rw-r-- 1 toyo toyo 468 Oct 1 2003 dump_reg.c
-rw-rw-r-- 1 toyo toyo 4499 Oct 1 2003 exam0.c
-rw-rw-r-- 1 toyo toyo 4010 Oct 2 2003 exam1.c
-rw-rw-r-- 1 toyo toyo 2956 Oct 1 2003 exam2.c
-rw-rw-r-- 1 toyo toyo 2512 Oct 9 2003 exam3.c
-rw-rw-r-- 1 toyo toyo 2021 Oct 9 2003 exam4.c
-rw-rw-r-- 1 toyo toyo 5049 Nov 7 2003 exam5.c
-rw-rw-r-- 1 toyo toyo 619 Oct 1 2003 gen_cam.c
-rw-rw-r-- 1 toyo toyo 473 Oct 1 2003 get_cam.c
-rw-rw-r-- 1 toyo toyo 479 Oct 2 2003 get_camint.c
-rw-r--r-- 1 toyo toyo 22372 Dec 19 2003 pcc.c
-rw-r--r-- 1 toyo toyo 6942 Nov 10 2003 pcc.h
-rw-rw-r-- 1 toyo toyo 573 Oct 1 2003 put_cam.c
-rw-rw-r-- 1 toyo toyo 401 Oct 1 2003 rst_cam.c
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ ls -l remote-camac
total 68
-rw-rw-r-- 1 toyo toyo 1937 Jan 8 2004 Makefile
-rw-r--r-- 1 toyo toyo 1268 Oct 3 2003 README
-rw-rw-r-- 1 toyo toyo 1473 Jan 12 2004 ccnet.h
-rw-rw-r-- 1 toyo toyo 4557 Jan 12 2004 ccnet_server.c
-rw-rw-r-- 1 toyo toyo 16585 Jan 13 2004 clientlib.c
-rw-rw-r-- 1 toyo toyo 4234 Jan 7 2004 dispatch.c
-rw-rw-r-- 1 toyo toyo 4625 Nov 7 2003 measure.c
-rw-rw-r-- 1 toyo toyo 1405 Jan 12 2004 message.c
-rw-rw-r-- 1 toyo toyo 511 Nov 7 2003 results-measurement-node
lay.txt
-rw-rw-r-- 1 toyo toyo 605 Nov 7 2003 results-measurement.txt
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ ls -l check
total 412
-rwxr-xr-x 1 toyo toyo 47484 Nov 7 2003 0ch
-rw-r--r-- 1 toyo toyo 2295 Nov 7 2003 0check_set.cpp
-rwxr-xr-x 1 toyo toyo 47666 Nov 7 2003 1ch
-rw-r--r-- 1 toyo toyo 2021 Nov 7 2003 1check_N.cpp
-rwxr-xr-x 1 toyo toyo 47666 Nov 7 2003 2ch
-rw-r--r-- 1 toyo toyo 1987 Nov 7 2003 2check_A.cpp
-rwxr-xr-x 1 toyo toyo 47666 Nov 7 2003 3ch
-rw-r--r-- 1 toyo toyo 2019 Nov 7 2003 3check_F.cpp
-rwxr-xr-x 1 toyo toyo 47623 Nov 7 2003 4ch
-rw-r--r-- 1 toyo toyo 1897 Nov 7 2003 4check_WR.cpp
-rwxr-xr-x 1 toyo toyo 48152 Nov 7 2003 5ch
-rw-r--r-- 1 toyo toyo 2325 Nov 7 2003 5check_LAM.cpp
-rwxr-xr-x 1 toyo toyo 48068 Nov 7 2003 6ch
-rw-r--r-- 1 toyo toyo 2364 Nov 7 2003 6check_TRG.cpp
-rw-r--r-- 1 toyo toyo 879 Nov 7 2003 ErrCode.h
-rw-r--r-- 1 toyo toyo 586 Nov 7 2003 ErrMsg.h
-rw-r--r-- 1 toyo toyo 2235 Oct 3 2003 PCIreg.h
-rw-r--r-- 1 toyo toyo 5097 Nov 4 2003 Packet.h
-rw-r--r-- 1 toyo toyo 712 Aug 25 2003 README
-rwxr-xr-x 1 toyo toyo 621 Nov 7 2003 auto_check
-rw-r--r-- 1 toyo toyo 7464 Nov 4 2003 ccnet_io.h
-rwxr-xr-x 1 toyo toyo 211 Nov 7 2003 gccall
-rw-r--r-- 1 toyo toyo 3893 Aug 25 2003 pio_framework.c
-rw-r--r-- 1 toyo toyo 3288 Aug 25 2003 scan_N.c
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ ls -lR public_html
public_html:
total 36
-rw-r--r-- 1 toyo toyo 314 Sep 13 16:47 Makefile
drwxr-xr-x 2 toyo toyo 4096 Sep 15 14:06 Web
-rw-r--r-- 1 toyo toyo 4781 Sep 13 13:25 index.html
-rwxr-xr-x 1 toyo toyo 12450 Sep 13 16:57 w
-rw-r--r-- 1 toyo toyo 462 Sep 13 16:54 w.c
public_html/Web:
total 184
-rw-r--r-- 1 toyo toyo 116 Sep 15 14:05 Client.class
-rw-r--r-- 1 toyo toyo 262 Aug 23 11:06 Client.java
-rw-r--r-- 1 toyo toyo 3621 Sep 15 14:05 ClientImpl.class
-rw-r--r-- 1 toyo toyo 17458 Jul 30 2003 ClientImpl.java-bak
-rw-r--r-- 1 toyo toyo 906 Sep 15 14:06 ClientImpl_Skel.class
-rw-r--r-- 1 toyo toyo 472 Sep 15 14:06 ClientImpl_Stub.class
-rw-r--r-- 1 toyo toyo 1629 Aug 23 11:03 Makefile
-rw-r--r-- 1 toyo toyo 218 Sep 15 14:05 Server.class
-rw-r--r-- 1 toyo toyo 328 Aug 23 11:15 Server.java
-rw-r--r-- 1 toyo toyo 2623 Sep 15 14:06 ServerImpl.class
-rw-r--r-- 1 toyo toyo 3722 Aug 23 11:16 ServerImpl.java
-rw-r--r-- 1 toyo toyo 1817 Sep 15 14:06 ServerImpl_Skel.class
-rw-r--r-- 1 toyo toyo 3438 Sep 15 14:06 ServerImpl_Stub.class
-rw-r--r-- 1 toyo toyo 2617 Jul 30 2003 cam.c
-rw-r--r-- 1 toyo toyo 360 Sep 15 14:06 cam.class
-rw-r--r-- 1 toyo toyo 414 Sep 15 14:06 cam.h
-rw-r--r-- 1 toyo toyo 792 Jul 30 2003 cam.java
lrwxrwxrwx 1 toyo toyo 19 Dec 13 16:35 camac.c -> ../../camac/c
amac.c
-rw-r--r-- 1 toyo toyo 13325 Jul 30 2003 camac.c-bak
-rw-r--r-- 1 toyo toyo 9072 Sep 15 14:05 camac.o
-rwxr-xr-x 1 toyo toyo 17639 Sep 15 14:06 libMyImpOfcam.so
lrwxrwxrwx 1 toyo toyo 17 Dec 13 16:35 pcc.h -> ../../camac/pcc
.h
-rw-r--r-- 1 toyo toyo 6364 Jul 30 2003 pcc.h-bak
-rw-r--r-- 1 toyo toyo 81 Jul 30 2003 policy
-rwxr-xr-x 1 toyo toyo 123 Jul 30 2003 web.sh
-rw-r--r-- 1 toyo toyo 186 Jul 30 2003 web3-inoue.mem
-rw-r--r-- 1 toyo toyo 3939 Sep 15 14:05 web3.class
-rw-r--r-- 1 toyo toyo 2454 Jul 30 2003 web3.html
-rw-r--r-- 1 toyo toyo 12029 Aug 23 17:25 web3.java
-rw-r--r-- 1 toyo toyo 11879 Aug 1 2003 web3.java-org
[toyo@onlsbc1 toyo]$
(4-2). CC/NET用ソフトウェアのコンパイル
[toyo@onlsbc1 toyo]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
ystem-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[toyo@onlsbc1 toyo]$
(4-2-1). camacディレクトリの下のコンパイル
[toyo@onlsbc1 camac]$ pwd
/home/toyo/camac
[toyo@onlsbc1 camac]$ ls
Makefile camlib.c data_pattern.c exam1.c exam5.c pcc.c
README camlib.h dec_cam.c exam2.c gen_cam.c pcc.h
cam.c camtest1c.c dump_reg.c exam3.c get_cam.c put_cam.c
camac.c clr_fifo.c exam0.c exam4.c get_camint.c rst_cam.c
[toyo@onlsbc1 camac]$ make
gcc -O2 -Wall -c -D__KERNEL__ -DMODULE -Wall -I/usr/src/linux-2.4/include pcc.c
In file included from /usr/src/linux-2.4/include/asm/semaphore.h:39,
from /usr/src/linux-2.4/include/linux/fs.h:202,
from /usr/src/linux-2.4/include/linux/capability.h:17,
from /usr/src/linux-2.4/include/linux/binfmts.h:4,
from /usr/src/linux-2.4/include/linux/sched.h:10,
from /usr/src/linux-2.4/include/linux/mm.h:4,
from /usr/src/linux-2.4/include/linux/slab.h:14,
from /usr/src/linux-2.4/include/asm/pci.h:37,
from /usr/src/linux-2.4/include/linux/pci.h:658,
from pcc.c:16:
/usr/src/linux-2.4/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing type-punned
pointer will break strict-aliasing rules
/usr/src/linux-2.4/include/asm/system.h:189: warning: dereferencing type-punned
pointer will break strict-aliasing rules
gcc -O2 -c camac.c
gcc -O2 -c camlib.c
gcc -O2 -o gen_cam gen_cam.c camac.o
gcc -O2 -o dec_cam dec_cam.c camac.o
gcc -O2 -o dump_reg dump_reg.c camac.o
gcc -O2 -o exam0 exam0.c camac.o
gcc -O2 -o exam1 exam1.c data_pattern.c camac.o
gcc -O2 -o exam2 exam2.c data_pattern.c camac.o
gcc -O2 -o exam3 exam3.c data_pattern.c camac.o
gcc -O2 -o exam4 exam4.c data_pattern.c camac.o
gcc -O2 -o exam5 exam5.c data_pattern.c camac.o
gcc -O2 -o cam cam.c camac.o
gcc -O2 -o put_cam put_cam.c camac.o
gcc -O2 -o get_cam get_cam.c camac.o
gcc -O2 -o get_camint get_camint.c camac.o
gcc -O2 -o clr_fifo clr_fifo.c camac.o
gcc -O2 -o rst_cam rst_cam.c camac.o
gcc -O2 -o camtest1c camtest1c.c camlib.c camac.o
[toyo@onlsbc1 camac]$
チェック: ここから --->>>
カーネルの設定をチェック。
[root@onlsbc1 linux-2.4]# yum list installed | grep kernel
Traceback (most recent call last):
File "/usr/bin/yum", line 60, in ?
yummain.main(sys.argv[1:])
File "yummain.py", line 119, in main
File "/usr/lib/python2.2/locale.py", line 381, in setlocale
return _setlocale(category, locale)
locale.Error: locale setting not supported
[root@onlsbc1 linux-2.4]#
[root@onlsbc1 linux-2.4]# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=ja_JP.eucJP-8
LC_CTYPE="ja_JP.eucJP-8"
LC_NUMERIC="ja_JP.eucJP-8"
LC_TIME="ja_JP.eucJP-8"
LC_COLLATE="ja_JP.eucJP-8"
LC_MONETARY="ja_JP.eucJP-8"
LC_MESSAGES="ja_JP.eucJP-8"
LC_PAPER="ja_JP.eucJP-8"
LC_NAME="ja_JP.eucJP-8"
LC_ADDRESS="ja_JP.eucJP-8"
LC_TELEPHONE="ja_JP.eucJP-8"
LC_MEASUREMENT="ja_JP.eucJP-8"
LC_IDENTIFICATION="ja_JP.eucJP-8"
LC_ALL=
[root@onlsbc1 linux-2.4]#
[root@onlsbc1 linux-2.4]# export LANG=C
[root@onlsbc1 linux-2.4]# locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
[root@onlsbc1 linux-2.4]#
[root@onlsbc1 linux-2.4]# yum list installed | grep kernel
kernel i686 2.4.22-1.2115.nptl db
kernel-pcmcia-cs i386 1:3.1.31-13 db
kernel-source i386 2.4.22-1.2115.nptl db
kernel-utils i386 1:2.4-9.1.101.fedora db
[root@onlsbc1 linux-2.4]#
[toyo@onlsbc1 toyo]$ yum list kernel*
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Looking in Available Packages:
Name Arch Version Repo
--------------------------------------------------------------------------------
kernel i686 2.4.22-1.2199.nptl updates-rele
ased
kernel-BOOT i386 2.4.22-1.2199.nptl updates-rele
ased
kernel-doc i386 2.4.22-1.2199.nptl updates-rele
ased
kernel-pcmcia-cs i386 1:3.1.31-16 updates-rele
ased
kernel-smp i586 2.4.22-1.2199.nptl updates-rele
ased
kernel-smp i686 2.4.22-1.2199.nptl updates-rele
ased
kernel-smp athlon 2.4.22-1.2199.nptl updates-rele
ased
kernel-source i386 2.4.22-1.2199.nptl updates-rele
ased
Looking in Installed Packages:
Name Arch Version Repo
--------------------------------------------------------------------------------
kernel i686 2.4.22-1.2115.nptl db
kernel-pcmcia-cs i386 1:3.1.31-13 db
kernel-source i386 2.4.22-1.2115.nptl db
kernel-utils i386 1:2.4-9.1.101.fedora db
[toyo@onlsbc1 toyo]$
<<<--- ここまで
[toyo@onlsbc1 camac]$ ls -l
total 380
-rw-r--r-- 1 toyo toyo 2436 Oct 3 2003 Makefile
-rw-r--r-- 1 toyo toyo 1251 Oct 3 2003 README
-rwxrwxr-x 1 toyo toyo 10778 Dec 13 16:49 cam
-rw-rw-r-- 1 toyo toyo 1050 Oct 1 2003 cam.c
-rw-rw-r-- 1 toyo toyo 13264 Oct 4 2003 camac.c
-rw-rw-r-- 1 toyo toyo 6392 Dec 13 16:48 camac.o
-rw-r--r-- 1 toyo toyo 2705 Oct 1 2003 camlib.c
-rw-r--r-- 1 toyo toyo 212 Oct 1 2003 camlib.h
-rw-rw-r-- 1 toyo toyo 2556 Dec 13 16:48 camlib.o
-rwxrwxr-x 1 toyo toyo 12333 Dec 13 16:49 camtest1c
-rw-rw-r-- 1 toyo toyo 1882 Oct 1 2003 camtest1c.c
-rwxrwxr-x 1 toyo toyo 10189 Dec 13 16:49 clr_fifo
-rw-rw-r-- 1 toyo toyo 411 Oct 1 2003 clr_fifo.c
-rw-rw-r-- 1 toyo toyo 3290 Oct 1 2003 data_pattern.c
-rwxrwxr-x 1 toyo toyo 10419 Dec 13 16:49 dec_cam
-rw-rw-r-- 1 toyo toyo 480 Oct 1 2003 dec_cam.c
-rwxrwxr-x 1 toyo toyo 10189 Dec 13 16:49 dump_reg
-rw-rw-r-- 1 toyo toyo 468 Oct 1 2003 dump_reg.c
-rwxrwxr-x 1 toyo toyo 12266 Dec 13 16:51 exam0
-rw-rw-r-- 1 toyo toyo 4499 Oct 1 2003 exam0.c
-rwxrwxr-x 1 toyo toyo 14197 Dec 13 16:49 exam1
-rw-rw-r-- 1 toyo toyo 4010 Oct 2 2003 exam1.c
-rwxrwxr-x 1 toyo toyo 13297 Dec 13 16:49 exam2
-rw-rw-r-- 1 toyo toyo 2956 Oct 1 2003 exam2.c
-rwxrwxr-x 1 toyo toyo 12821 Dec 13 16:49 exam3
-rw-rw-r-- 1 toyo toyo 2512 Oct 9 2003 exam3.c
-rwxrwxr-x 1 toyo toyo 12309 Dec 13 16:49 exam4
-rw-rw-r-- 1 toyo toyo 2021 Oct 9 2003 exam4.c
-rwxrwxr-x 1 toyo toyo 14004 Dec 13 16:49 exam5
-rw-rw-r-- 1 toyo toyo 5049 Nov 7 2003 exam5.c
-rwxrwxr-x 1 toyo toyo 10551 Dec 13 16:49 gen_cam
-rw-rw-r-- 1 toyo toyo 619 Oct 1 2003 gen_cam.c
-rwxrwxr-x 1 toyo toyo 10252 Dec 13 16:49 get_cam
-rw-rw-r-- 1 toyo toyo 473 Oct 1 2003 get_cam.c
-rwxrwxr-x 1 toyo toyo 10255 Dec 13 16:49 get_camint
-rw-rw-r-- 1 toyo toyo 479 Oct 2 2003 get_camint.c
-rw-r--r-- 1 toyo toyo 22372 Dec 19 2003 pcc.c
-rw-r--r-- 1 toyo toyo 6942 Nov 10 2003 pcc.h
-rw-rw-r-- 1 toyo toyo 11380 Dec 13 16:48 pcc.o
-rwxrwxr-x 1 toyo toyo 10387 Dec 13 16:49 put_cam
-rw-rw-r-- 1 toyo toyo 573 Oct 1 2003 put_cam.c
-rwxrwxr-x 1 toyo toyo 10188 Dec 13 16:49 rst_cam
-rw-rw-r-- 1 toyo toyo 401 Oct 1 2003 rst_cam.c
[toyo@onlsbc1 camac]$
ok. warning が表示されているが、camacディレクトリの下のコンパイルは
完了できた。
(4-2-2). remote-camacディレクトリの下のコンパイル
[toyo@onlsbc1 remote-camac]$ pwd
/home/toyo/remote-camac
[toyo@onlsbc1 remote-camac]$ ls
Makefile clientlib.c results-measurement-nodelay.txt
README dispatch.c results-measurement.txt
ccnet.h measure.c
ccnet_server.c message.c
[toyo@onlsbc1 remote-camac]$
[toyo@onlsbc1 remote-camac]$ make
gcc -O -I../camac/ -o ccnet_server ccnet_server.c \
dispatch.c message.c ../camac/camac.o
gcc -O -I../camac/ -o rst_cam ../camac/rst_cam.c clientlib.c message.c
gcc -O -I../camac/ -o clr_fifo ../camac/clr_fifo.c clientlib.c message.c
gcc -O -I../camac/ -o dump_reg ../camac/dump_reg.c clientlib.c message.c
gcc -O -I../camac/ -o cam ../camac/cam.c clientlib.c message.c
gcc -O -I../camac/ -o exam0 ../camac/exam0.c clientlib.c message.c
gcc -O -I../camac/ -o exam1 ../camac/exam1.c \
../camac/data_pattern.c clientlib.c message.c
gcc -O -I../camac/ -o exam2 ../camac/exam2.c clientlib.c message.c
gcc -O -I../camac/ -o exam3 ../camac/exam3.c clientlib.c message.c
gcc -O -I../camac/ -o exam4 ../camac/exam4.c clientlib.c message.c
gcc -O -I../camac/ -o measure measure.c clientlib.c message.c ../camac/data_patt
ern.c
[toyo@onlsbc1 remote-camac]$
ok. remote-camacディレクトリの下のコンパイルは正常に実行できた。
(4-2-3). checkディレクトリの下のコンパイル
[toyo@onlsbc1 check]$ pwd
/home/toyo/check
[toyo@onlsbc1 check]$ ls
0ch 2check_A.cpp 5ch ErrMsg.h ccnet_io.h
0check_set.cpp 3ch 5check_LAM.cpp PCIreg.h gccall
1ch 3check_F.cpp 6ch Packet.h pio_framework.c
1check_N.cpp 4ch 6check_TRG.cpp README scan_N.c
2ch 4check_WR.cpp ErrCode.h auto_check
[toyo@onlsbc1 check]$ make
make: *** No targets specified and no makefile found. Stop.
[toyo@onlsbc1 check]$
Makefile が無い。 ここではコンパイルは実行しないでおく。
(4-2-4). public_htmlディレクトリの下のコンパイル
/home/toyo/public_html ディレクトリの下には、PCIイニシャライズ時に使用す
る簡易プログラムが置いてある。 /home/toyo/public_html/Web ディレクトリ
の下には Webアプリケーション例題プログラムが置いてある。
(4-2-4A). public_htmlディレクトリの下のコンパイル
[toyo@onlsbc1 public_html]$ pwd
/home/toyo/public_html
[toyo@onlsbc1 public_html]$ ls
Makefile Web index.html w w.c
[toyo@onlsbc1 public_html]$ make clean
rm -f r rl w wl *.o core *~
[toyo@onlsbc1 public_html]$ make
cc -o w -O w.c
[toyo@onlsbc1 public_html]$ ls -l
total 28
-rw-r--r-- 1 toyo toyo 314 Sep 13 16:47 Makefile
drwxr-xr-x 2 toyo toyo 4096 Sep 15 14:06 Web
-rw-r--r-- 1 toyo toyo 4781 Sep 13 13:25 index.html
-rwxrwxr-x 1 toyo toyo 5130 Dec 14 11:19 w
-rw-r--r-- 1 toyo toyo 462 Sep 13 16:54 w.c
[toyo@onlsbc1 public_html]$
(4-2-4B). public_html/Webディレクトリの下のコンパイル
[toyo@onlsbc1 Web]$ pwd
/home/toyo/public_html/Web
[toyo@onlsbc1 Web]$ ls
Client.class Server.java cam.java web.sh
Client.java ServerImpl.class camac.c web3-inoue.mem
ClientImpl.class ServerImpl.java camac.c-bak web3.class
ClientImpl.java-bak ServerImpl_Skel.class camac.o web3.html
ClientImpl_Skel.class ServerImpl_Stub.class libMyImpOfcam.so web3.java
ClientImpl_Stub.class cam.c pcc.h web3.java-org
Makefile cam.class pcc.h-bak
Server.class cam.h policy
[toyo@onlsbc1 Web]$
[toyo@onlsbc1 Web]$ java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[toyo@onlsbc1 Web]$
[toyo@onlsbc1 Web]$ make clean
rm -f *.class cam.h libMyImpOfcam.so *.o core *~
[toyo@onlsbc1 Web]$
web3例題プログラムをコンパイルしてみる。
[toyo@onlsbc1 Web]$ pwd
/home/toyo/public_html/Web
[toyo@onlsbc1 Web]$ ls
Client.class Makefile-tmp cam.class pcc.h-bak
Client.java Server.class cam.h policy
ClientImpl.class Server.java cam.java web.sh
ClientImpl.java-bak ServerImpl.class camac.c web3-inoue.mem
ClientImpl_Skel.class ServerImpl.java camac.c-bak web3.class
ClientImpl_Stub.class ServerImpl_Skel.class camac.o web3.html
Makefile ServerImpl_Stub.class libMyImpOfcam.so web3.java
Makefile-org cam.c pcc.h web3.java-org
[toyo@onlsbc1 Web]$ diff Makefile-org Makefile
[toyo@onlsbc1 Web]$
[toyo@onlsbc1 Web]$ make clean
rm -f *.class cam.h libMyImpOfcam.so *.o core *~
[toyo@onlsbc1 Web]$ make
gcc -c camac.c
javac web3.java
javac cam.java
javah -jni cam
gcc -O -shared -I/usr/java/include -I/usr/java/include/linux cam.c camac.o -o li
bMyImpOfcam.so
javac ServerImpl.java
rmic ClientImpl
rmic ServerImpl
[toyo@onlsbc1 Web]$ ls -l
total 188
-rw-rw-r-- 1 toyo toyo 116 Dec 15 10:33 Client.class
-rw-r--r-- 1 toyo toyo 262 Aug 23 11:06 Client.java
-rw-rw-r-- 1 toyo toyo 3621 Dec 15 10:33 ClientImpl.class
-rw-r--r-- 1 toyo toyo 17458 Jul 30 2003 ClientImpl.java-bak
-rw-rw-r-- 1 toyo toyo 906 Dec 15 10:33 ClientImpl_Skel.class
-rw-rw-r-- 1 toyo toyo 472 Dec 15 10:33 ClientImpl_Stub.class
-rw-r--r-- 1 toyo toyo 1629 Dec 15 10:25 Makefile
-rw-r--r-- 1 toyo toyo 1629 Aug 23 11:03 Makefile-org
-rw-r--r-- 1 toyo toyo 1790 Dec 14 15:49 Makefile-tmp
-rw-rw-r-- 1 toyo toyo 218 Dec 15 10:33 Server.class
-rw-r--r-- 1 toyo toyo 328 Aug 23 11:15 Server.java
-rw-rw-r-- 1 toyo toyo 2623 Dec 15 10:33 ServerImpl.class
-rw-r--r-- 1 toyo toyo 3722 Aug 23 11:16 ServerImpl.java
-rw-rw-r-- 1 toyo toyo 1817 Dec 15 10:33 ServerImpl_Skel.class
-rw-rw-r-- 1 toyo toyo 3438 Dec 15 10:33 ServerImpl_Stub.class
-rw-r--r-- 1 toyo toyo 2617 Jul 30 2003 cam.c
-rw-rw-r-- 1 toyo toyo 360 Dec 15 10:33 cam.class
-rw-rw-r-- 1 toyo toyo 414 Dec 15 10:33 cam.h
-rw-r--r-- 1 toyo toyo 792 Jul 30 2003 cam.java
lrwxrwxrwx 1 toyo toyo 19 Dec 13 16:35 camac.c -> ../../camac/c
amac.c
-rw-r--r-- 1 toyo toyo 13325 Jul 30 2003 camac.c-bak
-rw-rw-r-- 1 toyo toyo 8664 Dec 15 10:33 camac.o
-rwxrwxr-x 1 toyo toyo 14985 Dec 15 10:33 libMyImpOfcam.so
lrwxrwxrwx 1 toyo toyo 17 Dec 13 16:35 pcc.h -> ../../camac/pcc
.h
-rw-r--r-- 1 toyo toyo 6364 Jul 30 2003 pcc.h-bak
-rw-r--r-- 1 toyo toyo 81 Jul 30 2003 policy
-rwxr-xr-x 1 toyo toyo 123 Jul 30 2003 web.sh
-rw-r--r-- 1 toyo toyo 186 Jul 30 2003 web3-inoue.mem
-rw-rw-r-- 1 toyo toyo 3939 Dec 15 10:33 web3.class
-rw-r--r-- 1 toyo toyo 2454 Jul 30 2003 web3.html
-rw-r--r-- 1 toyo toyo 12029 Aug 23 17:25 web3.java
-rw-r--r-- 1 toyo toyo 11879 Aug 1 2003 web3.java-org
[toyo@onlsbc1 Web]$
ok. コンパイルは正常に終了した。
注.
NFSを使ってサーバマシンにファイルをセーブするクライアントマシンでの実行
では、両マシン間のシステム時間のズレに伴うメッセージが表示されることが
ある。 これはクライアント側の時刻とサーバ側の時刻に差が生じたために起こ
る。 時刻を両者の間で合わせれば解消する
(5). CAMACドライバのインストール
CAMACドライバをインストールする。
(5-1). デバイスファイルの作成
[root@onlsbc1 camac]# /sbin/lsmod
Module Size Used by Not tainted
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13364 0 (autoclean) (unused)
ipt_REJECT 4344 1 (autoclean)
ipt_state 1080 3 (autoclean)
ip_conntrack 29256 1 (autoclean) [ipt_state]
iptable_filter 2444 1 (autoclean)
ip_tables 15776 3 [ipt_REJECT ipt_state iptable_filter]
floppy 58076 0 (autoclean)
sg 36524 0 (autoclean) (unused)
scsi_mod 108136 1 (autoclean) [sg]
keybdev 2976 0 (unused)
mousedev 5556 1
hid 24708 0 (unused)
input 5888 0 [keybdev mousedev hid]
usb-uhci 26380 0 (unused)
usbcore 79232 1 [hid usb-uhci]
ext3 71300 0
jbd 52084 0 [ext3]
[root@onlsbc1 camac]#
[root@onlsbc1 camac]# pwd
/home/toyo/camac
[root@onlsbc1 camac]# ls
Makefile camlib.o dump_reg exam3 get_cam put_cam.c
README camtest1c dump_reg.c exam3.c get_cam.c rst_cam
cam camtest1c.c exam0 exam4 get_camint rst_cam.c
cam.c clr_fifo exam0.c exam4.c get_camint.c
camac.c clr_fifo.c exam1 exam5 pcc.c
camac.o data_pattern.c exam1.c exam5.c pcc.h
camlib.c dec_cam exam2 gen_cam pcc.o
camlib.h dec_cam.c exam2.c gen_cam.c put_cam
[root@onlsbc1 camac]#
[root@onlsbc1 camac]# ls -l /dev/pcc*
ls: /dev/pcc*: No such file or directory
[root@onlsbc1 camac]# make device
mknod -m 666 /dev/pcc0 c 70 0
[root@onlsbc1 camac]# ls -l /dev/pcc*
crw-rw-rw- 1 root root 70, 0 Dec 16 2004 /dev/pcc0
[root@onlsbc1 camac]#
(5-2). CAMACドライバのインストール
[root@onlsbc1 camac]# pwd
/home/toyo/camac
[root@onlsbc1 camac]# make install
install -m 644 pcc.o /lib/modules/`uname -r`/kernel/drivers/char/
[root@onlsbc1 camac]#
[root@onlsbc1 camac]# ls -l /lib/modules
total 8
drwxr-xr-x 5 root root 4096 Nov 5 16:39 2.4.22-1.2115.nptl
drwxr-xr-x 4 root root 4096 Nov 24 16:47 2.4.22-1.2115.nptlcustom
Nov182004
[root@onlsbc1 camac]#
[root@onlsbc1 camac]# ls -l /lib/modules/2.4.22-1.2115.nptlcustomNov182004/kerne
l/drivers/char/
total 1044
-rw-r--r-- 1 root root 4404 Nov 18 16:52 acquirewdt.o
-rw-r--r-- 1 root root 5564 Nov 18 16:52 advantechwdt.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 agp
-rw-r--r-- 1 root root 5596 Nov 18 16:52 alim1535d_wdt.o
-rw-r--r-- 1 root root 6128 Nov 18 16:52 alim6117_wdt.o
-rw-r--r-- 1 root root 6192 Nov 18 16:52 alim7101_wdt.o
-rw-r--r-- 1 root root 4604 Nov 18 16:52 amd768_rng.o
-rw-r--r-- 1 root root 5376 Nov 18 16:52 amd76x_pm.o
-rw-r--r-- 1 root root 7120 Nov 18 16:52 amd7xx_tco.o
-rw-r--r-- 1 root root 2768 Nov 18 16:52 atixlmouse.o
-rw-r--r-- 1 root root 7016 Nov 18 16:52 busmouse.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 cd1865
-rw-r--r-- 1 root root 52328 Nov 18 16:52 cyclades.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 drm
-rw-r--r-- 1 root root 7680 Nov 18 16:52 dtlk.o
-rw-r--r-- 1 root root 25436 Nov 18 16:52 ecc.o
-rw-r--r-- 1 root root 33792 Nov 18 16:52 epca.o
-rw-r--r-- 1 root root 28520 Nov 18 16:52 esp.o
-rw-r--r-- 1 root root 7712 Nov 18 16:52 eurotechwdt.o
drwxr-xr-x 5 root root 4096 Nov 18 16:52 ftape
-rw-r--r-- 1 root root 16888 Nov 18 16:52 generic_serial.o
-rw-r--r-- 1 root root 7116 Nov 18 16:52 i810-tco.o
-rw-r--r-- 1 root root 5976 Nov 18 16:52 i810_rng.o
-rw-r--r-- 1 root root 11812 Nov 18 16:52 i8k.o
-rw-r--r-- 1 root root 5004 Nov 18 16:52 ib700wdt.o
-rw-r--r-- 1 root root 36324 Nov 18 16:52 ip2.o
-rw-r--r-- 1 root root 51496 Nov 18 16:52 ip2main.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 ipmi
-rw-r--r-- 1 root root 29080 Nov 18 16:52 isicom.o
-rw-r--r-- 1 root root 45196 Nov 18 16:52 istallion.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 joystick
-rw-r--r-- 1 root root 2952 Nov 18 16:52 logibusmouse.o
-rw-r--r-- 1 root root 12748 Nov 18 16:52 lp.o
-rw-r--r-- 1 root root 6852 Nov 18 16:52 machzwd.o
-rw-r--r-- 1 root root 8020 Nov 18 16:52 mk712.o
-rw-r--r-- 1 root root 29904 Nov 18 16:52 moxa.o
-rw-r--r-- 1 root root 3016 Nov 18 16:52 msbusmouse.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 mwave
-rw-r--r-- 1 root root 25572 Nov 18 16:52 mxser.o
-rw-r--r-- 1 root root 10856 Nov 18 16:52 n_hdlc.o
-rw-r--r-- 1 root root 10116 Nov 18 16:52 n_r3964.o
-rw-r--r-- 1 root root 9116 Nov 18 16:52 nvram.o
-rw-r--r-- 1 root root 10160 Nov 18 16:52 pc110pad.o
-rw-r--r-- 1 root root 11380 Dec 16 10:19 pcc.o
drwxr-xr-x 2 root root 4096 Nov 18 16:52 pcmcia
-rw-r--r-- 1 root root 11576 Nov 18 16:52 pcwd.o
-rw-r--r-- 1 root root 9372 Nov 18 16:52 ppdev.o
-rw-r--r-- 1 root root 5800 Nov 18 16:52 qpmouse.o
-rw-r--r-- 1 root root 28636 Nov 18 16:52 riscom8.o
-rw-r--r-- 1 root root 30500 Nov 18 16:52 rocket.o
-rw-r--r-- 1 root root 8008 Nov 18 16:52 sc1200wdt.o
-rw-r--r-- 1 root root 6040 Nov 18 16:52 sc520_wdt.o
-rw-r--r-- 1 root root 4900 Nov 18 16:52 softdog.o
-rw-r--r-- 1 root root 20484 Nov 18 16:52 sonypi.o
-rw-r--r-- 1 root root 30512 Nov 18 16:52 specialix.o
-rw-r--r-- 1 root root 44660 Nov 18 16:52 stallion.o
-rw-r--r-- 1 root root 38064 Nov 18 16:52 sx.o
-rw-r--r-- 1 root root 72112 Nov 18 16:52 synclink.o
-rw-r--r-- 1 root root 7716 Nov 18 16:52 tipar.o
-rw-r--r-- 1 root root 5940 Nov 18 16:52 toshiba.o
-rw-r--r-- 1 root root 5512 Nov 18 16:52 w83877f_wdt.o
-rw-r--r-- 1 root root 4828 Nov 18 16:52 wafer5823wdt.o
-rw-r--r-- 1 root root 7248 Nov 18 16:52 wdt.o
-rw-r--r-- 1 root root 8424 Nov 18 16:52 wdt_pci.o
[root@onlsbc1 camac]#
(5-3). CAMACドライバのロードおよびチェック
[root@onlsbc1 camac]# /sbin/insmod pcc
Using /lib/modules/2.4.22-1.2115.nptlcustomNov182004/kernel/drivers/char/pcc.o
Warning: loading /lib/modules/2.4.22-1.2115.nptlcustomNov182004/kernel/drivers/c
har/pcc.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modu
les
Module pcc loaded, with warnings
[root@onlsbc1 camac]#
Warningが表示される。
[root@onlsbc1 camac]# /sbin/lsmod
Module Size Used by Tainted: P
pcc 8092 0 (unused)
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13364 0 (autoclean) (unused)
ipt_REJECT 4344 1 (autoclean)
ipt_state 1080 3 (autoclean)
ip_conntrack 29256 1 (autoclean) [ipt_state]
iptable_filter 2444 1 (autoclean)
ip_tables 15776 3 [ipt_REJECT ipt_state iptable_filter]
floppy 58076 0 (autoclean)
sg 36524 0 (autoclean) (unused)
scsi_mod 108136 1 (autoclean) [sg]
keybdev 2976 0 (unused)
mousedev 5556 1
hid 24708 0 (unused)
input 5888 0 [keybdev mousedev hid]
usb-uhci 26380 0 (unused)
usbcore 79232 1 [hid usb-uhci]
ext3 71300 0
jbd 52084 0 [ext3]
[root@onlsbc1 camac]#
[root@onlsbc1 camac]# dmesg
Linux version 2.4.22-1.2115.nptlcustomNov182004 (root@onlsbc1.kek.jp) (gcc versi
on 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Thu Nov 18 13:46:47 JST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000012ff0000 (usable)
BIOS-e820: 0000000012ff0000 - 0000000012ff3000 (ACPI NVS)
BIOS-e820: 0000000012ff3000 - 0000000013000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
user-defined physical RAM map:
user: 0000000000000000 - 00000000000a0000 (usable)
user: 00000000000f0000 - 0000000000100000 (reserved)
user: 0000000000100000 - 0000000012ff0000 (usable)
0MB HIGHMEM available.
303MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 77808
zone(0): 4096 pages.
zone(1): 73712 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 TM5400 ) @ 0x000f5940
ACPI: RSDT (v001 TM5400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x12ff3000
ACPI: FADT (v001 TM5400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x12ff3040
ACPI: DSDT (v001 TM5400 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Kernel command line: nfsroot=130.87.153.112:/tftpboot/130.87.153.3 ip=bootp mem=
311232K
Initializing CPU#0
Detected 497.772 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 979.76 BogoMIPS
Memory: 303416k/311232k available (1737k kernel code, 7432k reserved, 1210k data
, 148k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 256K (128 bytes/line)
CPU: Processor revision 1.3.2.0, 500 MHz
CPU: Code Morphing Software revision 4.2.5-8-148
CPU: 20010503 11:00 official release 4.2.5#1
CPU serial number disabled.
CPU: After generic, caps: 0080893f 0081813f 0000000e 00000000
CPU: Common caps: 0080893f 0081813f 0000000e 00000000
CPU: Transmeta(tm) Crusoe(tm) Processor TM5400 stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: none
ACPI: Subsystem revision 20031002
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfb330, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Detected PS/2 Mouse Port.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SER
IAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.
html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin and others
PCI: Found IRQ 11 for device 00:0e.0
PCI: Sharing IRQ 11 with 00:07.2
divert: allocating divert_blk for eth0
eth0: OEM i82557/i82558 10/100 Ethernet, 00:0B:AB:01:50:BA, IRQ 11.
Board assembly 727095-004, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xdbd8681d).
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
hda: IRQ probe failed (0xfef8)
hda: IRQ probe failed (0xfef8)
hda: no response (status = 0x0a), resetting drive
hda: IRQ probe failed (0xfef8)
hda: no response (status = 0x0a)
hdb: IRQ probe failed (0xfef8)
hdb: IRQ probe failed (0xfef8)
hdb: no response (status = 0x0a), resetting drive
hdb: IRQ probe failed (0xfef8)
hdb: no response (status = 0x0a)
hdc: SanDisk SDCFB-512, CFA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: attached ide-disk driver.
hdc: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: task_no_data_intr: error=0x04 { DriveStatusError }
hdc: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63
Partition check:
hdc: hdc1
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 130.87.153.112, my address is 130.87.153.3
IP-Config: Complete:
device=eth0, addr=130.87.153.3, mask=255.255.252.0, gw=130.87.152.1,
host=130.87.153.3, domain=kek.jp, nis-domain=(none),
bootserver=130.87.153.112, rootserver=130.87.153.112, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 160k freed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
Looking up port of RPC 100003/2 on 130.87.153.112
Looking up port of RPC 100005/1 on 130.87.153.112
VFS: Mounted root (nfs filesystem).
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 148k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 16:09:08 Nov 18 2004
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:0e.0
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver
.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
SCSI subsystem driver Revision: 1.00
inserting floppy driver for 2.4.22-1.2115.nptlcustomNov182004
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (2431 buckets, 19448 max) - 292 bytes per conntrack
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
lp0: console ready
nfs: server onlpara not responding, still trying
nfs: server onlpara OK
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
nfs: server 130.87.153.112 not responding, still trying
nfs: server 130.87.153.112 not responding, still trying
nfs: server 130.87.153.112 OK
nfs: server 130.87.153.112 OK
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
nfs: server 130.87.153.112 not responding, still trying
nfs: server 130.87.153.112 not responding, still trying
nfs: server 130.87.153.112 OK
nfs: server 130.87.153.112 OK
PCI: Found IRQ 5 for device 00:09.0
init_module:IO_BASE = e800
init_module:irq number of PCC = 5
PCC has been installed.
[root@onlsbc1 camac]#
pccドライバはインストールされた。
(6). システムアップ/ダウン時のドライバモジュールの処理
Linuxシステムを立ち上げた時に、自動的にCAMACドライバモジュールを組み込ん
でCC/NETを利用可能状態にするための設定を行う。 また、Linuxシステムを
シャットダウンもしくはリブートした時に、CC/NETをリセットするための設定を
行う。 これらの処理を組み込むことによって、CC/NETのフロントパネルの
CPU-LED および INH-LED の状態を変化させる。 ユーザはこれらのLEDの表示
状態を見れば、CC/NETを使用可能な時期を知ることができ、電源オフ可能な時期
を知ることができる。
(6-1). システムダウン時の CC/NETのリセット
システムダウン時の CC/NETのリセットを行うための設定をする。
ポート write を実行するプログラム w.c は上記の項目(4-2-4A)でコンパイル
した。
省略。
設定作業の後、リブートをやってみた。
ok.
CPU LED は点燈状態から点滅状態になった。
INH LED は点燈状態から消灯状態になった。
続いて、シャットダウンをやった。
ok.
CPU LED は点燈状態から点滅状態になった。
INH LED は点燈状態から消灯状態になった。
これで、システムダウン時の CC/NETのリセット処理は完了した。
(6-2). システムアップ時の CC/NETのイニシャライズ
ディスクレスシステムが立ち上がった時、pccドライバが自動的にシステムに
組み込まれるように設定する。 上記の項目(6-1-1)で確認したとおり、この
"CC/NET ディスクレスLinux、Fedora Core 1 版" ではランレベル3で実行する
ように設定してある。
[root@onlsbc1 etc]# cat inittab
:
id:3:initdefault:
:
[root@onlsbc1 etc]#
しかし、ユーザによっては、自分でXの設定等の必要な操作を行って、他のラン
レベルでシステムを使用するかもしれない。 そこで、CC/NETのイニシャライズ
の操作は、ランレベル2、3、5でシステムを起動する時に実行するようにして
おく。
省略。
作業の後、リブートして pccドライバが自動的に組み込まれることを確認。
[root@onlsbc1 rc.d]# reboot
[root@onlsbc1 rc.d]#
Broadcast message from root (pts/0) (Tue Dec 21 09:15:50 2004):
The system is going down for reboot NOW!
ok.
システムダウン時:
CPU LED は点燈状態から点滅状態になった。
INH LED は点燈状態から消灯状態になった。
システムアップ時:
CPU LED は点滅状態から点燈状態になった。
INH LED は消灯状態から点燈状態になった。
続いて、シャットダウンをやった。
[root@onlsbc1 toyo]# /sbin/shutdown -h now
[root@onlsbc1 toyo]#
Broadcast message from root (pts/0) (Tue Dec 21 09:23:22 2004):
The system is going down for system halt NOW!
ok.
システムダウン時:
CPU LED は点燈状態から点滅状態になった。
INH LED は点燈状態から消灯状態になった。
システムアップ時:
CPU LED は点滅状態から点燈状態になった。
INH LED は消灯状態から点燈状態になった。
[root@onlsbc1 toyo]# dmesg
Linux version 2.4.22-1.2115.nptlcustomNov182004 (root@onlsbc1.kek.jp) (gcc versi
on 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Thu Nov 18 13:46:47 JST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000012ff0000 (usable)
BIOS-e820: 0000000012ff0000 - 0000000012ff3000 (ACPI NVS)
BIOS-e820: 0000000012ff3000 - 0000000013000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
user-defined physical RAM map:
user: 0000000000000000 - 00000000000a0000 (usable)
user: 00000000000f0000 - 0000000000100000 (reserved)
user: 0000000000100000 - 0000000012ff0000 (usable)
0MB HIGHMEM available.
303MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 77808
zone(0): 4096 pages.
zone(1): 73712 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 TM5400 ) @ 0x000f5940
ACPI: RSDT (v001 TM5400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x12ff3000
ACPI: FADT (v001 TM5400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x12ff3040
ACPI: DSDT (v001 TM5400 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Kernel command line: nfsroot=130.87.153.112:/tftpboot/130.87.153.3 ip=bootp mem=
311232K
Initializing CPU#0
Detected 497.756 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 979.76 BogoMIPS
Memory: 303416k/311232k available (1737k kernel code, 7432k reserved, 1210k data
, 148k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 256K (128 bytes/line)
CPU: Processor revision 1.3.2.0, 500 MHz
CPU: Code Morphing Software revision 4.2.5-8-148
CPU: 20010503 11:00 official release 4.2.5#1
CPU serial number disabled.
CPU: After generic, caps: 0080893f 0081813f 0000000e 00000000
CPU: Common caps: 0080893f 0081813f 0000000e 00000000
CPU: Transmeta(tm) Crusoe(tm) Processor TM5400 stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: none
ACPI: Subsystem revision 20031002
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfb330, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Detected PS/2 Mouse Port.
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SER
IAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.
html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin and others
PCI: Found IRQ 11 for device 00:0e.0
PCI: Sharing IRQ 11 with 00:07.2
divert: allocating divert_blk for eth0
eth0: OEM i82557/i82558 10/100 Ethernet, 00:0B:AB:01:50:BA, IRQ 11.
Board assembly 727095-004, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xdbd8681d).
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
hda: IRQ probe failed (0xfef8)
hda: IRQ probe failed (0xfef8)
hda: no response (status = 0x0a), resetting drive
hda: IRQ probe failed (0xfef8)
hda: no response (status = 0x0a)
hdb: IRQ probe failed (0xfef8)
hdb: IRQ probe failed (0xfef8)
hdb: no response (status = 0x0a), resetting drive
hdb: IRQ probe failed (0xfef8)
hdb: no response (status = 0x0a)
hdc: SanDisk SDCFB-512, CFA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: attached ide-disk driver.
hdc: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: task_no_data_intr: error=0x04 { DriveStatusError }
hdc: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63
Partition check:
hdc: hdc1
ide: late registration of driver.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 130.87.153.112, my address is 130.87.153.3
IP-Config: Complete:
device=eth0, addr=130.87.153.3, mask=255.255.252.0, gw=130.87.152.1,
host=130.87.153.3, domain=kek.jp, nis-domain=(none),
bootserver=130.87.153.112, rootserver=130.87.153.112, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 160k freed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
Looking up port of RPC 100003/2 on 130.87.153.112
Looking up port of RPC 100005/1 on 130.87.153.112
VFS: Mounted root (nfs filesystem).
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 148k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 16:09:08 Nov 18 2004
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:0e.0
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver
.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
hdc: hdc1
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
SCSI subsystem driver Revision: 1.00
inserting floppy driver for 2.4.22-1.2115.nptlcustomNov182004
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (2431 buckets, 19448 max) - 292 bytes per conntrack
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
lp0: console ready
PCI: Found IRQ 5 for device 00:09.0
init_module:IO_BASE = e800
init_module:irq number of PCC = 5
PCC has been installed.
[root@onlsbc1 toyo]#
[root@onlsbc1 toyo]# cat /var/log/messages
:
Dec 21 09:27:20 onlsbc1 atd: atd startup succeeded
Dec 21 09:27:21 onlsbc1 messagebus: messagebus startup succeeded
Dec 21 09:27:21 onlsbc1 ccnet-pcc: Starting initialize CAMAC:
Dec 21 09:27:22 onlsbc1 ccnet-pcc: Using /lib/modules/2.4.22-1.2115.nptlcustomNo
v182004/kernel/drivers/char/pcc.o
Dec 21 09:27:22 onlsbc1 ccnet-pcc: Warning: loading /lib/modules/2.4.22-1.2115.n
ptlcustomNov182004/kernel/drivers/char/pcc.o will taint the kernel: no license
Dec 21 09:27:22 onlsbc1 ccnet-pcc: See http://www.tux.org/lkml/#export-tainted
for information about tainted modules
Dec 21 09:27:22 onlsbc1 kernel: PCI: Found IRQ 5 for device 00:09.0
Dec 21 09:27:22 onlsbc1 kernel: init_module:IO_BASE = e800
Dec 21 09:27:22 onlsbc1 kernel: init_module:irq number of PCC = 5
Dec 21 09:27:22 onlsbc1 kernel: PCC has been installed.
Dec 21 09:27:22 onlsbc1 ccnet-pcc: Module pcc loaded, with warnings
Dec 21 09:27:22 onlsbc1 ccnet-pcc:
Dec 21 09:27:22 onlsbc1 rc: Starting ccnet-pcc: succeeded
:
[root@onlsbc1 toyo]#
[root@onlsbc1 toyo]# cat /var/log/boot.log
:
Dec 21 09:27:20 onlsbc1 atd: atd startup succeeded
Dec 21 09:27:21 onlsbc1 messagebus: messagebus startup succeeded
Dec 21 09:27:21 onlsbc1 ccnet-pcc: Starting initialize CAMAC:
Dec 21 09:27:22 onlsbc1 ccnet-pcc: Using /lib/modules/2.4.22-1.2115.nptlcustomNo
v182004/kernel/drivers/char/pcc.o
Dec 21 09:27:22 onlsbc1 ccnet-pcc: Warning: loading /lib/modules/2.4.22-1.2115.n
ptlcustomNov182004/kernel/drivers/char/pcc.o will taint the kernel: no license
Dec 21 09:27:22 onlsbc1 ccnet-pcc: See http://www.tux.org/lkml/#export-tainted
for information about tainted modules
Dec 21 09:27:22 onlsbc1 ccnet-pcc: Module pcc loaded, with warnings
Dec 21 09:27:22 onlsbc1 ccnet-pcc:
Dec 21 09:27:22 onlsbc1 rc: Starting ccnet-pcc: succeeded
[root@onlsbc1 toyo]#
これで、システムアップ、ダウン時の CC/NETのイニシャライズ、リセットの
処理は完了した。
(7). CC/NETソフトウェアの実行
camacコマンドのテストを行う。 以降のコマンドの実行テストは、toyoのアカウ
ントでログインして行う。
テストベンチの CAMACクレートのステーションナンバ 4 にはスイッチレジスタ
が装着した。 例題プログラム中にステーションナンバの位置が #4 として埋め
込まれているのでそれに合わせて装着した。
参考.
Fedora Core 1 Linux に実装されている gcc のバージョンは以下のとおり。
[root@onlsbc1 toyo]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
ystem-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
[root@onlsbc1 toyo]#
onlsun4[34]% !!
ssh toyo@onlsbc1
toyo@onlsbc1's password:
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ ls -l
total 236
-rw-r--r-- 1 toyo toyo 43466 Dec 13 15:14 Web-Sep152004.tar.gz
drwxrwxr-x 2 toyo toyo 4096 Dec 13 16:51 camac
-rw-r--r-- 1 toyo toyo 16163 Dec 13 15:05 camac.tar.gz
drwxr-xr-x 2 toyo toyo 4096 Dec 13 16:34 check
-rw-r--r-- 1 toyo toyo 139897 Dec 13 15:07 check.tar.gz-Nov72003
-rw-r--r-- 1 toyo toyo 2631 Dec 13 15:08 example-Aug42003.tar.gz
drwxrwxr-x 3 toyo toyo 4096 Dec 14 11:21 public_html
drwxrwxr-x 2 toyo toyo 4096 Dec 14 09:29 remote-camac
-rw-r--r-- 1 toyo toyo 8037 Dec 13 15:06 remote-camac.tar.gz
drwxrwxr-x 3 toyo toyo 4096 Dec 14 15:55 tmp
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ env
HOSTNAME=onlsbc1.kek.jp
TERM=vt100
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=130.87.153.116 33063 22
SSH_TTY=/dev/pts/0
USER=toyo
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0
1:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.b
tm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:
*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*
.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;3
5:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/toyo
PATH=/usr/java/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
:/home/toyo/bin
INPUTRC=/etc/inputrc
PWD=/home/toyo
LANG=ja_JP.eucJP-8
SHLVL=1
HOME=/home/toyo
LOGNAME=toyo
SSH_CONNECTION=130.87.153.116 33063 130.87.153.3 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env
[toyo@onlsbc1 toyo]$
(7-1). rst_camコマンドの実行
[toyo@onlsbc1 camac]$ pwd
/home/toyo/camac
[toyo@onlsbc1 camac]$ ls
Makefile camlib.o dump_reg exam3 get_cam put_cam.c
README camtest1c dump_reg.c exam3.c get_cam.c rst_cam
cam camtest1c.c exam0 exam4 get_camint rst_cam.c
cam.c clr_fifo exam0.c exam4.c get_camint.c
camac.c clr_fifo.c exam1 exam5 pcc.c
camac.o data_pattern.c exam1.c exam5.c pcc.h
camlib.c dec_cam exam2 gen_cam pcc.o
camlib.h dec_cam.c exam2.c gen_cam.c put_cam
[toyo@onlsbc1 camac]$
[toyo@onlsbc1 camac]$ ./rst_cam
[toyo@onlsbc1 camac]$
正常終了した。
(7-2). clr_fifoコマンドの実行
[toyo@onlsbc1 camac]$ ./clr_fifo
[toyo@onlsbc1 camac]$
正常終了した。
(7-3). dump_regコマンドの実行
[toyo@onlsbc1 camac]$ ./dump_reg
Tx Control = 0
Tx Status = 0
Tx Address = 0
Tx Preset Count = 0
Tx Actual Count = 0
Tx Fifo Count = 0
Rx Control = 0
Rx Status = 0
Rx Address = 0
Rx Preset Count = 0
Rx Actual Count = 0
Rx Fifo Count = 0
System = 83000000
Int Control = 0
Int Status = 0
Int Fifo Count = 0
[toyo@onlsbc1 camac]$
正常終了した。
(7-4). camコマンドの実行
[toyo@onlsbc1 camac]$ ./cam
usage : ./cam n a f [data]
[toyo@onlsbc1 camac]$ ./cam 4 0 16 0xffffff
Q = 1 : X = 1
[toyo@onlsbc1 camac]$ ./cam 4 0 0
Q = 1 : X = 1 : data = ffffff
[toyo@onlsbc1 camac]$ ./cam 4 0 16 0xaaaaaa
Q = 1 : X = 1
[toyo@onlsbc1 camac]$ ./cam 4 0 0
Q = 1 : X = 1 : data = aaaaaa
[toyo@onlsbc1 camac]$
正常終了した。
(7-5). gen_camコマンドの実行
[toyo@onlsbc1 camac]$ ./gen_cam
usage : ./gen_cam n a f data flag(1:start,2:end,0:normal,packet:others)
[toyo@onlsbc1 camac]$ ./gen_cam 4 0 16 0x555555 1
Data1 = 555555(hex)
Data2 = c0040010(hex)
[toyo@onlsbc1 camac]$
正常終了した。
(7-6). dec_camコマンドの実行
[toyo@onlsbc1 camac]$ ./dec_cam
usage : ./dec_cam data1(hex) data2(hex)
[toyo@onlsbc1 camac]$ ./dec_cam 0x3555555 0xC0040010
n(4) a(0) f(16) data(0x555555) status(0x3)
[toyo@onlsbc1 camac]$
正常終了した。
(7-7). put_camコマンドの実行
[toyo@onlsbc1 camac]$ ./put_cam
usage : ./put_cam data(hex) cmd(hex)
[toyo@onlsbc1 camac]$ ./put_cam 0x55555 0xc0040010
[toyo@onlsbc1 camac]$
正常終了した。
(7-8). get_camコマンドの実行
[toyo@onlsbc1 camac]$ ./get_cam
data = 0x7000000 : reply = 0xc0040010
[toyo@onlsbc1 camac]$
正常終了した。
(7-9). exam0コマンドの実行
[toyo@onlsbc1 camac]$ ./exam0
number of reply frames : 13
( 1) Z : data( 4000000) = 4000000 rply(c0190011) = c0190011
( 2) C : data( 4000000) = 4000000 rply(80190010) = 80190010
( 3) set Inhibit : data( 4000000) = 4000000 rply(8019001a) = 8019001a
( 4) remove Inhibit : data( 0) = 0 rply(80190018) = 80190018
( 5) disable interrupt : data( ffffff) = ffffff rply(80190118) = 80190118
( 6) enable interrupt : data(10ffffff) = 10ffffff rply(8019011a) = 8019011a
( 7) write enable bits : data(10ffffff) = 10ffffff rply(80190110) = 80190110
( 8) read enable bits : data(10ffffff) = 10ffffff rply(8019011a) = 8019011a
( 9) set fast cycle : data(90000000) = 90000000 rply(8019021a) = 8019021a
(10) reset fast cyclc : data(10000000) = 10000000 rply(80190218) = 80190218
(11) write data to SW : data(13000000) = 13000000 rply(80040010) = 80040010
(12) read data from SW : data(13aaaaaa) = 13aaaaaa rply(80040000) = 80040000
(13) clear data in SW : data(12000000) = 13000000 rply(a004000a) = a004000a
[toyo@onlsbc1 camac]$
正常終了した。
(7-10). exam1コマンドの実行
[toyo@onlsbc1 camac]$ ./exam1
usage : ./exam1 process:0 [pattern:1] [loop:1] [num_frame] [fast]
process 0: cam_exec_pio (default)
process 1: cam_exec_dma
process 2: cam_exec_dma_seq
process 3: cam_exec
pattern 0: a series of data (0xFFFFFF, 0)
pattern 1: a series of data (0xFFFFFF, 0, 0x555555, 0, 0xAAAAAA) (defaul
t)
pattern 2: a series of data (0,1,2,3,4,5...)
pattern 3: a series of random data
loop : iteration count to be executed (default = 1)
num_frame: number of frame to be executed (default = 10)
fast : fast cycle:1 normal cycle:0 (default = 0)
For an example
% ./exam1 0 1 1 10 0
[toyo@onlsbc1 camac]$
[toyo@onlsbc1 camac]$ ./exam1 0 2 10 100
100 command frames...
Execution with loop = 10
cam_exec_pio process is selected...
Start CAMAC access to Switch register...
exam1 has been done successfully
[toyo@onlsbc1 camac]$
正常終了した。
(7-11). exam2コマンドの実行
[toyo@onlsbc1 camac]$ ./exam2
number of reply frames : 7
read event count : data( 0) = 0 rply(d0000000) = d0000000
clear busy out : data( 0) = 0 rply(90010000) = 90010000
clear event counter : data( 0) = 0 rply(90020000) = 90020000
enable trigger input : data( 0 = 0 rply(90030002) = 90030002
disable trigger input: data( 0) = 0 rply(90040000) = 90040000
set pulse out : data( 0) = 0 rply(90050008) = 90050008
reset pulse out : data( 0) = 0 rply(b0060000) = b0060000
[toyo@onlsbc1 camac]$
正常終了した。
(7-12). exam3コマンドの実行
注.
この例題プログラムでは、以下のセットアップがされていることを想定して
いる。
1. camacステーション#2に割り込みモジュールがセットされていて
2. exam3コマンド実行中、NIM割り込み信号が、camacステーション#2に
セットされた割り込みモジュールに供給されること。
ここでのテストでは、camacステーション#2にセットした割り込みモジュール
のサブアドレス#2に、外部から割り込み信号を 10個入力した。
[toyo@onlsbc1 camac]$ ./exam3 10
Loop count = 1 : LAM pattern = 2
Loop count = 2 : LAM pattern = 2
Loop count = 3 : LAM pattern = 2
Loop count = 4 : LAM pattern = 2
Loop count = 5 : LAM pattern = 2
Loop count = 6 : LAM pattern = 2
Loop count = 7 : LAM pattern = 2
Loop count = 8 : LAM pattern = 2
Loop count = 9 : LAM pattern = 2
Loop count = 10 : LAM pattern = 2
[toyo@onlsbc1 camac]$
正常終了した。
(7-13). exam4コマンドの実行
注.
この例題プログラムでは、以下のセットアップがされていることを想定して
いる。
1. exam4コマンド実行中に、CC/NETモジュールのフロントパネルに設けて
ある "TRG-IN" コネクタにNIM割り込み信号が供給されること。
ここでのテストでは、CC/NETモジュールの"TRG-IN" コネクタに外部から割り込
み信号を 10個入力した。
[toyo@onlsbc1 camac]$ ./exam4 10
Loop count = 1 : Event count = 0
Loop count = 2 : Event count = 1
Loop count = 3 : Event count = 2
Loop count = 4 : Event count = 3
Loop count = 5 : Event count = 4
Loop count = 6 : Event count = 5
Loop count = 7 : Event count = 6
Loop count = 8 : Event count = 7
Loop count = 9 : Event count = 8
Loop count = 10 : Event count = 9
[toyo@onlsbc1 camac]$
正常終了した。
(8). CC/NETソフトウェアの実行、その2
apache を起動する。
[root@onlsbc1 toyo]# ps -ef | grep apache
root 17913 17813 0 14:56 pts/0 00:00:00 grep apache
[root@onlsbc1 toyo]#
[root@onlsbc1 toyo]# /sbin/service httpd start
Starting httpd: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "ja_JP.eucJP-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[ OK ]
[root@onlsbc1 toyo]#
[root@onlsbc1 toyo]# ps -ef | grep apache
apache 17927 17924 1 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17928 17924 1 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17929 17924 1 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17930 17924 2 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17931 17924 2 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17932 17924 1 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17933 17924 2 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17934 17924 2 14:56 ? 00:00:00 /usr/sbin/httpd
root 17936 17813 0 14:56 pts/0 00:00:00 grep apache
[root@onlsbc1 toyo]#
(8-1). web3の実行
[toyo@onlsbc1 toyo]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
ystem-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
[toyo@onlsbc1 toyo]$
[toyo@onlsbc1 toyo]$ java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
[toyo@onlsbc1 toyo]$
/home/toyo/public_html/Webディレクトリの下にはすでにコンパイル済みの例題
プログラムが置いてある。
CC/NET起動時に、CAMAC-PCI インターフェース部はすでに利用可能な状態に
セットされている。 従って、この時点では "./w e840 1" の操作は必要ない。
[toyo@onlsbc1 Web]$ pwd
/home/toyo/public_html/Web
[toyo@onlsbc1 Web]$ ls
Client.class Makefile-tmp cam.class pcc.h-bak
Client.java Server.class cam.h policy
ClientImpl.class Server.java cam.java web.sh
ClientImpl.java-bak ServerImpl.class camac.c web3-inoue.mem
ClientImpl_Skel.class ServerImpl.java camac.c-bak web3.class
ClientImpl_Stub.class ServerImpl_Skel.class camac.o web3.html
Makefile ServerImpl_Stub.class libMyImpOfcam.so web3.java
Makefile-org cam.c pcc.h web3.java-org
[toyo@onlsbc1 Web]$
<<< サーバ側 >>>
[toyo@onlsbc1 Web]$ ./web.sh
Wait. In Process .............
bind done <--- このメッセージが表示されたら、サーバ側は準備完了で待ち
状態になっているので、クライアント側からWebブラウザで
アクセスできる。
RMI: Server side:
JNI, Java side: Received CAMAC command: array length = 1
cmd[0] = 0xe0040000, dat[0] = 0x0
cmd[1] = 0x0, dat[1] = 0x0
JNI, Java side: before Native Call
ServerImpl.r_cmd[0] = 0xe0040000, ServerImpl.r_dat[0] = 0x0
ServerImpl.r_cmd[1] = 0x0, ServerImpl.r_dat[1] = 0x0
JNI, C side: Received CAMAC command: array length = 1
example number = 14
c_cmd[0] = 0xe0040000, c_dat[0] = 0x0
c_cmd[1] = 0x0, c_dat[1] = 0x0
JNI, Java side: after Native Call array length = 1
ServerImpl.r_cmd[0] = 0xe0040000, ServerImpl.r_dat[0] = 0x7000000
ServerImpl.r_cmd[1] = 0x0, ServerImpl.r_dat[1] = 0x0
RMI: Server side:
JNI, Java side: Received CAMAC command: array length = 1
cmd[0] = 0xe0040010, dat[0] = 0x777777
cmd[1] = 0x0, dat[1] = 0x0
JNI, Java side: before Native Call
ServerImpl.r_cmd[0] = 0xe0040010, ServerImpl.r_dat[0] = 0x777777
ServerImpl.r_cmd[1] = 0x0, ServerImpl.r_dat[1] = 0x0
Q = 1 : X = 1 : data = 0
JNI, C side: Received CAMAC command: array length = 1
example number = 14
c_cmd[0] = 0xe0040010, c_dat[0] = 0x777777
c_cmd[1] = 0x0, c_dat[1] = 0x0
JNI, Java side: after Native Call array length = 1
ServerImpl.r_cmd[0] = 0xe0040010, ServerImpl.r_dat[0] = 0x7000000
ServerImpl.r_cmd[1] = 0x0, ServerImpl.r_dat[1] = 0x0
RMI: Server side:
JNI, Java side: Received CAMAC command: array length = 1
cmd[0] = 0xe0040000, dat[0] = 0x777777
cmd[1] = 0x0, dat[1] = 0x0
JNI, Java side: before Native Call
ServerImpl.r_cmd[0] = 0xe0040000, ServerImpl.r_dat[0] = 0x777777
ServerImpl.r_cmd[1] = 0x0, ServerImpl.r_dat[1] = 0x0
Q = 1 : X = 1 : data = 0
JNI, C side: Received CAMAC command: array length = 1
example number = 14
c_cmd[0] = 0xe0040000, c_dat[0] = 0x777777
c_cmd[1] = 0x0, c_dat[1] = 0x0
JNI, Java side: after Native Call array length = 1
ServerImpl.r_cmd[0] = 0xe0040000, ServerImpl.r_dat[0] = 0x7777777
ServerImpl.r_cmd[1] = 0x0, ServerImpl.r_dat[1] = 0x0
<--- cntl-C を押して web.sh を停止。
Q = 1 : X = 1 : data = 777777[toyo@onlsbc1 Web]$
[toyo@onlsbc1 Web]$
<<< クライアント側 >>>
Webブラウザ、IE を使って onlsbc1 の web3.htmlファイルをアクセスする。
rmiregistry を停止する。
[toyo@onlsbc1 Web]$ ps -ef | grep rmiregistry
toyo 17950 1 0 15:13 pts/0 00:00:09 rmiregistry
toyo 17994 17771 0 15:43 pts/0 00:00:00 grep rmiregistry
[toyo@onlsbc1 Web]$ kill -KILL 17950
[toyo@onlsbc1 Web]$ ps -ef | grep rmiregistry
toyo 17996 17771 0 15:43 pts/0 00:00:00 grep rmiregistry
[toyo@onlsbc1 Web]$
apache を停止する。
[root@onlsbc1 Web]# ps -ef | grep apache
apache 17927 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17928 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17929 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17930 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17931 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17932 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17933 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
apache 17934 17924 0 14:56 ? 00:00:00 /usr/sbin/httpd
root 18028 17998 0 15:44 pts/0 00:00:00 grep apache
[root@onlsbc1 Web]#
[root@onlsbc1 Web]# /sbin/service httpd stop
Stopping httpd: [ OK ]
[root@onlsbc1 Web]# ps -ef | grep apache
root 18043 17998 0 15:45 pts/0 00:00:00 grep apache
[root@onlsbc1 Web]#
ok. web3例題プログラムは正常に実行できた。
これで、ディスクレスクライアント上で、CC/NETに関係する部分は一通り
動作できた。
---xxxx