Messages in this thread | | | Date | Fri, 12 Dec 1997 05:35:21 +0100 (MET) | From | "Michael L. Galbraith" <> | Subject | knfsd 2.1.72+nfsd_72-patch w. root export |
| |
Hello Bill,
The 'dentry migration (??)' problem I'm having is still there.
The attached script will reproduce this output 100% reliably here. It would be nice if someone else would try this script (after moding) in order to either confirm or deny the existence of this bug.
This output was produced just now, with all hacker-tools disabled. (doesn't change anything, but makes the report more reliable :)
I have also modified ktracer to make veeery accurate and complete synchronized traces of the events via a slightly modified script.
-Mike
#-----------------------------begin-Unfsd-run-----------------------#
Linux version 2.1.72 (root@mikeg) (gcc version 2.8.0) #14 Thu Dec 11 16:32:00 MET 1997 Fri Dec 12 05:10:18 MET 1997 /usr/sbin/rpc.mountd /usr/sbin/rpc.nfsd exportfs -v / laptop.mikeg.weiden.de(rw,async,wdelay,no_root_squash)
#---------------------------client-output---------------------------#
client: executing /bin/ls -m /nfs
System.map, archives, bin, boot, cdrom, dev, dos_c, dos_d, etc, fastboot, home, laptop, lib, lost+found, mnt, mnt1, nfstest2, nfstest2.out, proc, root, sbin, shlib, shlibs, tmp, usr, var, vmlinux, vmunix, xx
client: executing /bin/ls -mi /nfs
555747814 System.map, 555748845 archives, 555746824 bin, 555748737 boot, 555748776 cdrom, 555745292 dev, 555748761 dos_c, 555748762 dos_d, 555747164 etc, 555747872 fastboot, 555745762 home, 555748613 laptop, 555748488 lib, 555745291 lost+found, 555747460 mnt, 555748977 mnt1, 555748882 nfstest2, 555748878 nfstest2.out, 555748763 proc, 555747547 root, 555746976 sbin, 555748764 shlib, 555748772 shlibs, 555748777 tmp, 555748760 usr, 555748759 var, 555747837 vmlinux, 555749070 vmunix, 555748883 xx
client: executing /bin/ls -mi /nfs
555747814 System.map, 555748845 archives, 555746824 bin, 555748737 boot, 555748776 cdrom, 555745292 dev, 555748761 dos_c, 555748762 dos_d, 555747164 etc, 555747872 fastboot, 555745762 home, 555748613 laptop, 555748488 lib, 555745291 lost+found, 555747460 mnt, 555748977 mnt1, 555748882 nfstest2, 555748878 nfstest2.out, 555748763 proc, 555747547 root, 555746976 sbin, 555748764 shlib, 555748772 shlibs, 555748777 tmp, 555748760 usr, 555748759 var, 555747837 vmlinux, 555749070 vmunix, 555748883 xx
#---------------------------end-client-output-----------------------#
killall rpc.mountd; killall rpc.nfsd
#----------------------------kernel-output--------------------------#
Dec 12 05:10:18 mikeg mountd[642]: Unknown keyword "wdelay" in export file Dec 12 05:10:18 mikeg nfsd[643]: setsockopt failed: Invalid argument Dec 12 05:10:18 mikeg nfsd[643]: setsockopt failed: Invalid argument Dec 12 05:10:18 mikeg nfsd[644]: Unknown keyword "wdelay" in export file
#-----------------------------end-Unfsd-run-------------------------#
#-----------------------------begin-Knfsd-run-----------------------#
Linux version 2.1.72 (root@mikeg) (gcc version 2.8.0) #14 Thu Dec 11 16:32:00 MET 1997 Fri Dec 12 05:10:23 MET 1997 /usr/sbin/rpc.kmountd /usr/sbin/rpc.knfsd exportfs -v / laptop.mikeg.weiden.de(rw,async,wdelay,no_root_squash)
#---------------------------client-output---------------------------#
client: executing /bin/ls -m /nfs
System.map, archives, bin, boot, cdrom, dev, dos_c, dos_d, etc, fastboot, home, laptop, lib, lost+found, mnt, mnt1, nfstest2, nfstest2.out, proc, root, sbin, shlib, shlibs, tmp, usr, var, vmlinux, vmunix, xx
client: executing /bin/ls -mi /nfs
/bin/ls: /nfs/dos_c: Permission denied /bin/ls: /nfs/dos_d: Permission denied /bin/ls: /nfs/proc: Permission denied /bin/ls: /nfs/shlib: Permission denied /bin/ls: /nfs/shlibs: Permission denied /bin/ls: /nfs/cdrom: Permission denied /bin/ls: /nfs/tmp: Permission denied /bin/ls: /nfs/home: Permission denied /bin/ls: /nfs/mnt: Permission denied /bin/ls: /nfs/archives: Permission denied /bin/ls: /nfs/fastboot: Permission denied /bin/ls: /nfs/System.map: Permission denied /bin/ls: /nfs/xx: Permission denied /bin/ls: /nfs/vmunix: Permission denied /bin/ls: /nfs/nfstest2: Permission denied /bin/ls: /nfs/nfstest2.out: Permission denied /bin/ls: /nfs/vmlinux: Permission denied /bin/ls: /nfs/mnt1: Permission denied /bin/ls: /nfs/laptop: Permission denied 1544 bin, 3457 boot, 12 dev, 1884 etc, 3208 lib, 11 lost+found, 2267 root, 1696 sbin, 2 usr, 3479 var
client: executing /bin/ls -mi /nfs
/bin/ls: /nfs/local: Permission denied /bin/ls: /nfs/man: Permission denied /bin/ls: /nfs/doc: Permission denied /bin/ls: /nfs/src: Permission denied /bin/ls: /nfs/dict: Permission denied /bin/ls: /nfs/info: Permission denied /bin/ls: /nfs/share: Permission denied /bin/ls: /nfs/openwin: Permission denied /bin/ls: /nfs/X11R6: Permission denied /bin/ls: /nfs/adm: Permission denied /bin/ls: /nfs/preserve: Permission denied /bin/ls: /nfs/spool: Permission denied /bin/ls: /nfs/tmp: Permission denied /bin/ls: /nfs/X386: Permission denied /bin/ls: /nfs/X11: Permission denied /bin/ls: /nfs/include: Permission denied /bin/ls: /nfs/Info: Permission denied /bin/ls: /nfs/dll: Permission denied /bin/ls: /nfs/libexec: Permission denied /bin/ls: /nfs/games: Permission denied /bin/ls: /nfs/pkg: Permission denied /bin/ls: /nfs/lock: Permission denied /bin/ls: /nfs/log: Permission denied /bin/ls: /nfs/rwho: Permission denied /bin/ls: /nfs/adainclude: Permission denied /bin/ls: /nfs/athena: Permission denied /bin/ls: /nfs/postgres: Permission denied /bin/ls: /nfs/man8: Permission denied /bin/ls: /nfs/inet6: Permission denied /bin/ls: /nfs/i486-linuxlibc1: Permission denied /bin/ls: /nfs/archives: Permission denied /bin/ls: /nfs/home: Permission denied /bin/ls: /nfs/X11R6.3: Permission denied /bin/ls: /nfs/admin: Permission denied /bin/ls: /nfs/i586-linux-gnulibc1: Permission denied /bin/ls: /nfs/i486-linux-gnulibc1: Permission denied 1544 bin, 1884 etc, 3208 lib, 11 lost+found, 1696 sbin, 3479 var
#---------------------------end-client-output-----------------------#
killall rpc.kmountd; killall rpc.fsd mount /dev/sdb1 on / type ext2 (rw) none on /proc type proc (rw) /dev/sdb2 on /tmp type ext2 (rw) /dev/sdb3 on /usr type ext2 (rw) /dev/sdc1 on /usr/local/src type ext2 (rw) /dev/sda1 on /dos_c type vfat (rw) /dev/sda2 on /dos_d type vfat (rw) /dev/scd0 on /cdrom type iso9660 (ro)
df Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sdb1 69408 55208 10620 84% / /dev/sdb2 29744 788 27420 3% /tmp /dev/sdb3 1771464 1603540 149636 91% /usr /dev/sdc1 1869624 1665748 203876 89% /usr/local/src /dev/sda1 205588 172460 33128 84% /dos_c /dev/sda2 615248 578768 36480 94% /dos_d /dev/scd0 326210 326210 0 100% /cdrom
ls -mi / 2534 System.map, 3565 archives, 1544 bin, 3457 boot, 40960 cdrom, 12 dev, 1 dos_c, 1 dos_d, 1884 etc, 2592 fastboot, 482 home, 3333 laptop, 3208 lib, 11 lost+found, 2180 mnt, 3697 mnt1, 3602 nfstest2, 3598 nfstest2.out, 1 proc, 2267 root, 1696 sbin, 3484 shlib, 3492 shlibs, 2 tmp, 2 usr, 3479 var, 2557 vmlinux, 3790 vmunix, 3603 xx
ls -mi /usr 4451 Info, 4375 X11, 101757 X11R6, 143 X11R6.3, 4374 X386, 4515 adainclude, 4370 adm, 5237 admin, 134061 archives, 4516 athena, 32673 bin, 100197 dict, 363825 dll, 2278 doc, 100194 etc, 69784 games, 397088 home, 331818 i486-linux-gnulibc1, 134058 i486-linuxlibc1, 133939 i586-linux-gnulibc1, 331047 include, 133977 inet6, 35126 info, 98017 lib, 363829 libexec, 327344 local, 4514 lock, 133936 log, 11 lost+found, 132484 man, 133976 man8, 3753 openwin, 133931 pkg, 133965 postgres, 4371 preserve, 133937 rwho, 3191 sbin, 231918 share, 4372 spool, 67375 src, 4373 tmp, 4517 var
#----------------------------kernel-output--------------------------#
Dec 12 05:10:24 mikeg kernel: expire_old: expiring file older than 500 Dec 12 05:10:24 mikeg kernel: expire_old: expiring dir older than 6000 Dec 12 05:10:28 mikeg kernel: nfsd: terminating on signal 15 Dec 12 05:10:28 mikeg kernel: lockd_down: lockd failed to exit, clearing pid
#----------------------------end-Knfsd-run--------------------------#
#!/bin/sh
echo echo '#-----------------------------begin-Unfsd-run-----------------------#' echo LOG_LEN_BEGIN=`cat /var/log/syslog|wc -l` cat /proc/version; date echo /usr/sbin/rpc.mountd; /usr/sbin/rpc.mountd echo /usr/sbin/rpc.nfsd; /usr/sbin/rpc.nfsd echo 'exportfs -v'; exportfs -v echo echo '#---------------------------client-output---------------------------#' rsh laptop 'mount -oasync desktop:/ /nfs;\ echo;\ echo 'client: executing /bin/ls -m /nfs';\ echo;\ /bin/ls -m /nfs 2>&1; sleep 1;\ echo;\ echo 'client: executing /bin/ls -mi /nfs';\ echo;\ /bin/ls -mi /nfs 2>&1; sleep 1;\ echo;\ echo 'client: executing /bin/ls -mi /nfs';\ echo;\ /bin/ls -mi /nfs 2>&1; sleep 1;\ echo;\ /bin/umount /nfs' echo echo '#---------------------------end-client-output-----------------------#' echo echo 'killall rpc.mountd; killall rpc.nfsd'; killall rpc.mountd; killall rpc.nfsd sleep 1 LOG_LEN_END=`cat /var/log/syslog|wc -l` echo echo '#----------------------------kernel-output--------------------------#' echo tail -n `expr $LOG_LEN_END - $LOG_LEN_BEGIN` /var/log/syslog
echo echo '#-----------------------------end-Unfsd-run-------------------------#' echo echo echo '#-----------------------------begin-Knfsd-run-----------------------#' echo LOG_LEN_BEGIN=`cat /var/log/syslog|wc -l` cat /proc/version; date echo /usr/sbin/rpc.kmountd; /usr/sbin/rpc.kmountd echo /usr/sbin/rpc.knfsd; /usr/sbin/rpc.knfsd echo 'exportfs -v'; exportfs -v echo echo '#---------------------------client-output---------------------------#' rsh laptop 'mount -oasync desktop:/ /nfs;\ echo;\ echo 'client: executing /bin/ls -m /nfs';\ echo;\ /bin/ls -m /nfs 2>&1; sleep 1;\ echo;\ echo 'client: executing /bin/ls -mi /nfs';\ echo;\ /bin/ls -mi /nfs 2>&1; sleep 1;\ echo;\ echo 'client: executing /bin/ls -mi /nfs';\ echo;\ /bin/ls -mi /nfs 2>&1; sleep 1;\ echo;\ /bin/umount /nfs' echo echo '#---------------------------end-client-output-----------------------#' echo echo 'killall rpc.kmountd; killall rpc.fsd'; killall rpc.kmountd; killall nfsd echo mount; mount; echo echo df; df; echo echo 'ls -mi /'; /bin/ls -mi /; echo echo 'ls -mi /usr'; /bin/ls -mi /usr; echo sleep 1 LOG_LEN_END=`cat /var/log/syslog|wc -l` echo echo '#----------------------------kernel-output--------------------------#' echo tail -n `expr $LOG_LEN_END - $LOG_LEN_BEGIN` /var/log/syslog echo echo '#----------------------------end-Knfsd-run--------------------------#' echo
| |