Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Need to compile for 'netfs'

Posted on 2000-04-07
8
Medium Priority
?
276 Views
Last Modified: 2010-04-20
Can someone tell me what kernel option I need to include when compiling to ensure that the 'netfs' is loaded at startup.   Prior to 'netfs' failing, I am getting 'mount, mount fs type devpts not loaded.'

Thanks

Cliff
0
Comment
Question by:cliffhanger121599
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 

Author Comment

by:cliffhanger121599
ID: 2696783
Or rather - 'mount, mount fs type devpts not supported by kernel'.
0
 
LVL 3

Expert Comment

by:jyu_88
ID: 2697165
netfs is a init script. It tries to mout various shared file system across network. If you are familar with shell script, take a look at /etc/rc.d/init.d/netfs

devepts sounds like pseudo tty support. If so, kernel config should support 'unix98 pty' in character device section and allocate 128 or more ptys device in file system section. I may get which section confused. SSH connection will need it.
0
 

Author Comment

by:cliffhanger121599
ID: 2698285
Sorry to be dense, but what program does 'netfs' represent or initilize?  I can find no reference to it when compiling kernel options.

Cliff
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 3

Expert Comment

by:jyu_88
ID: 2698319
No, netfs is just a system initilization shell script.
it has no direct relation to your kernel
compiling options (except that, if you want to mount a novell share from
with the shell script named 'netfs', you will
will need to compile ncpfs support in your kernel. list goes on..)
system init script is a bunch of shell scripts
 in /etc/rc.d/init.d folder and some of them are called
upon to start various system service at boot
time or change run level: to start/stop web service,
to start/stop networking, to start/stop cron,
to start/stop mail service...
0
 

Author Comment

by:cliffhanger121599
ID: 2702251
Right, right, I see now what is happening(newbie to Linux!).    Would the fact that on start up, an earlier script(I assume) - 'rc.sysinit : Mounting local filesystem failed' have a bearing on 'netfs' not being able to mount other filesystems.
If this is the case then I still must be missing an option that was compiled into my original kernel(2.2.13), but I can not find what it is.  
0
 
LVL 3

Accepted Solution

by:
jyu_88 earned 40 total points
ID: 2702307
Good.

everything with the stock kernel should work if you didnot attempt to do something tricky.

the 'rc.sysinit : Mounting local filesystem failed'  message basiclly says that system fails to mount some entries in your /etc/fstab (excluding those marked by nonauto).  devpts entry should be the most suspcious. post your /etc/fstab here when in doubt.none  

/etc/rc.d/rc.sysinit tried to do:
action "Mounting local filesystems" mount -a -t nonfs,smbfs,ncpfs,proc

            /dev/pts                devpts  gid=5,mode=620        0
This line is from my /etc/fstab. You need to enable PTS support in your kernel per my first comment.  One in 'character device' section, one in 'file system' section.'make xconfig' would be the simplest.

If you want to mount smbfs share (windows share, or other SAMBA share), or ncpfs share (Novell NetWare share), then you need to enable support for each of them in your kernel options as well. I think, in the "file system" section.

Other than that, proc fs support should be there too. Unless you mess with it, the default kernel config should have it.

0
 

Author Comment

by:cliffhanger121599
ID: 2711945
With your advice I have solved the above problem, but because i like living on the edge(and because I have an Athlon and need Irongate support)I have compiled the 2.3.99 beta kernel.   Now i know these can be buggy, but everything works except the acceptance of IRQ 5 as the IRQ for my SNB P&P card, the system when booting reports that isapnp.conf is failing on that IRQ.   Do you think this a bug or could I edit this config file to another IRQ.    I have looked at this file and it is not altogether clear how it is edited, all i know is that the settings are being read from the bios.   In the past with the 2.2.14 kernel there was never a problem.   What do you think ?

Cliff
0
 

Author Comment

by:cliffhanger121599
ID: 2718978
Many thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question