HVM guests don't boot xenconsole: Could not read tty from store: No such file or directory

Bug #132135 reported by Todd Deshane
2
Affects Status Importance Assigned to Milestone
xen-3.1 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

paravirt guests work.

followed instructions: http://www.math.dartmouth.edu/~sarunas/xen_304_hvm_etch.html (For HVM guest)

$ sudo xm create -c winxp
Using config file "/etc/xen/winxp".
Started domain winxp
xenconsole: Could not read tty from store: No such file or directory

/etc/xen/winxp:

kernel="/usr/lib/xen-ioemu-3.1/boot/hvmloader"
builder='hvm'
device_model='/usr/lib/xen/bin/qemu-dm'
memory=1024
name='winxp'
vif=[ 'type=ioemu' ]
disk=['file:/xen/images/winxp.img,ioemu:hda,w','file:/usr/local/iso/winxp.iso,hdc:cdrom,r']
boot='d'
vnc=1

according to this thread there should be log files in /var/log/qemu*
that will help to debug the problem.
http://lists.xensource.com/archives/html/xen-devel/2006-07/msg00870.html

Finally, why is hvmloader in: /usr/lib/xen-ioemu-3.1/boot/hvmloader?
It doesn't need to be a moving target for users... could there at least be a consistent symlink so that tutorials can be written for hvm and consistency remains?

I will attach the xend.log

Revision history for this message
Todd Deshane (deshantm) wrote :

attaching relevant xend.log

Revision history for this message
Todd Deshane (deshantm) wrote :

UPDATE:

needed to fix device_model line too...

from above
-device_model='/usr/lib/xen/bin/qemu-dm'
+device_model='/usr/lib/xen-ioemu-3.1/bin/qemu-dm'

seems to work now... it is a big slow, and slows down the system a bit (uses a lot RAM), it is allocated 1GB of a 4GB (amd64) system

it does work though.

I think that a qemu-dm symlink should be made as well.

Revision history for this message
Todd Deshane (deshantm) wrote :

typo from above big --> bit

Also, to clarify, the hvm guest is not actually using any more RAM than it is supposed to. firefox is caching a lot as usually and that coupled with the fact that the install of XP is disk intensive, slows down the system...I will update after I finish the XP install and boot it up.

Revision history for this message
Todd Deshane (deshantm) wrote :

I finished the install, rebooted the computer and enable remote desktop on XP. I runs pretty snappy and the system doesn't show a lag anymore.

I think it is working well. This bug can be closed... I will add a feature request for the symlinks.

Revision history for this message
DeeKey (privateinf) wrote :

Todd, have you added the feature request already? I have run on exactly the same problem with xenman (now convirt) when I was trying to use it with xen3.1 in Gutsy.
The symlinks should be definitely added to the Gutsy package of xen 3.1.

Revision history for this message
Todd Deshane (deshantm) wrote :

DeeKay: I see that you have found it :)

Ror reference to others: Bug #132256

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta or later?

Changed in xen-3.1:
status: New → Incomplete
Revision history for this message
DeeKey (privateinf) wrote : Re: [Bug 132135] Re: HVM guests don't boot xenconsole: Could not read tty from store: No such file or directory

Hi, Daniel

I am not using 8.10 yet.
Sorry.

Denis

On Thu, Oct 16, 2008 at 9:55 PM, Daniel T Chen <email address hidden> wrote:

> Is this symptom still reproducible in 8.10 beta or later?
>
> ** Changed in: xen-3.1 (Ubuntu)
> Status: New => Incomplete
>
> --
> HVM guests don't boot xenconsole: Could not read tty from store: No such
> file or directory
> https://bugs.launchpad.net/bugs/132135
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Can anyone confirm this on Ubuntu 9.04, or even better 9.10 alpha4? Thank you

Revision history for this message
Id2ndR (id2ndr) wrote :

FYI : on debian, the file /var/log/xen/qemu-dm-X.log may contain more explanations on the trouble.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xen-3.1 (Ubuntu) because there has been no activity for 60 days.]

Changed in xen-3.1 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.