2010-09-11 WAPBL
のバグを見つけたのでPRしておいた。
http://gnats.netbsd.org/43336/ http://gnats.netbsd.org/43827/
もうcloseされてしまったが、PR/43336 の方は再現手順を確立したのでメモっておく。
netbsd# cd /var/tmp
netbsd# ln -s J /etc/malloc.conf
netbsd# dd if=/dev/zero of=xxx.fs bs=1m count=128
128+0 records in
128+0 records out
134217728 bytes transferred in 2.263 secs (59309645 bytes/sec)
netbsd# newfs -F -O 2 xxx.fs
xxx.fs: 128.0MB (262144 sectors) block size 8192, fragment size 1024
using 4 cylinder groups of 32.00MB, 4096 blks, 7712 inodes.
super-block backups (for fsck_ffs -b #) at:
144, 65680, 131216, 196752,
netbsd# vnconfig vnd0 xxx.fs
netbsd# mount -o log /dev/vnd0a /mnt
netbsd# cp /netbsd /mnt
netbsd# cp xxx.fs xxx.live.fs
netbsd# fsck_ffs -ny xxx.live.fs
xxx.live.fs is not a character device
CONTINUE? yes
** xxx.live.fs
fsck_ffs: ioctl (DIOCGWEDGEINFO): Inappropriate ioctl for device
assertion "wr->wr_blkhashcnt > 0" failed: file "/home/builds/ab/netbsd-5-1-RC3/src/sys/kern/vfs_wapbl.c", line 2156, function "wapbl_blkhash_clear"
Abort
EOF