Subject: kern/33797: kernfs files cannot be read
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 06/23/2006 01:55:00
>Number: 33797
>Category: kern
>Synopsis: kernfs files are not supplying information
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 23 01:55:00 +0000 2006
>Originator: Geoff C. Wing
>Release: NetBSD 3.99.21 (2006-06-23)
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 3.99.21 NetBSD 3.99.21 (G) #0: Mon Jun 19 11:46:47 EST 2006 gcw@g.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
>Description:
files on a kernfs mount show proper size information but no
longer provide output when read.
Filesystem 1K-blocks Used Avail Capacity Mounted on
kernfs 1 1 0 100% /kern
% ls -l /kern/
total 32
-r--r--r-- 1 root wheel 11 Jun 9 14:32 boottime
-r--r--r-- 1 root wheel 248 Jun 9 15:34 copyright
-rw-r--r-- 1 root wheel 18 Jun 9 15:34 hostname
-r--r--r-- 1 root wheel 4 Jun 9 15:34 hz
-r--r--r-- 1 root wheel 20 Jun 9 15:34 loadavg
-r--r--r-- 1 root wheel 32752 Jun 9 15:34 msgbuf
-r--r--r-- 1 root wheel 5 Jun 9 15:34 pagesize
-r--r--r-- 1 root wheel 7 Jun 9 15:34 physmem
brw-r----- 1 root operator 0, 0 Apr 28 2003 rootdev
crw-r----- 1 root operator 3, 0 Dec 21 2003 rrootdev
-r--r--r-- 1 root wheel 18 Jun 9 15:34 time
-r--r--r-- 1 root wheel 115 Jun 9 15:34 version
% cat -v /kern/[a-qs-z]*
% od -x /kern/[a-qs-z]*
% su
# cat -v /kern/[a-qs-z]*
# od -x /kern/[a-qs-z]*
#
rootdev/rrootdev seems properly functional
>How-To-Repeat:
See up.
>Fix:
?