Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 2021 09:02:40 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        freebsd-current@freebsd.org
Cc:        unitrunker@gmail.com, bapt@FreeBSD.org
Subject:   Re: Installer of 20210225 snapshot works with monochrome mode
Message-ID:  <20210304.090240.1149682748905306330.yasu@utahime.org>
In-Reply-To: <20210304.061534.524892495068455627.yasu@utahime.org>
References:  <20210302.160237.1826327534567643172.yasu@utahime.org> <20210303.004324.1182273493414223090.yasu@utahime.org> <20210304.061534.524892495068455627.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Yasuhiro Kimura <yasu@utahime.org>
Subject: Re: Installer of 20210225 snapshot works with monochrome mode
Date: Thu, 04 Mar 2021 06:15:34 +0900 (JST)

> From: Yasuhiro Kimura <yasu@utahime.org>
> Subject: Re: Installer of 20210225 snapshot works with monochrome mode
> Date: Wed, 03 Mar 2021 00:43:24 +0900 (JST)
> 
>>> I created VirtualBox VM on Windows host and tried to make clean
>>> install of 14-CURRENT with iso image of 20210225 snapshot
>>> (FreeBSD-14.0-CURRENT-amd64-20210225-bf667f282a7-256946-disc1.iso). Then
>>> installer worked with monochrome mode as following.
>>> 
>>> https://www.utahime.org/FreeBSD/install-snapshot-020210225.01.png
>>> https://www.utahime.org/FreeBSD/install-snapshot-020210225.02.png
>>> https://www.utahime.org/FreeBSD/install-snapshot-020210225.03.png
>>> 
>>> If I start `bsdinstall` after installation is completed, then it works
>>> normal color mode. So it seems bug of install image.
>> 
>> I tried 20210218 snapshot and the problem didn't happen. So I'm now
>> bisecting and will report which commit causes it.
> 
> According to the result of bisecting, following commit is the cause of
> the problem.
> 
> ----------------------------------------------------------------------
> commit 77e1ccbee3ed6c837929e4e232fd07f95bfc8294
> Author:     Rick Parrish <unitrunker@gmail.com>
> AuthorDate: Sun Feb 7 07:15:21 2021 +0100
> Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
> CommitDate: Tue Feb 23 11:16:53 2021 +0100
> 
>     rc: implement parallel boot
>     
>     take advantage of the rcorder -p argument to implement parallel
>     booting in rc.
>     
>     According to the author non scientific tests:
>     on a Core 2 Duo with spinning disk:
>     
>     | Services enabled | before | after | saving |
>     | 0                | 8s     | 8s    | 0      |
>     | 1                | 13s    | 13s   | 0      |
>     | 2                | 17s    | 13s   | 5      |
>     | 3                | 23s    | 13s   | 10     |
>     | 4                | 28s    | 13s   | 15     |
>     | 5                | 33s    | 13s   | 20     |
>     
>     PR:             249192
>     MFC after:      3 weeks
> ----------------------------------------------------------------------
> 
> When I saw it I remembered some fixes related to it were committed. So
> I tried release build with aff9b9ee89 of main and tested created iso
> image. But the problem still happens.

I reverted following 5 commits from aff9b9ee89 of main and made
release build.

763db589328 rc: save and restore $IFS
f1ab799927c rc: fix rc script parsing
6e822e99570 rc: fix parse of $local_startup
d27999e5139 Create dhclient pid directory if it doesn't exist
77e1ccbee3e rc: implement parallel boot

Then iso image works with normal color mode.

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210304.090240.1149682748905306330.yasu>