Re: Trouble with console on UART

2024-01-27 Thread Tranchemer Stéphane
Thanks so much for this very clear explanation, I didn’t know that one. I have a question regarding the patch I successfully applied on the kernel, could such modification be accepted as a syspatch in the actual 7.4 release or should it be expected in CURRENT and planned for the next to come 7.5

Re: Trouble with console on UART

2024-01-27 Thread Jonathan Gray
On Sun, Jan 28, 2024 at 10:46:43AM +0900, Tranchemer Stéphane wrote: > Thanks so much for this very clear explanation, I didn’t know that one. > > I have a question regarding the patch I successfully applied on the kernel, > could such modification be accepted as a syspatch in the actual 7.4 rele

Re: Trouble with console on UART

2024-01-27 Thread Mark Kettenis
> Date: Sat, 27 Jan 2024 18:49:02 + > From: Mikolaj Kucharski > > Mark, > > On Sat, Jan 27, 2024 at 03:05:10PM +0100, Mark Kettenis wrote: > > > Date: Sat, 27 Jan 2024 22:47:05 +0900 > > > From: stephane Tranchemer > > > > > > Hello Jonathan, > > > > > > made a kernel with the patch and h

Re: Trouble with console on UART

2024-01-27 Thread Mikolaj Kucharski
Mark, On Sat, Jan 27, 2024 at 03:05:10PM +0100, Mark Kettenis wrote: > > Date: Sat, 27 Jan 2024 22:47:05 +0900 > > From: stephane Tranchemer > > > > Hello Jonathan, > > > > made a kernel with the patch and here is what I get on dmesg: > > > > puc0 at pci0 dev 26 function 0 "Intel C3000 UART" r

Re: Trouble with console on UART

2024-01-27 Thread Stuart Henderson
On 2024/01/28 00:20, stephane Tranchemer wrote: > Got it ! > > I had a hunch so I modified all the tty0X the same way as tty00 to see if > someone answers: > > tty00 "/usr/libexec/getty std.115200" vt220on secure > > and I got a tty at next reboot. > However I find myself on tty04, so it w

Re: Trouble with console on UART

2024-01-27 Thread stephane Tranchemer
Got it ! I had a hunch so I modified all the tty0X the same way as tty00 to see if someone answers: tty00 "/usr/libexec/getty std.115200" vt220on secure and I got a tty at next reboot. However I find myself on tty04, so it would mean that com4 goes invariably to tty04 even if this port

Re: Trouble with console on UART

2024-01-27 Thread stephane Tranchemer
Hello Brian, Thanks for confirming, I changed in /etc/ttys the line tty00  "/usr/libexec/getty std.9600"   unknown off to tty00   "/usr/libexec/getty std.115200" vt220    on secure but get no change. Le 27/01/2024 à 23:56, Brian Conway a écrit : On Sat, Jan 27, 2024, at 8:21 AM, stephane T

Re: Trouble with console on UART

2024-01-27 Thread Brian Conway
On Sat, Jan 27, 2024, at 8:21 AM, stephane Tranchemer wrote: > I said works with > > stty com4 115200 > mach comaddr 0xe060 > set tty com4 > > but not entirely... > I indeed get the output of the kernel loading and the system is up, but > I don't get a login prompt at the end. > > Here is a sample

Re: Trouble with console on UART

2024-01-27 Thread stephane Tranchemer
I said works with stty com4 115200 mach comaddr 0xe060 set tty com4 but not entirely... I indeed get the output of the kernel loading and the system is up, but I don't get a login prompt at the end. Here is a sample of the last lines I get throught console: [...] clearing /tmp kern.secureleve

Re: Trouble with console on UART

2024-01-27 Thread stephane Tranchemer
Works ! I actually had to do stty com4 115200 mach comaddr 0xe060 set tty com4 Le 27/01/2024 à 23:05, Mark Kettenis a écrit : Date: Sat, 27 Jan 2024 22:47:05 +0900 From: stephane Tranchemer Hello Jonathan, made a kernel with the patch and here is what I get on dmesg: puc0 at pci0 dev 26 fu

Re: Trouble with console on UART

2024-01-27 Thread Mark Kettenis
> Date: Sat, 27 Jan 2024 22:47:05 +0900 > From: stephane Tranchemer > > Hello Jonathan, > > made a kernel with the patch and here is what I get on dmesg: > > puc0 at pci0 dev 26 function 0 "Intel C3000 UART" rev 0x11: ports: 16 com > com4 at puc0 port 0 apic 2 int 16: ns16550a, 16 byte fifo >

Re: Trouble with console on UART

2024-01-27 Thread stephane Tranchemer
Hello Jonathan, made a kernel with the patch and here is what I get on dmesg: puc0 at pci0 dev 26 function 0 "Intel C3000 UART" rev 0x11: ports: 16 com com4 at puc0 port 0 apic 2 int 16: ns16550a, 16 byte fifo so now it seems to get the com port, however when I type "set tty com4" on the boot

Re: Trouble with console on UART

2024-01-27 Thread Mark Kettenis
> Date: Sat, 27 Jan 2024 19:54:43 +0900 (JST) > From: stran...@free.fr > > >Synopsis:Console is lost at boot when com0 is on a UART PCI > >Category:system amd64 > >Environment: > System : OpenBSD 7.4 > Details : OpenBSD 7.4 (GENERIC.MP) #2: Fri Dec 8 15:39:04 MST 2023 >

Re: Trouble with console on UART

2024-01-27 Thread Jonathan Gray
On Sat, Jan 27, 2024 at 07:54:43PM +0900, stran...@free.fr wrote: > >Synopsis:Console is lost at boot when com0 is on a UART PCI > >Category:system amd64 > >Environment: > System : OpenBSD 7.4 > Details : OpenBSD 7.4 (GENERIC.MP) #2: Fri Dec 8 15:39:04 MST 2023 >

Trouble with console on UART

2024-01-27 Thread stranche
>Synopsis:Console is lost at boot when com0 is on a UART PCI >Category:system amd64 >Environment: System : OpenBSD 7.4 Details : OpenBSD 7.4 (GENERIC.MP) #2: Fri Dec 8 15:39:04 MST 2023 r...@syspatch-74-amd64.openbsd.org:/usr/src/sys/arch/amd6