NetBSD Problem Report #45783

From shattered@NetBSD.org  Thu Jan  5 12:26:50 2012
Return-Path: <shattered@NetBSD.org>
Received: by www.NetBSD.org (Postfix, from userid 1427)
	id 3D3FB63BC35; Thu,  5 Jan 2012 12:26:50 +0000 (UTC)
Message-Id: <20120105122650.3D3FB63BC35@www.NetBSD.org>
Date: Thu,  5 Jan 2012 12:26:50 +0000 (UTC)
From: shattered@NetBSD.org
Reply-To: shattered@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: No /dev entries for sysmon, wscons, ... devices
X-Send-Pr-Version: 3.95

>Number:         45783
>Category:       port-hp700
>Synopsis:       No /dev entries for sysmon, wscons, ... devices
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-hp700-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 05 12:30:00 +0000 2012
>Closed-Date:    Sat Jan 07 16:13:06 +0000 2012
>Last-Modified:  Sat Jan 07 16:15:06 +0000 2012
>Originator:     Sergey Svishchev
>Release:        NetBSD 5.99.59
>Organization:

>Environment:
>Description:
B180L has a soft power switch, but powerd does not start because there's no /dev/power.

wd(4) at pci can be compiled in, but device major is not allocated to it.

wscons devices are missing, thus modular Xorg cannot start.

>How-To-Repeat:

>Fix:
--- etc/etc.hp700/MAKEDEV.conf	3 May 2010 08:45:43 -0000	1.6
+++ etc/etc.hp700/MAKEDEV.conf	5 Jan 2012 12:08:12 -0000
@@ -6,6 +6,6 @@
 	makedev scsibus0 scsibus1 scsibus2 scsibus3
 	makedev ses0 ses1 ses2 ses3
 	makedev tty00 tty01 tty02 tty03
-	makedev audio
+	makedev audio wscons sysmon
 	makedev pci0 pci1 pci2 pci3
 	;;
--- sys/arch/hp700/conf/majors.hp700	30 Jun 2011 20:09:30 -0000	1.26
+++ sys/arch/hp700/conf/majors.hp700	5 Jan 2012 05:04:05 -0000
@@ -44,6 +44,8 @@
 device-major	audio		char 40			audio
 device-major	ses		char 41			ses
 device-major	pci		char 42			pci
+device-major	wd		char 43  block 11	wd
+device-major	sysmon		char 44			sysmon_power

 device-major	nsmb		char 98			nsmb


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Sat, 07 Jan 2012 16:13:06 +0000
State-Changed-Why:
Changes committed.


From: "Nick Hudson" <skrll@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45783 CVS commit: src/sys/arch/hp700/conf
Date: Sat, 7 Jan 2012 16:11:20 +0000

 Module Name:	src
 Committed By:	skrll
 Date:		Sat Jan  7 16:11:20 UTC 2012

 Modified Files:
 	src/sys/arch/hp700/conf: majors.hp700

 Log Message:
 Allocate a major number for wd and sysmon_power

 Part of PR/45783


 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 src/sys/arch/hp700/conf/majors.hp700

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Nick Hudson" <skrll@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45783 CVS commit: src/etc/etc.hp700
Date: Sat, 7 Jan 2012 16:12:30 +0000

 Module Name:	src
 Committed By:	skrll
 Date:		Sat Jan  7 16:12:30 UTC 2012

 Modified Files:
 	src/etc/etc.hp700: MAKEDEV.conf

 Log Message:
 Create device nodes for wscons, raid, wd, and sysmon.

 PR/45783


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/etc/etc.hp700/MAKEDEV.conf

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.