Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xen-3 domainU problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I try to run domainU on gentoo linux amd64 based xen-3.0.1 dom0 and got
this error when run xm create -c netbsd1.xen.config
[2006-03-22 17:25:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:1130)
XendDomainInfo.construct: None 0
[2006-03-22 17:25:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:1162)
XendDomainInfo.initDomain: 31 1.0
[2006-03-22 17:25:26 xend] DEBUG (balloon:84) Balloon: free 786; need
129; done.
[2006-03-22 17:25:26 xend] INFO (image:133) buildDomain os=linux dom=31
vcpus=1
[2006-03-22 17:25:26 xend] DEBUG (image:171) dom = 31
[2006-03-22 17:25:26 xend] DEBUG (image:172) image =
/srv/xen/boot/netbsd1/netbsd-INSTALL_XEN3_U
[2006-03-22 17:25:26 xend] DEBUG (image:173) store_evtchn = 1
[2006-03-22 17:25:26 xend] DEBUG (image:174) console_evtchn = 2
[2006-03-22 17:25:26 xend] DEBUG (image:175) cmdline =
root=/dev/hda1 ro 4
[2006-03-22 17:25:26 xend] DEBUG (image:176) ramdisk =
[2006-03-22 17:25:26 xend] DEBUG (image:177) vcpus = 1
[2006-03-22 17:25:26 xend.XendDomainInfo] ERROR (XendDomainInfo:189)
Domain construction failed
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 182, in create
vm.initDomain()
File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1191, in initDomain
channel_details = self.image.createImage()
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 116,
in createImage
return self.createDomain()
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 135,
in createDomain
result = self.buildDomain()
File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 184,
in buildDomain
ramdisk = self.ramdisk)
error: (0, 'Error')
[2006-03-22 17:25:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:1272)
XendDomainInfo.destroy: domid=31
[2006-03-22 17:25:26 xend.XendDomainInfo] DEBUG (XendDomainInfo:1280)
XendDomainInfo.destroyDomain(31)
[2006-03-22 17:25:26 xend] ERROR (SrvBase:87) Request create failed.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85,
in perform
return op_method(op, req)
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 82, in op_create
raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (0, 'Error')
Is problem because of amd64 ??
If I know 64 bit dom0 can run 32 bit quest OSes.
Regards
- --
Adam Hamsik
tel.c 0904 937 495
ICQ 249727910
jabber haad%jabber.org@localhost
- --------------------------------------------------------------
There are 10 kinds of people in the world. Those who understand
binary numbers, and those who don't.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEIYn79Wt2FT7y228RApuqAJ9L66auZJbl4wYVaIZ6FugoK6EtFQCgqQma
63h31Mz+ltwatGosXiMyoxg=
=CQN4
-----END PGP SIGNATURE-----
Linux version 2.6.12.6-xen (root@xena) (gcc version 3.4.4 (Gentoo 3.4.4-r1,
ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Thu Mar 9 22:52:13 CET 2006
kernel direct mapping tables upto 10800000 @ 528000-5ae000
On node 0 totalpages: 67584
DMA zone: 67584 pages, LIFO batch:31
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: ATI <6>Product ID: RS480 <6>APIC at: 0xFEE00000
I/O APIC #2 Version 33 at 0xFEC00000.
Setting APIC routing to xen
Processors: 2
Allocating PCI resources starting at bc000000 (gap: bc000000:43780000)
Built 1 zonelists
Kernel command line: root=/dev/sda3 ro
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 65536 bytes)
Xen reported: 1994.193 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Software IO TLB enabled:
Aperture: 64 megabytes
Bus range: 0x0000000004000000 - 0x0000000008000000
Kernel range: 0xffff88000153b000 - 0xffff88000553b000
Memory: 185600k/270336k available (2306k kernel code, 84064k reserved, 763k
data, 160k init)
Calibrating delay loop... 3984.58 BogoMIPS (lpj=19922944)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) -> Node 0 -> Core 0
Brought up 2 CPUs
Initializing CPU#1
CPU0 attaching sched-domain:
domain 0: span 03
groups: 01 02
CPU1 attaching sched-domain:
domain 0: span 03
groups: 02 01
Grant table initialized
NET: Registered protocol family 16
PCI: Using configuration type 1
xen_mem: Initialising balloon driver.
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
Boot video device is 0000:01:05.0
PCI: Transparent bridge - 0000:00:14.4
PCI: Using IRQ router default [1002/4377] at 0000:00:14.3
PCI->APIC IRQ transform: 0000:00:11.0[A] -> IRQ 23
PCI->APIC IRQ transform: 0000:00:12.0[A] -> IRQ 22
PCI->APIC IRQ transform: 0000:00:13.0[A] -> IRQ 19
PCI->APIC IRQ transform: 0000:00:13.1[A] -> IRQ 19
PCI->APIC IRQ transform: 0000:00:13.2[A] -> IRQ 19
PCI->APIC IRQ transform: 0000:00:14.1[A] -> IRQ 16
PCI->APIC IRQ transform: 0000:01:05.0[A] -> IRQ 17
PCI->APIC IRQ transform: 0000:02:03.0[A] -> IRQ 20
IA-32 Microcode Update Driver: v1.14-xen <tigran%veritas.com@localhost>
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
Real Time Clock Driver v1.12
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec
(nowayout= 0)
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
Ethernet Channel Bonding Driver: v2.6.1 (October 29, 2004)
bonding: Warning: either miimon or arp_interval and arp_ip_target module
parameters must be specified, otherwise bonding will not detect link failures!
see bonding.txt for details.
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xe800, 00:13:d3:d2:81:80, IRQ 20
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk%qualcomm.com@localhost>
Xen virtual console successfully installed as ttyS0
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xffff88000fc00000
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ATIIXP: chipset revision 128
ATIIXP: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: TOSHIBA DVD-ROM SD-M1402, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: ATAPI 40X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
libata version 1.11 loaded.
sata_sil version 0.9
ata1: SATA max UDMA/100 cmd 0xFFFFC2000000EC80 ctl 0xFFFFC2000000EC8A bmdma
0xFFFFC2000000EC00 irq 23
ata2: SATA max UDMA/100 cmd 0xFFFFC2000000ECC0 ctl 0xFFFFC2000000ECCA bmdma
0xFFFFC2000000EC08 irq 23
ata1: dev 0 cfg 49:2f00 82:346b 83:7fe9 84:4773 85:3469 86:3c01 87:4763 88:207f
ata1: dev 0 ATA, max UDMA/133, 321672960 sectors: lba48
ata1: dev 0 configured for UDMA/100
scsi0 : sata_sil
ata2: dev 0 cfg 49:2f00 82:346b 83:7fe9 84:4773 85:3469 86:3c01 87:4763 88:207f
ata2: dev 0 ATA, max UDMA/133, 321672960 sectors: lba48
ata2: dev 0 configured for UDMA/100
scsi1 : sata_sil
Vendor: ATA Model: HDT722516DLA380 Rev: V43O
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: HDT722516DLA380 Rev: V43O
Type: Direct-Access ANSI SCSI revision: 05
ata3: SATA max UDMA/100 cmd 0xFFFFC20000010880 ctl 0xFFFFC2000001088A bmdma
0xFFFFC20000010800 irq 22
ata4: SATA max UDMA/100 cmd 0xFFFFC200000108C0 ctl 0xFFFFC200000108CA bmdma
0xFFFFC20000010808 irq 22
ata3: dev 0 cfg 49:2f00 82:346b 83:7fe9 84:4773 85:3469 86:3c01 87:4763 88:207f
ata3: dev 0 ATA, max UDMA/133, 321672960 sectors: lba48
ata3: dev 0 configured for UDMA/100
scsi2 : sata_sil
ata4: dev 0 cfg 49:2f00 82:346b 83:7fe9 84:4773 85:3469 86:3c01 87:4763 88:207f
ata4: dev 0 ATA, max UDMA/133, 321672960 sectors: lba48
ata4: dev 0 configured for UDMA/100
scsi3 : sata_sil
Vendor: ATA Model: HDT722516DLA380 Rev: V43O
Type: Direct-Access ANSI SCSI revision: 05
Vendor: ATA Model: HDT722516DLA380 Rev: V43O
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
SCSI device sda: drive cache: write back
http://www.cl.cam.ac.uk/netos/xen
University of Cambridge Computer Laboratory
Xen version 3.0.1 (portage%fiit.stuba.sk@localhost) (gcc version 3.4.4 (Gentoo
3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) Thu Mar 9 22:30:04 CET 2006
Latest ChangeSet: Tue Jan 31 11:04:12 2006 +0100 8738:eff96462fde8
(XEN) Physical RAM map:
(XEN) 0000000000000000 - 000000000009f400 (usable)
(XEN) 000000000009f400 - 00000000000a0000 (reserved)
(XEN) 00000000000e4000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 00000000bbfd0000 (usable)
(XEN) 00000000bbfd0000 - 00000000bbfde000 (ACPI data)
(XEN) 00000000bbfde000 - 00000000bc000000 (ACPI NVS)
(XEN) 00000000ff780000 - 0000000100000000 (reserved)
(XEN) System RAM: 3007MB (3079612kB)
(XEN) Xen heap: 14MB (14604kB)
(XEN) Using scheduler: Simple EDF Scheduler (sedf)
(XEN) found SMP MP-table at 000ff780
(XEN) DMI 2.3 present.
(XEN) Using APIC driver default
(XEN) ACPI: RSDP (v000 ACPIAM ) @
0x00000000000f96e0
(XEN) ACPI: RSDT (v001 A M I OEMRSDT 0x10000514 MSFT 0x00000097) @
0x00000000bbfd0000
(XEN) ACPI: FADT (v002 A M I OEMFACP 0x10000514 MSFT 0x00000097) @
0x00000000bbfd0200
(XEN) ACPI: MCFG (v001 A M I OEMMCFG 0x10000514 MSFT 0x00000097) @
0x00000000bbfd03f0
(XEN) ACPI: OEMB (v001 A M I AMI_OEM 0x10000514 MSFT 0x00000097) @
0x00000000bbfde040
(XEN) ACPI: DSDT (v001 1ABZR 1ABZRB49 0x00000b49 INTL 0x02002026) @
0x0000000000000000
(XEN) Intel MultiProcessor Specification v1.4
(XEN) Virtual Wire compatibility mode.
(XEN) OEM ID: ATI Product ID: RS480 APIC at: 0xFEE00000
(XEN) Processor #0 15:3 APIC version 16
(XEN) Processor #1 15:3 APIC version 16
(XEN) I/O APIC #2 Version 33 at 0xFEC00000.
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Processors: 2
(XEN) Initializing CPU#0
(XEN) Detected 1994.277 MHz processor.
(XEN) CPU0: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 512K (64 bytes/line)
(XEN) CPU 0(2) -> Core 0
(XEN) CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) CPU1: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU: L2 Cache: 512K (64 bytes/line)
(XEN) CPU 1(2) -> Core 0
(XEN) CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) ..TIMER: vector=0x31 pin1=2 pin2=0
(XEN) checking TSC synchronization across 2 CPUs:
(XEN) CPU#0 had 149 usecs TSC skew, fixed it up.
(XEN) CPU#1 had -149 usecs TSC skew, fixed it up.
(XEN) Platform timer is 1.193MHz PIT
(XEN) Brought up 2 CPUs
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found:
'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=xen-3.0,VIRT_BASE=0xffffffff80000000,HYPERCALL_PAGE=0x10d,LOADER=generic'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000003800000->0000000004000000 (63488 pages to be
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff80100000->ffffffff8049fc28
(XEN) Init. ramdisk: ffffffff804a0000->ffffffff804a0000
(XEN) Phys-Mach map: ffffffff804a0000->ffffffff80520000
(XEN) Start info: ffffffff80520000->ffffffff80521000
(XEN) Page tables: ffffffff80521000->ffffffff80528000
(XEN) Boot stack: ffffffff80528000->ffffffff80529000
(XEN) TOTAL: ffffffff80000000->ffffffff80800000
(XEN) ENTRY ADDRESS: ffffffff80100000
(XEN) Scrubbing Free RAM: ...............................done.
# -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm
create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#============================================================================
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/srv/xen/boot/netbsd1/netbsd-INSTALL_XEN3_U"
# Optional ramdisk.
#ramdisk = "/boot/initrd.gz"
# The domain build function. Default is 'linux'.
#builder='linux'
# Initial memory allocation (in megabytes) for the new domain.
memory = 128
# A name for your domain. All domains must have different names.
name = "netbsd1"
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
# Number of Virtual CPUS to use, default is 1
#vcpus = 1
#----------------------------------------------------------------------------
# Define network interfaces.
# By default, no network interfaces are configured. You may have one created
# with sensible defaults using an empty vif clause:
#
# vif = [ '' ]
#
# or optionally override backend, bridge, ip, mac, script, type, or vifname:
#
# vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0' ]
#
# or more than one interface may be configured:
#
# vif = [ '', 'bridge=xenbr1' ]
#vif = [ '' ]
#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.
#disk = [ 'phy:vgvm/netbsd1,hda1,w']
#----------------------------------------------------------------------------
# Define to which TPM instance the user domain should communicate.
# The vtpm entry is of the form 'instance=INSTANCE,backend=DOM'
# where INSTANCE indicates the instance number of the TPM the VM
# should be talking to and DOM provides the domain where the backend
# is located.
# Note that no two virtual machines should try to connect to the same
# TPM instance. The handling of all TPM instances does require
# some management effort in so far that VM configration files (and thus
# a VM) should be associated with a TPM instance throughout the lifetime
# of the VM / VM configuration file. The instance number must be
# greater or equal to 1.
#vtpm = [ 'instance=1,backend=0' ]
#----------------------------------------------------------------------------
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=, usr= ).
# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
#netmask=
# Set default gateway.
#gateway=
# Set the hostname.
#hostname= "vm%d" % vmid
# Set root device.
root = "/dev/hda1 ro"
# Root device for nfs.
#root = "/dev/nfs"
# The nfs server.
#nfs_server = '169.254.1.0'
# Root directory on the nfs server.
#nfs_root = '/full/path/to/root/directory'
# Sets runlevel 4.
extra = "4"
#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits. There are three 'reasons'
# for a domain to stop: poweroff, reboot, and crash. For each of these you
# may specify:
#
# "destroy", meaning that the domain is cleaned up as normal;
# "restart", meaning that a new domain is started in place of the old
# one;
# "preserve", meaning that no clean-up is done until the domain is
# manually destroyed (using xm destroy, for example); or
# "rename-restart", meaning that the old domain is not cleaned up, but is
# renamed and a new domain started in its place.
#
# The default is
#
# on_poweroff = 'destroy'
# on_reboot = 'restart'
# on_crash = 'restart'
#
# For backwards compatibility we also support the deprecated option restart
#
# restart = 'onreboot' means on_poweroff = 'destroy'
# on_reboot = 'restart'
# on_crash = 'destroy'
#
# restart = 'always' means on_poweroff = 'restart'
# on_reboot = 'restart'
# on_crash = 'restart'
#
# restart = 'never' means on_poweroff = 'destroy'
# on_reboot = 'destroy'
# on_crash = 'destroy'
#on_poweroff = 'destroy'
#on_reboot = 'restart'
#on_crash = 'restart'
#============================================================================
Home |
Main Index |
Thread Index |
Old Index