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

[Xen-users] Still having trouble creating a VM using xm create


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Shabs <shabswork@xxxxxxxxxxx>
  • Date: Thu, 27 Apr 2006 16:34:20 +0100 (BST)
  • Delivery-date: Thu, 27 Apr 2006 08:34:57 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l6/ZPODXDJoH0xz0L48y0R3oadr83EVvCSGCAz7C79HQRVyxUPta49qh+Pmrow7NL6xIgHkVws4EvksvNKS78HH9FcIYm+F+MDzyPb7e8npdS6ui1iDToDbEPGZb7QlbYitsAyc+7GC0P289igDRW8V0/VZIk2+PdeFYSmRf9uo= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all.

Could anyone assist in this issue?

I've just built Fedora and installed Xen and booted fromits kernel.
I have the priviledged domain:

[root@localhost xen]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      884     1 r-----   267.8

When I run xm create, I get a new VM but it doesn't seem to hang around for long. I know its something to do with my "disk" entry in the config file "sr-config1"

disk = [ 'phy:/dev/mapper/VolGroup00-LogVol01,hda1,w',
         'phy:/dev/mapper/VolGroup00-LogVol01,hda2,r' ]

[root@localhost xen]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      16822672   7279916   8674404  46% /
/dev/hda1               101086     20680     75187  22% /boot
/dev/shm                480296         0    480296   0% /dev/shm
/dev/hdc                 63736     63736         0 100% /media/cdrom

[root@localhost xen]# ls -l /dev/mapper/VolGroup00-LogVol0*
brw-rw----  1 root disk 254, 0 Apr 27 12:58 /dev/mapper/VolGroup00-LogVol00
brw-rw----  1 root disk 254, 1 Apr 27 13:57 /dev/mapper/VolGroup00-LogVol01


The output of the xm create command is as follows:

[root@localhost xen]# xm create sr-config1 -c vmid=1
Using config file "sr-config1".
Started domain VM1
Linux version 2.6.16-xen3_86.1_fc4 (rread@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Thu Apr 13 08:26:52 PDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000004000000 (usable)
0MB HIGHMEM available.
72MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  ip=:1.2.3.4:::vm1:eth0:dhcp root=/dev/mapper/VolGroup00-LogVol00 ro 4 VMID=1 usr=/dev/hda1
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Xen reported: 2391.132 MHz processor.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c5000000-fb7fe000, maxmem 33ffe000
Memory: 61016k/73728k available (2188k kernel code, 4452k reserved, 681k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4785.76 BogoMIPS (lpj=23928814)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xc3c00000
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Registering block device major 3
ide-floppy driver 0.99.newide
usbmon: debugfs is not available
usbcore: registered new driver libusual
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
VFS: Cannot open root device "mapper/VolGroup00-LogVol00" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
 [root@localhost xen]# x, list
bash: x,: command not found

[root@localhost xen]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      883     1 r-----   282.1
VM1                                9       64     1 ------     0.2

Running the same command after 10 secs:

[root@localhost xen]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      883     1 r-----   292.6

Thanks.

Shabs


24 FIFA World Cup tickets to be won with Yahoo! Mail. Learn more

Send instant messages to your online friends http://uk.messenger.yahoo.com

_______________________________________________
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®.