[SCore-users-jp] PM ethernet/ethernet device already opened

Sugano, Mitsukuni suga @ sse.co.jp
2002年 12月 5日 (木) 15:27:05 JST


住元様:

菅野です。
ご回答ありがとうございます。

master:/opt/score/etc/pm-ethernet-1.conf
master:/opt/score/etc/pm-ethernet-0.conf

slave01:/etc/init.d/pm_ethernet
slave23:/etc/init.d/pm_ethernet
slave24:/etc/init.d/pm_ethernet

を添付します。
もし、これらから推測されることがございましたら、
教えていただけますでしょうか。

以上、よろしくお願いいたします。

Shinji Sumimoto wrote:
> 
> 富士通研の住元です。
> 
> ノードの設定のエントリから、eth1と不要なエントリ(ethold)を外してください。
> これだと問題があります。
> 
> でも、slave23を除くと動くと言うのは、変です。エラーではunit 番号 1の
> ネットワークが問題のようです。
> 
> /opt/score/etc/pm-ethernet-1.conf
> /opt/score/etc/pm-ethernet-0.conf
> /opt/score/etc/pm-ethernet.conf
> 
> と、/etc/init.d/pm_ethernet
> 
> での unit番号の指定はどうなっていますでしょうか?
> 
> ===================================================================
> /* PM/Ethernet */
> ethernet  type=ethernet \
>         -config:file=/opt/score/etc/pm-ethernet-1.conf \
>         -trunk0:file=/opt/score/etc/pm-ethernet-0.conf
> 
> eth0            type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet-0.conf
> 
> eth1            type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet-1.conf
> 
> ethold  type=ethernet \
>                 -config:file=/opt/score/etc/pm-ethernet.conf
> 
> slave01.pccluster.org   HOST_0 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave02.pccluster.org   HOST_1 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave03.pccluster.org   HOST_2 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave04.pccluster.org   HOST_3 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave05.pccluster.org   HOST_4 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave06.pccluster.org   HOST_5 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave07.pccluster.org   HOST_6 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave08.pccluster.org   HOST_7 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq0 smp=2 MSGBSERV
> slave09.pccluster.org   HOST_8 network=ethernet,eth0,eth1,ethold,shmem0,shmem1 group=_scoreall_,pcc,pcch0,pccq1 smp=2 MSGBSERV
> ===================================================================
-------------- next part --------------
#!/bin/sh
#
# pm_ethernet:  Starts the PM Ethernet driver
#
# Version:      @(#) /etc/rc.d/init.d/pm_ethernet 1.00
#
# Author:       Shinji Sumimoto (Real World Computing Partnership)
# chkconfig: 345 90 18
# description: PM Ethernet driver
# probe: true

IF=eth1
UNIT=0
INTERRUPT_REAPING=on

# Source function library.
. /etc/rc.d/init.d/functions

# check module
module=`modprobe -l pm_ethernet_dev.o | grep -v Note:`

# See how we were called.
case "$1" in
  start)
        echo n "Starting PM/Ethernet: "
	if [ x$module != x ]; then
	    modprobe pm_ethernet_dev
	fi
	/sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 0
	/sbin/etherpmctl eth0 -pm on -ir $INTERRUPT_REAPING -unit 1
#	/sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 1
#	/sbin/etherpmctl eth2 -pm on -ir $INTERRUPT_REAPING -unit 2
#	/sbin/etherpmctl eth3 -pm on -ir $INTERRUPT_REAPING -unit 3
        touch /var/lock/subsys/pm_ethernet
        ;;
  stop)
        echo -n "Stopping PM/Ethernet: "
	/sbin/etherpmctl eth0 -pm off
	/sbin/etherpmctl eth1 -pm off
#	/sbin/etherpmctl eth1 -pm off
#	/sbin/etherpmctl eth2 -pm off
#	/sbin/etherpmctl eth3 -pm off
	if [ x$module != x ]; then
	    rmmod pm_ethernet_dev
	fi
        echo
        rm -f /var/lock/subsys/pm_ethernet
        ;;
  status)
	if [ x$module != x ]; then
            /sbin/lsmod
	fi
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage: $0 {start|stop|status|restart}"
        exit 1
esac

exit 0


-------------- next part --------------
#!/bin/sh
#
# pm_ethernet:  Starts the PM Ethernet driver
#
# Version:      @(#) /etc/rc.d/init.d/pm_ethernet 1.00
#
# Author:       Shinji Sumimoto (Real World Computing Partnership)
# chkconfig: 345 90 18
# description: PM Ethernet driver
# probe: true

IF=eth1
UNIT=0
INTERRUPT_REAPING=on

# Source function library.
. /etc/rc.d/init.d/functions

# check module
module=`modprobe -l pm_ethernet_dev.o | grep -v Note:`

# See how we were called.
case "$1" in
  start)
        echo n "Starting PM/Ethernet: "
	if [ x$module != x ]; then
	    modprobe pm_ethernet_dev
	fi
	/sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 0
	/sbin/etherpmctl eth0 -pm on -ir $INTERRUPT_REAPING -unit 1
#	/sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 1
#	/sbin/etherpmctl eth2 -pm on -ir $INTERRUPT_REAPING -unit 2
#	/sbin/etherpmctl eth3 -pm on -ir $INTERRUPT_REAPING -unit 3
        touch /var/lock/subsys/pm_ethernet
        ;;
  stop)
        echo -n "Stopping PM/Ethernet: "
	/sbin/etherpmctl eth0 -pm off
	/sbin/etherpmctl eth1 -pm off
#	/sbin/etherpmctl eth1 -pm off
#	/sbin/etherpmctl eth2 -pm off
#	/sbin/etherpmctl eth3 -pm off
	if [ x$module != x ]; then
	    rmmod pm_ethernet_dev
	fi
        echo
        rm -f /var/lock/subsys/pm_ethernet
        ;;
  status)
	if [ x$module != x ]; then
            /sbin/lsmod
	fi
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage: $0 {start|stop|status|restart}"
        exit 1
esac

exit 0


-------------- next part --------------
#!/bin/sh
#
# pm_ethernet:  Starts the PM Ethernet driver
#
# Version:      @(#) /etc/rc.d/init.d/pm_ethernet 1.00
#
# Author:       Shinji Sumimoto (Real World Computing Partnership)
# chkconfig: 345 90 18
# description: PM Ethernet driver
# probe: true

IF=eth1
UNIT=0
INTERRUPT_REAPING=on

# Source function library.
. /etc/rc.d/init.d/functions

# check module
module=`modprobe -l pm_ethernet_dev.o | grep -v Note:`

# See how we were called.
case "$1" in
  start)
        echo n "Starting PM/Ethernet: "
	if [ x$module != x ]; then
	    modprobe pm_ethernet_dev
	fi
	/sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 0
	/sbin/etherpmctl eth0 -pm on -ir $INTERRUPT_REAPING -unit 1
#	/sbin/etherpmctl eth1 -pm on -ir $INTERRUPT_REAPING -unit 1
#	/sbin/etherpmctl eth2 -pm on -ir $INTERRUPT_REAPING -unit 2
#	/sbin/etherpmctl eth3 -pm on -ir $INTERRUPT_REAPING -unit 3
        touch /var/lock/subsys/pm_ethernet
        ;;
  stop)
        echo -n "Stopping PM/Ethernet: "
	/sbin/etherpmctl eth0 -pm off
	/sbin/etherpmctl eth1 -pm off
#	/sbin/etherpmctl eth1 -pm off
#	/sbin/etherpmctl eth2 -pm off
#	/sbin/etherpmctl eth3 -pm off
	if [ x$module != x ]; then
	    rmmod pm_ethernet_dev
	fi
        echo
        rm -f /var/lock/subsys/pm_ethernet
        ;;
  status)
	if [ x$module != x ]; then
            /sbin/lsmod
	fi
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage: $0 {start|stop|status|restart}"
        exit 1
esac

exit 0


-------------- next part --------------
unit 0
maxnsend 64
backoff 16000
0 00:02:A5:42:00:21 slave01.pccluster.org
1 00:02:A5:41:61:6C slave02.pccluster.org
2 00:02:A5:41:6D:76 slave03.pccluster.org
3 00:02:A5:41:77:ED slave04.pccluster.org
4 00:02:A5:41:6D:73 slave05.pccluster.org
5 00:02:A5:41:9E:91 slave06.pccluster.org
6 00:02:A5:41:7A:00 slave07.pccluster.org
7 00:02:A5:41:7A:27 slave08.pccluster.org
8 00:02:A5:41:79:E0 slave09.pccluster.org
9 00:02:A5:41:78:33 slave10.pccluster.org
10 00:02:A5:41:6C:64 slave11.pccluster.org
11 00:02:A5:41:6C:75 slave12.pccluster.org
12 00:02:A5:41:6E:5C slave13.pccluster.org
13 00:02:A5:41:4F:2B slave14.pccluster.org
14 00:02:A5:41:7F:65 slave15.pccluster.org
15 00:02:A5:41:7A:2B slave16.pccluster.org
16 00:02:A5:41:61:71 slave17.pccluster.org
17 00:02:A5:41:6C:EC slave18.pccluster.org
18 00:02:A5:41:6C:C3 slave19.pccluster.org
19 00:02:A5:41:79:12 slave20.pccluster.org
20 00:02:A5:41:78:27 slave21.pccluster.org
21 00:02:A5:41:6E:0C slave22.pccluster.org
22 00:02:A5:41:79:E4 slave23.pccluster.org
23 00:02:A5:41:78:25 slave24.pccluster.org
24 00:02:A5:41:7A:80 slave25.pccluster.org
25 00:02:A5:41:58:9F slave26.pccluster.org
26 00:02:A5:41:6C:6F slave27.pccluster.org
27 00:02:A5:41:9A:CB slave28.pccluster.org
28 00:02:A5:41:77:FF slave29.pccluster.org
29 00:02:A5:41:7F:BA slave30.pccluster.org
30 00:02:A5:41:68:19 slave31.pccluster.org
31 00:02:A5:41:61:BC slave32.pccluster.org

-------------- next part --------------
unit 1
maxnsend 64
backoff 16000
0  00:02:A5:CC:9C:33  slave01.pccluster.org
1  00:02:A5:CC:9C:20  slave02.pccluster.org
2  00:02:A5:DD:38:0B  slave03.pccluster.org
3  00:02:A5:FC:DF:42  slave04.pccluster.org
4  00:02:A5:FC:DF:4C  slave05.pccluster.org
5  00:02:A5:CC:9C:26  slave06.pccluster.org
6  00:02:A5:CC:9E:9C  slave07.pccluster.org
7  00:02:A5:DD:38:9D  slave08.pccluster.org
8  00:02:A5:DD:38:C6  slave09.pccluster.org
9  00:02:A5:DD:38:BB  slave10.pccluster.org
10 00:02:A5:CC:9C:19  slave11.pccluster.org
11 00:02:A5:AC:DF:AD  slave12.pccluster.org
12 00:02:A5:CC:9C:85  slave13.pccluster.org
13 00:02:A5:DD:38:C9  slave14.pccluster.org
14 00:02:A5:FC:DF:4A  slave15.pccluster.org
15 00:02:A5:CC:9C:2C  slave16.pccluster.org
16 00:02:A5:DD:38:CB  slave17.pccluster.org
17 00:02:A5:CC:A2:6B  slave18.pccluster.org
18 00:02:A5:DD:37:CF  slave19.pccluster.org
19 00:02:A5:CC:9C:78  slave20.pccluster.org
20 00:02:A5:7F:4C:61  slave21.pccluster.org
21 00:02:A5:DD:38:99  slave22.pccluster.org
22 00:02:A5:CC:9C:02  slave23.pccluster.org
23 00:02:A5:CC:9C:88  slave24.pccluster.org
24 00:02:A5:DD:38:CD  slave25.pccluster.org
25 00:02:A5:CC:9C:35  slave26.pccluster.org
26 00:02:A5:DD:37:F2  slave27.pccluster.org
27 00:02:A5:DD:38:92  slave28.pccluster.org
28 00:02:A5:CC:9C:25  slave29.pccluster.org
29 00:02:A5:CC:9C:72  slave30.pccluster.org
30 00:02:A5:CC:9C:10  slave31.pccluster.org
31 00:02:A5:CC:9C:68  slave32.pccluster.org


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