mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Pittracher <pitt@gmx.at>
To: linux-kernel@vger.kernel.org
Subject: ncpfs input/output error
Date: Thu, 17 Jan 2002 17:48:02 +0100	[thread overview]
Message-ID: <200201171736.25266@pitt4u.2y.net> (raw)

Hello!
I've a problem with writing to a netware volume from a linux client. 
The server is a novell netware 4. Mounting the netware volume and 
reading data from the server works without problems. But if i want to 
write a file to the server that is bigger than 128kb I get an I/O-error 
(sometimes it's possible to write a file with more than 128kb but then 
the I/O-error occurs at 256kb, or 283kb sometimes after storing 192kb 
of the data).

workstation:~$ mount
/dev/hda2 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
FST01/NETWARE.USER on /home/netware-user type ncpfs (rw)
workstation:~$

The netware volume is mounted to /home/netware-user (with 
uid=netware-user and gid=netware, a local linux user).

workstation:~$ cp /home/wk/linux-2.4.17.tar.bz2 /home/netware-user
cp: writing `./linux-2.4.17.tar.bz2': Input/output error
workstation:~$

Now have a look at the file size on the server:

workstation:~$ ls -al /home/netware-user/linux-2.4.17.tar.bz2
-rwxr-xr-x    1 netware- netware    262144 Jan 17 15:00 
linux-2.4.17.tar.bz2
workstation:~$

strace output of the cp command:
workstation:~$ strace cp /home/wk/linux-2.4.17.tar.bz2 
/home/netware-user
[...]
read(3, "i1L@a\216\27\212Dva\200\344\'.O\306\331\257\232;\367\375"..., 
512)
= 512
write(4, "i1L@a\216\27\212Dva\200\344\'.O\306\331\257\232;\367\375"..., 
512)
= 512
read(3, "\337\375\337\341\273\257\344\n\264\0302%\231\337\233\261"..., 
512)
= 512
write(4, "\337\375\337\341\273\257\344\n\264\0302%\231\337\233\261"..., 
512)
= -1 EIO (Input/output error)
[...]

I don't know why this write fails...
Any hints?

Some version information:
workstation:~$ ncpmount -v
ncpfs version 2.2.0.18
workstation:~$

workstation:~$ uname -r
2.4.17
workstation:~$

NCPFS specific kernel configurations:
CONFIG_NCP_FS=y
CONFIG_NCPFS_OS2_NS=y
CONFIG_NCPFS_NLS=y
CONFIG_NCPFS_EXTRAS=y

Please tell me if you need any additional information.

Thanks,
Christoph

             reply	other threads:[~2002-01-17 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-17 16:48 Christoph Pittracher [this message]
2002-01-17 17:16 Petr Vandrovec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200201171736.25266@pitt4u.2y.net \
    --to=pitt@gmx.at \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®