Bug#960390: x86_64: No serial port output

2020-06-20 Thread Punit Agrawal
Hi Steve, Here's an updated patch to enable serial console in grub when using debian-installer on an EFI based system. Sorry it took longer than anticipated - got pulled into some other things. The patch has been updated based on your feedback (and some experimentation). Notably, this version

Bug#960390: x86_64: No serial port output

2020-05-27 Thread Punit Agrawal
On Tue, 26 May 2020 12:20:04 +0100 Steve McIntyre wrote: > On Sat, May 23, 2020 at 10:34:36AM +0900, Punit Agrawal wrote: > >On Sat, May 23, 2020 at 1:54 AM Steve McIntyre wrote: > >> > >> On Sat, May 23, 2020 at 01:15:37AM +0900, Punit Agrawal wrote: > > > >[...] > > > >> >To avoid needing any

Bug#960390: x86_64: No serial port output

2020-05-26 Thread Steve McIntyre
On Sat, May 23, 2020 at 10:34:36AM +0900, Punit Agrawal wrote: >On Sat, May 23, 2020 at 1:54 AM Steve McIntyre wrote: >> >> On Sat, May 23, 2020 at 01:15:37AM +0900, Punit Agrawal wrote: > >[...] > >> >To avoid needing any workarounds such as those discussed in earlier >> >replies, I looked at

Bug#960390: x86_64: No serial port output

2020-05-22 Thread Punit Agrawal
On Sat, May 23, 2020 at 1:54 AM Steve McIntyre wrote: > > On Sat, May 23, 2020 at 01:15:37AM +0900, Punit Agrawal wrote: [...] > >To avoid needing any workarounds such as those discussed in earlier > >replies, I looked at enabling the installer images to output on the > >serial console by

Bug#960390: x86_64: No serial port output

2020-05-22 Thread Steve McIntyre
On Sat, May 23, 2020 at 01:15:37AM +0900, Punit Agrawal wrote: >tags 960390 + patch > >On Wed, 13 May 2020 14:14:54 +0200 john doe wrote: > >[...] > >> I also'd like to point out that instead of modifying grub at the install >> prompt, pressing the escape key and typing at the boot prompt the

Bug#960390: x86_64: No serial port output

2020-05-22 Thread Punit Agrawal
tags 960390 + patch On Wed, 13 May 2020 14:14:54 +0200 john doe wrote: [...] > I also'd like to point out that instead of modifying grub at the install > prompt, pressing the escape key and typing at the boot prompt the below > works for me (pressing the 'escape' key instead of the 'tab' key):

Bug#960390: x86_64: No serial port output

2020-05-13 Thread john doe
On 5/13/2020 12:28 PM, Alper Nebi Yasak wrote: On 13/05/2020 03:43, Punit Agrawal wrote: Incidentally, this does not work if '-m 1024' is missing. Kernel boot fails to find 'init'. I suspect that the Qemu default RAM configuration is not sufficient to unpack the initrd. Thanks, that's it. I

Bug#960390: x86_64: No serial port output

2020-05-13 Thread Alper Nebi Yasak
On 13/05/2020 03:43, Punit Agrawal wrote: Incidentally, this does not work if '-m 1024' is missing. Kernel boot fails to find 'init'. I suspect that the Qemu default RAM configuration is not sufficient to unpack the initrd. Thanks, that's it. I haven't noticed it the first time around because

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Punit Agrawal
[ cc'ing Alper ] john doe writes: [...] > The below command get me directly to the language selection screen which > I belaeve is what you want?: > > qemu-system-x86_64 -drive file=debian.img,format=raw -m 1024 -boot d > -nographic -cdrom debian-bullseye-DI-alpha2-amd64-netinst.iso -kernel >

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Punit Agrawal
Alper Nebi Yasak writes: > On 12/05/2020 13:02, Punit Agrawal wrote: >> The above parameters do not launch the installer from the iso here. I am >> not quite sure what the right arguments are. I wonder if >> "root=" to the kernel will do the trick. Will give that a >> try. > > When I try: > > $

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Bjørn Mork
Geert Stappers writes: > Virtual Machines (Qemu, KVM, Xen, ... ) and OCI containters ( "Docker > images") are the new serial port only computers. > > In other words: There are many servers without video hardware. (Un)fortunately, depending how you look at it, running a remote qemu machine with

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Geert Stappers
On Tue, May 12, 2020 at 04:20:58PM +0200, Bjørn Mork wrote: > > The lack of serial console support is a very long standing bug in the > Debian installer. See for example https://bugs.debian.org/309223 > opened 15 years ago, and closed 10 years ago without any attempt to fix > the problem.

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Bjørn Mork
john doe writes: > Unless I'm missing something, it does work for me with something like: > > -nographic -cdrom *.iso -kernel kernel-path -append > "console=ttyS0,115200n8 ..." > > > '-serial' might also be needed. Try repeating that when installing on bare metal without a monitor. The lack

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Alper Nebi Yasak
On 12/05/2020 13:02, Punit Agrawal wrote: The above parameters do not launch the installer from the iso here. I am not quite sure what the right arguments are. I wonder if "root=" to the kernel will do the trick. Will give that a try. When I try: $ qemu-system-x86_64 -cdrom *.iso -nographic

Bug#960390: x86_64: No serial port output

2020-05-12 Thread john doe
On 5/12/2020 12:02 PM, Punit Agrawal wrote: john doe writes: On 5/12/2020 11:36 AM, Punit Agrawal wrote: john doe writes: [...] This does not start the Debian installer. The issue reported is that the grub shipping with DI does not output to serial console and hence can't be used with

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Punit Agrawal
john doe writes: > On 5/12/2020 11:36 AM, Punit Agrawal wrote: >> john doe writes: [...] >> This does not start the Debian installer. The issue reported is that the >> grub shipping with DI does not output to serial console and hence can't >> be used with "-nographic". It's maybe that the

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Punit Agrawal
john doe writes: > On 5/12/2020 11:01 AM, Colin Watson wrote: [...] > Unless I'm missing something, it does work for me with something like: > > -nographic -cdrom *.iso -kernel kernel-path -append > "console=ttyS0,115200n8 ..." This does not start the Debian installer. The issue reported is

Bug#960390: x86_64: No serial port output

2020-05-12 Thread john doe
On 5/12/2020 11:36 AM, Punit Agrawal wrote: john doe writes: On 5/12/2020 11:01 AM, Colin Watson wrote: [...] Unless I'm missing something, it does work for me with something like: -nographic -cdrom *.iso -kernel kernel-path -append "console=ttyS0,115200n8 ..." This does not start the

Bug#960390: x86_64: No serial port output

2020-05-12 Thread john doe
On 5/12/2020 11:01 AM, Colin Watson wrote: Control: reassign -1 debian-installer On Tue, May 12, 2020 at 05:32:51PM +0900, Punit Agrawal wrote: Package: grub2 Grub does not output to serial port when running in a VM launched using Qemu when run as part of the Debian Installer. This prevents

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Colin Watson
Control: reassign -1 debian-installer On Tue, May 12, 2020 at 05:32:51PM +0900, Punit Agrawal wrote: > Package: grub2 > > Grub does not output to serial port when running in a VM launched using > Qemu when run as part of the Debian Installer. This prevents > installation of Debian in a VM when

Bug#960390: x86_64: No serial port output

2020-05-12 Thread Punit Agrawal
Package: grub2 Grub does not output to serial port when running in a VM launched using Qemu when run as part of the Debian Installer. This prevents installation of Debian in a VM when running without a GUI. In this specific instance, I was trying to install Debian in a VM over ssh. To reproduce