Bug 435106

Summary: pv guest on 32bit just "hangs" after fresh install
Product: Red Hat Enterprise Linux 5 Reporter: Thorsten Scherf <tscherf>
Component: xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: berrange, clalance
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-02 07:38:25 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:
Attachments:
Description Flags
xend.log none

Description Thorsten Scherf 2008-02-27 12:39:50 UTC
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:

Comment 1 Thorsten Scherf 2008-02-27 12:39:50 UTC
Created attachment 296057 [details]
xend.log

Comment 2 Chris Lalancette 2008-02-27 13:27:41 UTC
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

Comment 3 Thorsten Scherf 2009-01-29 08:34:29 UTC
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?

Comment 4 Daniel Berrangé 2009-01-29 10:11:09 UTC
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.

Comment 5 Bill Burns 2009-02-27 19:12:20 UTC
Did the suggestions abobe help? Can we close this as not a bug? Thanks.

Comment 6 Thorsten Scherf 2009-03-02 06:23:04 UTC
yeah, the hint helped. you can close this a NOTABUG.