Subject: kern/36357: VND_COMPRESSION on netbsd-4
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yuuji-netbsd@es.gentei.org>
List: netbsd-bugs
Date: 05/18/2007 05:35:00
>Number:         36357
>Category:       kern
>Synopsis:       mounting compressed vnode fails on netbsd-4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 18 05:35:00 +0000 2007
>Originator:     HIROSE yuuji
>Release:        NetBSD 4.0_BETA2
>Organization:
>Description:
  On netbsd-4 kernel with `options VND_COMPRESS', operations fails on compressed
vnode disk, on which other version of NetBSD, NetBSD-current and
3.0_STABLE i.e., can operate correctly.

>How-To-Repeat:
Compile and install kernel with this config:

include "arch/i386/conf/XEN3_DOMU"
options         VND_COMPRESSION         # compressed vnd(4)


Reboot with new kenerl and create compressed image:
# makefs foo.fs AnyDirectory
# vndcompress foo.fs foo.fsz
# vnconfig -z vnd0 foo.fsz
# mount /dev/vnd0a /mnt
mount_ffs: /dev/vnd0a on /mnt: incorrect super block



>Fix:

>Unformatted:
 System: NetBSD beat.is.koeki-u.ac.jp 4.0_BETA2 NetBSD 4.0_BETA2 (BEAT) #15: Thu May 17 08:27:26 JST 2007  root@beat.is.koeki-u.ac.jp:/sys/arch/i386/compile/BEAT i386
 Architecture: i386
 Machine: i386