[Bug 537849] Re: fails to deal with a serial console correctly

theparanoidone 537849 at bugs.launchpad.net
Thu Aug 25 23:58:29 UTC 2011


Ubuntu 10.04 Re-Test
-----------------------------

- ENABLED, com1, vt100, 115200, redirect after console
*****DISABLED*****

Grub  (NON WORKING CONFIG)
--------------------
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200n8"
GRUB_TERMINAL="serial console"   #### THIS FAILS ###
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

>> root at fury:/etc/init# update-grub
>> Invalid output terminal "serial console"
... this is an error... it's supported in documentation and works in ubuntu 11


Partially Working Ubuntu 10.04 Config
----------------------------------------------------
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=7
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200n8"
GRUB_TERMINAL_INPUT="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

*** Notice GRUB_TERMINAL was changed to GRUB_TERMINAL_INPUT

- ENABLED, com1, vt100, 115200, redirect after console *****DISABLED*****
-- yes / motherboard serial access
-- yes / serial grub console access
-- serial console shift key *does not* work to display menu
-- serial console tapping ESC multiple times quickly will allow menu to be displayed
-- no / no physical console displayable menu... BUT if you hit ESC it will appear on physical console
---- this is different than Ubuntu 8 and 11 which allows you to simultaneously control the grub menu from serial or console

In other words... it "kind-of" works.  You can get serial administration
working fairly well at the cost of slight physical grub console access
being limited (but ultimately working).

Assuming you are running a remote server environment... one could argue
this is acceptable as the majority of the administration is done
remotely anyways... so as long as the remote serial administration is
solid... this is a plausible solution.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/537849

Title:
  fails to deal with a serial console correctly

Status in “grub-installer” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: grub-installer

  When I install lucid on a serial console, grub-installer fails to
  setup the kernel options correctly.

  On the machine in question, console=ttyS1,38400 - this is not what
  grub-installer sets up.

  After manually fixing default/grub and running update-grub, I still
  see:

  error: bad unit number.
  error: unknown terminal 'serial'
  .
  error: unknown command `terminal'.
  error: unknown terminal 'serial'
  .
  error: unknown command `terminal'.

  before the kernel boot proceeds.

  lamont

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/537849/+subscriptions




More information about the foundations-bugs mailing list