From owner-freebsd-hackers Thu Dec 27 13: 0: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 1EE8337B405 for ; Thu, 27 Dec 2001 13:00:07 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id A99F881D01; Thu, 27 Dec 2001 15:00:06 -0600 (CST) Date: Thu, 27 Dec 2001 15:00:06 -0600 From: Alfred Perlstein To: Michael Scheidell Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: userland program panics freebsd 4.3 Message-ID: <20011227150006.L55891@elvis.mu.org> References: <20011221174007.D551C38CC@overcee.netplex.com.au> <200112211751.fBLHpcr02576@scanner.secnap.net> <20011221181804.A40540@walton.maths.tcd.ie> <015701c18f14$a1b90660$05032240@MIKELT> <20011227143138.I55891@elvis.mu.org> <017601c18f17$a9ce64a0$05032240@MIKELT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <017601c18f17$a9ce64a0$05032240@MIKELT>; from scheidell@secnap.net on Thu, Dec 27, 2001 at 03:47:13PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Michael Scheidell [011227 14:48] wrote: > > same place as before: > > 0 fstatfs (p=0xce1bd260, uap=0xce216f80) at ../../kern/vfs_syscalls.c:684 > 684 error = VFS_STATFS(mp, sp, p); > 680 if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) > 681 return (error); > 682 mp = ((struct vnode *)fp->f_data)->v_mount; > 683 sp = &mp->mnt_stat; > 684 error = VFS_STATFS(mp, sp, p); > 685 if (error) > 686 return (error); > 687 sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; > 688 if (suser_xxx(p->p_ucred, 0, 0)) { > (kgdb) print mp > $1 = (struct mount *) 0x28121604 > (kgdb) print sp > $2 = (struct statfs *) 0x7 > (kgdb) print p > $3 = (struct proc *) 0x8000 > (kgdb) print sp->f_flags > Cannot access memory at address 0x37. Ah, ok, I did see this before. Can you print: *mp, *sp, *p, *((struct vnode *)fp->f_data) Can you tell me what filesystem this is over? Do you have any special tunables set in your kernel? Anything you can divulge about how this program operates? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message