EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Installation of RTEMS and EPICS on MVME6100
From: Heinz Junkes <[email protected]>
To: 유진성 <[email protected]>
Cc: 이충산 <[email protected]>, [email protected]
Date: Sat, 26 May 2018 17:43:04 +0200
I’m running RTEMS5 with EPICS7 booting looks like that ( use bootp)

(! Server name is [email protected]:/export/epics )

...
Copyright(C)2008-2009,Emerson Network Power-Embedded Computing,Inc.
All Rights Reserved
Copyright Motorola Inc. 1999-2007, All Rights Reserved
MOTLoad RTOS Version 2.0,  PAL Version 2.3 RM01
Fri Jan 23 14:47:54 MST 2009

MPU-Type             =MPC74x7
MPU-Int Clock Speed  =1266MHz
MPU-Ext Clock Speed  =133MHz
MPU-Int Cache(L2) Enabled, 512KB, L2CR =C0000000
MPU-Ext Cache(L3) Enabled, 2MB, 211MHz, L3CR =DC026000

PCI bus instance 0   =64 bit, 133 Mhz, PCI-X
PCI bus instance 1   =64 bit, PCI

Reset/Boot Vector    =Flash1

Local Memory Found   =20000000 (&536870912)
User Download Buffer =006B7000:008B6FFF

MVME6100> tftpGet -c141.14.128.53 -s141.14.133.59 -m255.255.240.0 -a04000000 -fcry-test.boot
Network Loading from: /dev/enet0
Loading File: cry-test.boot
Load Address: 04000000
Download Buffer Size = User Defined

Client IP Address      = 141.14.128.53
Server IP Address      = 141.14.133.59
Gateway IP Address     = 141.14.128.253
Subnet IP Address Mask = 255.255.240.0

Network File Load in Progress...

Bytes Received =&4914608, Bytes Loaded =&4914608
Bytes/Second   =&2457304, Elapsed Time =2 Second(s)
MVME6100> waitProbe
System I/O Probe Complete
MVME6100> netShut
/dev/enet0         -----------------------------------------
config addr is 0xf1000cf8
config data is 0xf1000cfc
Welcome to RTEMS rtems-5.0.0 (PowerPC/Generic (classic FPU)/beatnik)
CPU: MPC7457
Board Type: MVME6100-0163 (S/N E11A4B3)
Bus Clock Freq:   133333333 Hz
CPU Clock Freq:  1266666654 Hz
Memory:           536870912 bytes
-----------------------------------------
Now BSP_mem_size = 0x1fe00000
Configuration.work_space_size = 2304980
Page table setup finished; will activate it NOW...
Going to start PCI buses scanning and initialization
Number of PCI buses found is : 3
MSR 0x2003032
Exit from bspstart
unable to find the universe in pci config space
Tundra Tsi148 PCI-VME bridge detected at 0x81100000, IRQ 84
Tsi148 Outbound Ports:
Port  VME-Addr   Size       PCI-Adrs   Mode:
0:    0x20000000 0x0e000000 0x90000000 A32, SUP, D32, SCT
1:    0x00000000 0x00ff0000 0x9f000000 A24, SUP, D32, SCT
2:    0x00000000 0x00010000 0x9fff0000 A16, SUP, D32, SCT
7:    0x00000000 0x01000000 0x9e000000 CSR, SUP, D32, SCT
Tsi148 Inbound Ports:
Port  VME-Addr   Size       PCI-Adrs   Mode:
0:    0x90000000 0x1fe00000 0x00000000 A32, PGM, DAT, SUP, USR, MBLT, BLT
vmeTsi148 IRQ manager: looking for registers on VME...
Trying to find CSR on VME...
vmeTsi148 - IRQ manager using VME CSR to flush FIFO
Registering /dev/console as minor 0 (==/dev/ttyS0)
BSP doesn't implement non-volatile memory.

***** RTEMS Version: rtems-5.0.0 (PowerPC/Generic (classic FPU)/beatnik) *****
Startup.

***** Initializing network *****
Link detected; attaching mve1
bootpc_init: using network interface 'mve1'
bootpc hw address is ec:9e:cd:10:18:82
My ip address is 141 .14 .128 .12
Domain Name Server is 141 .14 .128 .1
Hostname is gonzo
Ignoring BOOTP/DHCP option code 28
Time Server is 141 .14 .142 .121
Domain name is rz-berlin.mpg.de
Server name is [email protected]:/export/epics
Boot file is /export/epics/cry-test/bin/RTEMS-beatnik/cry-test
Command line is /export/epics/cry-test/iocBoot/ioccry-test/st.cmd
Subnet mask is 255 .255 .240 .0
Server ip address is 141 .14 .128 .1
Gateway ip address is 141 .14 .128 .128
Log server ip address is 141 .14 .128 .1

***** Setting up file system *****
bootFileName: /export/epics/cry-test/bin/RTEMS-beatnik/cry-test
***** Initializing TFTP *****
***** Initializing NFS *****
RTEMS-RPCIOD, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
RTEMS-NFS, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
nfsMount("[email protected]", "/export/epics", "/export/epics") -> 0
************ INTERFACE STATISTICS ************
***** lo0 *****
Address:127.0.0.1       Net mask:255.0.0.0
Flags: Up Loopback Running Multicast
Send queue limit:50   length:0    Dropped:0
***** mve1 *****
Ethernet Address: EC:9E:CD:10:18:82
Address:141.14.128.12   Broadcast Address:141.14.143.255  Net mask:255.255.240.0
…


Heinz
------------------------------------------------------------------------------
Fritz-Haber-Institut    | Phone:         (+49 30) 8413-4270
Heinz Junkes             | Fax (G3+G4):   (+49 30) 8413-5900
Faradayweg 4-6        | 
D - 14195 Berlin        | E-Mail:        [email protected]
------------------------------------------------------------------------------

> On 25. May 2018, at 09:03, 유진성 <[email protected]> wrote:
> 
> I have some questions about configuration of MVME6100.
> 
> 
> 
> My purpose is to run EPICS IOC on VME-EVR-230, VME-EVG-230 and MVME6100.
> 
> 
> 
> When I try to download RTEMS boot file from server to MVME6100, there is an error message for 'nfsMount' on MVME6100 side.
> 
> (I got these messages via Debug port on MVME6100), And then nfs client didn't mount to nfs server.
> 
> 
> 
> I don't know what problem is.
> 
> Is anyone check my log and environments what trouble is?
> 
> 
> 
> my log and environments are below:
> 
> 
> 
> ==hardware==
> 
> 1) MVME6100
> 
> 2) VME-EVR-230
> 
> 3) VME-EVG-230
> 
> 
> 
> ==software===
> 
> 1) Scientific Linux 6.5 (server)
> 
> 2) EPICS: R3.14.12 (server)
> 
> 3) RTEMS: 4.10.2 (server)
> 
> 4) BSP: beatnik (server)
> 
> 
> 
> 1. boot log on MVME6100
> 
> ========== boot log on MVME6100 ==========
> 
> 
> 
> Copyright(C)2008-2009,Emerson Network Power-Embedded Computing,Inc.
> 
> 
> 
> All Rights Reserved
> 
> 
> 
> Copyright Motorola Inc. 1999-2007, All Rights Reserved
> 
> 
> 
> MOTLoad RTOS Version 2.0,  PAL Version 2.3 RM01
> 
> 
> 
> Fri Jan 23 14:47:54 MST 2009
> 
> 
> 
>  
> 
> 
> MPU-Type             =MPC74x7
> 
> 
> 
> MPU-Int Clock Speed  =1266MHz
> 
> 
> 
> MPU-Ext Clock Speed  =133MHz
> 
> 
> 
> MPU-Int Cache(L2) Enabled, 512KB, L2CR =C0000000
> 
> 
> 
> MPU-Ext Cache(L3) Enabled, 2MB, 211MHz, L3CR =DC026300
> 
> 
> 
>  
> 
> 
> PCI bus instance 0   =64 bit, 133 Mhz, PCI-X
> 
> 
> 
> PCI bus instance 1   =64 bit, PCI
> 
> 
> 
>  
> 
> 
> Reset/Boot Vector    =Flash1
> 
> 
> 
>  
> 
> 
> Local Memory Found   =80000000 (&2147483648)
> 
> 
> 
> User Download Buffer =006B7000:008B6FFF
> 
> 
> 
>  
> 
> 
> MVME6100> tftpget -s192.168.2.229 -c192.168.2.240 -fepics/demo/bin/RTEMS-beatnik/test.boot
> 
> 
> 
> Network Loading from: /dev/enet0
> 
> 
> 
> Loading File: epics/demo/bin/RTEMS-beatnik/test.boot
> 
> 
> 
> Load Address: 006B7000
> 
> 
> 
> Download Buffer Size = 00200000
> 
> 
> 
>  
> 
> 
> Client IP Address      = 192.168.2.240
> 
> 
> 
> Server IP Address      = 192.168.2.229
> 
> 
> 
> Gateway IP Address     = 192.168.0.1
> 
> 
> 
> Subnet IP Address Mask = 255.255.252.0
> 
> 
> 
>  
> 
> 
> Network File Load in Progress...
> 
> 
> 
>  
> 
> 
> Bytes Received =&1706484, Bytes Loaded =&1706484
> 
> 
> 
> Bytes/Second   =&1706484, Elapsed Time =1 Second(s)
> 
> 
> 
> MVME6100>-----------------------------------------
> 
> 
> 
> config addr is 0xF1000CF8
> 
> 
> 
> config data is 0xF1000CFC
> 
> 
> 
> Welcome to RTEMS rtems-4.10.2(PowerPC/Generic (classic FPU)/beatnik)
> 
> 
> 
> CPU: MPC7457
> 
> 
> 
> Board Type: MVME6100-2173 (S/N E183652)
> 
> 
> 
> Bus Clock Freq:   133333333 Hz
> 
> 
> 
> CPU Clock Freq:  1266666654 Hz
> 
> 
> 
> Memory:          2147483648 bytes
> 
> 
> 
> -----------------------------------------
> 
> 
> 
> Now BSP_mem_size = 0x7F800000
> 
> 
> 
> Configuration.work_space_size = A4D10
> 
> 
> 
> Page table setup finished; will activate it NOW...
> 
> 
> 
> Going to start PCI buses scanning and initialization
> 
> 
> 
> Number of PCI buses found is : 3
> 
> 
> 
> MSR 2003032
> 
> 
> 
> Exit from bspstart
> 
> 
> 
> unable to find the universe in pci config space
> 
> 
> 
> Tundra Tsi148 PCI-VME bridge detected at 0x81100000, IRQ 84
> 
> 
> 
> Tsi148 Inbound Port Cfg: invalid address/length; must be < 1<<32
> 
> 
> 
> Tsi148 Outbound Ports:
> 
> 
> 
> Port  VME-Addr   Size       PCI-Adrs   Mode:
> 
> 
> 
> 0:    0x20000000 0x0E000000 0x90000000 A32, SUP, D32, SCT
> 
> 
> 
> 1:    0x00000000 0x00FF0000 0x9F000000 A24, SUP, D32, SCT
> 
> 
> 
> 2:    0x00000000 0x00010000 0x9FFF0000 A16, SUP, D32, SCT
> 
> 
> 
> 7:    0x00000000 0x01000000 0x9E000000 CSR, SUP, D32, SCT
> 
> 
> 
> Tsi148 Inbound Ports:
> 
> 
> 
> vmeTsi148 IRQ manager: looking for registers on VME...
> 
> 
> 
> Trying to find CSR on VME...
> 
> 
> 
> vmeTsi148 - IRQ manager using VME CSR to flush FIFO
> 
> 
> 
> Registering /dev/console as minor 0 (==/dev/ttyS0)
> 
> 
> 
>  
> 
> 
> ***** Initializing network *****
> 
> 
> 
> Startup.
> 
> 
> 
> Link detected; attaching mve1
> 
> 
> 
> ***** Initializing NFS *****
> 
> 
> 
> Mount 192.168.2.229:/usr/local/epics on /usr/local/epics
> 
> 
> 
> RTEMS-RPCIOD $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
> 
> 
> 
> RTEMS-NFS $Release$, Till Straumann, Stanford/SLAC/SSRL 2002, See LICENSE file for licensing info.
> 
> 
> 
> RPCIO: server '192.168.2.229' not responding - still trying
> 
> 
> 
> RPCIO: server '192.168.2.229' not responding - still trying
> 
> 
> 
> RPCIO: server '192.168.2.229' not responding - still trying
> 
> 
> 
> Unable to contact NFS server - invalid port? (RPC: Timed out)
> 
> 
> 
> mount failed: Unknown protocol
> 
> 
> 
> rtems_bsdnet_get_ntp() Can't send: Host is down
> 
> 
> 
> rtems_bsdnet_get_ntp() Can't send: Host is down
> 
> 
> 
> ***** Starting EPICS application *****
> 
> 
> 
> Can't open /home: No such file or directory
> 
> 
> 
> ============================================
> 
> 
> 
> 2.gevshow commend on MOTload
> 
> ============= gev show =============
> 
> MVME6100> gevshow
> 
> 
> 
> mot-/dev/enet0-cipa=192.168.2.240
> 
> 
> 
> mot-/dev/enet0-sipa=192.168.2.229
> 
> 
> 
> mot-/dev/enet0-snma=255.255.252.0
> 
> 
> 
> rtems-client-name=BNCT_TIMING
> 
> 
> 
> epics-script=/home
> 
> 
> 
> mot-/dev/enet0-gipa=192.168.0.1
> 
> 
> 
> mot-script-boot
> 
> 
> 
> tftpget -s192.168.2.229 -c192.168.2.240 -fepics/demo/bin/RTEMS-beatnik/test.boot
> 
> 
> 
> netShut
> 
> 
> 
> go
> 
> 
> 
>  
> 
> 
> rtems-dns-server=1.1.1.1
> 
> 
> 
> mot-/dev/enet0-file=epics/demo/bin/RTEMS-beatnik/test.boot
> 
> 
> 
> epics-nfsmount=192.168.2.229:/usr/local/epics:/usr/local/epics
> 
> 
> 
> Total Number of GE Variables =10, Bytes Utilized =439, Bytes Free =3153
> 
> ===============================================================
> 
>  
> 
> 
> 
> 
> 3. Information on nfs server side
> 
> ====================================
> 
> [root@localhost local]# rpcinfo -p 192.168.2.229
> 
> 
> 
>    program vers proto   port  service
> 
> 
> 
>     100000    4   tcp    111  portmapper
> 
> 
> 
>     100000    3   tcp    111  portmapper
> 
> 
> 
>     100000    2   tcp    111  portmapper
> 
> 
> 
>     100000    4   udp    111  portmapper
> 
> 
> 
>     100000    3   udp    111  portmapper
> 
> 
> 
>     100000    2   udp    111  portmapper
> 
> 
> 
>     100011    1   udp    875  rquotad
> 
> 
> 
>     100011    2   udp    875  rquotad
> 
> 
> 
>     100011    1   tcp    875  rquotad
> 
> 
> 
>     100011    2   tcp    875  rquotad
> 
> 
> 
>     100005    1   udp  34798  mountd
> 
> 
> 
>     100005    1   tcp  40401  mountd
> 
> 
> 
>     100005    2   udp  53440  mountd
> 
> 
> 
>     100005    2   tcp  54014  mountd
> 
> 
> 
>     100005    3   udp  35346  mountd
> 
> 
> 
>     100005    3   tcp  49462  mountd
> 
> 
> 
>     100003    2   tcp   2049  nfs
> 
> 
> 
>     100003    3   tcp   2049  nfs
> 
> 
> 
>     100003    4   tcp   2049  nfs
> 
> 
> 
>     100227    2   tcp   2049  nfs_acl
> 
> 
> 
>     100227    3   tcp   2049  nfs_acl
> 
> 
> 
>     100003    2   udp   2049  nfs
> 
> 
> 
>     100003    3   udp   2049  nfs
> 
> 
> 
>     100003    4   udp   2049  nfs
> 
> 
> 
>     100227    2   udp   2049  nfs_acl
> 
> 
> 
>     100227    3   udp   2049  nfs_acl
> 
> 
> 
>     100021    1   udp  42432  nlockmgr
> 
> 
> 
>     100021    3   udp  42432  nlockmgr
> 
> 
> 
>     100021    4   udp  42432  nlockmgr
> 
> 
> 
>     100021    1   tcp   4001  nlockmgr
> 
> 
> 
>     100021    3   tcp   4001  nlockmgr
> 
> 
> 
>     100021    4   tcp   4001  nlockmgr
> 
> 
> 
>  
> 
> 
> [root@localhost local]# ifconfig
> 
> 
> 
> p3p1      Link encap:Ethernet  HWaddr B4:96:91:04:2A:DD
> 
> 
> 
>           inet addr:192.168.2.229  Bcast:192.168.3.255  Mask:255.255.252.0
> 
> 
> 
>           inet6 addr: fe80::b696:91ff:fe04:2add/64 Scope:Link
> 
> 
> 
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> 
> 
> 
>           RX packets:3416123 errors:0 dropped:0 overruns:0 frame:0
> 
> 
> 
>           TX packets:784304 errors:0 dropped:0 overruns:0 carrier:0
> 
> 
> 
>           collisions:0 txqueuelen:1000
> 
> 
> 
>           RX bytes:396950516 (378.5 MiB)  TX bytes:462271580 (440.8 MiB)
> 
> 
> 
>           Memory:f7600000-f7700000
> 
> 
> 
>  
> 
> 
> [root@localhost local]# vi /etc/exports
> 
> 
> 
> /usr/local/epics        *(ro,all_squash,no_subtree_check,async)
> 
> 
> 
> /usr/local/eldk/eldk/ppc_74xx   *(rw,sync,no_root_squash,secure)
> 
> 
> 
> /tftpboot/epics *(ro,sync)
> 
> 
> 
>  
> 
> 
> [root@localhost local]# vi /etc/sysconfig/nfs
> 
> 
> 
> #
> 
> 
> 
> # Define which protocol versions mountd
> 
> 
> 
> # will advertise. The values are "no" or "yes"
> 
> 
> 
> # with yes being the default
> 
> 
> 
> MOUNTD_NFS_V2="yes"
> 
> 
> 
> #MOUNTD_NFS_V3="yes"
> 
> ....
> 
> ...
> 
>  
> 
> 
> [root@localhost local]# uname -a
> 
> 
> 
> Linux localhost.localdomain 2.6.32-431.el6.i686 #1 SMP Thu Nov 21 13:48:12 CST 2013 i686 i686 i386 GNU/Linux
> 
> =========================================
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


References:
Installation of RTEMS and EPICS on MVME6100 유진성

Navigate by Date:
Prev: Open .opi filenames with spaces from command line? J. Lewis Muir
Next: Re: VME configuration : MVME6100 can not map slot x to CR/CSR Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Installation of RTEMS and EPICS on MVME6100 유진성
Next: RE: Re: Installation of RTEMS and EPICS on MVME6100 유진성
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 28 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·