public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "schönfeld / in-medias-res" <schoenfeld@in-medias-res.com>
To: linux-kernel@vger.kernel.org
Subject: Re: ncpfs: Connection invalid / Input-/Output Errors
Date: Wed, 07 Sep 2005 16:14:37 +0200	[thread overview]
Message-ID: <431EF5CD.9050006@in-medias-res.com> (raw)
In-Reply-To: <1126095079.28456.18.camel@imp.csi.cam.ac.uk>

Hi,

thanks for your answere.

Anton Altaparmakov schrieb:
> Are you using IPX or TCP/IP or UDP?  Are you using the same on both?

Sorry missed pointing that out. We are using IPX. I don't think it'll
be that easy to switch to anything other :/

> Are the two boxes in the same place and on the same connection/the same
> speed?  For example if one box is sitting close to the netware server
> and the other further away, on a congested network, it is much more
> likely to loose the connection.  

Both systems are local and therefore thats not the difference,
between them.

> Also IPX is much worse than UDP.  Our connection loss
> problems decreased a lot when we moved from IPX to UDP.
> Haven't had much experience with TCP/IP yet.  Also so far we have not
> seen any connection loss problems since we switched from 2.4 to 2.6
> kernels (suse 9.3, i.e. 2.6.11.4-21.9).

Well i can imagine that IPX is much worse than UDP ("IPX just sucks").
Unfortunately it doesn't seem to be that easy to switch that system
over to UDP, cause the Novell Server is in center of a whole system,
which has to be highly available, so we don't want to touch it.

> One of the reasons for a connection disappearing is that the NCP
> sequence numbers on the netware server and the linux client become out
> of sync.  When the netware server detects this it shuts down the
> connetion.  Linux can't do reconnects so you get exactly the errors you
> see and the connection is gone.  The fix is to umount and to mount again
> when this happens.

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


> 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".

> Hope this is useful.

A little bit. Thanks anywaysw

Greets
Patrick

  reply	other threads:[~2005-09-07 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S932080AbVIGI45/20050907085657Z+286@vger.kernel.org>
2005-09-07 11:08 ` ncpfs: Connection invalid / Input-/Output Errors schönfeld / in-medias-res
2005-09-07 12:11   ` Anton Altaparmakov
2005-09-07 14:14     ` schönfeld / in-medias-res [this message]
2005-09-07 16:24       ` Petr Vandrovec
2005-09-09  7:36         ` schönfeld / in-medias-res
2005-09-09 10:46           ` Petr Vandrovec
2005-09-09 11:16             ` schönfeld / in-medias-res

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=431EF5CD.9050006@in-medias-res.com \
    --to=schoenfeld@in-medias-res.com \
    --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