NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
install/47123: sysinst fails with "openpty() failed" on many ports
>Number: 47123
>Category: install
>Synopsis: sysinst fails with "openpty() failed" on many ports
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 25 14:50:00 +0000 2012
>Originator: Izumi Tsutsui
>Release: NetBSD 6.0
>Organization:
>Environment:
System: NetBSD 6.0
Machine: emips, hp300, hpcarm, hpcmips, hpcsh, mvme68k, pmax, vax
>Description:
On emips, hp300, hpcarm, hpcmips,hpcsh, mvme68k, pmax, and vax,
miniroot.fs in installation kernels lack /dev/pty* device nodes
in miniroot so sysinst will fail as mentioned in PR/46812 for sparc.
http://gnats.NetBSD.org/46812
>How-To-Repeat:
Code inspection, and at least one failure rerort on hpcmips
which is also confirmed on gxemul here.
>Fix:
Add "opty" to MAKEDEVTARGETS for workaround until we start
"real fix" discussed in the following thread?
http://mail-index.netbsd.org/source-changes-d/2012/09/06/msg005236.html
Index: emips/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/emips/miniroot/Makefile.inc,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.inc
--- emips/miniroot/Makefile.inc 15 Jun 2011 14:47:43 -0000 1.2
+++ emips/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -5,7 +5,7 @@ DBG= -Os
IMAGESIZE= 32m
MAKEFS_FLAGS= -f 15
IMAGEENDIAN= be
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile \
Index: hp300/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/hp300/miniroot/Makefile.inc,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile.inc
--- hp300/miniroot/Makefile.inc 11 Feb 2010 09:06:48 -0000 1.12
+++ hp300/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -2,7 +2,7 @@
IMAGESIZE= 7m
IMAGEENDIAN= be
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
MAKEFS_FLAGS= -o density=4k
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile ${ARCHDIR}/install.md \
${KERNOBJDIR}/INSTALL/netbsd
Index: hpcarm/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/hpcarm/miniroot/Makefile.inc,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.inc
--- hpcarm/miniroot/Makefile.inc 11 Feb 2010 09:06:48 -0000 1.6
+++ hpcarm/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -5,7 +5,7 @@ DBG= -Os
IMAGESIZE= 4352k
MAKEFS_FLAGS= -o density=2k
IMAGEENDIAN= le
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile \
Index: hpcmips/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/hpcmips/miniroot/Makefile.inc,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile.inc
--- hpcmips/miniroot/Makefile.inc 11 Feb 2010 09:06:48 -0000 1.19
+++ hpcmips/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -5,7 +5,7 @@ DBG= -Os
IMAGESIZE= 4352k
MAKEFS_FLAGS= -o density=2k
IMAGEENDIAN= le
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile \
Index: hpcsh/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/hpcsh/miniroot/Makefile.inc,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile.inc
--- hpcsh/miniroot/Makefile.inc 15 May 2010 05:08:53 -0000 1.7
+++ hpcsh/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -6,7 +6,7 @@ DBG= -Os
IMAGESIZE= 4m
MAKEFS_FLAGS= -o density=2k
IMAGEENDIAN= le
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
LISTS+= ${DISTRIBDIR}/common/list.sysinst.en
MTREECONF+= ${.CURDIR}/mtree.usr.install
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile
Index: mvme68k/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/mvme68k/miniroot/Makefile.inc,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile.inc
--- mvme68k/miniroot/Makefile.inc 11 Feb 2010 09:06:49 -0000 1.12
+++ mvme68k/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -3,7 +3,7 @@
IMAGESIZE= 7m
MAKEFS_FLAGS= -o density=4096
IMAGEENDIAN= be
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile ${ARCHDIR}/install.md \
${KERNOBJDIR}/GENERIC/netbsd
LISTS+= ${DISTRIBDIR}/common/list.sysinst
Index: pmax/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/pmax/miniroot/Makefile.inc,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile.inc
--- pmax/miniroot/Makefile.inc 11 Feb 2010 09:06:49 -0000 1.23
+++ pmax/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -9,7 +9,7 @@ DBG= -Os
IMAGESIZE= 32m
MAKEFS_FLAGS= -f 15
IMAGEENDIAN= le
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
LISTS= ${.CURDIR}/list ${ARCHDIR}/list${SFX}
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
Index: vax/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/src/distrib/vax/miniroot/Makefile.inc,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile.inc
--- vax/miniroot/Makefile.inc 3 Jul 2012 21:49:55 -0000 1.22
+++ vax/miniroot/Makefile.inc 25 Oct 2012 14:33:54 -0000
@@ -3,7 +3,7 @@
IMAGESIZE= 7m
MAKEFS_FLAGS= -o density=3k
IMAGEENDIAN= le
-MAKEDEVTARGETS= all
+MAKEDEVTARGETS= all opty
LISTS+= ${DISTRIBDIR}/common/list.sysinst
IMAGEDEPENDS+= ${ARCHDIR}/dot.profile \
${DESTDIR}/usr/mdec/boot \
Home |
Main Index |
Thread Index |
Old Index