Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - io-pkt-v4-hc hang...: Page 1 of 6 (6 Items)
   
io-pkt-v4-hc hang...  
Hi.

The platform which I’d like to use io-pkt-v4-hc on is Lite5200b.
My goal is to make the platform working as an Access Point connecting wireless clients to the server on the other side.

laptop A(Server) <-> ethernet <-> MPC5200B <-> wireless <-> laptop B(Client)

I built a binary from the latest version of source code(ver. 409) and didn’t see any problem up to the point.
io-pkt and related network driver(mpc5200) have been successfully loaded using the script as attached below.
 
When I perform UDP test by running “iperf” on both laptop A and B as a server and client respectively to get an idea 
of network bandwidth, the problem comes up. At the beginning, the UDP test seems alright, but it couldn’t last any 
longer than 1000sec. When the test is interrupted, the error message shows up and io-pkt-v4-hc is unloaded automatically
. After this happens, io-pkt-v4-hc can be loaded again manually by command.

Process 8204 (io-pkt-v4-hc) terminated SIGSEGV code=1 fltno=11 ip=480d467c ref=00000000

In either case of performing TCP test using the same tool “iperf” or replacing the Ethernet connection between laptop 
A and MPC5200B with wireless connection, the error that I described above doesn’t occur. 

The following is the script that I use for running io-pkt-v4-hc

io-pkt-v4-hc random -dath -dmpc5200 mac=001122334455 -ptcpip
waitfor /dev/io-net/en0 10
ifconfig en0 192.168.1.222 netmask 255.255.255.0 up     // ethernet
ifconfig ath0 192.168.0.111 netmask 255.255.255.0 up    // artheros ar5413 wireless lan
ifconfig ath0 media OFDM54 mode 11g mediaopt hostap chan 1
ifconfig ath0 ssid MGT5200
sysctl -w net.inet.ip.forwarding=1

Thanks & Regards

 -------------------------------------------------------------------
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid MGT5200 apbridge
        powersave off
        bssid 00:03:7f:07:84:bc chan 1
        address: 00:03:7f:07:84:bc
        media: IEEE802.11 OFDM54 mode 11g hostap
        status: active
        inet 192.168.0.111 netmask 0xffffff00 broadcast 192.168.0.255
en0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:11:22:33:44:44
        inet 192.168.1.222 netmask 0xffffff00 broadcast 192.168.1.255
#
#
# pidin
     pid tid name               prio STATE       Blocked         
       1   1 procnto              0f READY                       
       1   2 procnto            255r RECEIVE     1               
       1   3 procnto            255r RECEIVE     1               
       1   4 procnto             10r RECEIVE     1               
       1   5 procnto             10r RUNNING                     
       1   6 procnto             10r RECEIVE     1               
       1   7 procnto             10r RECEIVE     1               
    4098   1 c/boot/devc-serpsc  10r RECEIVE     1               
    4099   1 proc/boot/slogger   21r RECEIVE     1               
    4100   1 proc/boot/pipe      10r SIGWAITINFO                 
    4100   2 proc/boot/pipe      10r RECEIVE     1               
    4100   3 proc/boot/pipe      10r RECEIVE     1               
    4101   1 c/boot/pci-mgt5200  21r RECEIVE     1               
    4102   1 proc/boot/devc-pty  10r RECEIVE     1               
    4103   1 proc/boot/qconn     10r SIGWAITINFO                 
    4103   2 proc/boot/qconn     10r CONDVAR     48060168        
    4103   3 proc/boot/qconn     10r RECEIVE     1               
    4103   4 proc/boot/qconn     10r RECEIVE     3               
    4104   1 /boot/devf-mgt5200  10r SIGWAITINFO                 
    4104   2 /boot/devf-mgt5200  10r RECEIVE     1               
    4106   1 proc/boot/io-usb    10r SIGWAITINFO                 
    4106   2 proc/boot/io-usb    21r RECEIVE     4               
    4106  ...
View Full Message