io-net hang on MUTEX lock on io-net thread #5 on SMPsystem

bridged with qdn.public.qnxrtp.os
Post Reply
Stephane Grenier

io-net hang on MUTEX lock on io-net thread #5 on SMPsystem

Post by Stephane Grenier » Fri Nov 14, 2003 4:30 pm

Hi All!

I am running into a strange problem on a SMP board. when the io-net script
started io-net thread #6 will hang 1 out of 10 times on a mutex #1 that
process #5 of io-net has. This same io-net start-up does hang on single CPU
board. Here is the script use to start the io-net.

io-net -d speedo duplex=1 -p tcpip mem_num=2 mem_size=65536
if=en0:10.0.11.16:255.0.0.0 &

This script is started via the system() call. I due wait for the
/dev/socket to be created before moving to the next operation. This never
happens when I am using a single CPU board.

I suspect a timing issues with the dual CPU board and io-net.

Any suggestion

Cheers!, Steph

Stephane Grenier

Re: io-net hang on MUTEX lock on io-net thread #5 on SMPsyst

Post by Stephane Grenier » Mon Nov 17, 2003 1:13 pm

Here some more info I forgot to mentioned, that could help.

1. Running RTP 6.1A
2. The process starting the io-net is a priority 10.

Note: I will try to increase my process priority to 25, same has the console
shell, to see if it will make a difference.

Cheers!, Steph


"Stephane Grenier" <sgrenier@excalibur-idt.com> wrote in message
news:bp2uv5$88$1@inn.qnx.com...
Hi All!

I am running into a strange problem on a SMP board. when the io-net
script
started io-net thread #6 will hang 1 out of 10 times on a mutex #1 that
process #5 of io-net has. This same io-net start-up does hang on single
CPU
board. Here is the script use to start the io-net.

io-net -d speedo duplex=1 -p tcpip mem_num=2 mem_size=65536
if=en0:10.0.11.16:255.0.0.0 &

This script is started via the system() call. I due wait for the
/dev/socket to be created before moving to the next operation. This never
happens when I am using a single CPU board.

I suspect a timing issues with the dual CPU board and io-net.

Any suggestion

Cheers!, Steph

Post Reply

Return to “qdn.public.qnxrtp.os”