Bug 251392 - serial console for paravirt guests not working
Summary: serial console for paravirt guests not working
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Xen Maintainance List
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-08 18:32 UTC by Gurhan Ozen
Modified: 2013-11-04 01:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-10 15:32:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gurhan Ozen 2007-08-08 18:32:37 UTC
Description of problem:
  After booting guests kernels with "console=tty0 console=xvc0" arguments, the
{virsh,xm} console domId commands seem to go nowhere. 
 
Version-Release number of selected component (if applicable):
# rpm -q kernel-xen libvirt xen
kernel-xen-2.6.18-37.el5
libvirt-0.2.3-5.el5
libvirt-0.2.3-5.el5
xen-3.0.3-33.el5


How reproducible:
Everytime.

Steps to Reproduce:
1. Create a paravirt guest. 
2. Boot it up with console=xvc0 console=tty0 arguments in the kernel line
3. Try to connect to the domain with virsh console or xm console.
  
Actual results:
Can't get serial port output.

Expected results:
Should have it. 

Additional info:

Comment 1 Daniel Berrangé 2007-08-08 18:45:15 UTC
What guest kernel are you running ?

The kernel-xen-2.6.18-36.el5  kernel run as a guest works just fine, without any
 'console' args, or with 'console=xvc0 console=tty0', or with 'console=tty0
console=xvc0'. Supplying any console arg is completely redundant anyway, because
RHEL-5.1 guest kernels 'do the right thing' out of the box .

Comment 2 Daniel Berrangé 2007-08-08 18:47:52 UTC
Please also provide the guest config file from /etc/xen  and the
/var/log/xen/xend.log

Comment 3 Gurhan Ozen 2007-08-10 15:32:41 UTC
This was an -EUSERERROR it looks like. I had "console=xvc0 console=tty0" as
opposed to "console=tty0 console=xvc0" which caused the problem. Having the
console args in right order fixed it. 


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