[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Ubuntu Xen Windows Question


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.