WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] booting an ISO inside Xen (full virt)

To: Mats Petersson <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] booting an ISO inside Xen (full virt)
From: José Alberto Suárez López <jasuarez@xxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Mar 2007 13:33:31 +0100 (CET)
Cc: Mark Williamson <mark.williamson@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Mar 2007 05:32:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1A66@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: jasuarez@xxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
well this qemu-dm logs are old, right now when i create the new "iso" domU i 
dont have any qemu log.
So about tun/tap i loaded the module manually (no errors) then:

peggy ~ # xm create /etc/xen/iso.cfg 
Using config file "/etc/xen/iso.cfg".
Started domain iso

ps aux | grep qemu

root     22044 26.0  0.2  31892  3420 ?        Sl   13:28   0:03 
/usr/lib/xen/bin/qemu-dm -d 54 -m 256 -boot d -vcpus 1 -domain-name iso -net 
nic,vlan=1,macaddr=00:16:3e:0a:76:1a,model=rtl8139 -net 
tap,vlan=1,bridge=xenbr0 -vnc 54 -vnclisten 127.0.0.1

peggy ~ # netstat -tuna | grep 59
tcp        0      0 127.0.0.1:5954          0.0.0.0:*               LISTEN     

peggy ~ # vncviewer 127.0.0.1:5954
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server

it seem near to the goal, so not works yet. I dont have any qemu log, and 
xen-debug logs are "normals"

any idea?

Thanks Mats :)


----- Mats Petersson <Mats.Petersson@xxxxxxx> wrote:
| > -----Original Message-----
| > From: José Alberto Suárez López [mailto:jasuarez@xxxxxxxxxxxxxxxxxx]
| 
| > Sent: 13 March 2007 11:11
| > To: Petersson, Mats
| > Cc: xen-users@xxxxxxxxxxxxxxxxxxx; Mark Williamson
| > Subject: Re: [Xen-users] booting an ISO inside Xen (full virt)
| > 
| > 
| > ==> /var/log/xen/qemu-dm.8883.log <==
| > domid: 4
| > qemu: the number of cpus is 1
| > warning: could not open /dev/net/tun: no virtual network emulation
| > Could not initialize device 'tap'
| > 
| > i have this message several times in qemu-dm logs so none fo 
| > them are for the "iso" domU (domid is different)
| 
| So you have other HVM domains that are working?
| 
| Is qemu-dm (proces 8883) still alive?
| 
| It sounds like your "tap" isn't working right, which is not right. 
| 
| I checked my xend-debug.log, and it looks very similar to yours, so I
| don't think the arguments to qemu-dm are wrong.
| 
| If you go to the "dist/chk" directory of your xen installation, and do
| "./chk install", do you get any error messages?
| 
| --
| Mats
| [snip old logs]
| 
| 
| 
| _______________________________________________
| Xen-users mailing list
| Xen-users@xxxxxxxxxxxxxxxxxxx
| http://lists.xensource.com/xen-users


-- 
José Alberto Suárez López
Técnico I+D / Administrador
Eneo Tecnología S.L.
<www.eneotecnologia.com>


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users