Subject: bin/29909: sysctl dumps core if kern.consdev returns unknown device
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 04/06/2005 21:03:00
>Number: 29909
>Category: bin
>Synopsis: sysctl dumps core if kern.consdev returns unknown device
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 06 21:03:00 +0000 2005
>Originator: Manuel Bouyer
>Release: NetBSD 3.99.3 from /pub/NetBSD/arch/i386/snapshot/20050405-3.99.3/
>Organization:
>Environment:
System: NetBSD comore.lip6.fr 3.99.3 NetBSD 3.99.3 (XENU) #1: Wed Apr 6 20:37:48 CEST 2005 bouyer@pop.lip6.fr:/local/pop1/bouyer/tmp/i386/obj/local/pop1/bouyer/current/src/sys/arch/i386/compile/XENU i386
Architecture: i386
Machine: i386
>Description:
The point of port-xen/29887 is that /dev/xencons was not created
at install time. However there is an underlying problem, which is
that sysctl will dump core on 'sysctl kern.consdev' if
the device returned by the kernel isn't in /var/run/dev.db.
>How-To-Repeat:
cd /dev
rm `sysctl kern.consdev`
dev_mkdb
sysctl kern.consdev
>Fix: