Bug 72957 - Editing boot args is buggy when using serial console setup
Summary: Editing boot args is buggy when using serial console setup
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: grub (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-08-29 14:25 UTC by Viraj Alankar
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-08-29 15:58:50 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Viraj Alankar 2002-08-29 14:25:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126

Description of problem:
When GRUB is configured to use a serial console, booting via a normal VGA
console and trying to edit the boot arguments with 'e' causes corrupt line
editing. It appears that the command line editing has some bugs in this
scenario. For example, on long boot arguments, it sometimes does not accept any
input or overwrites what you type with what is the default.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add following lines to /etc/grub.conf:

serial --unit=0 --speed=9600
terminal --timeout=10 --dumb serial console

Also comment out splash screen:


2. Setup some kernel arguments for booting serial, i.e.:

title Red Hat Linux (2.4.18-5)
   root (hd0,0)
   kernel /boot/vmlinuz-2.4.18-5 ro root=/dev/sda1 console=tty0 console=ttyS0
   initrd /boot/initrd-2.4.18-5.img

2. Reboot, press any key at normal console (not serial) when grub prompts for it.

3. Press 'e', select the kernel line, then 'e' again. This drops to command line
editor which becomes corrupt when typing.

Actual Results:  Text that is typed in is sometimes completely ignored or
overwritten with current boot arguments.

Expected Results:  Command line editor should provide text editing correctly.

Additional info:

Comment 1 Jeremy Katz 2002-08-29 15:15:36 UTC
You'll probably have better luck without the --dumb on the terminal line.  That
causes it to just do dumb terminal emulation which isn't going to let you do
everything that the default vt100 emulation allows.  Do things work better then?

Comment 2 Viraj Alankar 2002-08-29 15:58:43 UTC
Yes, taking out --dumb seems to fix the problem. Thanks.

Note You need to log in before you can comment on or make changes to this bug.