NetBSD Problem Report #53610
From gson@gson.org Sun Sep 16 09:25:58 2018
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6F3F47A166
for <gnats-bugs@gnats.NetBSD.org>; Sun, 16 Sep 2018 09:25:58 +0000 (UTC)
Message-Id: <20180916092552.A266898924C@guava.gson.org>
Date: Sun, 16 Sep 2018 12:25:52 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: sparc install fails with test(1) error
X-Send-Pr-Version: 3.95
>Number: 53610
>Category: install
>Synopsis: sparc install fails with test(1) error
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kre
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 16 09:30:00 +0000 2018
>Closed-Date: Sun Sep 16 19:53:24 +0000 2018
>Last-Modified: Sun Sep 16 19:53:24 +0000 2018
>Originator: Andreas Gustafsson
>Release: NetBSD-current, source date 2018.09.14.22.08.49
>Organization:
>Environment:
System: NetBSD
Architecture: sparc
Machine: sparc
>Description:
The last few sparc installs on the TNF testbed have failed, for example:
http://releng.netbsd.org/b5reports/sparc/2018/2018.09.14.22.08.49/install.log
The following messages appear in the console log (terminal escape
sequences edited out for readability):
Command: /usr/mdec/binstall ffs /targetroot
[: SMALL test, no fallback usage
[: SMALL test, no fallback usage
Cannot find "/targetroot" in mount table
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: install-manager->kre
Responsible-Changed-By: gson@NetBSD.org
Responsible-Changed-When: Sun, 16 Sep 2018 09:36:31 +0000
Responsible-Changed-Why:
kre touched test recently
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/53610: sparc install fails with test(1) error
Date: Sun, 16 Sep 2018 09:41:00 +0000
Good report!
I think this might be:
sys/arch/sparc/stand/binstall/binstall.sh
It's doing ! -b in line 123, for example, and we excluded UNOT in SMALL.
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/53610: sparc install fails with test(1) error
Date: Sun, 16 Sep 2018 20:22:08 +0700
Date: Sun, 16 Sep 2018 09:45:01 +0000 (UTC)
From: coypu@sdf.org
Message-ID: <20180916094501.387357A1FB@mollari.NetBSD.org>
| It's doing ! -b in line 123, for example, and we excluded UNOT in SMALL.
It won't be that, while UNOT isn't there, support for ! in simple cases is
(just not using the lookup table.)
But I will find the script and fix it.
kre
From: "Robert Elz" <kre@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53610 CVS commit: src/sys/arch/sparc/stand/binstall
Date: Sun, 16 Sep 2018 14:23:04 +0000
Module Name: src
Committed By: kre
Date: Sun Sep 16 14:23:04 UTC 2018
Modified Files:
src/sys/arch/sparc/stand/binstall: binstall.sh
Log Message:
PR install/53610
Remove use of -a in test(1) - deprecated in standard, and no
longer supported in SMALL (install media) versions of test in /bin/sh
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sparc/stand/binstall/binstall.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: kre@NetBSD.org
State-Changed-When: Sun, 16 Sep 2018 14:29:49 +0000
State-Changed-Why:
Please let me know if the problem is now fixed.
If there is a problem with the updated binstall, please try reverting
1.17 of src/sys/arch/sparc/stand/binstall/binstall.sh
The actual fix should be in 1.16, the rest (1.17) was just a cleanup.
State-Changed-From-To: feedback->closed
State-Changed-By: gson@NetBSD.org
State-Changed-When: Sun, 16 Sep 2018 19:53:24 +0000
State-Changed-Why:
Install succeeds with binstall.sh 1.17 - thanks kre!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.