Subject: bin/26981: vinum binary crashes the system
To: None <>
From: Simon Hitzemann <>
List: netbsd-bugs
Date: 09/17/2004 00:29:17
>Number:         26981
>Category:       bin
>Synopsis:       vinum binary crashes the system
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 17 08:45:00 UTC 2004
>Originator:     Simon Hitzemann
>Release:        NetBSD 2.0G
System: NetBSD 2.0G NetBSD 2.0G (MINAS-MORGUL) #2: Mon Sep 13 00:58:06 CEST 2004 i386
Architecture: i386
Machine: i386
	When running the vinum binary with the /dev/vinum/control device set to the minor number
	the binary supects it to be it crashes the system. This also happens if the control device
	is missing at all, even when running "vinum makedev". All other minor numbers simply state
	that the device is not configured.
	rm /dev/vinum/control
	vinum makedev

	mknod /dev/vinum/control c vinum 262142 (at least that's what vinum wants on my system)

	uvm_fault(0xcd0572b0, 0, 0, 1) -> 0xe
	fatal page fault in supervisor mode
	trap type 6 code 0 eip c0426cb7 cs 8 eflags 10246 cr2 0 ilevel 0
	panic: trap
	Begin traceback...
	trap() at netbsd:trap+0x171
	--- trap (number 6) ---
	spec_open(cc80bd84,0,41494323,2b31210,c06a0be0) at netbsd:spec_open+0x187
	VOP_OPEN(ce52f74c,3,cb1e8b7c,cb22b010,0) at netbsd:VOP_OPEN+0x36
	vn_open(cc80beb4,3,4,32,16) at netbsd:vn_open+0x52b
	sys_open(cc68e4dc,cc80bf64,cc80bf5c,cb22b010,0) at netbsd:sys_open+0xca
	syscall_plain() at netbsd:syscall_plain+0x85
	--- syscall (number 5) ---
	End traceback...