NetBSD Problem Report #45974

From christos@pit.astron.com  Fri Feb 10 18:06:09 2012
Return-Path: <christos@pit.astron.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 0B3C463BCF4
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 10 Feb 2012 18:06:09 +0000 (UTC)
Message-Id: <20120210164908.81161139BB@pit.astron.com>
Date: Fri, 10 Feb 2012 16:49:07 +0000 (UTC)
From: christos@pit.astron.com
Reply-To: christos@pit.astron.com
To: gnats-bugs@gnats.NetBSD.org
Subject: kernfs mount point directory listing is empty
X-Send-Pr-Version: 3.95

>Number:         45974
>Category:       kern
>Synopsis:       kernfs mount point directory listing is empty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 10 18:10:00 +0000 2012
>Closed-Date:    Tue Feb 21 07:11:40 +0000 2012
>Last-Modified:  Wed Feb 12 20:00:07 +0000 2020
>Originator:     Christos Zoulas
>Release:        NetBSD 5.99.64
>Organization:
	Entropy Reduction LLC.
>Environment:
System: NetBSD pit.astron.com 5.99.64 NetBSD 5.99.64 (GENERIC) #12: Thu Feb 9 18:03:19 EST 2012 christos@quasar.astron.com:/usr/src/sys/arch/shark/compile/GENERIC shark
Architecture: arm
Machine: shark
>Description:
	ls /kern
	is empty
>How-To-Repeat:
	mount and list /kern.
>Fix:
?

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/45974: kernfs mount point directory listing is empty
Date: Sun, 12 Feb 2012 14:37:03 +0100

 On Fri, Feb 10, 2012 at 06:10:01PM +0000, christos@pit.astron.com wrote:
 > >Number:         45974
 > >Category:       kern
 > >Synopsis:       kernfs mount point directory listing is empty

 Works for me.

 # ls /kern 
 boottime  copyright hostname  hz        loadavg   msgbuf    pagesize  physmem   rootdev   rrootdev  time      version
 # uname -a
 NetBSD hostname 5.99.64 NetBSD 5.99.64 (YT) #49: Tue Feb  7 22:21:17 CET 2012  wiz@hostname:/usr/src/sys/arch/amd64/compile/obj/KERNEL amd64
 #  mount  | grep kern
 kernfs on /kern type kernfs (local)

  Thomas

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 21 Feb 2012 07:11:40 +0000
State-Changed-Why:
Duplicate of 38265.


From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45974 CVS commit: src/sys/miscfs/kernfs
Date: Tue, 4 Feb 2020 04:19:25 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Feb  4 04:19:24 UTC 2020

 Modified Files:
 	src/sys/miscfs/kernfs: kernfs.h kernfs_vfsops.c kernfs_vnops.c

 Log Message:
 Use specfs vnops for specnodes in kernfs.

 While here, don't filter out rootdev and rrootdev merely because
 they're not cached.

 Fixes the elusive /kern/rootdev and /kern/rrootdev nodes, which only
 appeared sometimes when they felt like it, and fixes operations on
 /kern/rootdev and /kern/rrootdev always returning EOPNOTSUPP.

 We didn't seem to have a single PR for these issues but the following
 PRs are all relevant:

 PR bin/13564
 PR kern/38265
 PR kern/38778
 PR kern/45974

 XXX pullup-9, pullup-8, pullup-7, pullup-6, pullup-5, pullup-4, pullup-3, pullup-2, pullup-1.4T...


 To generate a diff of this commit:
 cvs rdiff -u -r1.42 -r1.43 src/sys/miscfs/kernfs/kernfs.h
 cvs rdiff -u -r1.97 -r1.98 src/sys/miscfs/kernfs/kernfs_vfsops.c
 cvs rdiff -u -r1.162 -r1.163 src/sys/miscfs/kernfs/kernfs_vnops.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45974 CVS commit: [netbsd-9] src/sys/miscfs/kernfs
Date: Wed, 12 Feb 2020 19:59:23 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Wed Feb 12 19:59:22 UTC 2020

 Modified Files:
 	src/sys/miscfs/kernfs [netbsd-9]: kernfs.h kernfs_vfsops.c
 	    kernfs_vnops.c

 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #702):

 	sys/miscfs/kernfs/kernfs_vfsops.c: revision 1.98
 	sys/miscfs/kernfs/kernfs_vnops.c: revision 1.163
 	sys/miscfs/kernfs/kernfs.h: revision 1.43

 Use specfs vnops for specnodes in kernfs.

 While here, don't filter out rootdev and rrootdev merely because
 they're not cached.

 Fixes the elusive /kern/rootdev and /kern/rrootdev nodes, which only
 appeared sometimes when they felt like it, and fixes operations on
 /kern/rootdev and /kern/rrootdev always returning EOPNOTSUPP.

 We didn't seem to have a single PR for these issues but the following
 PRs are all relevant:

 PR bin/13564
 PR kern/38265
 PR kern/38778
 PR kern/45974

 XXX pullup-9, pullup-8, pullup-7, pullup-6, pullup-5, pullup-4, pullup-3, p=
 ullup-2, pullup-1.4T...


 To generate a diff of this commit:
 cvs rdiff -u -r1.40 -r1.40.32.1 src/sys/miscfs/kernfs/kernfs.h
 cvs rdiff -u -r1.96 -r1.96.18.1 src/sys/miscfs/kernfs/kernfs_vfsops.c
 cvs rdiff -u -r1.160.4.1 -r1.160.4.2 src/sys/miscfs/kernfs/kernfs_vnops.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.