Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev
Hi.
On 2022/10/04 16:24, Ryo ONODERA wrote:
> Hi,
>
> Taylor R Campbell <campbell+netbsd-source-changes-d%mumble.net@localhost> writes:
>
>>> Date: Tue, 04 Oct 2022 15:53:58 +0900
>>> From: Ryo ONODERA <ryo%tetera.org@localhost>
>>>
>>> With this patch, it works fine for me.
>>> There is no stall after genfb(4).
>>> And I do not find any other problem so far.
>>
>> Thanks! There probably is another problem which is that kernel
>> console printfs might stop appearing after a certain point, which the
>> following patch might fix too -- I inadvertently reversed the sense
>> of a conditional in the subr_prf.c changes.
>
> I have not encountered another problem yet. However with your
> consprintfix.patch, it works fine for me too.
Before reverting changes, one of my machine which use serial console
didn't print the Copyright message.
Revert two revert commit, i.e.
http://mail-index.netbsd.org/source-changes/2022/10/04/msg141389.html
http://mail-index.netbsd.org/source-changes/2022/10/04/msg141388.html
and applied consokfix.patch.
> NetBSD MBR boot
>
> NetBSD/x86 ffsv2 Primary Bootstrap
>
> 0 seconds.
> booting hd0a:netbsd (howto 0xa0000)
> 72567816+35522344+2226392 [945568+1555416+1162803]=0x6d7f2a8
> Loading /var/db/entropy-file
> Tue Oct 4 17:07:44 JST 2022
> Starting root file system check:
> /dev/rwd0a: file system is clean; not checking
> Setting sysctl variables:
...
The boot message is not printed and I can see messages after /sbin/init.
dmesg(1) shows the kernel messages.
Regards.
> Thank you.
>
>> From 0f058a0e89e3f545a9020a2fb79dadd7ad89029a Mon Sep 17 00:00:00 2001
>> From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
>> Date: Tue, 4 Oct 2022 05:48:39 +0000
>> Subject: [PATCH] squash! constty(4): Make MP-safe.
>>
>> - Fix reversed sense of conditional.
>> ---
>> sys/kern/subr_prf.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
>> index e87e6efc8501..53fb20c1d393 100644
>> --- a/sys/kern/subr_prf.c
>> +++ b/sys/kern/subr_prf.c
>> @@ -425,7 +425,7 @@ putone(int c, int flags, struct tty *tp)
>> if ((flags & TOLOG) &&
>> c != '\0' && c != '\r' && c != 0177)
>> logputchar(c);
>> - if ((flags & TOCONS) && ctp != NULL && c != '\0')
>> + if ((flags & TOCONS) && ctp == NULL && c != '\0')
>> (*v_putc)(c);
>>
>> pserialize_read_exit(s);
>
--
-----------------------------------------------
SAITOH Masanobu (msaitoh%execsw.org@localhost
msaitoh%netbsd.org@localhost)
Home |
Main Index |
Thread Index |
Old Index