[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: amd64/123456: /usr/bin/fstat shows error messages and hang.



The following reply was made to PR amd64/123456; it has been noted by GNATS.

From: John Baldwin <jhb_(_at_)_freebsd_(_dot_)_org>
To: freebsd-amd64_(_at_)_freebsd_(_dot_)_org
Cc: KOIE Hidetaka <hide_(_at_)_koie_(_dot_)_org>, freebsd-gnats-submit_(_at_)_freebsd_(_dot_)_org
Subject: Re: amd64/123456: /usr/bin/fstat shows error messages and hang.
Date: Wed, 7 May 2008 14:29:27 -0400

 On Tuesday 06 May 2008 06:53:42 am KOIE Hidetaka wrote:
 > >Description:
 >         fstat -v shows error message like this:
 >                 can't read vnode at 0x0 for pid ***
 >                 can't read znode_phys at 0x**** for pid ***
 >                 unknown file type 5 for file 5 of pid ***
 > 
 >         fstat / hangs.
 > 
 > >How-To-Repeat:
 > 
 > >Fix:
 >         Patch for "can't read vnode at 0x0 for pid ***":
 >         vtrans() is invoked iff vp is not null.
 > 
 >         Patch for "can't read znode_phys at 0x**** for pid ***":
 >         znode_phys is void *, not int.
 > 
 >         Patch for "unknown file type 5 for file 5 of pid ***":
 >         consider other DTYPEs.
 > 
 >         Patch for hanging:
 >         sysctl "debug.sizeof.znode" returns int, not size_t.
 
 I've applied all of the fixes except for the 3rd one.  I think that each file 
 type should show up as unknown until support for it is added to fstat.
 
 -- 
 John Baldwin
_______________________________________________
freebsd-amd64_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org