Thanks John, Jason, Bob and Marc!  I finally make the 10gbe work with your
help!  I'd like to share my learning curve on this topic for people who is
as non-experienced as me:

1) the 10gbe network interface is set up by tag_start() in python corr
module. No network configuration need to be done in the linux terminal.

2) Once the tap is started,  the eth interface will be shown in the
terminal with 'ifconfig -a'.

3) Don't worry if the the mac id of the interface is shown as
00-00-00-00-00-00... ,and the MUT is 1500. Just ignore them, as long as the
ip address is shown correctly.

4) print_10_gbe_core_details() could show the the mac id  and ip address if
you'd like to check.

5) put the 10gbe ip addresses of roach and your PC in one subnet. That's
10.0.0.x for roach and 10.0.0.y for PC. (x, y are different integers)

6) Be sure to set the MTU (Maximum Transmission Unit) of the PC 10gbe port
to the number larger than the package size in your design.  The package
size of mine is 4096 bytes, so the MTU is set to 9000. (That's why I
couldn't make the network work).  This topic also mentioned it (a helpful
reference in term of network problem):
http://www.mail-archive.com/[email protected]/msg03622.html

7) I think the initial fabric ip address and port in the yellow block
wouldn't affect much if they are different with the ip and port you
specified with tap_start().

8) Also checked the most of the output ports of the ten_gbe_v2 block with
software registers. I feel they are not very helpful, except telling me
data is not transmitting, which I already know.  To save time, I would
suggest start network diagnose first.

Maybe there are some inappropriate comments above, and you are welcome to
correct them.  Hope it helps for other people.

So far, I have made roach2 work basically.  Here is the pic of spectrum of
seattle taken with roach2! Enjoy! Thanks, my Casparians!



Weiwei

Radar Remote Sensing Lab,
Department of Electrical Engineering,
University of Washington




On Mon, Dec 30, 2013 at 11:59 PM, Jason Manley <[email protected]> wrote:

> Thanks Marc! Sorry, thought he was on a ROACH-1... Weiwei, forget about my
> upgrade advice!
>
> Jason
>
>
> On 31 Dec 2013, at 09:56 , Marc Welz wrote:
>
> >> One other thing to note is that you need to update tgtap and
> tcpborphserver on older filesystems (which I think Mo is still shipping
> with new boards; came across this again the other day). But normally in
> this case, tgtap fails to start properly at all. You can also try ssh into
> the roach and do a "ps ax" to see if tgtap is actually running.
> >
> > So for the recent tcpborphservers (tcpborphserver3) there isn't a
> > seperate tgtap process, use
> > the ?tap-info request to see the status of the tap devices. If that is
> > up, then ifconfig should also list the newly created interfaces
> >
> > regards
> >
> > marc
>
>

<<attachment: Spectrum_of_Seattle.png>>

Reply via email to