Subject: Re: drobne postrehy - 2.0rc5 amd64
To: None <jdolecek@NetBSD.org>
From: netbsd <netbsd@eq.cz>
List: regional-cs
Date: 12/05/2004 18:27:44
Vsechny testy konci stejne, fsck pokazde opravuje chyby. Testy delam s 
jednim diskem v systemu. Zkousel jsem po premontovani ro davat pred fsck 
jeste sync, po rozbaleni rovnou prebootovat ('tar -xzf ... ; shutdown -r 
now') do single (v boot promptu 'boot netbsd -s') a v nem 'fsck -fy', 
vsecko stejne. Tar jeste zacal hlasit nasledujici chyby:

15:44:05 root@tyan:/tmp/pkgsrc# tar -xzf pkgsrc.tar.gz
tar: Access/modification time set failed on: 
pkgsrc/security/openssl/patches/CVS (No such file or directory)
tar: Access/modification time set failed on: 
pkgsrc/security/openssl/patches (No such file or directory)
tar: Access/modification time set failed on: 
pkgsrc/finance/gnucash-docs/patches/CVS (No such file or directory)

[...]

- u stejneho pkgsrc.tar.gz vzdy u jinych souboru (v poctu tak 2-20).

Chyba je stejna i s 'tar -xf pkgsrc.tar', tedy s nekomprimovanym tarem. 
Chyba se opakovala ve vsech testech, dokazu ji tedy asi zopakovat kdykoliv.

Jeste jsem ted po jednom testu zkusil tohle (alias al='ls -al'), 
odstraneni adresare pkgsrc po rozbaleni neni take uplne ok:

###ZACATEK

18:10:05 root@tyan:/tmp/pkgsrc# mount -o ro,update /
18:10:39 root@tyan:/tmp/pkgsrc# sync
18:10:41 root@tyan:/tmp/pkgsrc# sync
18:10:43 root@tyan:/tmp/pkgsrc# sync
18:10:43 root@tyan:/tmp/pkgsrc# fsck -fy /
** /dev/rwd0a
** File system is already clean
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
DIRECTORY CORRUPTED  I=22768  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 02:40 2004
DIR=/tmp/pkgsrc/pkgsrc/inputmethod/canna

SALVAGE? yes

DIRECTORY CORRUPTED  I=35892  OWNER=root MODE=40755
SIZE=512 MTIME=Sep 17 05:51 2004
DIR=/tmp/pkgsrc/pkgsrc/lang/gcc/files

SALVAGE? yes

DIRECTORY CORRUPTED  I=36065  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 03:01 2004
DIR=/tmp/pkgsrc/pkgsrc/lang/gcc34

SALVAGE? yes

DIRECTORY CORRUPTED  I=57725  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 04:08 2004
DIR=/tmp/pkgsrc/pkgsrc/mail/thunderbird

SALVAGE? yes

DIRECTORY CORRUPTED  I=68014  OWNER=root MODE=40755
SIZE=512 MTIME=Apr 16 22:32 2004
DIR=/tmp/pkgsrc/pkgsrc/misc/dialog/patches

SALVAGE? yes

DIRECTORY CORRUPTED  I=68251  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 04:11 2004
DIR=/tmp/pkgsrc/pkgsrc/misc/git

SALVAGE? yes

DIRECTORY CORRUPTED  I=70560  OWNER=root MODE=40755
SIZE=512 MTIME=Nov 13 04:09 2004
DIR=/tmp/pkgsrc/pkgsrc/sysutils/amanda-server/patches

SALVAGE? yes

DIRECTORY CORRUPTED  I=124747  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 03:06 2004
DIR=/tmp/pkgsrc/pkgsrc/sysutils/dbus

SALVAGE? yes

DIRECTORY CORRUPTED  I=147832  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 03:17 2004
DIR=/tmp/pkgsrc/pkgsrc/www/firefox-bin

SALVAGE? yes

** Phase 3 - Check Connectivity
UNREF DIR  I=1121  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  5 18:08 2004
RECONNECT? yes

DIR I=1121 CONNECTED. PARENT WAS I=937

** Phase 4 - Check Reference Counts
LINK COUNT DIR I=937  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  4 04:11 2004  COUNT 15 SHOULD BE 14
ADJUST? yes

UNREF FILE  I=22797  OWNER=root MODE=100664
SIZE=5995 MTIME=Dec  4 02:40 2004
RECONNECT? yes

LINK COUNT FILE I=25570  OWNER=root MODE=100664
SIZE=23169 MTIME=Dec  4 02:56 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

UNREF FILE  I=35906  OWNER=root MODE=100644
SIZE=4957 MTIME=Jan  3 21:40 2002
RECONNECT? yes

UNREF FILE  I=35907  OWNER=root MODE=100644
SIZE=1998 MTIME=Feb 16 15:46 2002
RECONNECT? yes

UNREF FILE  I=35909  OWNER=root MODE=100644
SIZE=4431 MTIME=Mar 28 11:11 2002
RECONNECT? yes

UNREF FILE  I=35910  OWNER=root MODE=100644
SIZE=66 MTIME=Mar 28 11:11 2002
RECONNECT? yes

UNREF FILE  I=35911  OWNER=root MODE=100644
SIZE=2918 MTIME=Mar 28 11:11 2002
RECONNECT? yes

UNREF FILE  I=35912  OWNER=root MODE=100644
SIZE=1196 MTIME=Jan  3 21:40 2002
RECONNECT? yes

UNREF FILE  I=35913  OWNER=root MODE=100644
SIZE=159 MTIME=Mar 28 11:11 2002
RECONNECT? yes

UNREF FILE  I=35975  OWNER=root MODE=100644
SIZE=947 MTIME=May 29 00:28 2004
RECONNECT? yes

UNREF FILE  I=36123  OWNER=root MODE=100664
SIZE=2964 MTIME=Dec  4 03:01 2004
RECONNECT? yes

UNREF FILE  I=45321  OWNER=root MODE=100644
SIZE=1628 MTIME=Aug 29 12:44 2004
RECONNECT? yes

UNREF FILE  I=46219  OWNER=root MODE=100644
SIZE=137 MTIME=Oct  9 06:19 2004
RECONNECT? yes

LINK COUNT FILE I=46600  OWNER=root MODE=100664
SIZE=3088 MTIME=Dec  4 03:05 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

UNREF FILE  I=56109  OWNER=root MODE=100644
SIZE=886 MTIME=Jun  3 20:53 2002
RECONNECT? yes

UNREF FILE  I=57774  OWNER=root MODE=100644
SIZE=1116 MTIME=Dec  4 04:08 2004
RECONNECT? yes

UNREF FILE  I=68029  OWNER=root MODE=100644
SIZE=369 MTIME=Aug  7 13:10 1998
RECONNECT? yes

UNREF FILE  I=68274  OWNER=root MODE=100664
SIZE=19462 MTIME=Dec  4 02:46 2004
RECONNECT? yes

UNREF FILE  I=70575  OWNER=root MODE=100644
SIZE=419 MTIME=Nov 13 04:09 2004
RECONNECT? yes

UNREF FILE  I=90326  OWNER=root MODE=100644
SIZE=518 MTIME=Jul 10 22:19 2004
RECONNECT? yes

LINK COUNT FILE I=92500  OWNER=root MODE=100644
SIZE=2110 MTIME=Mar 11 14:01 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

LINK COUNT FILE I=113759  OWNER=root MODE=100644
SIZE=1277 MTIME=Nov 25 20:25 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

LINK COUNT FILE I=115067  OWNER=root MODE=100644
SIZE=721 MTIME=Nov 27 04:07 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

UNREF FILE  I=124771  OWNER=root MODE=100664
SIZE=2862 MTIME=Dec  4 03:06 2004
RECONNECT? yes

UNREF FILE  I=147845  OWNER=root MODE=100644
SIZE=393 MTIME=Jul 15 12:54 2004
RECONNECT? yes

UNREF FILE  I=148741  OWNER=root MODE=100644
SIZE=4021 MTIME=Nov 28 00:36 2003
RECONNECT? yes

LINK COUNT FILE I=169905  OWNER=root MODE=100664
SIZE=3532 MTIME=Dec  4 02:48 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

UNREF FILE  I=1189143  OWNER=root MODE=100644
SIZE=95 MTIME=Sep 23 05:06 2004
RECONNECT? yes

UNREF FILE  I=1190453  OWNER=root MODE=100644
SIZE=4278 MTIME=Nov 20 05:37 2004
RECONNECT? yes

UNREF FILE  I=1222715  OWNER=root MODE=100644
SIZE=421 MTIME=Sep 16 19:03 2003
RECONNECT? yes

LINK COUNT FILE I=1235353  OWNER=root MODE=100644
SIZE=3684 MTIME=Nov 23 23:00 2004  COUNT 1 SHOULD BE 2
ADJUST? yes

UNREF FILE  I=1257927  OWNER=root MODE=100644
SIZE=255 MTIME=Sep  7 22:22 2002
RECONNECT? yes

** Phase 5 - Check Cyl groups
86502 files, 459772 used, 4623314 free (602 frags, 577839 blocks, 0.0% 
fragmentation)

***** FILE SYSTEM WAS MODIFIED *****
18:10:58 root@tyan:/tmp/pkgsrc# fsck -fy /
** /dev/rwd0a
** File system is already clean
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
86502 files, 459772 used, 4623314 free (602 frags, 577839 blocks, 0.0% 
fragmentation)
18:12:44 root@tyan:/tmp/pkgsrc# mount -o rw,update /
18:12:51 root@tyan:/tmp/pkgsrc# al
total 203995
drwxr-xr-x   3 root  wheel        512 Dec  5 18:08 .
drwxrwxrwt   3 root  wheel        512 Dec  5 17:55 ..
drwxr-xr-x  51 root  wheel       1024 Dec  4 04:11 pkgsrc
-rw-r--r--   1 root  wheel  208773120 Dec  5 17:55 pkgsrc.tar
18:12:54 root@tyan:/tmp/pkgsrc# rm -rf pkgsrc*
18:14:29 root@tyan:/tmp/pkgsrc# al
total 2
drwxr-xr-x  2 root  wheel  512 Dec  5 18:14 .
drwxrwxrwt  3 root  wheel  512 Dec  5 17:55 ..
18:14:39 root@tyan:/tmp/pkgsrc# mount -o ro,update /
18:14:51 root@tyan:/tmp/pkgsrc# sync
18:14:55 root@tyan:/tmp/pkgsrc# sync
18:14:56 root@tyan:/tmp/pkgsrc# sync
18:14:58 root@tyan:/tmp/pkgsrc# mount
/dev/wd0a on / type ffs (read-only, local)
/dev/wd0e on /var type ffs (local)
/dev/wd0f on /usr type ffs (local)
kernfs on /kern type kernfs (local)
18:15:07 root@tyan:/tmp/pkgsrc# fsck -fy /
** /dev/rwd0a
** File system is already clean
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
LINK COUNT DIR I=1041601  OWNER=root MODE=40755
SIZE=512 MTIME=Dec  5 18:08 2004  COUNT 3 SHOULD BE 2
ADJUST? yes

** Phase 5 - Check Cyl groups
2760 files, 49959 used, 5033127 free (1959 frags, 628896 blocks, 0.0% 
fragmentation)

***** FILE SYSTEM WAS MODIFIED *****
18:15:16 root@tyan:/tmp/pkgsrc# al -i
total 2
1041601 drwxr-xr-x  2 root  wheel  512 Dec  5 18:08 .
1041600 drwxrwxrwt  3 root  wheel  512 Dec  5 17:55 ..
18:16:34 root@tyan:/tmp/pkgsrc#

###KONEC

Stale je to ten puvodni system, tedy 2.0RC5, ziskany nainstalovanim z 
http://netbsd.student.utwente.nl/NetBSD-2.0_RC5-iso/amd64/NetBSD-2.0_RC5-amd64.iso 
...

r.