NetBSD Problem Report #37402
From andreas@whome.planix.com Sun Nov 18 16:59:02 2007
Return-Path: <andreas@whome.planix.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 1FF3063B88C
for <gnats-bugs@gnats.NetBSD.org>; Sun, 18 Nov 2007 16:59:02 +0000 (UTC)
Message-Id: <m1ItmXR-000ZUdC@whome.planix.com>
Date: Sun, 18 Nov 2007 10:58:25 -0500 (EST)
From: Andreas Wrede <andreas@planix.com>
Sender: "Andreas Wrede" <andreas@whome.planix.com>
Reply-To: andreas@planix.com
To: gnats-bugs@NetBSD.org
Subject: [4.0] fstat file descriptor info broken
X-Send-Pr-Version: 3.95
>Number: 37402
>Category: kern
>Synopsis: fstat return bogus file descriptor info
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 18 17:00:00 +0000 2007
>Last-Modified: Mon Nov 19 03:45:00 +0000 2007
>Originator: Andreas Wrede
>Release: NetBSD 4.0_RC4
>Organization:
Andreas Wrede Planix, Inc.
andreas@planix.com Networking, System Administration, Consulting
http://www.planix.com Toronto, Ontario, Canada
"The steady state of disks is full."
-- Ken Thompson
>Environment:
System: NetBSD whome.planix.com 4.0_RC4 NetBSD 4.0_RC4 (PLANIX.MPACPI) #329: Fri Nov 16 07:09:00 EST 2007 root@whome.planix.com:/u2/netbsd-4.0/obj.i386/sys/arch/i386/compile/PLANIX.MPACPI i386
Architecture: i386
Machine: i386
>Description:
fstat prints garbage for file descriptors. The break occurs somewhere between Map 27, 2007 (BETA2) and Oct 15, 2007 (RC2).
>How-To-Repeat:
$ ps -axp $$
PID TTY STAT TIME COMMAND
1431 ttyp0 Ss 0:00.02 -ksh
$ fstat -p $$
USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
andreas ksh 1431 wd - - ?(c20a4cd -
andreas ksh 1431 6 - - none -
andreas ksh 1431 7 - - none -
andreas ksh 1431 8 - - none -
>Fix:
unknown
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/37402: [4.0] fstat file descriptor info broken
Date: Mon, 19 Nov 2007 01:31:43 +0100
I can not reproduce it on 4.0RC1/i386 or 4.0RC3/sparc64
Martin
From: Andreas Wrede <andreas@planix.com>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/37402: [4.0] fstat file descriptor info broken
Date: Sun, 18 Nov 2007 22:43:03 -0500
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-573-240735228
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
On Nov 18, 2007, at 19:35 , Martin Husemann wrote:
> The following reply was made to PR kern/37402; it has been noted by
> GNATS.
>
> From: Martin Husemann <martin@duskware.de>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: kern/37402: [4.0] fstat file descriptor info broken
> Date: Mon, 19 Nov 2007 01:31:43 +0100
>
> I can not reproduce it on 4.0RC1/i386 or 4.0RC3/sparc64
After trimming down the differences between GENERIC.MP and my kernel,
I found that setting LOCKDEBUG causes the problem.
--
aew
--Apple-Mail-573-240735228
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHQQZHEh/h9J/TQyERAjjTAJ9YPvYxQM8JkwovnLntpD3dJcYJxgCg0xSf
HVsEkcd0bf3DS84NNNkH4xI=
=FhOq
-----END PGP SIGNATURE-----
--Apple-Mail-573-240735228--
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.