Re: Fixing the missing serial console after installation issue

2017-10-01 Thread John Paul Adrian Glaubitz
On 10/01/2017 03:55 PM, Samuel Thibault wrote: > Ok, but are no there other, released, archs which also by default put > the kernel console on ttyS0 like sparc64? I'm not sure whether it's arch-specific, I would rather guess it depends on the type of hardware used. On SPARC machines it happens, be

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread Samuel Thibault
John Paul Adrian Glaubitz, on dim. 01 oct. 2017 15:30:58 +0200, wrote: > > And if you want something to be backported to older releases (version > > tracking, etc.), entries in the BTS are more than welcome. > > A backport isn't necessary in this case, I think, as we currently > only provide unst

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread John Paul Adrian Glaubitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi! On 10/01/2017 03:28 PM, Cyril Brulebois wrote: > Samuel Thibault (2017-10-01): >> Ok, then that's indeed what is special about sparc64, and then AIUI your >> patch is welcome :) >> >> (and ideally should be backported to previous releases of

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread Cyril Brulebois
Hi, Samuel Thibault (2017-10-01): > Ok, then that's indeed what is special about sparc64, and then AIUI > your patch is welcome :) > > (and ideally should be backported to previous releases of Debian as > needed) Just a quick comment: Having a bug report with all relevant information (what wor

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread Samuel Thibault
John Paul Adrian Glaubitz, on dim. 01 oct. 2017 13:09:02 +0200, wrote: > >> There is nothing special about sparc64 in this regard. > > > > Perhaps that "enabled by default" thing. > > The difference would be that d-i is not booting with console=ttyS0 > but it's still using the serial console on s

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread John Paul Adrian Glaubitz
On 10/01/2017 12:54 PM, Samuel Thibault wrote: >> But is that information available in finish-installation.d/90console? > > The point is: it doesn't need to be. We need 90console for non-systemd > systems because sysvinit etc. are not able to automatically get the > console configuration from the

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread Samuel Thibault
John Paul Adrian Glaubitz, on dim. 01 oct. 2017 12:49:25 +0200, wrote: > On 10/01/2017 12:33 PM, Samuel Thibault wrote: > >> Yes, I'm aware of that and that's what people usually use to enable the > >> serial > >> console post installation. However, it's most likely not what we would > >> want to

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread John Paul Adrian Glaubitz
On 10/01/2017 12:33 PM, Samuel Thibault wrote: >> Yes, I'm aware of that and that's what people usually use to enable the >> serial >> console post installation. However, it's most likely not what we would want >> to >> use as adding it to the kernel command line assumes that you know what type >

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread Samuel Thibault
Hello, John Paul Adrian Glaubitz, on sam. 30 sept. 2017 20:17:19 +0200, wrote: > On 09/30/2017 07:19 PM, Frank Scheiner wrote: > > Not sure, but [1] says that it should be sufficient to add all console > > devices > > to the kernel command line for systemd to detect and activate them, e.g. > > `c

Re: Fixing the missing serial console after installation issue

2017-10-01 Thread Frank Scheiner
On 09/30/2017 10:47 PM, John Paul Adrian Glaubitz wrote: We might not need to adjust the baud rate as systemd calls agetty with: ExecStart=-/sbin/agetty --keep-baud 115200,38400,9600 %I $TERM and from the agetty manpage: baud_rate,... A comma-separated list of one or mor

Re: Fixing the missing serial console after installation issue

2017-09-30 Thread Frank Scheiner
On 09/30/2017 08:17 PM, John Paul Adrian Glaubitz wrote: On 09/30/2017 07:19 PM, Frank Scheiner wrote: Not sure, but [1] says that it should be sufficient to add all console devices to the kernel command line for systemd to detect and activate them, e.g. `console=ttyS0,9600n8` - which includes p

Re: Fixing the missing serial console after installation issue

2017-09-30 Thread John Paul Adrian Glaubitz
On 09/30/2017 10:37 PM, Frank Scheiner wrote: >> Yes, I'm aware of that and that's what people usually use to enable the >> serial >> console post installation. However, it's most likely not what we would want >> to >> use as adding it to the kernel command line assumes that you know what type >>

Re: Fixing the missing serial console after installation issue

2017-09-30 Thread John Paul Adrian Glaubitz
On 09/30/2017 08:17 PM, John Paul Adrian Glaubitz wrote: > Please be aware that I am not talking about just fixing the serial console > issue > on SPARC machines but on all architectures supported by Debian. Hence, I want > to use a generic and robust solution, not a quick hack. I have quickly dis

Re: Fixing the missing serial console after installation issue

2017-09-30 Thread John Paul Adrian Glaubitz
On 09/30/2017 07:19 PM, Frank Scheiner wrote: > Not sure, but [1] says that it should be sufficient to add all console devices > to the kernel command line for systemd to detect and activate them, e.g. > `console=ttyS0,9600n8` - which includes port and configuration. Yes, I'm aware of that and tha

Re: Fixing the missing serial console after installation issue

2017-09-30 Thread Frank Scheiner
Hi On 09/30/2017 10:54 AM, John Paul Adrian Glaubitz wrote: Some users of Linux on sparc64 have noticed that the serial console is not working directly after installation. This is because systemd does not enable the serial console by default. [...] Does anyone have a suggestion for a patch? I'd