NetBSD Problem Report #45452

From njoly@lynche.sis.pasteur.fr  Tue Oct 11 13:44:26 2011
Return-Path: <njoly@lynche.sis.pasteur.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 27D1E63B955
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 11 Oct 2011 13:44:26 +0000 (UTC)
Message-Id: <20111011134424.4AA13BC9D1@lynche.sis.pasteur.fr>
Date: Tue, 11 Oct 2011 15:44:24 +0200 (CEST)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@gnats.NetBSD.org
Subject: -current miniroot.fs lacks /dev/ra[0-9]* special files
X-Send-Pr-Version: 3.95

>Number:         45452
>Category:       port-vax
>Synopsis:       -current miniroot.fs lacks /dev/ra[0-9]* special files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    njoly
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 11 13:45:00 +0000 2011
>Closed-Date:    Wed Oct 12 17:11:27 +0000 2011
>Last-Modified:  Wed Oct 12 17:11:27 +0000 2011
>Originator:     Nicolas Joly
>Release:        NetBSD 5.99.56
>Organization:
Institut Pasteur, Paris.
>Environment:
>Description:
The -current netbsd/vax miniroot.fs lack /dev/ra[0-9]* special files, making
installation impossible ... at least under simh emulator. And there is no
MAKEDEV script, to manually add them.

njoly@lynche [~]> ftp http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201110081430Z/vax/installation/miniroot/miniroot.fs.gz
100% |***********************************|  2577 KiB  270.36 KiB/s    00:00 ETA
2639055 bytes retrieved in 00:09 (270.36 KiB/s)
njoly@lynche [~]> gunzip miniroot.fs.gz 
njoly@lynche [~]> rump_ffs miniroot.fs /mnt
rump_ffs: "miniroot.fs" is a non-resolved or relative path.
rump_ffs: using "/home/njoly/miniroot.fs" instead.
njoly@lynche [~]> ls -l /mnt/dev/ra[0-9]*
zsh: no matches found: /mnt/dev/ra[0-9]*
njoly@lynche [~]> ls -l /mnt/dev/MAKEDEV*
zsh: no matches found: /mnt/dev/MAKEDEV*

No problem with the 5.1 version i checked, it has all the needed files.
>How-To-Repeat:
Try to install -current netbsd/vax under simh.
>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-vax/45452: -current miniroot.fs lacks /dev/ra[0-9]* special files
Date: Wed, 12 Oct 2011 12:50:10 +0200

 This is probably caused by:

 --8<--
 all ===> etc/miniroot
 rm -f devices.spec devices.spec.tmp
 rm -f instbin.conf instbin.conf.tmp
 /home/builds/ab/HEAD/vax/201110100510Z-obj/home/builds/ab/HEAD/src/etc/MAKEDEV: ra0: unknown device
 /home/builds/ab/HEAD/vax/201110100510Z-obj/home/builds/ab/HEAD/src/etc/MAKEDEV: ra1: unknown device
 /home/builds/ab/HEAD/vax/201110100510Z-obj/home/builds/ab/HEAD/src/etc/MAKEDEV: ra2: unknown device
 /home/builds/ab/HEAD/vax/201110100510Z-obj/home/builds/ab/HEAD/src/etc/MAKEDEV: ra3: unknown device
 Run "make -f instbin.mk objs exe" to build crunched binary.
 -->8--

 but unfortunately the build does not abort here.

 Martin

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: martin@duskware.de, tsutsui@ceres.dti.ne.jp
Subject: Re: port-vax/45452: -current miniroot.fs lacks /dev/ra[0-9]* special
	 files
Date: Wed, 12 Oct 2011 22:15:08 +0900

 > /home/builds/ab/HEAD/vax/201110100510Z-obj/home/builds/ab/HEAD/src/etc/MAKEDEV: ra0: unknown device

 Pasto?

 Index: MAKEDEV.conf
 ===================================================================
 RCS file: /cvsroot/src/etc/etc.vax/MAKEDEV.conf,v
 retrieving revision 1.12
 diff -u -p -r1.12 MAKEDEV.conf
 --- MAKEDEV.conf	6 Sep 2011 14:40:11 -0000	1.12
 +++ MAKEDEV.conf	12 Oct 2011 13:14:03 -0000
 @@ -60,7 +60,7 @@ ht[0-9]*|tm[0-9]*|mt[0-9]*|ts[0-9]*|ut[0
  	esac
  	;;

 -hp[0-9]*|hk[0-9]*|up[0-9]*|ra[0-9][0-9]*|rl[0-9]*|rb[0-9]*|rd[0-9]*|rx[0-9]*)
 +hp[0-9]*|hk[0-9]*|up[0-9]*|ra[0-9]*|rl[0-9]*|rb[0-9]*|rd[0-9]*|rx[0-9]*)
  	case $i in
  	hp*) name=hp;	unit=${i#hp};	blk=0; chr=4;;
  	hk*) name=hk;	unit=${i#hk};	blk=3; chr=11;;

 ---
 Izumi Tsutsui

From: Nicolas Joly <njoly@pasteur.fr>
To: gnats-bugs@NetBSD.org
Cc: port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, njoly@pasteur.fr
Subject: Re: port-vax/45452: -current miniroot.fs lacks /dev/ra[0-9]* special files
Date: Wed, 12 Oct 2011 16:39:38 +0200

 On Wed, Oct 12, 2011 at 01:20:03PM +0000, Izumi Tsutsui wrote:
 > The following reply was made to PR port-vax/45452; it has been noted by GNATS.
 > 
 > From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
 > To: gnats-bugs@NetBSD.org
 > Cc: martin@duskware.de, tsutsui@ceres.dti.ne.jp
 > Subject: Re: port-vax/45452: -current miniroot.fs lacks /dev/ra[0-9]* special
 > 	 files
 > Date: Wed, 12 Oct 2011 22:15:08 +0900
 > 
 >  > /home/builds/ab/HEAD/vax/201110100510Z-obj/home/builds/ab/HEAD/src/etc/MAKEDEV: ra0: unknown device
 >  
 >  Pasto?

 Yes that's it. Nice catch, i missed it.

 >  Index: MAKEDEV.conf
 >  ===================================================================
 >  RCS file: /cvsroot/src/etc/etc.vax/MAKEDEV.conf,v
 >  retrieving revision 1.12
 >  diff -u -p -r1.12 MAKEDEV.conf
 >  --- MAKEDEV.conf	6 Sep 2011 14:40:11 -0000	1.12
 >  +++ MAKEDEV.conf	12 Oct 2011 13:14:03 -0000
 >  @@ -60,7 +60,7 @@ ht[0-9]*|tm[0-9]*|mt[0-9]*|ts[0-9]*|ut[0
 >   	esac
 >   	;;
 >   
 >  -hp[0-9]*|hk[0-9]*|up[0-9]*|ra[0-9][0-9]*|rl[0-9]*|rb[0-9]*|rd[0-9]*|rx[0-9]*)
 >  +hp[0-9]*|hk[0-9]*|up[0-9]*|ra[0-9]*|rl[0-9]*|rb[0-9]*|rd[0-9]*|rx[0-9]*)
 >   	case $i in
 >   	hp*) name=hp;	unit=${i#hp};	blk=0; chr=4;;
 >   	hk*) name=hk;	unit=${i#hk};	blk=3; chr=11;;
 >  
 >  ---
 >  Izumi Tsutsui
 >  

 -- 
 Nicolas Joly

 Projects and Developments in Bioinformatics
 Institut Pasteur, Paris.

From: "Nicolas Joly" <njoly@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45452 CVS commit: src/etc/etc.vax
Date: Wed, 12 Oct 2011 17:03:49 +0000

 Module Name:	src
 Committed By:	njoly
 Date:		Wed Oct 12 17:03:49 UTC 2011

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

 Log Message:
 PR/45452: Fix pasto (found by tsutsui@) which prevented ra* device
 special files creation.


 To generate a diff of this commit:
 cvs rdiff -u -r1.12 -r1.13 src/etc/etc.vax/MAKEDEV.conf

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

Responsible-Changed-From-To: port-vax-maintainer->njoly
Responsible-Changed-By: njoly@NetBSD.org
Responsible-Changed-When: Wed, 12 Oct 2011 17:11:27 +0000
Responsible-Changed-Why:
Take


State-Changed-From-To: open->closed
State-Changed-By: njoly@NetBSD.org
State-Changed-When: Wed, 12 Oct 2011 17:11:27 +0000
State-Changed-Why:
Fixed


>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.