XEN: "x0" re-spawning too fast message in DomU console
This document (7000048) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 1
Situation
In /var/log/messages:
In /var/log/messages:
Apr 13 17:02:53 bhoward5 agetty[8927]: /dev/xvc0: No such file or directory
Apr 13 17:03:03 bhoward5 agetty[8929]: /dev/xvc0: No such file or directory
On the console:
Resolution
match compatibility
To see if this method will work on your DomU, check /etc/inittab. The file should have a similar line. If the line does not exist and it is SLES 10 SP1 or later, you may add it. For other Linux distributions, please check with the vendor.
method 1: simple configuration file
This method is recommended for DomU's that are unmanaged.
- Shutdown the DomU
- Go to /etc/xen/vm and locate the configuration file
- Backup the configruation file
- Open the file for editing
- Locate the "extra" line
- Replace the line with
extra="console=xvc0"
- Save and close the file
- Test the configuration
Example Configuration:
memory=512
uuid="d2774884-ebe8-dc4d-f07c-9639f413d4c9"
vcpus=2
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
localtime=0
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda1:/boot/vmlinuz-xenpae,/boot/initrd-xenpae"
extra="console=xvc0"
disk=[ 'file:/var/lib/xen/images/bh7-oes/disk0,xvda,w', ]
vif=[ 'mac=00:16:3e:89:c2:f2', ]
vfb=['type=vnc,vncunused=1']
method 2: method 1 plus importing
This method is for managed DomU's that have not been altered by management tools like "virt-manager", YaST or "virt-manager"
- Follow method 1
- Import the change
xm new -f NAME_OF_DOMU
This method is not recommended unless you have modified a managed domain, as it involves exporting the configration from the Xen store and then editing the Python manually.
- Export the configuration
xm list -l SLES10 > SLES10.py
- Backup the exported configuration file
- Open the file for editing
- Locate the following (or similiar).
(linux
(kernel )
(args 'TERM=XTERM xencons=tty')
(device_model /usr/lib/xen/bin/qemu-dm) - Change it to
(linux
(kernel )
(args 'console=xvc0')
(device_model /usr/lib/xen/bin/qemu-dm) - Save and close the file
- Import the changes
xm new -F SLES10
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7000048
- Creation Date: 13-Apr-2008
- Modified Date:14-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com