From owner-freebsd-current Wed Oct 23 9: 3:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0567437B401 for ; Wed, 23 Oct 2002 09:03:44 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8817C43E3B for ; Wed, 23 Oct 2002 09:03:42 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.10) id 184NyJ-00027e-00; Wed, 23 Oct 2002 18:03:03 +0200 Date: Wed, 23 Oct 2002 18:03:03 +0200 From: Sheldon Hearn To: Vitaly Markitantov Cc: current@FreeBSD.ORG Subject: Re: smbfs broken? Message-ID: <20021023160303.GN661@starjuice.net> Mail-Followup-To: Vitaly Markitantov , current@FreeBSD.ORG References: <3DB664D0.FE0B8018@mindspring.com> <20021023152144.GA10351@iron.del.local> <20021023160014.GM661@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021023160014.GM661@starjuice.net> User-Agent: Mutt/1.5.1i X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *184NyJ-00027e-00*/ntNvQc85xU* Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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