NetBSD Problem Report #34608
From juan@xtrarom.org Mon Sep 25 13:06:31 2006
Return-Path: <juan@xtrarom.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id A715163BAB6
for <gnats-bugs@gnats.NetBSD.org>; Mon, 25 Sep 2006 13:06:31 +0000 (UTC)
Message-Id: <20060925120136.8A78419302@xtrarom.org>
Date: Mon, 25 Sep 2006 14:01:36 +0200 (CEST)
From: juan@xtrarom.org
Reply-To: juan@xtrarom.org
To: gnats-bugs@NetBSD.org
Subject: vnd(4) panic with VND_COMPRESSION without a compressed image
X-Send-Pr-Version: 3.95
>Number: 34608
>Category: kern
>Synopsis: vnd(4) panic with VND_COMPRESSION without a compressed image
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 25 13:10:02 +0000 2006
>Closed-Date: Mon Sep 25 14:07:44 +0000 2006
>Last-Modified: Mon Dec 18 20:30:04 +0000 2006
>Originator: Juan RP
>Release: NetBSD 4.99.3
>Organization:
>Environment:
System: NetBSD nocturno 4.99.3 NetBSD 4.99.3 (Nocturno-ACPI) #90: Mon Sep 25 13:45:49 CEST 2006 juan@nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno-ACPI i386
Architecture: i386
Machine: i386
>Description:
Another panic with vnd(4):
Try the following:
$ makefs -t ffs usr_lib.fs /usr/lib
$ vndcompress usr_lib.fs usr_lib.zfs
$ vnconfig -z vnd0 usr_lib.fs
$ mount /dev/vnd0a /mnt
It will panic with the following bt:
kernel: supervisor trap integer divide fault, code=0
Stopped in pid 291.1 (vnd0) at netbsd:__qdivrem+0x38: divl %esi,%eax
db> __qdivrem(10000,0,0,0,0) at netbsd:__qdivrem+0x38
__divdi3(10000,0,0,0,200) at netbsd:__divdi3+0x50
vndthread(c1cc2000,7c8000,7cf000,0,c01002e6) at netbsd:vndthread+0x17f
db>
>How-To-Repeat:
>Fix:
Yes, please. Also I want VND_COMPRESSION fixed for 4.0,
otherwise mklivecd is not very useful.
>Release-Note:
>Audit-Trail:
From: Quentin Garnier <cube@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34608 CVS commit: src/sys/dev
Date: Mon, 25 Sep 2006 13:47:26 +0000 (UTC)
Module Name: src
Committed By: cube
Date: Mon Sep 25 13:47:26 UTC 2006
Modified Files:
src/sys/dev: vnd.c
Log Message:
Don't accept a compressed image that has 0 for the block size...
Fixes PR#34608.
To generate a diff of this commit:
cvs rdiff -r1.152 -r1.153 src/sys/dev/vnd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: xtraeme@netbsd.org
State-Changed-When: Mon, 25 Sep 2006 14:07:44 +0000
State-Changed-Why:
Fixed by cube, thanks.
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34608 CVS commit: [netbsd-3] src/sys/dev
Date: Mon, 18 Dec 2006 15:34:12 +0000 (UTC)
Module Name: src
Committed By: ghen
Date: Mon Dec 18 15:34:12 UTC 2006
Modified Files:
src/sys/dev [netbsd-3]: vnd.c
Log Message:
Pull up following revision(s) (requested by cube in ticket #1530):
sys/dev/vnd.c: revision 1.153
Don't accept a compressed image that has 0 for the block size...
Fixes PR#34608.
To generate a diff of this commit:
cvs rdiff -r1.111.10.5 -r1.111.10.6 src/sys/dev/vnd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34608 CVS commit: [netbsd-3-0] src/sys/dev
Date: Mon, 18 Dec 2006 20:26:56 +0000 (UTC)
Module Name: src
Committed By: ghen
Date: Mon Dec 18 20:26:56 UTC 2006
Modified Files:
src/sys/dev [netbsd-3-0]: vnd.c
Log Message:
Pull up following revision(s) (requested by cube in ticket #1530):
sys/dev/vnd.c: revision 1.153
Don't accept a compressed image that has 0 for the block size...
Fixes PR#34608.
To generate a diff of this commit:
cvs rdiff -r1.111.10.5 -r1.111.10.5.2.1 src/sys/dev/vnd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34608 CVS commit: [netbsd-3-1] src/sys/dev
Date: Mon, 18 Dec 2006 20:28:01 +0000 (UTC)
Module Name: src
Committed By: ghen
Date: Mon Dec 18 20:28:01 UTC 2006
Modified Files:
src/sys/dev [netbsd-3-1]: vnd.c
Log Message:
Pull up following revision(s) (requested by cube in ticket #1530):
sys/dev/vnd.c: revision 1.153
Don't accept a compressed image that has 0 for the block size...
Fixes PR#34608.
To generate a diff of this commit:
cvs rdiff -r1.111.10.5 -r1.111.10.5.4.1 src/sys/dev/vnd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.