1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 <2018> 2019 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 <2018> 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Installation of RTEMS and EPICS on MVME6100 |
From: | 유진성 <[email protected]> |
To: | <[email protected]> |
Cc: | 이충산 <[email protected]> |
Date: | Fri, 25 May 2018 16:03:57 +0900 (KST) |
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
=========================================