From owner-freebsd-current Wed Oct 23 7:51:25 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 7B02237B401 for ; Wed, 23 Oct 2002 07:51:24 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 100BF43E65 for ; Wed, 23 Oct 2002 07:51:24 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 12124 invoked from network); 23 Oct 2002 14:51:21 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 23 Oct 2002 14:51:21 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9NEp3n5067111; Wed, 23 Oct 2002 10:51:06 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3DB664D0.FE0B8018@mindspring.com> Date: Wed, 23 Oct 2002 10:51:07 -0400 (EDT) From: John Baldwin To: Terry Lambert Subject: Re: smbfs broken? Cc: current@freebsd.org, Vitaly Markitantov , Maxime Henrion , kalts@estpak.ee 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 23-Oct-2002 Terry Lambert wrote: > Vallo Kallaste wrote: >> > I don't understand, then. There should be no other way that an ffs_write >> > call can trap to needing an SMBFS page: >> > >> > #22 0xc03902a8 in calltrap () at {standard input}:99 >> > #23 0xc033af01 in ffs_write (ap=0xd66ebbe8) at ../../../ufs/ffs/ffs_vnops.c:810 >> > #24 0xc029b74d in vn_write (fp=0xc40341a4, uio=0xd66ebc68, >> > active_cred=0xc4251d00, flags=0, td=0xc13534e0) at vnode_if.h:417 >> > #25 0xc0259a75 in dofilewrite (td=0xc13534e0, fp=0xc40341a4, fd=4, >> > buf=0x2805b000, nbyte=0, offset=0, flags=0) at file.h:215 >> > #26 0xc0259909 in write (td=0xc13534e0, uap=0xd66ebd10) >> > at ../../../kern/sys_generic.c:329 >> > --- >> > >> > You *must* be doing something that causes an SMBFS object to act as >> > backing store for an FFS. >> >> You know better, sure, but nevertheless I'm not doing anything what >> can cause it. Perhaps a bug somewhere. > > My guess is in the "?" routines that you didn't backtrace for us; > perhaps what happened was that the stack frame screwed up, and > implicated code that was not a fault. Umm, guys. The code was dereferencing NULL pointers in the mbchain code which was fixed yesterday. Please test it out with the fixed mbchains code. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message