Solved

Need to compile for 'netfs'

Posted on 2000-04-07
8
267 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
 
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now