Re: [SCore-users-jp] SCOUTのテストについて

eiichi ooyama ooyama.eiichi @ gmail.com
2008年 5月 21日 (水) 17:20:06 JST


ありがとうございます、rpmtestをパスしました。その後もテストをパスして、一応デモンストレーションの
ところまで来ました。
以下はログです。

[hoge @ host1 ~]$ rpmtest host1 ethernet -dest 1 -ping
connect to address 10.13.13.1: Connection refused
Trying krb4 rsh...
connect to address 10.13.13.1: Connection refused
trying normal rsh (/usr/bin/rsh)
8       3.50687e-05
[hoge @ host1 ~]$ scout -g pcc
SCOUT: Spawning done.
SCOUT: session started.
[hoge @ host1 ~]$ scstest -network ethernet
-config:file=pm-ethernet.conf
type=ethernet
SCSTEST: BURST on ethernet(chan=0,ctx=0,len=16)
50 K packets. (6.096e+01 kpps)
100 K packets. (6.149e+01 kpps)
150 K packets. (6.050e+01 kpps)
200 K packets. (5.553e+01 kpps)
250 K packets. (4.647e+01 kpps)
300 K packets. (4.940e+01 kpps)
350 K packets. (5.007e+01 kpps)

ところで、パッチを当ててコンパイルしていると、以下のワーニングが出てたのですが、これは問題ないですよね?
(テストもパスしたし、、)
[hoge @ host1 ~]$ grep warning /tmp/compile.log
/opt/score/score6-src/SCore/pm-v2/arch/ethernet/driver/e1000_scorepm/linux2_6/obj.x86_64-centos4-linux2_6 @ 2.6.9-67.ELsmp/../../../../include/pm_ethernet_client.h:103:1:
warning: "request_irq" redefined
/opt/score/score6-src/SCore/pm-v2/arch/ethernet/driver/e1000_scorepm/linux2_6/obj.x86_64-centos4-linux2_6 @ 2.6.9-67.ELsmp/kcompat.h:1100:1:
warning: this is the location of the previous definition
/opt/score/score6-src/SCore/pm-v2/arch/ethernet/driver/e1000_scorepm/linux2_6/obj.x86_64-centos4-linux2_6 @ 2.6.9-67.ELsmp/e1000_main.c:365:
warning: passing arg 2 of `pm_ethernet_request_irq' from incompatible
pointer
type/opt/score/score6-src/SCore/pm-v2/arch/ethernet/driver/e1000_scorepm/linux2_6/obj.x86_64-centos4-linux2_6 @ 2.6.9-67.ELsmp/e1000_main.c:372:
warning: passing arg 2 of `pm_ethernet_request_irq' from incompatible
pointer type

亀山さんのパッチを当てるため今回初めてkcompat.hを見たのですが、#if ( LINUX_VERSION_CODE が多くて
大変そうですね。linuxもソース変え過ぎですよねえ。。。

それにしても、これで動きそうです。本当にありがとうございました。

大山


2008/05/21 2:31 Kameyama Toyohisa <kameyama @ pccluster.org>:

> 亀山です.
>
> eiichi ooyama さんは書きました:
> > 2. rpm -qa | grep score
> >
> >    で score6.0.0-comp はでてきますでしょうか?
> > =>ありません。
>
> source から install したのならできていないでしょうね...
>
> > 4. /lib/module/`uname -r`/extra/score+pm
> >    はありますでしょうか?
> >    その中に tg3_scorepm1.ko はありますでしょうか?
> >
> > =>当方の環境が以下のようになっていまして、e1000_scorepm1.koができていて欲しいところだと
> 思うのですが、
> > [hoge @ host1 ~]$ /opt/score/install/linux2.6/netdev -a
> > eth0 forcedeth
> > eth1 e1000
> > 上記ディレクトリを見ますと、
> > [hoge @ host1 ~]$ ls /lib/modules/2.6.9-67.ELsmp/extra/score+pm/
> >
> > e100_scorepm1.ko  pm_ethernet2.ko         pm_ethernet_loader.ko
>  pm_shmem.ko
> > infini_dev.ko     pm_ethernet2_mem.ko     pm_memory.ko
> tg3_scorepm1.ko
> > infini_sm_dev.ko  pm_ethernet_dev_nkp.ko  pm_myrinet.ko
> >
> > となっていまして、e1000関係のモジュールは出来ていませんでした。
>
> e1000 関連のモジュールができていないのが, 原因だと思います.
> これは, source code 中では
>    score6-src/SCore/pm-v2/arch/ethernet/driver/e1000_scorepm/linux2_6
> にあります.
> 問題はこの directory の kcompat.h です.
>
> 以下の patch をあててコンパイルし直してください.
> (その directory で
>     % /opt/score/deploy/smake distclean
>     % /opt/score/deploy/smake
>     % /opt/score/deploy/smake install
> でコンパイルできます.)
> その後, compute host の /opt/score/install で
>    # ./setup -score_comp
> を実行してください.
>
> Kameyama Toyohisa
>
> Index: kcompat.h
> ===================================================================
> RCS file:
>
> /develop/cvsroot/score6-src/SCore/pm-v2/arch/ethernet/driver/e1000_scorepm/linux2_6/kcompat.h,v
> retrieving revision 1.4
> diff -u -r1.4 kcompat.h
> --- kcompat.h   24 Jan 2007 07:16:32 -0000      1.4
> +++ kcompat.h   21 May 2008 06:25:29 -0000
> @@ -1081,7 +1081,9 @@
>  #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) )
>
>  #if ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) )
> +#if (!(( RHEL_RELEASE_CODE > RHEL_RELEASE_VERSION(4,4) ) && (
> RHEL_RELEASE_CODE <
> RHEL_RELEASE_VERSION(5,0) ) || ( RHEL_RELEASE_CODE >
> RHEL_RELEASE_VERSION(5,0) )))
>  typedef irqreturn_t (*irq_handler_t)(int, void*, struct pt_regs *);
> +#endif
>  typedef irqreturn_t (*new_handler_t)(int, void*);
>  static inline irqreturn_t _kc_request_irq(unsigned int irq, new_handler_t
> handler,
> unsigned long flags, const char *devname, void *dev_id)
>  #else /* 2.4.x */
>
> Kameyama Toyohisa
>

-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://new1.pccluster.org/pipermail/score-users-jp/attachments/20080521/89d849d2/attachment.html>


SCore-users-jp メーリングリストの案内