Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - io-pkt not working on tsec1-3 ppc8548cds ethernet ports: (5 Items)
   
io-pkt not working on tsec1-3 ppc8548cds ethernet ports  
Greetings,

I am using the 8548cds bsp and I am having trouble using multiple ethernet ports with the devnp-mpc85xx io-pkt driver.

I have verified that all 4 ports work using io-net and the devn-mpc85xx driver provided with the bsp.

The command line that I am using to launch io-pkt is:

io-pkt-v4-hc -dmpc85xx -dmpcsec verbose=2 -ptcpip ipsec
waitfor /dev/socket 10
ifconfig tsec0 10.4.255.250 netmask 255.254.0.0
ifconfig tsec1 10.4.255.251 netmask 255.254.0.0
ifconfig tsec2 10.4.255.252 netmask 255.254.0.0
ifconfig tsec3 10.4.255.253 netmask 255.254.0.0

Using this scenario, tsec0 may always be pinged. The other 3 will not. When I was using io-net, my command line was:

io-net -dmpc85xx mac=001100111111,verbose -ptcpip
waitfor /dev/socket 15
ifconfig en0 10.4.255.250 netmask 255.254.0.0
ifconfig en1 10.4.255.251 netmask 255.254.0.0
ifconfig en2 10.4.255.252 netmask 255.254.0.0
ifconfig en3 10.4.255.253 netmask 255.254.0.0

I was wondering if anyone has had success using all 4 ethernet ports with io-pkt?? Many thanks in advance.
RE: io-pkt not working on tsec1-3 ppc8548cds ethernet ports  
Hi Hayder:

   I've certainly used at least two of the ports (can't remember if I've
tried all four and I'm not at my desk today).  I noticed that you didn't
provide a MAC address to the io-pkt command line.  Can you try adding a MAC
address option as you did with io-net and see what happens?

You can also try "sloginfo" to see what the stack is doing with the drivers.
nicinfo will give you driver statistics which can be quite useful for
debugging.

	Robert.

-----Original Message-----
From: Hayder Mouhammed [mailto:hayder.mouhammed@emerson.com] 
Sent: Friday, April 25, 2008 12:35 PM
To: technology-networking
Subject: io-pkt not working on tsec1-3 ppc8548cds ethernet ports

Greetings,

I am using the 8548cds bsp and I am having trouble using multiple ethernet
ports with the devnp-mpc85xx io-pkt driver.

I have verified that all 4 ports work using io-net and the devn-mpc85xx
driver provided with the bsp.

The command line that I am using to launch io-pkt is:

io-pkt-v4-hc -dmpc85xx -dmpcsec verbose=2 -ptcpip ipsec
waitfor /dev/socket 10
ifconfig tsec0 10.4.255.250 netmask 255.254.0.0
ifconfig tsec1 10.4.255.251 netmask 255.254.0.0
ifconfig tsec2 10.4.255.252 netmask 255.254.0.0
ifconfig tsec3 10.4.255.253 netmask 255.254.0.0

Using this scenario, tsec0 may always be pinged. The other 3 will not. When
I was using io-net, my command line was:

io-net -dmpc85xx mac=001100111111,verbose -ptcpip
waitfor /dev/socket 15
ifconfig en0 10.4.255.250 netmask 255.254.0.0
ifconfig en1 10.4.255.251 netmask 255.254.0.0
ifconfig en2 10.4.255.252 netmask 255.254.0.0
ifconfig en3 10.4.255.253 netmask 255.254.0.0

I was wondering if anyone has had success using all 4 ethernet ports with
io-pkt?? Many thanks in advance.

_______________________________________________
Technology
http://community.qnx.com/sf/go/post7317
RE: io-pkt not working on tsec1-3 ppc8548cds ethernet ports  
> You can also try "sloginfo"

For these kinds of initialization problems, crank
the verbosity WAY up (eg "verbose=100") and see
what pops out of the sloginfo.

--
aboyd
RE: io-pkt not working on tsec1-3 ppc8548cds ethernet ports  
Someone else just pointed out (I missed it) that you have all four
interfaces on the same subnet.  This is, to say the least, unusual and you
will get unusual behaviour from it (e.g. all packets will be transmitted out
of the first interface which is tsec0).  I'm surprised that io-net works
given that it will exhibit the same behaviour.

Each interface has to be on a separate subnet for "expected" behaviour to
occur.

   Robert

-----Original Message-----
From: Hayder Mouhammed [mailto:hayder.mouhammed@emerson.com] 
Sent: Friday, April 25, 2008 12:35 PM
To: technology-networking
Subject: io-pkt not working on tsec1-3 ppc8548cds ethernet ports

Greetings,

I am using the 8548cds bsp and I am having trouble using multiple ethernet
ports with the devnp-mpc85xx io-pkt driver.

I have verified that all 4 ports work using io-net and the devn-mpc85xx
driver provided with the bsp.

The command line that I am using to launch io-pkt is:

io-pkt-v4-hc -dmpc85xx -dmpcsec verbose=2 -ptcpip ipsec
waitfor /dev/socket 10
ifconfig tsec0 10.4.255.250 netmask 255.254.0.0
ifconfig tsec1 10.4.255.251 netmask 255.254.0.0
ifconfig tsec2 10.4.255.252 netmask 255.254.0.0
ifconfig tsec3 10.4.255.253 netmask 255.254.0.0

Using this scenario, tsec0 may always be pinged. The other 3 will not. When
I was using io-net, my command line was:

io-net -dmpc85xx mac=001100111111,verbose -ptcpip
waitfor /dev/socket 15
ifconfig en0 10.4.255.250 netmask 255.254.0.0
ifconfig en1 10.4.255.251 netmask 255.254.0.0
ifconfig en2 10.4.255.252 netmask 255.254.0.0
ifconfig en3 10.4.255.253 netmask 255.254.0.0

I was wondering if anyone has had success using all 4 ethernet ports with
io-pkt?? Many thanks in advance.

_______________________________________________
Technology
http://community.qnx.com/sf/go/post7317
Re: RE: io-pkt not working on tsec1-3 ppc8548cds ethernet ports  
That was the problem, it is odd that io-net let me do it. I was trying to slap something together to see if they worked!
 Thanks again!!