06/24/2008 9:22 AM
post9563
|
On Tue, Jun 24, 2008 at 08:39:16AM -0400, Sunha Choi wrote:
> 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
So it's the wired ethernet that causes the issue? Can
you build debug variants, run with just the wired driver
and send me the resulting io-pkt-v4-hc, devn-mpc5200 and
io-pkt-v4-hc.core. Also send the libc.so.2 you're using.
# make CCOPTS=-O0 DEBUG=-g
< make sure 'dumper' is running on the target>
# dumper -d /dev/shmem
< run test >
< should be a /dev/shmem/io-pkt-v4-hc.core >
-seanb
|
|
|
06/24/2008 10:03 AM
post9575
|
Another thing to check is to do a "pidin -p io-pkt-v4-hc mem" before the
crash and have a look at where things are loaded in memory. The
"ip=480d467c" can point to what part of the stack is crashing. This
isn't always useful since the driver can do "something" that causes
stack code to crash, but it's a good first step.
Robert.
-----Original Message-----
From: Sunha Choi [mailto:shchoi@lge.com]
Sent: Tuesday, June 24, 2008 8:39 AM
To: drivers-networking
Subject: 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...
View Full Message
|
|
|