Hi Xiandan,
I am with John Nagle. I tried your changes on our setup. It still causes the
same sloginfo errors. Can you please have a look at the rc.local and see if
I did anything wrong implementing your changes.
The issue really seems to be latency dependent like what you said. Taking
out wep encryption, the hubs in between the links occasionally helped remove
the sloginfo errors (latency?) Any other fixes you recommend?
My setup:
/etc/rc.d/rc.local
mount -T io-net -o busvendor=0x8086,busdevice=0x103a /lib/dll/devn-speedo.so
Restart TCP/IP networking so that new Ethernet driver is attached to
it.
netmanager -r all
Start QNX native networking.
map user to vehicle
mount -T io-net -o “ticksize=200,sstimer=0x00140014” /lib/dll/npm-qnet.so
Between node0 and node1 (node0 calls spawn with node1’s nd):
linksys wet11 bridge and linksys wap11 access point with 128 bit encryption
between
2 hops of hubs
qnet and io-net are both Jan 18 2003 versions
sloginfo output after internode spawning:
Nov 19 11:34:58 7 15 0 npm-qnet(stats): kif_client@82
kif_net_client Underflow(4294967295)
Nov 19 11:34:58 7 15 0 npm-qnet(stats): kif_client@82
kif_net_client Underflow(4294967295)
Nov 19 11:34:58 7 15 0 npm-qnet(kif): nd(00010003, 00010003),
server_id (40000026, 4000001f), client_id (00000020, 00000020), v->buffer 0
at kif_client.c:705
(Bad file descriptor)
Nov 19 11:34:58 7 15 0 npm-qnet(L4): trans_input.c:438 (Bad file
descriptor)
Nov 19 11:34:58 7 15 0 npm-qnet(kif): nd(00010003, 00010003),
server_id (40000026, 4000001f), client_id (00000020, 00000020), v->buffer 0
at kif_client.c:705
(Bad file descriptor)
After internode spawning, I got the following:
node1$ ls /net/node0
ls: readdir of ‘/net/node0’ failed (Bad file descriptor)
Khian Hao Lim
“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:bpdk8q$lkj$1@nntp.qnx.com…
Hello John,
Would you please try this, when you mount the QNET, start it with these
options:
io-net -d driver -p qnet ticksize=200,sstimer=0x00140014
See if this makes it better works on slow links.
I will think of any other alternative.
-xtang
John Nagle <> nagle@overbot.com> > wrote in message
news:> 3FB9B47F.5020308@overbot.com> …
We’ve been experiencing multiple io-net crashes on
QNX 6.2.1PE. We’ve now seen this on three different
sets of hardware. Bug reports, with dumps, have been
submitted. Earlier, we thought this was a versioning
problem, but we put full installs of 6.2.1PE on the
relevant machines and still have problems.
We’re running QNET over Ethernet, not over IP.
All machines use ordinary Ethernet interfaces, but
the LAN is bridged with wireless bridges. Operating
over hard-wired 100baseT seems to work fine.
Operating over a path with a slow 802-11b bridge seems to cause QNET
serious problems, including io-net crashes.
Spawning programs and messaging using QNET across a
the 802.11b bridge seems to get io-net into bad states.
At the user level, we get messages like
“ls: readdir of ‘/net/gcrear0’ failed (Bad file descriptor)”
In syslog, we see
Nov 17 21:26:36 7 15 0 npm-qnet(stats): kif_client@82
kif_net_client Underflow(4294967295)
====
Nov 17 21:43:42 7 15 0 npm-qnet(kif): nd(00010004, 00010004),
server_id (40000029, 4000001f), client_id (0000002b, 0000002b),
v->buffer 0 at kif_client.c:705
(Bad file descriptor)
Nov 17 21:43:42 7 15 0 npm-qnet(L4): trans_input.c:438 (Bad
file descriptor)
Nov 17 21:43:42 7 15 0 npm-qnet(kif): nd(00010004, 00010004),
server_id (40000029, 4000001f), client_id (0000002b, 0000002b),
v->buffer 0 at kif_client.c:705
(Bad file descriptor)
Nov 17 21:43:42 7 15 0 npm-qnet(L4): trans_input.c:438 (Bad
file descriptor)
Nov 17 21:43:43 7 15 0 npm-qnet(kif): nd(00010004, 00010004),
server_id (40000029, 4000001f), client_id (0000002b, 0000002b),
v->buffer 0 at kif_client.c:705
(Bad file descriptor)
Nov 17 21:43:43 7 15 0 npm-qnet(L4): trans_input.c:438 (Bad
file descriptor)
What does it mean?
We really need QNX messaging to work reliably. Our whole architecture
is based on it.
John Nagle
Team Overbot