All of lore.kernel.org
 help / color / mirror / Atom feed
From: L A Walsh <cifs-gT3AUAsYRbTYtjvyW6yDsg@public.gmane.org>
To: "Aurélien Aptel" <aaptel-IBi9RG/b67k@public.gmane.org>
Cc: linux-cifs <linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: cifs running amok after being disconnected (timeout?)
Date: Wed, 01 Mar 2017 10:06:43 -0800	[thread overview]
Message-ID: <58B70DB3.6010102@tlinx.org> (raw)
In-Reply-To: <mpsefyhfd6b.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>

Aurélien Aptel wrote:
> L A Walsh <cifs-gT3AUAsYRbTYtjvyW6yDsg@public.gmane.org> writes:
>   
>>     Have to gen a new kernel -- about time for that w/4.10 being
>> released...but the last patch and one before don't apply well
>> for some reason ('git' tag? or index up front?)...
>>     
>
> I'm not sure I understand what you mean.
---
    Sorry, I was referring to my normally getting my kernel
source by downloading the patch from the last version from
kernel.org.

    Recently (starting in 4.9), the patch hasn't been able to be
applied with 'patch' (latest version AFAICanTell) but seems or
appears like it might need 'git' -- which defeats the purpose of
creating patches to the released tarballs.

    For now, I just D/L'd the full 4.10.1 tarball, but really need
to get the diff working w/patch again.  Having a git-diff exported
that only will update a git tree is inconvenient, besides being
pointless (i.e. if you have your tree in git, then I don't see
the need for a separate 'diff+patch' that is meant to be applied
to the previous version tarball).

>
> Historically cifs.ko was a samba project. Both have a (neglected :(...)
> cifs section you can use.
>   
----
    Didn't know about samba's cifs section.
> https://bugzilla.samba.org/buglist.cgi?component=kernel%20fs&list_id=11514&product=CifsVFS&resolution=---
> https://bugzilla.kernel.org/buglist.cgi?component=CIFS&product=File%20System&resolution=---
>
>   
>>     I don't specify a protocol on my mount lines, but the
>> samba server doesn't have a SMB2.1 option that I know of (nor
>> a 'SMB3').  Should samba allow specifications of 'smb' > 2?
>>     
>
> The Samba server lets you pick the min and max supported protocols via
> "server min protocol" and "server max protocol" in smb.conf.
====
    Right... my samba version only supports up to SMB2.
>   
>>     As for the client -- Win7, it could use 2.1 I believe
>> (not sure what differences are between 2.1 and 2), but smb3
>> is unavailable for win7.  That said, though, if I don't
>> specify a proto, the client is win7sp1, and the server is
>>     
^^^^^^^^^^^^^^^^^^^^^^^^server
>> the in-kernel CIFS, shouldn't "2.1" be negotiated as
>> the highest level supported?
>>     
>
> (I'm assuming you meant "the server is samba" as there is no in-kernel
> cifs server that I know of)
>   
---
    Sorry, to use the linux-cifs fs on linux, I mean to call
my Win7sp1 a "server". 
> Windows clients will try to negotiate the highest protocol version but
> cifs.ko defaults to 1.0 unless you specify otherwise via -o vers=xyz at
> mount.
>   
----
    *ouch*.  That doesn't sound compatible.  Good to know, I guess.
But if I specify 2.1, and a client can't connect at 2.1, will it fail, or
gracefully fall back to 2.0?  I.e. is the '-o vers=xyz' used to specify
a maximum? 

    you mentioned gettign a trace from when I mount -- but the
reset-loop doesn't start @ mount, but seems to start a few minutes
later (maybe 120 seconds?)...Just checked my settings on the
Win machine (recently "upgraded" (same-to-same) to try to
eliminate some problems on the Win-machine) -- it has a setting
for disconnecting idle clients which had been reset to a
default of 15 minutes, so that's not likely the trigger.  I reset
it back to "don't disconnect" -- useful for my setup.

    Got several things on the plate, so not sure how soon I'll
be able to reboot the lnx server w/new kernel.  Sure would be nice
if it could 'hot boot', but every time I do, the screen doesn't
get reset to default state so can't see any boot messages until
the system runs tty/video setup as services are started (i.e. after
kernel booting has completed).  I really prefer being able to see
what's going on as it boots...*sigh*

  parent reply	other threads:[~2017-03-01 18:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27 19:42 cifs running amok after being disconnected (timeout?) L A Walsh
     [not found] ` <58B48122.5000708-gT3AUAsYRbTYtjvyW6yDsg@public.gmane.org>
2017-02-28 10:52   ` Aurélien Aptel
     [not found]     ` <mpslgsqfuyx.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-02-28 21:58       ` L A Walsh
     [not found]         ` <58B5F296.1080408-gT3AUAsYRbTYtjvyW6yDsg@public.gmane.org>
2017-03-01 11:29           ` Aurélien Aptel
     [not found]             ` <mpsefyhfd6b.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-03-01 18:06               ` L A Walsh [this message]
     [not found]                 ` <58B70DB3.6010102-gT3AUAsYRbTYtjvyW6yDsg@public.gmane.org>
2017-03-02 14:24                   ` Aurélien Aptel

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=58B70DB3.6010102@tlinx.org \
    --to=cifs-gt3auasyrbtytjvyw6ydsg@public.gmane.org \
    --cc=aaptel-IBi9RG/b67k@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.