Solved

Need to compile for 'netfs'

Posted on 2000-04-07
8
270 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mcrypt_create_iv() is deprecated 4 151
Can't ping New Linux Servers 40 66
Securing Azure Oracle instance of Linux VM 4 57
number in printf 13 27
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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