Date: Thu, 08 May 2008 15:41:11 +0900 (JST) From: KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQbKEI=?=) <hide@koie.org> To: jhb@freebsd.org Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/123456: /usr/bin/fstat shows error messages and hang. Message-ID: <20080508.154111.518888619028018476.hide@koie.org> In-Reply-To: <200805071429.27293.jhb@freebsd.org> References: <200805061053.m46Arg8J089713@www.freebsd.org> <200805071429.27293.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Message-Id: <200805071429.27293.jhb@freebsd.org> Date: Wed, 7 May 2008 14:29:27 -0400 From: John Baldwin <jhb@freebsd.org> Subject: Re: amd64/123456: /usr/bin/fstat shows error messages an.. | 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. Yes, any message should be showed. But, "unknown file type" impresses user-kernel version mismatch to me... -- KOIE Hidetaka <hide@koie.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080508.154111.518888619028018476.hide>