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

Re: Re: [Xen-users] Why creating DomU failed (seems it is due to LVM)


  • To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Zhang Binbin" <binbinzh@xxxxxxx>
  • Date: Mon, 11 Dec 2006 13:54:36 +0800
  • Delivery-date: Sun, 10 Dec 2006 21:54:46 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks for your reply.

I want to put all disk in Dom0 under LVM and manage disk for all DomU instances.
Each DomU use a LV (in Dom0) as its disk.

vbd config:
disk=['phy:GuestVG/DOM1,/dev/sda1,w']

======= 2006-12-11 04:01:19 您在来信中写道:=======

>can you please post your config here?
>
>I suspect that your trying to start LVM configuration from Dom0 in DomU...
>
>There are two ways to do things.
>
>a) put all disk in Dom0 under LVM and manage disk for all DomU
>instances that way..
>
>or
>
>b) put several disks into DomU and runb LVM in DomU
>
>Which is the one youre trying to do?
>
>Regards
>Tomasz
>
>On 11/12/06, Steven Dugway <steven@xxxxxxxxxxxxxxxxxxx> wrote:
>> Zhang Binbin wrote:
>>
>> Hi,
>>
>> I had the exact same problem for months and asked many times over but
>> never got a response, sorry I cannot help you. I know many people who
>> are switching to Vmware as a result. No real doc and no support.
>>
>> ++
>> > Hi,
>> > i installed CentOS4_x86_64+Xen-3.0.3 from xen source code and didn't
>> > encounter any exceptions, but DomU can't boot up.
>> > i use LVM to management Dom vbd. this is the partition:
>> > ---------------------------------------------------
>> > LVM Volume Groups
>> > VolGroup00
>> > LogVol00 Swap
>> > LogVol01 / ext3 Dom0 filesystem
>> > VG_Guests
>> > Dom1 ext3 Dom1 filesystem
>> > Hard Drivers
>> > /dev/sda
>> > /dev/sda1 /boot ext3
>> > /dev/sda2 VolGroup00 LVM PV
>> > /dev/sda3 GuestVG LVM PV
>> > ---------------------------------------------------
>> > And i made Dom1 filesystem like this:
>> > ---------------------------------------------------
>> > 1. mount /dev/GuestVG/Dom1 /mnt
>> > 2. cp -ax /{root,etc,dev,sbin,bin,lib,var,usr} /mnt
>> > 3. mkdir /mnt/{proc,sys,tmp,home}
>> > 4. modify /mnt/etc/fstab and modify eth0 config
>> > 5. umount /mnt
>> > ---------------------------------------------------
>> > When i create Dom1, it get the following output:
>> > ---------------------------------------------------
>> > Using config file "dom1_config".
>> > Started domain Dom1
>> > Bootdata ok (command line is root=/dev/sda1,ro)
>> > Linux version 2.6.16.29-xen (shand@endor) (gcc version 3.4.4 20050314
>> > (prerelease) (Debian 3.4.3-13)) #3 SMP Sun Oct 15 13:15:34 BST 2006
>> > BIOS-provided physical RAM map:
>> > Xen: 0000000000000000 - 0000000010800000 (usable)
>> > No mptable found.
>> > Built 1 zonelists
>> > Kernel command line: root=/dev/sda1,ro
>> > Initializing CPU#0
>> > PID hash table entries: 2048 (order: 11, 65536 bytes)
>> > Xen reported: 1862.323 MHz processor.
>> > Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
>> > Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
>> > Software IO TLB disabled
>> > Memory: 248468k/270336k available (1918k kernel code, 13348k reserved,
>> > 809k data, 168k init)
>> > Calibrating delay using timer specific routine.. 3725.91 BogoMIPS
>> > (lpj=18629558)
>> > Security Framework v1.0.0 initialized
>> > Capability LSM initialized
>> > Mount-cache hash table entries: 256
>> > CPU: L1 I cache: 32K, L1 D cache: 32K
>> > CPU: L2 cache: 2048K
>> > CPU: Physical Processor ID: 0
>> > CPU: Processor Core ID: 0
>> > Brought up 1 CPUs
>> > migration_cost=0
>> > checking if image is initramfs... it is
>> > Freeing initrd memory: 3792k freed
>> > DMI not present or invalid.
>> > 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
>> > pnp: PnP ACPI: disabled
>> > xen_mem: Initialising balloon driver.
>> > PCI: System does not support PCI
>> > PCI: System does not support PCI
>> > IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx >
>> > IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
>> > audit: initializing netlink socket (disabled)
>> > audit(1165766218.701:1): initialized
>> > VFS: Disk quotas dquot_6.5.1
>> > Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
>> > Initializing Cryptographic API
>> > io scheduler noop registered
>> > io scheduler anticipatory registered
>> > io scheduler deadline registered
>> > io scheduler cfq registered (default)
>> > rtc: IRQ 8 is not free.
>> > Non-volatile memory driver v1.2
>> > 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
>> > loop: loaded (max 8 devices)
>> > Xen virtual console successfully installed as tty1
>> > Event-channel device installed.
>> > 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 8
>> > mice: PS/2 mouse device common for all mice
>> > md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
>> > md: bitmap version 4.39
>> > NET: Registered protocol family 2
>> > netfront: device eth0 has flipping receive path.
>> > IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
>> > TCP established hash table entries: 16384 (order: 6, 262144 bytes)
>> > TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
>> > TCP: Hash tables configured (established 16384 bind 16384)
>> > TCP reno registered
>> > NET: Registered protocol family 1
>> > NET: Registered protocol family 17
>> > Red Hat nash version 4.2.1.8 starting
>> > Mounted /proc filesystem
>> > Mounting sysfs
>> > Creating /dev
>> > Starting udev
>> > Loading scsi_mod.ko module
>> > SCSI subsystem initialized
>> > Loading sd_mod.ko module
>> > register_blkdev: cannot get major 8 for sd
>> > Loading libata.ko module
>> > Loading ahci.ko module
>> > Loading ata_piix.ko module
>> > Loading ide-disk.ko module
>> > Loading dm-mod.ko module
>> > device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
>> > Loading jbd.ko module
>> > Loading ext3.ko module
>> > Loading dm-mirror.ko module
>> > Loading dm-zero.ko module
>> > Loading dm-snapshot.ko module
>> > Making device-mapper control node
>> > Scanning logical volumes
>> > Reading all physical volumes. This may take a while...
>> > No volume groups found
>> > Activating logical volumes
>> > Volume group "VolGroup00" not found
>> > ERROR: /bin/lvm exited abnormally! (pid 353)
>> > Creating root device
>> > Mounting root filesystem
>> > mount: error 6 mounting ext3
>> > mount: error 2 mounting none
>> > Switching to new root
>> > switchroot: mount failed: 22
>> > umount /initrd/dev failed: 2
>> > Kernel panic - not syncing: Attempted to kill init!
>> > -------------------------------------------------
>> > The Dom1 config file:
>> > -------------------------------------------------
>> > kernel='/boot/vmlinuz-2.6-xen'
>> > ramdisk='/boot/initrd-2.6.16.29-xen.img'
>> > memory=256
>> > name='Dom1'
>> > vif=['mac=00:AA:00:00:11:12,bridge=xenbr0']
>> > disk=['phy:GuestVG/DOM1,/dev/sda1,w']
>> > root='/dev/sda1,ro'
>> > -------------------------------------------------
>> > and /var/log/xen/xend.log:
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'Dom1'],
>> > ['memory', 256],
>> > ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xen'],
>> > ['ramdisk', '/boot/initrd-2.6.16.29-xen.img'], ['root',
>> > '/dev/sda1,ro']]], ['device', ['vbd', ['uname', 'phy:GuestVG/DOM1'],
>> > ['dev', '/dev/sda1'], ['mode', 'w']]], ['device', ['vif', ['bridge',
>> > 'xenbr0'], ['mac', '00:AA:00:00:11:12']]]])
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'Dom1'],
>> > ['memory', 256],
>> > ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xen'],
>> > ['ramdisk', '/boot/initrd-2.6.16.29-xen.img'], ['root',
>> > '/dev/sda1,ro']]], ['device', ['vbd', ['uname', 'phy:GuestVG/DOM1'],
>> > ['dev', '/dev/sda1'], ['mode', 'w']]], ['device', ['vif', ['bridge',
>> > 'xenbr0'], ['mac', '00:AA:00:00:11:12']]]]
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None,
>> > 'uuid': None,
>> > 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image':
>> > ['linux', ['kernel', '/boot/vmlinuz-2.6-xen'], ['ramdisk',
>> > '/boot/initrd-2.6.16.29-xen.img'], ['root', '/dev/sda1,ro']],
>> > 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name':
>> > 'Dom1',
>> > 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None,
>> > 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname',
>> > 'phy:GuestVG/DOM1'], ['dev', '/dev/sda1'], ['mode', 'w']]), ('vif',
>> > ['vif', ['bridge', 'xenbr0'], ['mac', '00:AA:00:00:11:12']])],
>> > 'bootloader': None, 'cpu': None, 'maxmem': None}
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1253) XendDomainInfo.construct: None
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1285) XendDomainInfo.initDomain: 7 1.0
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (balloon:127) Balloon: 262556
>> > KiB free; need 262144; done.
>> > [2006-12-10 23:56:58 xend 4801] INFO (image:136) buildDomain os=linux
>> > dom=7 vcpus=1
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:191) dom = 7
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:192) image =
>> > /boot/vmlinuz-2.6-xen
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:193) store_evtchn = 1
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:194) console_evtchn = 2
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:195) cmdline =
>> > root=/dev/sda1,ro
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:196) ramdisk =
>> > /boot/initrd-2.6.16.29-xen.img
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:197) vcpus = 1
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (image:198) features =
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:110)
>> > DevController: writing {'backend-id': '0', 'virtual-device': '2049',
>> > 'device-type': 'disk', 'state': '1', 'backend':
>> > '/local/domain/0/backend/vbd/7/2049'} to /local/domain/7/device/vbd/2049.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:112)
>> > DevController: writing {'domain': 'Dom1', 'frontend':
>> > '/local/domain/7/device/vbd/2049', 'dev': '/dev/sda1', 'state': '1',
>> > 'params': 'GuestVG/DOM1', 'mode': 'w', 'online': '1', 'frontend-id':
>> > '7', 'type': 'phy'} to /local/domain/0/backend/vbd/7/2049.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:110)
>> > DevController: writing {'backend-id': '0', 'mac': '00:AA:00:00:11:12',
>> > 'handle':
>> > '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to
>> > /local/domain/7/device/vif/0.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:112)
>> > DevController: writing {'bridge': 'xenbr0', 'domain': 'Dom1',
>> > 'handle': '0',
>> > 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
>> > '/local/domain/7/device/vif/0', 'mac': '00:AA:00:00:11:12', 'online':
>> > '1', 'frontend-id': '7'} to /local/domain/0/backend/vif/7/0.
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:712) Storing VM details: {'shadow_memory': '0', 'uuid':
>> > 'e44ebfc5-f6a6-17ff-1df7-887d3308bcb3', 'on_reboot': 'restart',
>> > 'start_time': '1165766218.22', 'on_poweroff': 'destroy', 'name': 'Dom1',
>> > 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory':
>> > '256', 'on_crash': 'restart', 'image': "(linux (kernel
>> > /boot/vmlinuz-2.6-xen) (ramdisk /boot/initrd-2.6.16.29-xen.img) (root
>> > '/dev/sda1,ro'))", 'maxmem': '256'}
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:747) Storing domain details: {'console/ring-ref':
>> > '154261',
>> > 'console/port': '2', 'name': 'Dom1', 'console/limit': '1048576', 'vm':
>> > '/vm/e44ebfc5-f6a6-17ff-1df7-887d3308bcb3', 'domid': '7',
>> > 'cpu/0/availability': 'online', 'memory/target': '262144',
>> > 'store/ring-ref': '102647', 'store/port': '1'}
>> > [2006-12-10 23:56:58 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices vif.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:149) Waiting for 0.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:464)
>> > hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:464)
>> > hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:478)
>> > hotplugStatusCallback 1.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices usb.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices vbd.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:149) Waiting for
>> > 2049.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:464)
>> > hotplugStatusCallback /local/domain/0/backend/vbd/7/2049/hotplug-status.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:464)
>> > hotplugStatusCallback /local/domain/0/backend/vbd/7/2049/hotplug-status.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:478)
>> > hotplugStatusCallback 1.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices irq.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices pci.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices ioports.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices tap.
>> > [2006-12-10 23:56:58 xend 4801] DEBUG (DevController:143) Waiting for
>> > devices vtpm.
>> > [2006-12-10 23:56:58 xend 4801] INFO (XendDomain:370) Domain Dom1 (7)
>> > unpaused.
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] WARNING
>> > (XendDomainInfo:875) Domain has crashed: name=Dom1 id=7.
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1457) XendDomainInfo.destroyDomain(7)
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:190) XendDomainInfo.create(['domain', ['domid', 7],
>> > ['uuid',
>> > 'e44ebfc5-f6a6-17ff-1df7-887d3308bcb3'], ['vcpus', 1], ['vcpu_avail',
>> > 1], ['cpu_weight', 1.0], ['memory', 256], ['shadow_memory', 0],
>> > ['maxmem', 256], ['features', ''], ['name', 'Dom1'], ['on_poweroff',
>> > 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'],
>> > ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xen'], ['ramdisk',
>> > '/boot/initrd-2.6.16.29-xen.img'], ['root', '/dev/sda1,ro']]],
>> > ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'],
>> > ['bridge', 'xenbr0'], ['mac', '00:AA:00:00:11:12']]], ['device', ['vbd',
>> > ['backend', 0], ['dev', '/dev/sda1:disk'], ['uname',
>> > 'phy:GuestVG/DOM1'], ['mode', 'w']]], ['state', '----c-'],
>> > ['shutdown_reason',
>> > 'crash'], ['cpu_time', 0.48078367100000002], ['online_vcpus', 1],
>> > ['up_time', '0.922783136368'], ['start_time', '1165766218.22'],
>> > ['store_mfn', 102647], ['console_mfn', 154261]])
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:296) parseConfig: config is ['domain', ['domid', 7],
>> > ['uuid',
>> > 'e44ebfc5-f6a6-17ff-1df7-887d3308bcb3'], ['vcpus', 1], ['vcpu_avail',
>> > 1], ['cpu_weight', 1.0], ['memory', 256], ['shadow_memory', 0],
>> > ['maxmem', 256], ['features', ''], ['name', 'Dom1'], ['on_poweroff',
>> > 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'],
>> > ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6-xen'], ['ramdisk',
>> > '/boot/initrd-2.6.16.29-xen.img'], ['root', '/dev/sda1,ro']]],
>> > ['device', ['vif', ['backend', 0], ['script', 'vif-bridge'],
>> > ['bridge', 'xenbr0'], ['mac', '00:AA:00:00:11:12']]], ['device', ['vbd',
>> > ['backend', 0], ['dev', '/dev/sda1:disk'], ['uname',
>> > 'phy:GuestVG/DOM1'], ['mode', 'w']]], ['state', '----c-'],
>> > ['shutdown_reason',
>> > 'crash'], ['cpu_time', 0.48078367100000002], ['online_vcpus', 1],
>> > ['up_time', '0.922783136368'], ['start_time', '1165766218.22'],
>> > ['store_mfn', 102647], ['console_mfn', 154261]]
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:395) parseConfig: result is {'shadow_memory': 0, 'uuid':
>> > 'e44ebfc5-f6a6-17ff-1df7-887d3308bcb3', 'on_crash': 'restart',
>> > 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel',
>> > '/boot/vmlinuz-2.6-xen'], ['ramdisk',
>> > '/boot/initrd-2.6.16.29-xen.img'], ['root', '/dev/sda1,ro']],
>> > 'on_poweroff': 'destroy',
>> > 'bootloader_args': None, 'cpus': None, 'name': 'Dom1', 'backend': [],
>> > 'vcpus': 1, 'cpu_weight': 1.0, 'features': '', 'vcpu_avail': 1,
>> > 'memory': 256, 'device': [('vif', ['vif', ['backend', 0], ['script',
>> > 'vif-bridge'], ['bridge', 'xenbr0'], ['mac', '00:AA:00:00:11:12']]),
>> > ('vbd', ['vbd', ['backend', 0], ['dev', '/dev/sda1:disk'], ['uname',
>> > 'phy:GuestVG/DOM1'], ['mode', 'w']])], 'bootloader': None, 'cpu':
>> > None, 'maxmem': 256}
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1253) XendDomainInfo.construct: None
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1285) XendDomainInfo.initDomain: 8 1.0
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (balloon:133) Balloon: 51792 KiB
>> > free; 210752 to scrub; need 262144; retries: 20.
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (balloon:141) Balloon: waiting
>> > on scrubbing
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (balloon:127) Balloon: 262556
>> > KiB free; need 262144; done.
>> > [2006-12-10 23:56:59 xend 4801] INFO (image:136) buildDomain os=linux
>> > dom=8 vcpus=1
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:191) dom = 8
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:192) image =
>> > /boot/vmlinuz-2.6-xen
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:193) store_evtchn = 1
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:194) console_evtchn = 2
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:195) cmdline =
>> > root=/dev/sda1,ro
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:196) ramdisk =
>> > /boot/initrd-2.6.16.29-xen.img
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:197) vcpus = 1
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (image:198) features =
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (DevController:110)
>> > DevController: writing {'backend-id': '0', 'mac': '00:AA:00:00:11:12',
>> > 'handle':
>> > '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/8/0'} to
>> > /local/domain/8/device/vif/0.
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (DevController:112)
>> > DevController: writing {'bridge': 'xenbr0', 'domain': 'Dom1',
>> > 'handle': '0',
>> > 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
>> > '/local/domain/8/device/vif/0', 'mac': '00:AA:00:00:11:12', 'online':
>> > '1', 'frontend-id': '8'} to /local/domain/0/backend/vif/8/0.
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (DevController:110)
>> > DevController: writing {'backend-id': '0', 'virtual-device': '2049',
>> > 'device-type': 'disk', 'state': '1', 'backend':
>> > '/local/domain/0/backend/vbd/8/2049'} to /local/domain/8/device/vbd/2049.
>> > [2006-12-10 23:56:59 xend 4801] DEBUG (DevController:112)
>> > DevController: writing {'domain': 'Dom1', 'frontend':
>> > '/local/domain/8/device/vbd/2049', 'dev': '/dev/sda1', 'state': '1',
>> > 'params': 'GuestVG/DOM1', 'mode': 'w', 'online': '1', 'frontend-id':
>> > '8', 'type': 'phy'} to /local/domain/0/backend/vbd/8/2049.
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:712) Storing VM details: {'shadow_memory': '0', 'uuid':
>> > 'e44ebfc5-f6a6-17ff-1df7-887d3308bcb3', 'on_reboot': 'restart',
>> > 'start_time': '1165766219.69', 'on_poweroff': 'destroy', 'name': 'Dom1',
>> > 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash':
>> > 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6-xen) (ramdisk
>> > /boot/initrd-2.6.16.29-xen.img) (root '/dev/sda1,ro'))", 'maxmem': '256'}
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:747) Storing domain details: {'console/ring-ref':
>> > '174838',
>> > 'console/port': '2', 'name': 'Dom1', 'console/limit': '1048576', 'vm':
>> > '/vm/e44ebfc5-f6a6-17ff-1df7-887d3308bcb3', 'domid': '8',
>> > 'cpu/0/availability': 'online', 'memory/target': '262144',
>> > 'store/ring-ref': '174688', 'store/port': '1'}
>> > [2006-12-10 23:56:59 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
>> > [2006-12-10 23:57:00 xend.XendDomainInfo 4801] WARNING
>> > (XendDomainInfo:875) Domain has crashed: name=Dom1 id=8.
>> > [2006-12-10 23:57:00 xend.XendDomainInfo 4801] ERROR
>> > (XendDomainInfo:1661) VM Dom1 restarting too fast (1.212585 seconds
>> > since the last
>> > restart). Refusing to restart to avoid loops.
>> > [2006-12-10 23:57:00 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1449) XendDomainInfo.destroy: domid=8
>> > [2006-12-10 23:57:00 xend.XendDomainInfo 4801] DEBUG
>> > (XendDomainInfo:1457) XendDomainInfo.destroyDomain(8)
>> > it seems that it has tried to create dom1 for two times.
>> > THANKS,
>> > sml
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Xen-users mailing list
>> > Xen-users@xxxxxxxxxxxxxxxxxxx
>> > http://lists.xensource.com/xen-users
>>
>>
>> --
>> Virtual Space International Inc.
>> Steven Dugway USA 206-734-HOST Canada 514-939-HOST (4678) ext 5
>> Skype:stevenvsi; savetimehosting.net 911hosting.net goodprivacy.net
>> --------------------------------------------------------------
>> Internet Is Here To Stay, Make Sure Your Business Is!
>> --------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
>
>-- 
>GPG key fingerprint: 3883 B308 8256 2246 D3ED  A1FF 3A1D 0EAD 41C4 C2F0
>GPG public key availabe on pgp.mit .edu keyserver

= = = = = = = = = = = = = = = = = = = =
                        

        致
礼!
 
                                 
        Zhang Binbin
        binbinzh@xxxxxxx
          2006-12-11

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