Debian Bug report logs - #602788
support for serial console

Package: live-boot; Maintainer for live-boot is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-boot is src:live-boot.

Reported by: Daniel Chao <danchao@o3.net>

Date: Mon, 8 Nov 2010 05:51:01 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#602788; Package live-boot-initramfs-tools. (Mon, 08 Nov 2010 05:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Chao <danchao@o3.net>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 08 Nov 2010 05:51:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Daniel Chao <danchao@o3.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-boot-initramfs-tools: live-getty and serial console is not working as expected
Date: Mon, 08 Nov 2010 13:42:17 +0800
Package: live-boot-initramfs-tools
Version: 2.0.11-1
Severity: normal

When I upgrade my live image building system from Lenny to Squeeze, the live-getty option is not working any more.

In config/binary
LB_BOOTAPPEND_LIVE="8250.nr_uarts=6 live-getty console=tty0 console=ttyS0,9600n8 ip=frommedia quiet textonly"                                       
After building the image with "lb build", the login/shell prompt never appears on the serial port. This used to be working with previous version of live-helper.

Tried putting a modified inittab file into config/chroot_local-include/etc will results in incorrect modified entry. I've found the same issue on debian bug #442289.

This is installed on my build system:

ii  live-build                         2.0.5-1                     Debian Live - System Build Scripts


Following is the package info from the live system

root@debian:~# dpkg -l |grep -i live-
ii  live-boot                                2.0.11-1                    Debian Live - System Boot Scripts
ii  live-boot-initramfs-tools                2.0.11-1                    Debian Live - System Boot Scripts (initramfs-tools backend)
ii  live-config                              2.0.11-1                    Debian Live - System Configuration Scripts
ii  live-config-sysvinit                     2.0.11-1                    Debian Live - System Configuration Scripts (sysvinit backend)
ii  live-initramfs                           2.0.11-1                    Debian Live - System Boot Scripts (transitional package)




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-boot-initramfs-tools depends on:
ii  busybox                       1:1.17.1-6 Tiny utilities for small and embed
ii  initramfs-tools               0.98.5     tools for generating an initramfs
ii  udev                          163-2      /dev/ and hotplug management daemo

live-boot-initramfs-tools recommends no packages.

live-boot-initramfs-tools suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#602788; Package live-boot-initramfs-tools. (Tue, 09 Nov 2010 09:39:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Tue, 09 Nov 2010 09:39:07 GMT) Full text and rfc822 format available.

Message #10 received at 602788@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Daniel Chao <danchao@o3.net>
Cc: 602788@bugs.debian.org
Subject: Re: Bug#602788: live-boot-initramfs-tools: live-getty and serial console is not working as expected
Date: Tue, 09 Nov 2010 10:35:31 +0100
reassign 602788 live-boot
severity 602788 wishlist
retitle 602788 support for serial console
thanks

On 11/08/2010 06:42 AM, Daniel Chao wrote:
> When I upgrade my live image building system from Lenny to Squeeze, the live-getty option is not working any more.

this is a known regression, see
http://live.debian.net/gitweb?p=live-config.git;a=blob;f=docs/README;h=8059e3d8d2be6616d30f9e695472d4992387f7d2;hb=HEAD

i've got no sane testing environment for this, so it's not likely going
to be fixed soon. however, patches are of course welcome.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Bug reassigned from package 'live-boot-initramfs-tools' to 'live-boot'. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Tue, 09 Nov 2010 09:39:08 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions live-boot/2.0.11-1. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Tue, 09 Nov 2010 09:39:09 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Tue, 09 Nov 2010 09:39:10 GMT) Full text and rfc822 format available.

Changed Bug title to 'support for serial console' from 'live-boot-initramfs-tools: live-getty and serial console is not working as expected' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Tue, 09 Nov 2010 09:39:11 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#602788; Package live-boot. (Thu, 23 Feb 2012 00:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Heeris <jason.heeris@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Thu, 23 Feb 2012 00:45:03 GMT) Full text and rfc822 format available.

Message #23 received at 602788@bugs.debian.org (full text, mbox):

From: Jason Heeris <jason.heeris@gmail.com>
To: 602788@bugs.debian.org
Subject: live-boot-initramfs-tools: live-getty and serial console is not working as expected
Date: Thu, 23 Feb 2012 08:43:17 +0800
[Message part 1 (text/plain, inline)]
This is affecting me too. FYI, you can test serial support for a live image
with something like:

    $ qemu -hda binary.img -serial stdio

Serial console then appears on the command line.

I've poked around to try to fix it (or work around it), but haven't really
gotten anywhere. Any tips on where to start?

— Jason
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#602788; Package live-boot. (Fri, 24 Feb 2012 04:12:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jason Heeris <jason.heeris@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 24 Feb 2012 04:12:03 GMT) Full text and rfc822 format available.

Message #28 received at 602788@bugs.debian.org (full text, mbox):

From: Jason Heeris <jason.heeris@gmail.com>
To: 602788@bugs.debian.org
Subject: Hacky workaround
Date: Fri, 24 Feb 2012 12:09:17 +0800
[Message part 1 (text/plain, inline)]
I've attached a hacky little sed script that Works For Me (goes in
config/includes.chroot/lib/live/config) — it requires manual tweaking for
different device names, and is certainly no replacement for the original
live-getty script. But it might help others who just need to get something
up and running.

Cheers,
Jason
[Message part 2 (text/html, inline)]
[018-serial_console (application/octet-stream, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#602788; Package live-boot. (Fri, 16 Nov 2012 16:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to bnewbold@robocracy.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 16 Nov 2012 16:45:03 GMT) Full text and rfc822 format available.

Message #33 received at 602788@bugs.debian.org (full text, mbox):

From: bnewbold@robocracy.org
To: 602788@bugs.debian.org
Subject: Re: Hacky workaround
Date: Fri, 16 Nov 2012 17:36:06 +0100 (CET)
Jason Heeris's script worked for me after I changed it to 
9999-serial_console (to run later). it only needs to run after 
0170-sysvinit, so a lower priority like 1190 would be fine.

a partial fix might be to re-write the offending sed in 0170-sysvinit 
(UNTESTED):

  \(tty[0-9]*\) -> \(tty[A-Z0-9]*\)

this would correctly mangle many custom /etc/inittab files.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 10:14:17 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.