LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2003, 02:57 PM   #1
origamifreak
LQ Newbie
 
Registered: Aug 2003
Distribution: RH 9
Posts: 11

Rep: Reputation: 0
Unhappy ncpmount: No such device in mount(2)


Howdy all,

I've been using IPX to successfully mount a Netware fileserver for several months. The configuration that works is:

Dell desktop i686
RH 8
kernel 2.4.18-27.8.0
ipxutils 2.2.0.18-11
ncpfs 2.2.0.18-11

Here's the perplexing part:

I have a new notebook that came with RH 9 preinstalled, and it is very stubborn in not talking to the NetWare server.

Sony Vaio PCG-GRX700P i686
RH 9
kernel 2.4.20
ipxutils 2.2.1-1 (also tried latest = 2.2.3-1)
ncpfs 2.2.1-1 (also tried latest = 2.2.3-1)

Installing/configuring IPX works, up to the point that I can get the right response with "slist"

However, when I try mounting the server listed by slist (with the same exact commands that work on the RH 8 box - so I know the server/path/user/pw are correct), I get the following error:

"ncpmount: No such device in mount(2)"

Over at the freshmeat site for ncpfs (http://freshmeat.net/projects/ncpfs/?topic_id=142), someone said "That error can appear if you are trying to mount a mountpoint on the filesystem without specifying the target filesystem you want to mount." Thing is, I know the target filesystem is valid because the same exact command works for the other configuration.

I have tried the same kernel/ipx/ncpfs combination as on the RH8 box, and get the same error. I have upgraded ipx/ncpfs to the latest (RawHide) version, same error. It's very consistent!

Any suggestions?

------------------------------------------------
By the way, I've also tried doing an end-run by using NetWare NFS, but the Novell fileserver doesn't allow anyone except root to write to the mounted drives, which is annoying. (Translating permissions between Novell and NFS is funky; I believe there is a later NetWare NFS patch that fixes this. Our IT guy is working on installing it.)

I've also tried SAMBA, with no success.

Last edited by origamifreak; 08-13-2003 at 06:53 PM.
 
Old 08-12-2003, 05:58 PM   #2
olamar
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
ncpmount: No such device in mount(2)

I am having the same problem with RH 9.0.93. I have ncpmount/ncpumount working fine with RH 7.3, RH8, RH 9 even. I am using RH9 , stock RH 2.4.20-19.9 kernel, ncpfs-2.2.1-1, ipxutils-2.2.1-1.

I am not able to get this working under RH 9.0.93 though. I get the same error:
ncpmount: No such device in mount(2)

I am using RH 9.0.93, stock RH 2.4.21-20.1.2024.2.1.nptl kernel. I have tried using the following with no luck:

ncpfs-2.2.1-2
ipxutils-2.2.1-2

ncpfs-2.2.1-1
ipxutils-2.2.1-1

kernels have the same ipx options turned on too.

This is really weird.
 
Old 08-13-2003, 07:01 AM   #3
origamifreak
LQ Newbie
 
Registered: Aug 2003
Distribution: RH 9
Posts: 11

Original Poster
Rep: Reputation: 0
non-stock kernel?

Aha. I think I discovered something significant.

I'm using a variant of the stock kernel, optimized for my notebook hardware. The people who sold me the notebook gave me the idea to try the stock kernel as an alternative. It worked.

So I think my problem has something to do with the kernel modifications, and not with RH 9, after all?

This has been one of the more annoying problems I've encountered, because of the lack of information available online about what the error means.

Last edited by origamifreak; 08-13-2003 at 12:10 PM.
 
Old 08-13-2003, 08:10 AM   #4
olamar
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
ncpmount: No such device in mount(2)

It has to be the kernel. I noticed that if I cat /proc/filesystems that on systems where ncpmount works I have nodev ncpfs listed. On systems where it doesn't work, I don't have this in /proc/filesystems. So, somewhere in the kernel, ncpfs filesystems is not turned on.
 
Old 08-13-2003, 11:11 AM   #5
origamifreak
LQ Newbie
 
Registered: Aug 2003
Distribution: RH 9
Posts: 11

Original Poster
Rep: Reputation: 0
Yeah, I saw that, in your private email. Good point!

Here's a stupid question:
How do I figure out which version of RH 9 I'm running?
 
Old 08-13-2003, 11:34 AM   #6
olamar
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
ncpmount: No such device in mount(2)

You can find out some info about your system by using the following commands:

uname -r

cat /etc/redhat-release

There are others, but this should give you kernel info and redhat version.
 
Old 08-13-2003, 12:06 PM   #7
origamifreak
LQ Newbie
 
Registered: Aug 2003
Distribution: RH 9
Posts: 11

Original Poster
Rep: Reputation: 0
Red Hat Linux release 9 (Shrike)

Hmm. I guess I don't have any fancy Red Hat version numbers after the 9.

The kernels are essentially what I reported, above, except they're notebook-optimized.
 
Old 12-06-2004, 07:46 AM   #8
johnw68
Newbie
 
Registered: Feb 2004
Location: Lexington, KY
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Thanks for posting your experiences. They led me in the right direction.
I use Slackware 10 and kernel 2.6.8. I couldn't get the Netware
volume to mount and got the error "no such device in mount". What
you said about the kernel made me relook at my kernel configuration.
You need IPX support and NCPFS support compiled into the kernel.
I also had to run the command "ipx_interface add -p eth0 802.2"
so the NIC could see the IPX packets.

Now I can mount my Netware volumes with the ncpmount command.

John
 
Old 10-24-2005, 01:48 AM   #9
GarryG
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
FWIW - same thing happened to me on a customer machine - reason was an online update which replaced the Kernel (SuSE) to a newer version, erasing the currently running kernel's modules with a directory for the new kernel ... machine wasn't restarted afterwards (production machine ... has to be scheduled ...), but loading the module ncpfs.ko manually worked fine, ncpmount flawlessly mounted the novell partition ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
ncpmount cplowe Linux - Software 0 08-27-2004 11:32 AM
ncpmount -Accessing novel Network files saurya_s Linux - Networking 0 12-13-2003 01:32 PM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM
ncpmount Netware5 lanif Linux - Networking 3 06-13-2003 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration