10.0-BETA3: Unable to access files on SMB share

Dominic Fandrey kamikaze at bsdforen.de
Thu Nov 7 16:03:49 UTC 2013


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? 


More information about the freebsd-stable mailing list