From owner-freebsd-stable@FreeBSD.ORG Thu Nov 7 16:03:49 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DBD7FE17 for ; Thu, 7 Nov 2013 16:03:49 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id 9D1552A32 for ; Thu, 7 Nov 2013 16:03:49 +0000 (UTC) Received: from mobileKamikaze.norad (MN-VPN2.HS-Karlsruhe.DE [193.196.117.63]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id 2A461861EB; Thu, 7 Nov 2013 17:03:47 +0100 (CET) Message-ID: <527BB9E2.2060300@bsdforen.de> Date: Thu, 07 Nov 2013 17:03:46 +0100 From: Dominic Fandrey MIME-Version: 1.0 To: Tomoaki AOKI , freebsd-stable@freebsd.org Subject: Re: 10.0-BETA3: Unable to access files on SMB share References: <20131107211935.fef3a2498632fe8da5cf08c6@dec.sakura.ne.jp> In-Reply-To: <20131107211935.fef3a2498632fe8da5cf08c6@dec.sakura.ne.jp> Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 16:03:49 -0000 On 07/11/2013 13:19, Tomoaki AOKI wrote: > Sorry for breaking thread. I've read this ML via pipermail and > subscribed just now for this. > > I'm surprised to know that smbfs was working on r255453. > > For me, as I already sent PR kern/182963 and posted a thread in The > FreeBSD Forums, smbfs was not properly working in r255138 and later. > Same as stable/10, while r255136 (in head) works OK. > > In my case, applying the diff I attached to kern/182963 fixes the issue. > The diff modifies timeout values in 2 lines, as r255138 changes > sb_timeo in struct sockbuf from int (unit of time is hz) to sbintime_t > (unit of time is 1/10^33 in seconds, as time in seconds is stored in > upper half of __int64_t), but sys/netsmb/smb_trantcp.c doesn't chase it. smbfs works for me but very unreliably. Timing may well be the issue here, so I think I will test that patch. Please also note my fix for iconv support: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/183153 -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?