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] Ubuntu Xen Windows Question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Ubuntu Xen Windows Question
From: Abhinav Lele <abhinav.lele@xxxxxxxxx>
Date: Wed, 1 Apr 2009 10:34:18 +0530
Delivery-date: Tue, 31 Mar 2009 22:05:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :received:message-id:subject:from:to:content-type; bh=KX4tvaXMRXImBGx8T5yi7HIEOCfZtY+v5EbgaaANwao=; b=IKu+pwDUFj/sKz/TfPUJSPm+SKatnihnRmPoLqD+jysrofgMuiKKgWom+Jqf1FS8eX JPsqt6Gb7Fs1/PS+Fq99MFxXfaNNWPZY45FQFowAg9e16klatAqMrov/7fCflOFgXQFU O34SWMWmVTHS2YORR46xMqb5ZC1GtwPhsMPnE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jTqmJiF9ETPkXFKCbjxo5tJvhcGUKMg6UBo2gh6hwMkWRY5vDEznWzxzCBOxtOAPxJ xCEqctXYKsrMEUMFPNJ65VFkn1oC5L5znNbRutcXK9En+Wmkltv/o1wpm5nZVDcUweW3 d0LJFmHymlD92OylXEofM9K7+AsQxdATwicnQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1bdcbebf0903311527y5aa0527fib36e13b4901a20f6@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1bdcbebf0903311527y5aa0527fib36e13b4901a20f6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I had a similar issue when I first created a win hvm. I got it working under the following configuration:

1. I have a bridge configuration for xend.
2. I specified the value of the vnc port
    by vncdisplay=10
3. My xend config had vnc listen to 127.0.0.1
4. To connect i use vncviewer 127.0.0.1:10

Ideally in the default configuration vncviewer 127.0.0.1 should work.

--
Abhinav


2009/4/1 Chris Swanson <chrisjswanson@xxxxxxxxx>
Hello 

Apologies if this is a double post, I tried to send this with nabble and it just keeps telling me that the post hasn't gone through...  So I subscribed and am resending directly.

I have what I think should be a pretty standard configuration here, but can't seem to get my windows domu running. 

uname -r shows 2.6.24-23-xen 

I installed with apt--get install ubuntu-xen-server 

I moved /lib/tls to /lib/tls.disabled  because of a message that was coming up at boot, and disabled apic with grub. 

My windows domain is in /var/lib/xend/domains/winxp 

The disk image is /var/lib/xend/domains/winxp/disk.img (I made is with dd if=/dev/zero of=disk.img bs=1M count=20000) 

The config is /var/lib/xend/domains/winxp/winxp.cfg 

I disabled the -nolisten option in the login security, so I can display to my X session as root. 
  
When I start my domain with xm create winxp.cfg , it says the domain is started: 
Using config file "./winxp.cfg". 
Started domain winxp 

However, I cannot access the machine in any way.  Maybe I'm missing something obvious. 

xm start winxp  tells me that there is no domain called winxp 

There is no vnc server on localhost as far as I can tell. 

Here's my configs, maybe someone can point me in a good direction.   

------------ 
----------- 

winxp.cfg: 
kernel = "/usr/lib/xen/boot/hvmloader" 
builder = 'hvm' 
memory = '512' 
name = "winxp" 
vcpus = 2 
vif = [ 'type=ioemu, bridge=xenbr0' ] 
disk = ['tap:aio:/var/lib/xend/domains/winxp/disk.img,xvda1,w'] 
device_model = '/usr/lib/xen/bin/qemu-dm' 
cdrom='/dev/hdc' 
boot='d' 

----------- 
----------- 
/etc/xen/xend-config.sxp (comments removed for space) 

(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$') 
(network-script network-bridge) 
(vif-script vif-bridge) 
(dom0-min-mem 196) 
(dom0-cpus 0) 
(vnc-listen '0.0.0.0') 
(vncpasswd '') 

------------ 
------------- 
xm dmesg shows: 

(XEN) Xen version 3.2.1-rc1-pre (buildd@buildd) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) Fri Feb 20 06:53:43 UTC 2009 
(XEN) Latest ChangeSet: unavailable 
(XEN) Command line: 
(XEN) Video information: 
(XEN)  VGA is text mode 80x25, font 8x16 
(XEN)  VBE/DDC methods: none; EDID transfer time: 0 seconds 
(XEN)  EDID info not retrieved because no DDC retrieval method detected 
(XEN) Disc information: 
(XEN)  Found 1 MBR signatures 
(XEN)  Found 1 EDD information structures 
(XEN) Xen-e820 RAM map: 
(XEN)  0000000000000000 - 000000000009dc00 (usable) 
(XEN)  000000000009dc00 - 00000000000a0000 (reserved) 
(XEN)  00000000000e4000 - 0000000000100000 (reserved) 
(XEN)  0000000000100000 - 000000007ff80000 (usable) 
(XEN)  000000007ff80000 - 000000007ff8e000 (ACPI data) 
(XEN)  000000007ff8e000 - 000000007ffd0000 (ACPI NVS) 
(XEN)  000000007ffd0000 - 0000000080000000 (reserved) 
(XEN)  00000000ff700000 - 0000000100000000 (reserved) 
(XEN) System RAM: 2047MB (2096244kB) 
(XEN) Xen heap: 9MB (10100kB) 
(XEN) Domain heap initialised: DMA width 32 bits 
(XEN) PAE enabled, limit: 16 GB 
(XEN) Processor #0 15:11 APIC version 16 
(XEN) Processor #1 15:11 APIC version 16 
(XEN) IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23 
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs 
(XEN) Using scheduler: SMP Credit Scheduler (credit) 
(XEN) Detected 2411.170 MHz processor. 
(XEN) AMD SVM: ASIDs disabled. 
(XEN) HVM: SVM enabled 
(XEN) CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ stepping 02 
(XEN) Booting processor 1/1 eip 8c000 
(XEN) AMD: Disabling C1 Clock Ramping Node #0 
(XEN) AMD SVM: ASIDs disabled. 
(XEN) CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ stepping 02 
(XEN) Total of 2 processors activated. 
(XEN) ENABLING IO-APIC IRQs 
(XEN)  -> Using old ACK method 
(XEN) Platform timer overflows in 14998 jiffies. 
(XEN) Platform timer is 14.318MHz HPET 
(XEN) Brought up 2 CPUs 
(XEN) mtrr: your CPUs had inconsistent fixed MTRR settings 
(XEN) AMD IOMMU: Disabled 
(XEN) *** LOADING DOMAIN 0 *** 
(XEN)  Xen  kernel: 32-bit, PAE, lsb 
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0100000 -> 0xc0503000 
(XEN) PHYSICAL MEMORY ARRANGEMENT: 
(XEN)  Dom0 alloc.:   000000003c000000->000000003e000000 (476968 pages to be allocated) 
(XEN) VIRTUAL MEMORY ARRANGEMENT: 
(XEN)  Loaded kernel: c0100000->c0503000 
(XEN)  Init. ramdisk: c0503000->c1961200 
(XEN)  Phys-Mach map: c1962000->c1b3bca0 
(XEN)  Start info:    c1b3c000->c1b3c474 
(XEN)  Page tables:   c1b3d000->c1b50000 
(XEN)  Boot stack:    c1b50000->c1b51000 
(XEN)  TOTAL:         c0000000->c1c00000 
(XEN)  ENTRY ADDRESS: c0100000 
(XEN) Dom0 has maximum 2 VCPUs 
(XEN) Initrd len 0x145e200, start at 0xc0503000 
(XEN) Scrubbing Free RAM: .done. 
(XEN) Xen trace buffers: disabled 
(XEN) Std. Loglevel: Errors and warnings 
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) 
(XEN) Xen is relinquishing VGA console. 
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) 
(XEN) Freed 96kB init memory. 


TIA 

peace+love 
Chris 


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


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>