Re: ncpfs input/output error

Petr Vandrovec (VANDROVE@vc.cvut.cz)
Thu, 17 Jan 2002 18:16:47 +0100


On 17 Jan 02 at 17:48, Christoph Pittracher wrote:
>
> 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?

You should see some complaints in kernel log, or, maybe, on server's
console. In kernel log you should see some 'NCP server not responding' or
'ncp_rpc_call: recv error = NN'. Or maybe you are getting 'An NCP request
with an invalid security signature was received from user <you> at
<your address>. Possible intruder or network corruption.'

You also must not send SIGKILL to processes which are in the middle of
NCP transaction. Because of ncpfs does not use its own thread (or bh)
to implement NCP ping-pong protocol, connection becomes invalid after
such action, as ping-pong was not successfully completed.

Are you sure that you do not have directory restriction
on your directory, and that you are not running some ipxripd which
could remove route to server from your routing tables?
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz

P.S.: It is possible to create 2GB file full of data on ncpfs with 2.4.17,
or 4GB file with few patches here...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/