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  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: RTEMS-beatnik(MVME6100) network initialize error?
From: Feng Laurence <[email protected]>
To: 문건영 <[email protected]>
Cc: [email protected]
Date: Thu, 7 Mar 2013 23:40:26 +0800
Hi,
I meet the same problem here. I guess there may be some thing wrong
with RTEMS-beatnik's network driver, that it does not work in 1000Mbps
mode. The only workaround I found is to manually limit the Ethernet
interface to 100Mpbs mode in switch/router.

On Thu, Mar 7, 2013 at 2:56 PM, 문건영 <[email protected]> wrote:
> Hi all.
>
>
>
> I tried to run EPICS ioc in RTEMS-beatnik(MVME6100), I got the following
> error message
>
> ***** Initializing network *****
>
> Startup.
>
> Link detected; attaching mve1
>
> ***** Initializing NFS *****
>
> Mount 192.168.100.4:/var/lib/tftpboot on /home
>
> 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.100.4' not responding - still trying
>
> RPCIO: server '192.168.100.4' not responding - still trying
>
> RPCIO: server '192.168.100.4' not responding - still trying
>
> Unable to contact NFS server - invalid port? (RPC: Timed out)
>
> mount failed: Unknown protocol
>
>
>
> development environment
>
> Epics base: 3.14.12.3
>
> Rtems: 4.10.2
>
> Os : centos 6.3 final
>
>
>
> NFS Mount test to NFS server from Remote host was successful. But, mvme6100
> was not.
>
> First of all, ping test failed from remote host to mvme6100.
>
> Please help me.
>
>
>
> As an another problem, mvme6100 have two Ethernet port,
>
> I want know how to set up in the rtems_netconfig.c
>
>
>
> Below the mvme6100 gevShow, boot process, the epics netstat log.
>
>
>
>
>
> Thanks you for your help.
>
> Regards.
>
> Mr. Mun.
>
>
>
> MVME6100> gevShow
>
> mot-script-boot
>
> tftpGet -c192.168.100.180 -s192.168.100.4 -m255.255.255.0 -d/dev/enet0
> -ftest.boot
>
> netShut
>
> go
>
>
>
> mot-/dev/enet0-cipa=192.168.100.180
>
> mot-/dev/enet0-sipa=192.168.100.4
>
> mot-/dev/enet0-snma=255.255.255.0
>
> epics-ntpserver=192.168.100.4
>
> epics-nfsmount=192.168.100.4:/var/lib/tftpboot:/home
>
> rtems-client-name=testIoc
>
> rtems-dns-server=192.168.100.4
>
> mot-/dev/enet0-file=test.boot
>
> Total Number of GE Variables =9, Bytes Utilized =385, Bytes Free =3207
>
>
>
> 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   =40000000 (&1073741824)
>
> User Download Buffer =006B7000:008B6FFF
>
>
>
> MVME6100> tftpGet -c192.168.100.180 -s192.168.100.4 -m255.255.255.0
> -d/dev/enet0 -ftest.boot
>
> Network Loading from: /dev/enet0
>
> Loading File: test.boot
>
> Load Address: 006B7000
>
> Download Buffer Size = 00200000
>
>
>
> Client IP Address      = 192.168.100.180
>
> Server IP Address      = 192.168.100.4
>
> Gateway IP Address     = 192.168.100.253
>
> Subnet IP Address Mask = 255.255.255.0
>
>
>
> Network File Load in Progress...
>
>
>
> Bytes Received =&1710608, Bytes Loaded =&1710608
>
> Bytes/Second   =&855304, Elapsed Time =2 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-0173 (S/N E0F85A0)
>
> Bus Clock Freq:   133333333 Hz
>
> CPU Clock Freq:  1266666654 Hz
>
> Memory:          1073741824 bytes
>
> -----------------------------------------
>
> Now BSP_mem_size = 0x3FC00000
>
> 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 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 0x3FC00000 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)
>
>
>
> ***** Initializing network *****
>
> Startup.
>
> Link detected; attaching mve1
>
> ***** Initializing NFS *****
>
> Mount 192.168.100.4:/var/lib/tftpboot on /home
>
> 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.100.4' not responding - still trying
>
> RPCIO: server '192.168.100.4' not responding - still trying
>
> RPCIO: server '192.168.100.4' 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 *****
>
> testIoc>
>
>
>
> testIoc> netstat
>
> ************ INTERFACE STATISTICS ************
>
> ***** mve1 *****
>
> Ethernet Address: EC:9E:CD:09:72:85
>
> Address:192.168.100.180 Broadcast Address:192.168.100.255 Net
> mask:255.255.255.0
>
> Flags: Up Broadcast Running Simplex Multicast
>
> Send queue limit:50   length:0    Dropped:0
>
> mve1 Statistics:
>
>   # IRQS:                 7
>
>   Max. mbuf chain length: 1
>
>   # repacketed:           0
>
>   # packets:              7
>
> MIB Counters:
>
>   GOOD_OCTS_RCVD:      0
>
>   BAD_OCTS_RCVD:       229348
>
>   INTERNAL_MAC_TX_ERR: 0
>
>   GOOD_FRAMES_RCVD:    0
>
>   BAD_FRAMES_RCVD:     14
>
>   BCAST_FRAMES_RCVD:   0
>
>   MCAST_FRAMES_RCVD:   0
>
>   FRAMES_64_OCTS:      7
>
>   FRAMES_65_127_OCTS:  0
>
>  FRAMES_128_255_OCTS: 0
>
>   FRAMES_256_511_OCTS: 0
>
>   FRAMES_512_1023_OCTS:0
>
>   FRAMES_1024_MAX_OCTS:0
>
>   GOOD_OCTS_SENT:      448
>
>   GOOD_FRAMES_SENT:    7
>
>   EXCESSIVE_COLL:      0
>
>   MCAST_FRAMES_SENT:   0
>
>   BCAST_FRAMES_SENT:   7
>
>   UNREC_MAC_CTRL_RCVD: 0
>
>   FC_SENT:             0
>
>   GOOD_FC_RCVD:        0
>
>   BAD_FC_RCVD:         0
>
>   UNDERSIZE_RCVD:      0
>
>   FRAGMENTS_RCVD:      14
>
>   OVERSIZE_RCVD:       0
>
>   JABBER_RCVD:         0
>
>   MAC_RX_ERR:          0
>
>   BAD_CRC_EVENT:       0
>
>   COLL:                0
>
>   LATE_COLL:           0
>
>
>
> ***** 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
>
>
>
> ************ MBUF STATISTICS ************
>
> mbufs:16384    clusters:2560    free:2520
>
> drops:   0       waits:   0  drains:   0
>
>       free:16342         data:42          header:0           socket:0
>
>        pcb:0           rtable:0           htable:0           atable:0
>
>     soname:0           soopts:0           ftable:0           rights:0
>
>     ifaddr:0          control:0          oobdata:0
>
>
>
> testIoc>
>
>



-- 
Laurence Feng
Superconducting Radio Frequency Group
State Key Laboratory of Nuclear Physics and Technology
Peking University, 302 Chengfu Road
Beijing 100871 China


Replies:
Re: RTEMS-beatnik(MVME6100) network initialize error? Till Straumann
References:
RTEMS-beatnik(MVME6100) network initialize error? 문건영

Navigate by Date:
Prev: RE: CSS Boy - creating OPI files with parameters Chen, Xihui
Next: Re: RTEMS-beatnik(MVME6100) network initialize error? Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: RTEMS-beatnik(MVME6100) network initialize error? Till Straumann
Next: Re: RTEMS-beatnik(MVME6100) network initialize error? Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·