Re: [PATCH] netconsole: various improvements

2023-03-20 Thread Tony Dinh
Hi Pali, On Mon, Mar 20, 2023 at 1:00 AM Pali Rohár wrote: > > On Sunday 19 March 2023 16:25:25 Tony Dinh wrote: > > Hi Pali, > > > > On Sun, Mar 19, 2023 at 12:36 PM Pali Rohár wrote: > > > > > > On Saturday 18 March 2023 14:46:25 Tony Dinh wrote: > > > > - When Netconsole is running,

Re: [PATCH] netconsole: various improvements

2023-03-20 Thread Pali Rohár
On Sunday 19 March 2023 16:25:25 Tony Dinh wrote: > Hi Pali, > > On Sun, Mar 19, 2023 at 12:36 PM Pali Rohár wrote: > > > > On Saturday 18 March 2023 14:46:25 Tony Dinh wrote: > > > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset > > > stdin/stdout/stderr to serial (a sane

Re: [PATCH] netconsole: various improvements

2023-03-19 Thread Tony Dinh
Hi Pali, On Sun, Mar 19, 2023 at 12:36 PM Pali Rohár wrote: > > On Saturday 18 March 2023 14:46:25 Tony Dinh wrote: > > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset > > stdin/stdout/stderr to serial (a sane deffault) before booting kernel. > > This can be a problematic.

Re: [PATCH] netconsole: various improvements

2023-03-19 Thread Tony Dinh
Hi Simon, On Sun, Mar 19, 2023 at 12:30 PM Simon Glass wrote: > > Hi Tony, > > On Sun, 19 Mar 2023 at 10:46, Tony Dinh wrote: > > > > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset > > stdin/stdout/stderr to serial (a sane deffault) before booting kernel. > > spelling

Re: [PATCH] netconsole: various improvements

2023-03-19 Thread Pali Rohár
On Saturday 18 March 2023 14:46:25 Tony Dinh wrote: > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset > stdin/stdout/stderr to serial (a sane deffault) before booting kernel. This can be a problematic. serial output does not have to be available for all devices. For example

Re: [PATCH] netconsole: various improvements

2023-03-19 Thread Simon Glass
Hi Tony, On Sun, 19 Mar 2023 at 10:46, Tony Dinh wrote: > > - When Netconsole is running, stdin/stdout/stderr are set to nc. Reset > stdin/stdout/stderr to serial (a sane deffault) before booting kernel. spelling > - Enable net_timeout when netconsole starts will give a better user >

[PATCH] netconsole: various improvements

2023-03-18 Thread Tony Dinh
- When Netconsole is running, stdin/stdout/stderr are set to nc. Reset stdin/stdout/stderr to serial (a sane deffault) before booting kernel. - Enable net_timeout when netconsole starts will give a better user experience if netconsole server is not running. Signed-off-by: Tony Dinh ---