Date: Wed, 23 Oct 2002 18:03:03 +0200 From: Sheldon Hearn <sheldonh@starjuice.net> To: Vitaly Markitantov <vm@dics.com.ua> Cc: current@FreeBSD.ORG Subject: Re: smbfs broken? Message-ID: <20021023160303.GN661@starjuice.net> In-Reply-To: <20021023160014.GM661@starjuice.net> References: <3DB664D0.FE0B8018@mindspring.com> <XFMail.20021023105107.jhb@FreeBSD.org> <20021023152144.GA10351@iron.del.local> <20021023160014.GM661@starjuice.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On (2002/10/23 18:00), Sheldon Hearn wrote:
> Confirmed with rev 1.9 of subr_mchain.c.
>
> However, I notice that this only happens with files of 8145 bytes size
> or larger.
>
> [server]
> # for i in `jot 512 7680`; do
> dd if=/dev/zero of=$i bs=$i count=1
> done 2>/dev/null
>
> [client]
> $ for i in `jot 512 7680`; do
> cp /smb/urchin/pub/bytes/$i . || break;
> done
> cp: ./8145: Bad address
>
> If I truss the cp process, I get this:
>
> [...]
> open("/smb/urchin/pub/bytes/8145",0x0,00) = 3 (0x3)
> open("./8145",0x401,00) = 4 (0x4)
> mmap(0x0,8145,0x1,0x1,3,0x0) = 671461376 (0x2805b000)
Actually, cat(1) is a simpler test case, and more accurately reflects
the problem:
open("/smb/urchin/pub/bytes/8145",0x0,00) = 3 (0x3)
fstat(1,0xbfbff620) = 0 (0x0)
read(0x3,0x805e000,0x2000) ERR#60 'Operation timed out'
Ciao,
Sheldon.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021023160303.GN661>
