ping crashes

Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth

I just tried this on an ARM based 6.2.0 machine with the orinoco driver
and all three tcp stacks (tiny, tcpip-v6 and tcpip-v4) and nothing
is crashing. Are you getting an io-net.core file in /var/dumps?

chris

Srikanth Saripalli <srik@usc.edu> wrote:

Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Srikanth Saripalli wrote:

[…] I am using a orinoco card and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

Why are you starting a second instance of io-net in your local startup
script? There should already be one copy of io-net running at that
point. I suggest you try using the mount command, like this:

$ mount -T io-net devn-orinoco.so
$ mount -T io-net -o if=en0:10.0.4.2 npm-tcpip.so

See this page for details:

http://www.qnx.com/developer/docs/momentics_nc_docs/neutrino/utilities/i
/io-net.html

Bernard

I am slaying the io-net driver before. In the beggining of my rc.local file
i have
slay devp-pccard
slay io-net

Thanks
Srikanth




Srikanth Saripalli wrote:

[…] I am using a orinoco card and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

Why are you starting a second instance of io-net in your local startup
script? There should already be one copy of io-net running at that
point. I suggest you try using the mount command, like this:

$ mount -T io-net devn-orinoco.so
$ mount -T io-net -o if=en0:10.0.4.2 npm-tcpip.so

See this page for details:

http://www.qnx.com/developer/docs/momentics_nc_docs/neutrino/utilities/i
/io-net.html

Bernard

Hi,
Yes I have a io-net.core file in my /var/dumps directory. I dont know how
to debug it. Could you tell me how to do it so that I can find out what the
problem is.

Thanks
Srikanth


I just tried this on an ARM based 6.2.0 machine with the orinoco driver
and all three tcp stacks (tiny, tcpip-v6 and tcpip-v4) and nothing
is crashing. Are you getting an io-net.core file in /var/dumps?

chris

Srikanth Saripalli <> srik@usc.edu> > wrote:
Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth

type gdb io-net /var/dumps/io-net.core.And then continue as if you are
debugging a live process.

Sreekanth

“Srikanth Saripalli” <srik@usc.edu> wrote in message
news:akubvi$oaf$1@inn.qnx.com

Hi,
Yes I have a io-net.core file in my /var/dumps directory. I dont know how
to debug it. Could you tell me how to do it so that I can find out what
the
problem is.

Thanks
Srikanth



I just tried this on an ARM based 6.2.0 machine with the orinoco driver
and all three tcp stacks (tiny, tcpip-v6 and tcpip-v4) and nothing
is crashing. Are you getting an io-net.core file in /var/dumps?

chris

Srikanth Saripalli <> srik@usc.edu> > wrote:
Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco
card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth

What version are you running?

-seanb

Srikanth Saripalli <srik@usc.edu> wrote:

Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth

Hi,
I am running QNX 6.2 NC . I have a core file in /var/dumps.

-Srikanth

What version are you running?

-seanb

Srikanth Saripalli <> srik@usc.edu> > wrote:
Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth

coreinfo gives me the following output. I think thread 5 gets a egfault,
although I dont know why since I am just pinging.

Thanks
Srikanth

\

coreinfo io-net.core

io-net.core:
processor=X86 num_cpus=1
cpu 1 cpu=686 name=Intel 686 F6M8S6 speed=798
flags=0xc0001fff FPU MMU CPUID RDTSC INVLPG WP BSWAP MMX CMOV PSE PGE
MTRR SEP SIMD FXSR
cyc/sec=797156300 tod_adj=1031059303307398391 nsec=41142644212180
inc=999847
boot=1030983105 epoch=1970 intr=0
rate=838095345 scale=-15 load=1193
MACHINE=“x86pc” HOSTNAME=“localhost”
hwflags=0x000540
valid=512 heads=255 cyls=1025 sectors=63 nblocks=16482690 spare=0
pid=68235302 parent=1 child=0 pgrp=68235302 sid=1
flags=0x003210 umask=0 base_addr=0x8048000 init_stack=0x8047af8
ruid=0 euid=0 suid=0 rgid=0 egid=0 sgid=0
ign=0000000000040000 queue=ff00000000008000 pending=0000000000000000
fds=6 threads=8 timers=5 chans=35
thread 1
ip=0xb0328429 sp=0x80479d0 stkbase=0x7fc7000 stksize=528384
state=SIGWAITINFO flags=80000000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
thread 2
ip=0xb0327805 sp=0x7fc6f30 stkbase=0x7fb6000 stksize=69632
state=RECEIVE flags=84020000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
blocked_chid=1
thread 3
ip=0xb0327805 sp=0x7fb5f30 stkbase=0x7fa5000 stksize=69632
state=STOPPED flags=84020000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
thread 4
ip=0xb0327805 sp=0x7fa4f30 stkbase=0x7f94000 stksize=69632
state=RECEIVE flags=84020000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
blocked_chid=1
thread 5 SIGNALLED-SIGSEGV code=1 MAPERR refaddr=0 fltno=11
ip=0x805151d sp=0x7f93e34 stkbase=0x7f73000 stksize=135168
state=STOPPED flags=84000000 last_cpu=1 timeout=00000000
pri=21 realpri=21 policy=RR
thread 6
ip=0xb0327805 sp=0x7f14eb0 stkbase=0x7ef4000 stksize=135168
state=STOPPED flags=84000000 last_cpu=1 timeout=00000000
pri=20 realpri=20 policy=RR
thread 7
ip=0xb0327805 sp=0x7ef3eb0 stkbase=0x7ed3000 stksize=135168
state=RECEIVE flags=84000000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
blocked_chid=26
thread 10
ip=0xb032854d sp=0x7ed2f20 stkbase=0x7eb2000 stksize=135168
state=CONDVAR flags=84020000 last_cpu=1 timeout=00000000
pri=21 realpri=21 policy=RR

Did you try using gdb to analyze the core? What did it say?

Sreekanth

“Srikanth Saripalli” <srik@usc.edu> wrote in message
news:al6rb2$93u$1@inn.qnx.com

coreinfo gives me the following output. I think thread 5 gets a egfault,
although I dont know why since I am just pinging.

Thanks
Srikanth

\

coreinfo io-net.core

io-net.core:
processor=X86 num_cpus=1
cpu 1 cpu=686 name=Intel 686 F6M8S6 speed=798
flags=0xc0001fff FPU MMU CPUID RDTSC INVLPG WP BSWAP MMX CMOV PSE PGE
MTRR SEP SIMD FXSR
cyc/sec=797156300 tod_adj=1031059303307398391 nsec=41142644212180
inc=999847
boot=1030983105 epoch=1970 intr=0
rate=838095345 scale=-15 load=1193
MACHINE=“x86pc” HOSTNAME=“localhost”
hwflags=0x000540
valid=512 heads=255 cyls=1025 sectors=63 nblocks=16482690 spare=0
pid=68235302 parent=1 child=0 pgrp=68235302 sid=1
flags=0x003210 umask=0 base_addr=0x8048000 init_stack=0x8047af8
ruid=0 euid=0 suid=0 rgid=0 egid=0 sgid=0
ign=0000000000040000 queue=ff00000000008000 pending=0000000000000000
fds=6 threads=8 timers=5 chans=35
thread 1
ip=0xb0328429 sp=0x80479d0 stkbase=0x7fc7000 stksize=528384
state=SIGWAITINFO flags=80000000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
thread 2
ip=0xb0327805 sp=0x7fc6f30 stkbase=0x7fb6000 stksize=69632
state=RECEIVE flags=84020000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
blocked_chid=1
thread 3
ip=0xb0327805 sp=0x7fb5f30 stkbase=0x7fa5000 stksize=69632
state=STOPPED flags=84020000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
thread 4
ip=0xb0327805 sp=0x7fa4f30 stkbase=0x7f94000 stksize=69632
state=RECEIVE flags=84020000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
blocked_chid=1
thread 5 SIGNALLED-SIGSEGV code=1 MAPERR refaddr=0 fltno=11
ip=0x805151d sp=0x7f93e34 stkbase=0x7f73000 stksize=135168
state=STOPPED flags=84000000 last_cpu=1 timeout=00000000
pri=21 realpri=21 policy=RR
thread 6
ip=0xb0327805 sp=0x7f14eb0 stkbase=0x7ef4000 stksize=135168
state=STOPPED flags=84000000 last_cpu=1 timeout=00000000
pri=20 realpri=20 policy=RR
thread 7
ip=0xb0327805 sp=0x7ef3eb0 stkbase=0x7ed3000 stksize=135168
state=RECEIVE flags=84000000 last_cpu=1 timeout=00000000
pri=10 realpri=10 policy=RR
blocked_chid=26
thread 10
ip=0xb032854d sp=0x7ed2f20 stkbase=0x7eb2000 stksize=135168
state=CONDVAR flags=84020000 last_cpu=1 timeout=00000000
pri=21 realpri=21 policy=RR

Hi Srikanth,

I had this problem also - I have updated to 6.2 patch A and the problem
appears to have cleared up…

I hope this helps

Pete
“Srikanth Saripalli” <srik@usc.edu> wrote in message
news:al4qmg$mqq$1@inn.qnx.com

Hi,
I am running QNX 6.2 NC . I have a core file in /var/dumps.

-Srikanth

What version are you running?

-seanb

Srikanth Saripalli <> srik@usc.edu> > wrote:
Hi all,
The below command crashes the io-net
ping -l 1500 10.0.1.1
while the same doesnot happen on my linux box. I am using a orinoco
card
and in my rc.local i have

devp-pccard
io-net -dorinoco -ptcpip stacksize=8192 -pqnet
ifconfig en0 10.0.4.2 netmask 255.0.0.0

I have played with the stacksize settings till 32KB but to no avial.

Any suggestion will be welcome

Also
ping -l 100 also does the same thing.

Thanks
Srikanth