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

theparanoidone 537849 at bugs.launchpad.net
Thu Aug 25 01:15:24 UTC 2011


Comparison Between Ubuntu 10.04 and 11.04
---------------------------------------------------------------

Ubuntu 11 exhibits the same behavior as Ubuntu 10.    However... a potential workaround may have been found for Ubuntu 11 as it appears to be working...  Enable motherboard redirection 
  -- (ENABLED, com1, vt100, 115200, redirect after console *****DISABLED*****)   appears to fix the issues


Grub2 Config
-------------------
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=5
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=tty0 console=ttyS0,115200n8"
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"


Observed Effects in Ubuntu 11.04
----------------------------------------------

- Disable motherboard console redirection (DISABLED, com1, vt100, 115200, redirect after console DISABLED)
-- no motherboard serial access
-- serial console shift key *does not* work to display menu
-- serial console tapping ESC multiple times quickly will allow menu to be displayed

- Enable motherboard redirection (ENABLED, com1, vt100, 115200, redirect after console ENABLED)
-- yes / motherboard serial access
-- error message(s) appears error: unknown command `terminal'.
-- serial console shift key *does not* work
-- serial console tapping ESC multiple times flickers the menu for one second then it disappears

- ENABLED, com1, vt100, 115200, redirect after console *****DISABLED*****
-- yes / motherboard serial access
-- serial console shift key *does not* work to display menu
-- serial console tapping ESC multiple times quickly will allow menu to be displayed


I will be testing Ubuntu 10.04 again to see if the above solution works.   For the record... Ubuntu 8 worked with - Enable motherboard redirection (ENABLED, com1, vt100, 115200, redirect after console ENABLED) settings

-- 
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