Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Re: qnx4.2 nfs bug: (7 Items)
   
Re: qnx4.2 nfs bug  
I don't see any nfs updates for 4.2, but I'm wondering if there's a fix.
Anyone else run into this?

--
Tom Vier <tom@triadsys.com>
Senior Net/Sys Admin
Triad Systems Engineering, Inc.
Re: qnx4.2 nfs bug  
Hi Tom,

Only QNX 4.25 with TCP/IP 5.10 is supported now. Please, check out the QNX 4 
Product Suite CD 2011:

http://www.qnx.com/download/feature.html?programid=22480

-- 
Respectfully,
Oleg

> I don't see any nfs updates for 4.2, but I'm wondering if there's a fix.
> Anyone else run into this?
> 
> --
> Tom Vier <tom@triadsys.com>
> Senior Net/Sys Admin
> Triad Systems Engineering, Inc.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90479
> 
Re: qnx4.2 nfs bug  
It appears the server is already on 4.25.

(I booted that cd and tried to install, but it doesn't actually install 
anything except the boot loader, even after checking all the packages.)

BUCALB-1 {/tms5/bin} sin ver
PROGRAM                 NAME         VERSION DATE
sys/Proc32              Proc         4.25O   Aug 19 2002
sys/Proc32              Slib16       4.23G   Oct 04 1996
sys/Slib32              Slib32       4.24B   Aug 12 1997
/bin/Fsys               Fsys32       4.24Y   Apr 23 2002
/bin/Fsys               Floppy       4.24B   Aug 19 1997
/bin/Fsys.aha8scsi      scsi         4.25G   Apr 15 2002
//1/bin/Dev32           Dev32        4.23G   Oct 04 1996
//1/bin/Dev32.ansi      Dev32.ansi   4.23H   Nov 21 1996
//1/bin/Dev32.pty       Dev32.pty    4.23G   Oct 04 1996
//1/etc/digi/Dq.ser32   Dq.ser       2.10    Jan 12 1998
//1/bin/Fsys.eide       eide         4.25G   Apr 15 2002
//1/bin/Pipe            Pipe         4.23A   Feb 26 1996
//1/bin/Net             Net          4.25E   Apr 24 2002
//1/bin/Net.i82540      Net.i82540   4.25C   Jan 27 2005
//1/bin/Net.i82540      Net.i82540   4.25C   Jan 27 2005
//1/*/usr/ucb/Socket    Socket       4.25H   Jul 30 1999
//1/bin/cron            cron         4.23B   Oct 30 1997
//1/usr/bin/lpsrvr      lpsrvr       4.24A   Jun 26 1997
//1/tms5/bin/tmsver     TMS p(236)   5.20B   Jul 06 2007
//1/*/photon/bin/Photon Photon       1.14B   Dec 04 2002
//1/*/bin/phfontpfr     Photon Font  1.14H   Dec 06 2002
//1/*/photon/bin/Photon Photon       1.14B   Dec 04 2002

--
Tom Vier<tom@triadsys.com>
Senior Net/Sys Admin
Triad Systems Engineering, Inc.


On 12/8/2011 2:43 AM, Oleg Bolshakov wrote:
> Hi Tom,
>
> Only QNX 4.25 with TCP/IP 5.10 is supported now. Please, check out the QNX 4
> Product Suite CD 2011:
>
> http://www.qnx.com/download/feature.html?programid=22480
>
Re: qnx4.2 nfs bug  
Hi Tom,

We can't reproduce this issue. How do you launch portmap, nfsd, mountd, etc. 
Please, send us:

# sin ar > sin_ar.txt

How do you mount NFS share under Linux? Which command line options do you use?

-- 
Respectfully,
Oleg

> It appears the server is already on 4.25.
> 
> (I booted that cd and tried to install, but it doesn't actually install 
> anything except the boot loader, even after checking all the packages.)
> 
> BUCALB-1 {/tms5/bin} sin ver
> PROGRAM                 NAME         VERSION DATE
> sys/Proc32              Proc         4.25O   Aug 19 2002
> sys/Proc32              Slib16       4.23G   Oct 04 1996
> sys/Slib32              Slib32       4.24B   Aug 12 1997
> /bin/Fsys               Fsys32       4.24Y   Apr 23 2002
> /bin/Fsys               Floppy       4.24B   Aug 19 1997
> /bin/Fsys.aha8scsi      scsi         4.25G   Apr 15 2002
> //1/bin/Dev32           Dev32        4.23G   Oct 04 1996
> //1/bin/Dev32.ansi      Dev32.ansi   4.23H   Nov 21 1996
> //1/bin/Dev32.pty       Dev32.pty    4.23G   Oct 04 1996
> //1/etc/digi/Dq.ser32   Dq.ser       2.10    Jan 12 1998
> //1/bin/Fsys.eide       eide         4.25G   Apr 15 2002
> //1/bin/Pipe            Pipe         4.23A   Feb 26 1996
> //1/bin/Net             Net          4.25E   Apr 24 2002
> //1/bin/Net.i82540      Net.i82540   4.25C   Jan 27 2005
> //1/bin/Net.i82540      Net.i82540   4.25C   Jan 27 2005
> //1/*/usr/ucb/Socket    Socket       4.25H   Jul 30 1999
> //1/bin/cron            cron         4.23B   Oct 30 1997
> //1/usr/bin/lpsrvr      lpsrvr       4.24A   Jun 26 1997
> //1/tms5/bin/tmsver     TMS p(236)   5.20B   Jul 06 2007
> //1/*/photon/bin/Photon Photon       1.14B   Dec 04 2002
> //1/*/bin/phfontpfr     Photon Font  1.14H   Dec 06 2002
> //1/*/photon/bin/Photon Photon       1.14B   Dec 04 2002
> 
> --
> Tom Vier<tom@triadsys.com>
> Senior Net/Sys Admin
> Triad Systems Engineering, Inc.
> 
> 
> On 12/8/2011 2:43 AM, Oleg Bolshakov wrote:
> > Hi Tom,
> >
> > Only QNX 4.25 with TCP/IP 5.10 is supported now. Please, check out the QNX 
4
> > Product Suite CD 2011:
> >
> > http://www.qnx.com/download/feature.html?programid=22480
> >
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90511
> 
Re: qnx4.2 nfs bug  
Thanks for looking into it more. (I wasn't able to get that cd to
actually install any packages. Maybe our license #s are too old.)

The bug is rarely triggered - weeks between occurrences.

On the qnx side, /etc/config/sysinit.1 runs /etc/config/start.network.sh
+nfs, which contains:

/usr/ucb/portmap &
if test "$1" = "+nfs"
then
	sleep 1
	/usr/ucb/nfsd 4 &
	sleep 1
	/usr/ucb/mountd &
fi

/etc/exports contains /tmp/bol

On the linux side: mount -o rw,soft,nfsvers=2 node1:/tmp/bol /mnt/bol

--
Tom Vier <tom@triadsys.com>
Senior Net/Sys Admin
Triad Systems Engineering, Inc.

On 12/13/2011 08:03 AM, Oleg Bolshakov wrote:
> Hi Tom,
> 
> We can't reproduce this issue. How do you launch portmap, nfsd, mountd, etc. 
> Please, send us:
> 
> # sin ar > sin_ar.txt
> 
> How do you mount NFS share under Linux? Which command line options do you use?
> 
Attachment: Text sin-ver.txt 1.35 KB Text sin-in.txt 365 bytes Text sin-ar.txt 8.52 KB
Re: qnx4.2 nfs bug  
Hi Tom,

You've launched NFS server in UDP mode. Also you've used "soft" option on 
mount. These may potentially damage NFS data.

Is the nfsd working correctly in TCP mode? Launch the nfsd with the following 
command:

# /usr/ucb/nfsd -t 0,0,4 &

-- 
Respectfully,
Oleg

> Thanks for looking into it more. (I wasn't able to get that cd to
> actually install any packages. Maybe our license #s are too old.)
> 
> The bug is rarely triggered - weeks between occurrences.
> 
> On the qnx side, /etc/config/sysinit.1 runs /etc/config/start.network.sh
> +nfs, which contains:
> 
> /usr/ucb/portmap &
> if test "$1" = "+nfs"
> then
> 	sleep 1
> 	/usr/ucb/nfsd 4 &
> 	sleep 1
> 	/usr/ucb/mountd &
> fi
> 
> /etc/exports contains /tmp/bol
> 
> On the linux side: mount -o rw,soft,nfsvers=2 node1:/tmp/bol /mnt/bol
> 
> --
> Tom Vier <tom@triadsys.com>
> Senior Net/Sys Admin
> Triad Systems Engineering, Inc.
> 
> On 12/13/2011 08:03 AM, Oleg Bolshakov wrote:
> > Hi Tom,
> > 
> > We can't reproduce this issue. How do you launch portmap, nfsd, mountd, 
etc. 
> > Please, send us:
> > 
> > # sin ar > sin_ar.txt
> > 
> > How do you mount NFS share under Linux? Which command line options do you 
use?
> > 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post90580
Re: qnx4.2 nfs bug  
Neither should cause file corruption (file is written out once on qnx
side, then eventually read by linux side). I ran tcpdump to be sure that
qnx is using udp checksums and it is. It is possible the bug is only in
the udp path of the nfsd code. I'll see if we can try tcp mode in some
production sites. We're not getting any io errors, so soft vs hard mount
shouldn't matter.

--
Tom Vier <tom@triadsys.com>
Senior Net/Sys Admin
Triad Systems Engineering, Inc.

703-956-1535 office
703-984-9093 cell
703-404-0308 helpdesk

On 12/14/2011 10:31 AM, Oleg Bolshakov wrote:
> Hi Tom,
> 
> You've launched NFS server in UDP mode. Also you've used "soft" option on 
> mount. These may potentially damage NFS data.
> 
> Is the nfsd working correctly in TCP mode? Launch the nfsd with the following 
> command:
> 
> # /usr/ucb/nfsd -t 0,0,4 &
>