Re: Installer of 20210225 snapshot works with monochrome mode

2021-03-03 Thread Yasuhiro Kimura
From: Yasuhiro Kimura 
Subject: Re: Installer of 20210225 snapshot works with monochrome mode
Date: Thu, 04 Mar 2021 06:15:34 +0900 (JST)

> From: Yasuhiro Kimura 
> 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 
> AuthorDate: Sun Feb 7 07:15:21 2021 +0100
> Commit: Baptiste Daroussin 
> 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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Installer of 20210225 snapshot works with monochrome mode

2021-03-03 Thread Yasuhiro Kimura
From: Yasuhiro Kimura 
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 
AuthorDate: Sun Feb 7 07:15:21 2021 +0100
Commit: Baptiste Daroussin 
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 submitted the problem to Bugzilla as following bug report.

Bug 253997 - Installer of 20210225 snapshot works with monochrome mode
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253997

---
Yasuhiro Kimura
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Installer of 20210225 snapshot works with monochrome mode

2021-03-02 Thread Yasuhiro Kimura
From: Yasuhiro Kimura 
Subject: Installer of 20210225 snapshot works with monochrome mode
Date: Tue, 02 Mar 2021 16:02:37 +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.

---
Yasuhiro Kimura
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Installer of 20210225 snapshot works with monochrome mode

2021-03-01 Thread Yasuhiro Kimura
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.

---
Yasuhiro Kimura
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"