Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 17:42:45 +0300
From:      Alex Lyashkov <shadow@psoft.net>
To:        "Kevin A. Pieckiel" <pieckiel+freebsd-hackers@sdf.lonestar.org>
Cc:        John Baldwin <jhb@FreeBSD.org>
Subject:   Re: 5.2.1 panic
Message-ID:  <1084804965.7881.2.camel@berloga.shadowland>
In-Reply-To: <20040517130456.GA21383@SDF.LONESTAR.ORG>
References:  <20040513171659.GA14716@SDF.LONESTAR.ORG> <200405141133.49502.jhb@FreeBSD.org> <20040517130456.GA21383@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help

÷ ðÎÄ, 17.05.2004, × 16:04, Kevin A. Pieckiel ÐÉÛÅÔ:
> On Fri, May 14, 2004 at 11:33:49AM -0400, John Baldwin wrote:
> 
> > Do 'l *0xc0519a64' in gdb to get the line that it actually faulted on.  Since 
> > this is likely a NULL pointer deref that might help you fix the bug or at 
> > least find out its cause.
> 
> Wow.  That's interesting to me.  I didn't expect this:
> 
> (kgdb) l *0xc0519a64
> 0xc0519a64 is in quotactl (/usr/src/sys/kern/vfs_syscalls.c:206).
> 201             NDFREE(&nd, NDF_ONLY_PNBUF);
> 202             error = vn_start_write(nd.ni_vp, &mp, V_WAIT | PCATCH);
> 203             vrele(nd.ni_vp);
> 204             if (error)
> 205                     return (error);
> 206             error = VFS_QUOTACTL(mp, uap->cmd, uap->uid, uap->arg, td);
> 207             vn_finished_write(mp);
> 208             return (error);
> 209     }
> 210
Please update you source. It`s bug already fixed  at
src/sys/kern/vfs_syscalls.c v. 1.345
=====
  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  Always use nd.ni_vp->v_mount as an argument for VFS_QUOTACTL(), just
like
  in RELENG_4.
=====
-- 
Alex Lyashkov <shadow@psoft.net>
PSoft



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1084804965.7881.2.camel>