Subject: bin/26981: vinum binary crashes the system
To: None <gnats-bugs@gnats.NetBSD.org>
From: Simon Hitzemann <simon@hitzemann.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Simon Hitzemann
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD minas-morgul.hitzemann.org 2.0G NetBSD 2.0G (MINAS-MORGUL) #2: Mon Sep 13 00:58:06 CEST 2004 simon@minas-morgul.hitzemann.org:/usr/src/sys/arch/i386/compile/MINAS-MORGUL i386
Architecture: i386
Machine: i386
>Description:
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.
>How-To-Repeat:
rm /dev/vinum/control
vinum makedev
or:
mknod /dev/vinum/control c vinum 262142 (at least that's what vinum wants on my system)
vinum
produces:
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) ---
0x480b1c4f:
End traceback...
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: