Debian Bug report logs - #274436
i386 serial console installation report

Package: grub-installer; Maintainer for grub-installer is Debian Install System Team <[email protected]>;

Reported by: [email protected] (Geert Stappers)

Date: Fri, 1 Oct 2004 20:33:05 UTC

Severity: wishlist

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Install Team <[email protected]>:
Bug#274436; Package installation-reports. (full text, mbox, link).


Acknowledgement sent to [email protected] (Geert Stappers):
New Bug report received and forwarded. Copy sent to Debian Install Team <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: [email protected] (Geert Stappers)
To: [email protected]
Subject: i386 serial console installation report
Date: Fri, 1 Oct 2004 22:27:53 +0200
[Message part 1 (text/plain, inline)]
Package: installation-reports
Version: ~/joeyh/dailybuild/i386/netboot/ 30 september 2004
Severity: wishlist

Hello,

A netboot install on a i386 with serial console went mostly fine.

Here is my feedback:

* Had to use the newt frontend, but that is not funny on serial line.
Please include cdebconf-text-udeb, to make DEBIAN_FRONTEND=text possible.

* to get a nice behaving base-config [1]
You have to install the libterm-readline-gnu-perl package
in the target chroot and `dpkg-reconfigure debconf` to set readline.
Do that in a shell before reboot into second stage.[2]

* No kernel messages and no grub menu is shown on the serial console.
With this patch on /boot/grub/menu.lst it does.
diff -u -r2.0 menu.lst
--- menu.lst    2004/10/01 19:07:54     2.0
+++ menu.lst    2004/10/01 19:12:45
@@ -17,7 +17,7 @@
 timeout                5

 # Pretty colours
-color cyan/blue white/blue
+#color cyan/blue white/blue

 ## password ['--md5'] passwd
 # If used in the first section of a menu file, disable all interactive editing
@@ -84,18 +84,21 @@
 ##      howmany=7
 # howmany=all

+serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
+terminal --timeout=5 serial console
+
 ## ## End Default Options ##

 title          Debian GNU/Linux, kernel 2.4.27-1-686
 root           (hd0,0)
-kernel         /boot/vmlinuz-2.4.27-1-686 root=/dev/hda1 ro
+kernel         /boot/vmlinuz-2.4.27-1-686 root=/dev/hda1 ro console=ttyS0,9600n8
 initrd         /boot/initrd.img-2.4.27-1-686
 savedefault
 boot

 title          Debian GNU/Linux, kernel 2.4.27-1-686 (recovery mode)
 root           (hd0,0)
-kernel         /boot/vmlinuz-2.4.27-1-686 root=/dev/hda1 ro single
+kernel         /boot/vmlinuz-2.4.27-1-686 root=/dev/hda1 ro single console=ttyS0,9600n8
 initrd         /boot/initrd.img-2.4.27-1-686
 savedefault
 boot



Geert Stappers

[1] it doesn't shown the default in the menus, neither selections.
[2] no need to implement this in the program source code.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian Install Team <[email protected]>:
Bug#274436; Package installation-reports. (full text, mbox, link).


Acknowledgement sent to Joey Hess <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install Team <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Joey Hess <[email protected]>
To: Geert Stappers <[email protected]>, [email protected]
Subject: Re: Bug#274436: i386 serial console installation report
Date: Fri, 1 Oct 2004 18:23:11 -0400
[Message part 1 (text/plain, inline)]
Geert Stappers wrote:
> A netboot install on a i386 with serial console went mostly fine.
> 
> Here is my feedback:
> 
> * Had to use the newt frontend, but that is not funny on serial line.
> Please include cdebconf-text-udeb, to make DEBIAN_FRONTEND=text possible.

I'd considered adding this anyway before for i386, so I have.

> * to get a nice behaving base-config [1]
> You have to install the libterm-readline-gnu-perl package
> in the target chroot and `dpkg-reconfigure debconf` to set readline.

> [1] it doesn't shown the default in the menus, neither selections.

The default behavior of debconf here is not ideal, but unfortunatly cannot be
easily improved with perl's built in read line library:

  * readline and teletype frontends do not display default in brackets,
    and do not special case empty string as the default. It's more important
    that the user be able to enter an empty string reliably. Default values
    are still provided if Term::Readline::Gnu is installed. Closes: #183970

So basically, there _is_ no default with the configuration you set up.

> * No kernel messages and no grub menu is shown on the serial console.
> With this patch on /boot/grub/menu.lst it does.

I suppose I'll reassign this report to grub-installer, though we already have
#224641. What we really need is a tested grub-installer patch..

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package `installation-reports' to `grub-installer'. Request was from Joey Hess <[email protected]> to [email protected]. (full text, mbox, link).


Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#274436; Package grub-installer. (full text, mbox, link).


Acknowledgement sent to [email protected] (Geert Stappers):
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: [email protected] (Geert Stappers)
To: [email protected]
Subject: Re: Bug#274436: i386 serial console installation report
Date: Sat, 2 Oct 2004 09:30:59 +0200
[Message part 1 (text/plain, inline)]
On Fri, Oct 01, 2004 at 06:23:11PM -0400, Joey Hess wrote:
> Geert Stappers wrote:
> > A netboot install on a i386 with serial console went mostly fine.
> > 
> > Here is my feedback:
> > 
> > * Had to use the newt frontend, but that is not funny on serial line.
> > Please include cdebconf-text-udeb, to make DEBIAN_FRONTEND=text possible.
> 
> I'd considered adding this anyway before for i386, so I have.
Nice! TNX

> > * to get a nice behaving base-config [1]
> > You have to install the libterm-readline-gnu-perl package
> > in the target chroot and `dpkg-reconfigure debconf` to set readline.
> 
> > [1] it doesn't shown the default in the menus, neither selections.
> 
> The default behavior of debconf here is not ideal, but unfortunatly cannot be
> easily improved with perl's built in read line library:
> 
>   * readline and teletype frontends do not display default in brackets,
>     and do not special case empty string as the default. It's more important
>     that the user be able to enter an empty string reliably. Default values
>     are still provided if Term::Readline::Gnu is installed. Closes: #183970
> 
> So basically, there _is_ no default with the configuration you set up.

I have the feeling that we are talking about different things.

With "it doesn't shown the default in the menus, neither selections."
I mean base-config, with newt frontend on a serial console,
doesn't show what will happen when 'enter' is pressed.

Clearification:
 Partman leaves the cursor at the no, pressing 'tab' puts cursor at the yes

 "system clock GMT" yes no        but no cursor nor other mark,
 pressing 'tab' redraws the screen, but no "you choose this sign"

> > * No kernel messages and no grub menu is shown on the serial console.
> > With this patch on /boot/grub/menu.lst it does.
> 
> I suppose I'll reassign this report to grub-installer, though we already have
> #224641. What we really need is a tested grub-installer patch..

Acknowledge.


Cheers
Geert Stappers
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#274436; Package grub-installer. (full text, mbox, link).


Acknowledgement sent to Joey Hess <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (full text, mbox, link).


Message #22 received at [email protected] (full text, mbox, reply):

From: Joey Hess <[email protected]>
To: Geert Stappers <[email protected]>, [email protected]
Subject: Re: Bug#274436: i386 serial console installation report
Date: Sat, 2 Oct 2004 11:59:04 -0400
[Message part 1 (text/plain, inline)]
Geert Stappers wrote:
> > So basically, there _is_ no default with the configuration you set up.
> 
> I have the feeling that we are talking about different things.
> 
> With "it doesn't shown the default in the menus, neither selections."
> I mean base-config, with newt frontend on a serial console,
> doesn't show what will happen when 'enter' is pressed.

There is no default. If you press enter it will redisplay the prompt.

> Clearification:
>  Partman leaves the cursor at the no, pressing 'tab' puts cursor at the yes
> 
>  "system clock GMT" yes no        but no cursor nor other mark,
>  pressing 'tab' redraws the screen, but no "you choose this sign"

Sorry, I have no idea what you're talking about? Partman? Clock
settings? Apparently whiptail? Does not match rest of report.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian Install System Team <[email protected]>:
Bug#274436; Package grub-installer. (full text, mbox, link).


Acknowledgement sent to [email protected] (Geert Stappers):
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>. (full text, mbox, link).


Message #27 received at [email protected] (full text, mbox, reply):

From: [email protected] (Geert Stappers)
To: [email protected]
Subject: Re: Bug#274436: i386 serial console installation report
Date: Fri, 8 Oct 2004 11:33:27 +0200
[Message part 1 (text/plain, inline)]
On Sat, Oct 02, 2004 at 11:59:04AM -0400, Joey Hess wrote:
> Geert Stappers wrote:
> > > So basically, there _is_ no default with the configuration you set up.
> > 
> > I have the feeling that we are talking about different things.
still have ...

> > With "it doesn't shown the default in the menus, neither selections."
> > I mean base-config, with newt frontend on a serial console,
                             ^^^^
> > doesn't show what will happen when 'enter' is pressed.
> 
> There is no default. If you press enter it will redisplay the prompt.
> 
> > Clearification:
> >  Partman leaves the cursor at the no, pressing 'tab' puts cursor at the yes
> > 
> >  "system clock GMT" yes no        but no cursor nor other mark,
> >  pressing 'tab' redraws the screen, but no "you choose this sign"
> 
> Sorry, I have no idea what you're talking about? Partman? Clock
> settings? Apparently whiptail? Does not match rest of report.

 http://www.stappers.nl/gst/screenshots/d-i/yesorno.png

has what I see: No cursor no other mark show the default.


Geert Stappers
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:25:00 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.