NetBSD-Bugs archive

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

Re: kern/38265: sometimes /kern directory can not be read



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

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/38265: sometimes /kern directory can not be read
Date: Thu, 20 Mar 2008 21:16:59 +0100

 On Thu, Mar 20, 2008 at 09:30:00AM +0000, dlagno%rambler.ru@localhost wrote:
 > >Number:         38265
 > >Category:       kern
 > >Synopsis:       sometimes /kern directory can not be read
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    kern-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Mar 20 09:30:00 +0000 2008
 > >Originator:     Denis Lagno
 > >Release:        4.99.55
 > >Organization:
 > >Environment:
 > NetBSD flam.gado 4.99.55 NetBSD 4.99.55 (FLAM) #0: Wed Mar 19 19:10:28 MSK 
 > 2008  
 > dina%flam.gado@localhost:/volatile/worksrc/netbsd-current/obj/sys/arch/i386/compile/FLAM
 >  i386
 > >Description:
 > kernfs is mounted:
 > 
 > $ mount | grep kern
 > kernfs on /kern type kernfs (read-only, local)
 > 
 > $ cat /etc/fstab | grep kern                                                 
 >                                  
 > none                                                    /kern                
 >                                                                              
 >       kernfs  ro                                                             
 >                                                  0       0
 > 
 > individual files can be read:
 > 
 > $ cat /kern/hz          
 > 100
 > 
 > However directory /kern sometimes fails to be read:
 
 FWIW I also see this on some systems:
 rap:/usr/home/bouyer>ls /kern/
 rap:/usr/home/bouyer>ls /kern/xen
 privcmd   xenbus    xsd_port
 rap:/usr/home/bouyer>
 
  29742      1 ls       CALL  open(0x7f7ffd808c00,4,0)
  29742      1 ls       NAMI  "/kern"
  29742      1 ls       RET   open 4
  29742      1 ls       CALL  fcntl(4,2,1)
  29742      1 ls       RET   fcntl 0
  29742      1 ls       CALL  __fstat30(4,0x7f7fffffd030)
  29742      1 ls       RET   __fstat30 0
  29742      1 ls       CALL  
__sysctl(0x7f7fffffcfc0,2,0x7f7ffdb0e080,0x7f7fffff
 cfb8,0,0)
  29742      1 ls       RET   __sysctl 0
  29742      1 ls       CALL  fstatvfs1(4,0x7f7fffffd0c0,2)
  29742      1 ls       RET   fstatvfs1 0
  29742      1 ls       CALL  lseek(4,0,0,1)
  29742      1 ls       RET   lseek 0
  29742      1 ls       CALL  __getdents30(4,0x7f7ffd81e000,0x1000)
  29742      1 ls       RET   __getdents30 -1 errno 9 Bad file descriptor
  29742      1 ls       CALL  close(4)
  29742      1 ls       RET   close 0
 
 -- 
 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index