Jesse Shao
|
qconn doesnt work after migration
|
Jesse Shao
12/29/2009 7:06 AM
post44436
|
qconn doesnt work after migration
Hi,
I've just migrated the kernel from 6.3.2 to 6.4.1(QNX momentics ide 4.6.0), and re-coded the network driver which is
a native io-pkt driver.
Host(windows) and target(arm9) can “ping" each other. But when I want to debug an application via qconn, I found
that IDE cant connect to the target. Then I telnet the qconn port (8000) to the target under windows, cant connect too.
I made a tcpdump, shows that target gets the "qconn request packet"(used the wireshark to check out what the qconn
request packet is like...), but driver doesnt tx any packets, it seems the protocol stack doesnt make any response to
that request.
Q:
Is the qconn shipped with momentics 4.6.0 compatible with the new io-pkt framework? Should I add any other libaries to
image besides libsocket?
----------------------------------------
# netstat
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *.8000 *.* LISTEN
udp 0 0 *.* *.*
# pidin -p qconn
pid tid name prio STATE Blocked
4103 1 sbin/qconn 10r SIGWAITINFO
4103 2 sbin/qconn 10r CONDVAR (0x120bc0)
4103 3 sbin/qconn 10r RECEIVE 1
4103 4 sbin/qconn 10r RECEIVE 3
# pidin -p qconn fd
pid name
4103 sbin/qconn
0 4 rw 0 /dev/ser1
1 4 rw 0 /dev/ser1
2 4 rw 0 /dev/ser1
3 5 rw 0 I4TCP *.8000 *.* LISTEN
4 4103
0s 1
2s 1 MP 0 /dev/dbgmem
4s 1 MP 0 /dev/profiler
#
----------------------------------------
attachment's my build file
|
|
|