NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/56185: Kernel notifications break installation



The following reply was made to PR install/56185; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/56185: Kernel notifications break installation
Date: Wed, 19 May 2021 12:28:56 +0200

 On Wed, May 19, 2021 at 09:50:01AM +0000, nia wrote:
 >  Might be a good idea to use a different tty for sysinst on
 >  standard x86 images and switch to it, but it's not a solution
 >  that works with every architecture (some only create one tty),
 >  or installation method (e.g. serial).
 
 Sysinst already plays with TIOCCONS while running external programs,
 but the code is barely commented and I don't understand the state handling
 idea behind it.
 
 I also don't understand the kernel side, I wish we would have some global
 call that just mutes all kernel messages (w/o requiring an open tty to
 redirect it to).
 
 Running sysinst on e.g. ttyE1 and having kernel messages show up on ttyE0
 would be a workaround, but:
 
  - it does not work for serial console
  - it hides the kernel messages from the parts of sysinst that want to 
    know if there have been any (though that parts maybe should be reworked
    anyway, I had to fix kernel bugs to quieten some common operations and
    make sysinst work as designed)
  - it is a tricky setup to be replicated and tested on tons of different
    install media
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index