Bug 650150

Summary: serial options in menu.lst are wrong ordered by yast2-bootloader
Product: [openSUSE] openSUSE 11.4 Reporter: Stefan Seyfried <seife>
Component: YaST2Assignee: Josef Reidinger <jreidinger>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: duwe
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Seyfried 2010-10-29 09:10:10 UTC
(I tried this on 11.3, but I found no changelog entry in factory that would have suggested this is fixed already)

After installing via serial console, the "console=ttyS0,..." entries were missing from the kernel command lines, so I used yast2 bootloader module to add them.

Once at it, I also added serial options to grub in the module and enabled to use serial console.

This gave me the following in menu.lst:

##YaST - generic_mbr
##YaST - activate
terminal serial
serial --unit=0 --speed=115200

Unfortunately, this does not work (at least not in a libvirt-managed KVM guest).
It needs to be the other way round:

serial --unit=0 --speed=115200
terminal serial

Switching this made the serial console work perfectly.
Comment 2 Thomas Göttlicher 2010-10-29 12:18:54 UTC
Reassigning to yast2-bootloader maintainer.
Comment 3 Josef Reidinger 2010-12-03 16:35:41 UTC
Stefan - Now there is no forcing of parameters order. If 'serial' must be before 'terminal' and it always work I can force it ( and prepare to other users whose complain about it :). So does it work in each situation if I force it? ( otherwise I must add special detection if I am in KVM managed quest, which is not easy ).
Comment 4 Josef Reidinger 2011-02-11 16:37:30 UTC
torsten - what is difference in order of these two grub commands? I don't see anything about this topic in grub manual.
Comment 5 Torsten Duwe 2011-02-11 17:09:27 UTC
"serial" sets it up, "terminal" selects it. You'll  have a hard time pressing [Return] on the uninitialised serial line ;)

Some broken BIOSes (surprise!) do not make an entry for the "unit 0", a --port=0x3f8 statement helps there, FYI.
Comment 6 Josef Reidinger 2011-02-21 11:00:22 UTC
fixed in svn. Will be released on wednesday.