Subject: kern/26855: vinum broken?
To: None <gnats-bugs@gnats.NetBSD.org>
From: Andreas Wiese <awiese@despammed.com>
List: netbsd-bugs
Date: 09/05/2004 16:39:50
>Number:         26855
>Category:       kern
>Synopsis:       <dev/vinum/vinumvar.h> doesn't match reality
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 05 14:41:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Wiese
>Release:        NetBSD 2.0G
>Organization:
Linux User Group Halberstadt
>Environment:
	
	
System: NetBSD schroeder.singeklub.invalid 2.0G NetBSD 2.0G (SCHROEDER) #0: Sun Sep 5 16:17:56 CEST 2004 root@schroeder.singeklub.invalid:/sys/arch/i386/compile/SCHROEDER i386
Architecture: i386
Machine: i386
>Description:
It seems to me that sys/dev/vinum/vinumvar.h isn't realy up to date.  I
tried to configure vinum on NetBSD-current and got 'Can't open
/dev/vinum/control: Device not configured'.  I figured out, that the
major device numbers for vinum have changed and that this problem can
be solved by removing /dev/vinum and call vinum(8) again, but as a matter
of fact, vinum still thinks the correct major number was 108.  I also
figured out that in sys/dev/vinum/vinumvar.h VINUM_CDEV_MAJOR is still
defined as 108.

First I thought my src tree was broken, but cvsweb.netbsd.org showed
me it's okay.

I can't imagine that I'm the only one in 10 months who has this
problem...  Am I?

>How-To-Repeat:
	Call 'vinum makedev' or something similar.
>Fix:
	Changing VINUM_CDEV_MAJOR to 162, I think.
>Release-Note:
>Audit-Trail:
>Unformatted: