10.0-BETA3: Unable to access files on SMB share

Tomoaki AOKI junchoon at dec.sakura.ne.jp
Thu Nov 7 13:12:29 UTC 2013


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.


The thread I created before kern/182963 is as follows:
  http://forums.freebsd.org/showthread.php?t=42502


On Wed,  6 Nov 14:02:54 UTC 2013,
Alexander Shikoff <minotaur at crete.org.ua > wrote:
>Hi!
>
>On Wed, Nov 06, 2013 at 05:48:27PM +0400, Gleb Smirnoff wrote:
>> On Tue, Nov 05, 2013 at 09:11:59PM +0200, Alexander Shikoff wrote:
>> A> On Tue, Nov 05, 2013 at 07:06:38PM -0000, Steven Hartland wrote:
>> A> > Rebuilt samba?
>> A> ?!
>> A> 
>> A> I use kernel SMBFS in order to have access to remote Samba shares.
>> A> And it seems that it is broken in 10.0-BETA3. In earlier 10-CURRENT
>> A> it worked without any issues.
>> 
>> It'll be very useful to track down the scope of regression to a more
>> precise timeframe.
>> 
>> What was the date of your previous version of 10-CURRENT (the one working)?
>
>/mnt/tmp/src>svnlite info
>Path: .
>Working Copy Root Path: /mnt/tmp/src
>URL: svn://svn.freebsd.org/base/head
>Relative URL: ^/head
>Repository Root: svn://svn.freebsd.org/base
>Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>Revision: 255453
>Node Kind: directory
>Schedule: normal
>Last Changed Author: jmg
>Last Changed Rev: 255453
>Last Changed Date: 2013-09-10 20:26:09 +0300 (вт, 10 вер 2013)
>
>-- 
>MINO-RIPE

-- 
Tomoaki AOKI    junchoon at dec.sakura.ne.jp


More information about the freebsd-stable mailing list