Bug 438573
Summary: | Dom0 stops writing to serial console | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jeffrey Needham <jneedham> |
Component: | xen | Assignee: | Xen Maintainance List <xen-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-03-25 20:20:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeffrey Needham
2008-03-22 05:03:33 UTC
Hm, what do you mean by "nothing gets written to ttyS0 after the 'initrd' message"? Which initrd message are you talking about? This is almost certainly a configuration issue, since the Xen serial console behaves in different ways from the bare metal kernel. Basically what happens is that the hypervisor is in control of the serial hardware, and emulates one so that the dom0 kernel can also read/write to it. So what you need for configuration in /boot/grub/grub.conf is: title Red Hat Enterprise Linux Server (2.6.18-84.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-84.el5 com1=115200,8n1 module /vmlinuz-2.6.18-84.el5xen ro root=/dev/HostGroup/RHEL5_x86_64 console=tty0 console=ttyS0,115200 module /initrd-2.6.18-84.el5xen.img Notice that the hypervisor line uses the "com1" syntax. Also notice that INIT messages all go out to the *last* console you specify, namely console=ttyS0, etc. Finally, if you had secondary serial port on this machine, you would change the HV configuration to something like "com2=115200,8n1 console=com2L", but you would *not* change the kernel line (it would still be ttyS0). This is because the serial port is emulated to the dom0. Make sure all of the above makes sense to you, and make sure you have it configured correctly; it is one of the hard things to get right when using Xen initially. Chris Lalancette will give it a shot and get back to you thanks chris the above changes worked. bug can be closed or withdrawn. OK, cool. Chris Lalancette |