NetBSD Problem Report #51517
From www@NetBSD.org Thu Sep 29 23:41:44 2016
Return-Path: <www@NetBSD.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 "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0DD747A281
for <gnats-bugs@gnats.NetBSD.org>; Thu, 29 Sep 2016 23:41:44 +0000 (UTC)
Message-Id: <20160929234143.271E67A2C3@mollari.NetBSD.org>
Date: Thu, 29 Sep 2016 23:41:43 +0000 (UTC)
From: nmnb@nellub.org
Reply-To: nmnb@nellub.org
To: gnats-bugs@NetBSD.org
Subject: Automated installer requires root, which I don't know. Seems to debug in assembly.
X-Send-Pr-Version: www-1.0
>Number: 51517
>Category: install
>Synopsis: Automated installer requires root, which I don't know. Seems to debug in assembly.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 29 23:45:01 +0000 2016
>Last-Modified: Fri Sep 01 10:20:01 +0000 2017
>Originator: William Wanglethrop
>Release: 7.01
>Organization:
>Environment:
Lenovo Thinkpad Carbon X1 2016
>Description:
It's a new carbon with a lenovo bios. It dislikes your bootloader. Might have something to do with intel's graphics 510? graphics card. Glitches when it seems to be about to render a gui.
>How-To-Repeat:
Try to install netBSD with our without automation and with any script contained in the root folder of the iso for installation.
>Fix:
No known fix. A hypervisor.
>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: install/51517: Automated installer requires root, which I don't
know. Seems to debug in assembly.
Date: Fri, 30 Sep 2016 04:58:53 +0000
That's a very recent graphics card, it could be just not supported by the graphics
driver.
Dropping to boot prompt and typing:
userconf disable i915drmkms*
boot
(So it won't even attempt to use the graphics driver)
Will likely work around this.
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@netbsd.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: install/51517: Automated installer requires root, which I don't
know. Seems to debug in assembly.
Date: Fri, 30 Sep 2016 10:16:39 +0200
On Thu, Sep 29, 2016 at 11:45:01PM +0000, nmnb@nellub.org wrote:
> Lenovo Thinkpad Carbon X1 2016
> >Description:
> It's a new carbon with a lenovo bios. It dislikes your bootloader. Might have something to do with intel's graphics 510? graphics card. Glitches when it seems to be about to render a gui.
> >How-To-Repeat:
> Try to install netBSD with our without automation and with any script contained in the root folder of the iso for installation.
Sorry but I don't understand what you're doing. How do you access
the iso ? What are you trying to do with it ?
The iso is intended to be booted, not mounted from another
operating system and executing scripts from here
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51517 CVS commit: src/lib/libedit
Date: Fri, 1 Sep 2017 06:19:10 -0400
Module Name: src
Committed By: christos
Date: Fri Sep 1 10:19:10 UTC 2017
Modified Files:
src/lib/libedit: editline.3 hist.h histedit.h history.c readline.c
src/lib/libedit/readline: readline.h
Log Message:
PR/51517: Jay West: Tty settings not restored on exit
PR/51518: Jay West: prompt is interleaved with client output
Both these issues are caused by rl_restore_handler not DTRT; fix
it so that it kills the internal libedit state completely. This is
inefficient, but it works.
Also fix:
1. add append_history()/H_NSAVE_FP
2. call the rl_startup_hook before printing the first prompt as documented.
callint it from rl_initialize breaks python, because the callback ends
up being invoked before the readline module is installed, and we end up
dereferencing a NULL pointer.
3. add el_resize_terminal.
With those changes, s/lreadline/ledit/g in python works.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/lib/libedit/editline.3
cvs rdiff -u -r1.22 -r1.23 src/lib/libedit/hist.h
cvs rdiff -u -r1.56 -r1.57 src/lib/libedit/histedit.h
cvs rdiff -u -r1.57 -r1.58 src/lib/libedit/history.c
cvs rdiff -u -r1.141 -r1.142 src/lib/libedit/readline.c
cvs rdiff -u -r1.41 -r1.42 src/lib/libedit/readline/readline.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.