Re: ncpfs: Connection invalid / Input-/Output Errors

From: Petr Vandrovec
Date: Wed Sep 07 2005 - 11:26:12 EST


schönfeld / in-medias-res wrote:
Hi,

thanks for your answere.

Uhmm... then remains the question: Why should that happen on the first
machine but not on the second?

Enable displaying of connection watchdog logouts on the server. Do not
use 'intr' mount option. Do not send KILL signal to the connection
which is waiting for reply from server. If you are not sure that your
network infrastructure is fine, use 'hard' mount option to disable
timeouts altogether.

To see if this is your problem, insert some printk()s in the relevant
ncpfs code (depends whether you are using ipx or tcp/udp as to where)

Well - i'm using IPX. So where do i insert the printk()s? And what kind
of printk()s should i insert? Please don't think of me as an idiot,
but i'm just not firm with "kernel hacking".

Into 'ncp_invalidate_conn()', or better, into its callers. One is in
__abort_ncp_connection (invoked for IPX connections when
__ncpdgram_timeout_proc fires), second is in ncp_do_request (if server
reports some problem, or if KILL signal is sent to the process).
Petr

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/