Description of problem: I saw this once onsite and now I have the same problem in a lab setup. rhel5.1 system (32bit) with latest updates, fresh rhel5.1 pv guest installation. when i start up the guest it just "hangs". last line printed out on screen when using xm console is from auditd. selinux is switched off in dom0. xend.log is attached. state of the machine is blocked. xm destroy and restart doesn't help. Version-Release number of selected component (if applicable): xen-3.0.3-41.el5 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 296057 [details] xend.log
This is probably not a hang, just a configuration issue. Did you initially install the guest with "virt-install --vnc", and then try to connect to it afterwards with "xm console"? If that is the case, the thing is that we don't automatically setup xm console when doing a graphical install, since xm console is really a serial terminal. You should be able to get to it using virt-manager or vncviewer. If this is not the case, please get the full virt-install command line you used, as well as the log from the guest console (/var/log/xen/console/guest-<name>; you'll have to set it up in /etc/sysconfig/xend first). Chris Lalancette
yeah, the machine was installed using virt-install --vnc. How is it possible to setup the serial console afterwards, so that one can use xm console to get access to the machine?
In the guest you just need to edit /etc/grub.conf to add 'console=xvc0 console=tty' and also edit /etc/inittab to turn on a agetty process on xvc0. This will cause boot messages to be sent to both text and graphical console, and also start a login prompt on the text console.
Did the suggestions abobe help? Can we close this as not a bug? Thanks.
yeah, the hint helped. you can close this a NOTABUG.