Help! QNX 6.2.0 not working...?

Hi all;

I have a PPC system here. Until we get a full port of QNX from QSSL, we
have been using a version that understands just the network devices on
our card, but can’t access the disk etc.

So, except for the kernel image on the local disk (we have a VxWorks
bootrom that kicks it off) everything is NFS-mounted: this includes
/bin, /usr, /var, etc.

We’ve done this with 6.1.0a and 6.2.0b2 and it’s always worked fine in
the past.

So, I wanted to upgrade to 6.2.0. I created an image with mkifs, then
put the image down on the devices disk (I boot into VxWorks to do this
part). Then I updated all the system files in our NFS area from the
6.2.0b2 versions to the 6.2.0 versions (we have a script that does this
and we’ve run it numerous times before with no problem).

Now I reboot the system and it comes up and talks to the console, but it
won’t mount most of the filesystems! It will mount our /etc
directory, and it will mount our /home directory, but it doesn’t want to
mount /bin, or /sbin, or /usr, or /var. The mount commands that I’m
running:

mount -t nfs -w 47.17.207.71:/t121/qnxroot/usr /usr

just hang forever.

Now, all of these partitions (the ones that work and the ones that
don’t) are on the same server. I can ping the server, both by IP and
name, and also other systems that aren’t on my LAN, so the network, DNS,
routing, etc. is all working.

One other slightly odd thing is that although I’m using exactly the same
image build file as with 6.2.0b2, and I get no errors or odd messages I
can see, the 6.2.0 image is about 200K smaller than the 6.2.0b2 image
(1.8M vs 1.6M). Maybe stuff was built with debugging for the beta?


Does anyone have any ideas? Is there something about my system config I
need to change for 6.2.0? Extra things to add?

Paul D. Smith <pausmith@nortelnetworks.com> HASMAT–HA Software Mthds & Tools
“Please remain calm…I may be mad, but I am a professional.” --Mad Scientist

These are my opinions—Nortel Networks takes no responsibility for them.

Followup: more filesystems than I thought do work, but not all.

In my build file I have these commands:

fs-nfs2 &
sleep 2
mount -t nfs -w 47.17.207.71:/t121/qnxroot/etc.qnx /etc

mount -t nfs -w 47.17.207.71:/t121/qnxroot/bin /bin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/home /home
mount -t nfs -w 47.17.207.71:/t121/qnxroot/lib /lib
mount -t nfs -w 47.17.207.71:/t121/qnxroot/sbin /sbin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/usr /usr
mount -t nfs -w 47.17.207.71:/t121/qnxroot/view /view

When my system boots, it mounts the /etc directory, then the mount of
/bin hangs forever (I can see it still there with pidin).

I ran the rest of the mount operations by hand to see what happened, and
the total results are:

/etc works
/bin ** hangs
/home works
/lib ** hangs
/sbin ** hangs
/usr works
/view works

Maybe it’s something broken about union mounts or something?

Very confused…

Paul D. Smith <pausmith@nortelnetworks.com> HASMAT–HA Software Mthds & Tools
“Please remain calm…I may be mad, but I am a professional.” --Mad Scientist

These are my opinions—Nortel Networks takes no responsibility for them.

What is your NFS server? I think Solaris likes to use NFSv3 by default and
support for NFSv2 clients actually needs to be explicitly enabled. Note, 6.2
has support for NFSv3 as well, you might try that (fs-nfs3).

But what you describe does not sound like NFS versions issue. It sounds like
one old bug I was unsuccesfully chasing for years… Can you post output of
pidin (do ‘ls -l’ on a non-working filesystem and do pidin while it is
hanging).

– igor

“Paul D. Smith” <pausmith@nortelnetworks.com> wrote in message
news:p51yb032wd.fsf@lemming.engeast.baynetworks.com

Followup: more filesystems than I thought do work, but not all.

In my build file I have these commands:

fs-nfs2 &
sleep 2
mount -t nfs -w 47.17.207.71:/t121/qnxroot/etc.qnx /etc

mount -t nfs -w 47.17.207.71:/t121/qnxroot/bin /bin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/home /home
mount -t nfs -w 47.17.207.71:/t121/qnxroot/lib /lib
mount -t nfs -w 47.17.207.71:/t121/qnxroot/sbin /sbin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/usr /usr
mount -t nfs -w 47.17.207.71:/t121/qnxroot/view /view

When my system boots, it mounts the /etc directory, then the mount of
/bin hangs forever (I can see it still there with pidin).

I ran the rest of the mount operations by hand to see what happened, and
the total results are:

/etc works
/bin ** hangs
/home works
/lib ** hangs
/sbin ** hangs
/usr works
/view works

Maybe it’s something broken about union mounts or something?

Very confused…


Paul D. Smith <> pausmith@nortelnetworks.com> > HASMAT–HA Software Mthds &
Tools
“Please remain calm…I may be mad, but I am a professional.” --Mad
Scientist


These are my opinions—Nortel Networks takes no responsibility for
them.

Did you try to do these mounts to different mount points than the system
directories - for instance does following work:

mount -t nfs -w 47.17.207.71:/t121/qnxroot/etc.qnx /mymounts/etc

mount -t nfs -w 47.17.207.71:/t121/qnxroot/bin /mymounts/bin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/home /mymounts/home
mount -t nfs -w 47.17.207.71:/t121/qnxroot/lib /mymounts/lib
mount -t nfs -w 47.17.207.71:/t121/qnxroot/sbin /mymounts/sbin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/usr /mymounts/usr
mount -t nfs -w 47.17.207.71:/t121/qnxroot/view /mymounts/view

because it could be the package fs which will not allow you mount to some of
the system directories.

Jens


“Paul D. Smith” <pausmith@nortelnetworks.com> wrote in message
news:p51yb032wd.fsf@lemming.engeast.baynetworks.com

Followup: more filesystems than I thought do work, but not all.

In my build file I have these commands:

fs-nfs2 &
sleep 2
mount -t nfs -w 47.17.207.71:/t121/qnxroot/etc.qnx /etc

mount -t nfs -w 47.17.207.71:/t121/qnxroot/bin /bin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/home /home
mount -t nfs -w 47.17.207.71:/t121/qnxroot/lib /lib
mount -t nfs -w 47.17.207.71:/t121/qnxroot/sbin /sbin
mount -t nfs -w 47.17.207.71:/t121/qnxroot/usr /usr
mount -t nfs -w 47.17.207.71:/t121/qnxroot/view /view

When my system boots, it mounts the /etc directory, then the mount of
/bin hangs forever (I can see it still there with pidin).

I ran the rest of the mount operations by hand to see what happened, and
the total results are:

/etc works
/bin ** hangs
/home works
/lib ** hangs
/sbin ** hangs
/usr works
/view works

Maybe it’s something broken about union mounts or something?

Very confused…


Paul D. Smith <> pausmith@nortelnetworks.com> > HASMAT–HA Software Mthds &
Tools
“Please remain calm…I may be mad, but I am a professional.” --Mad
Scientist


These are my opinions—Nortel Networks takes no responsibility for
them.

Gack. Never mind. I rebooted the NFS server and it choked trying to
fsck the filesystem! That’s pretty unusual on a Sun, but, there you go!
I had to fsck it manually, then reinstall the 6.2.0 stuff, and now
everything works.

Thanks to those who replied :slight_smile:.

Paul D. Smith <pausmith@nortelnetworks.com> HASMAT–HA Software Mthds & Tools
“Please remain calm…I may be mad, but I am a professional.” --Mad Scientist

These are my opinions—Nortel Networks takes no responsibility for them.