Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need to compile for 'netfs'

Posted on 2000-04-07
8
Medium Priority
?
279 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
  • 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

916 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