Solved

Need to compile for 'netfs'

Posted on 2000-04-07
8
272 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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 10 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

685 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