[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] RE: RedHat DomU hanging
My understanding is that when you define storage in the way that you have, the DomU is expecting to see a "real" disk, complete with a partition table. From the commands that you have indicated that you have run, you didn't partition the disk. In the DomU use fdisk (or what ever your preferred partitioning tool is) and add a partition. Set its type to LVM (8e from memory). Then do a pvcreate on the partition which will probably be /dev/xvda1 if you do the whole disk as a single partion. There is way for DomU to use a partition directly (meaning no partition table), but I do not recall how to do that. On Fri, 2008-11-07 at 13:34 -0500, Charlie Farinella wrote: > On Wednesday 05 November 2008, AZZOPARDI Konrad wrote: > > Hello, > > > > Maybe someone can help me.... I have a guest XEN image that ran well > until today. I use an LVM partition to host the guest and today on Dom0 > I added another LVM to be available to this domU. > > Forgive the top posting. > > I have had very similar issues in a very similar scenario. I have > searched the web for a solution and asked here to no avail. > I had about 8 virtual servers running Xen on 2 host machines at one > point but because of this issue have reduced it to 4, moving the others > to VMWare images until I can sort out what I've done wrong that would > create this problem. I also cannot install new file based domU's, they > also hang mid-install. > > If anyone out there knows what can cause this, I'd love to hear about > it. My servers are all CentOS 5 based running a 2.6.18-53.1.14.el5xen > i686 kernel. > > --charlie > > > This were all the commands I issued : > > > > On hypervisor > > > > lvcreate -n lintra02data -L 30G rootvg > > > > vi /etc/xen/lintra02 and add volume to file like this : > > disk = > [ > "phy:/dev/mapper/rootvg-lintra02,xvda,w","phy:/dev/mapper/rootvg-lintra02data,xvdb,w" > ] > > > > Reboot virtual machine > > > > On lintra02 > > > > pvcreate /dev/xvdb > > vgcreate datavg /dev/xvdb > > lvcreate --extents 100%VG -n lv_data1 datavg > > > > > > mkfs.ext3 /dev/datavg/lv_data1 > > > > created /data folder > > edit fstab and added /data > > > > > > When I rebooted the machine again , unfortunately the guest gets stuck > here : > > > > Started domain lintra02 > > Bootdata ok (command line is ro root=/dev/rootvg/lv_root rhgb) > > Linux version 2.6.18-53.1.13.el5xen > (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20070626 > (Red Hat 4.1.2-14)) #1 SMP Mon Feb 11 13:41:50 EST 2008 > > BIOS-provided physical RAM map: > > Xen: 0000000000000000 - 0000000030800000 (usable) > > No mptable found. > > Built 1 zonelists. Total pages: 198656 > > Kernel command line: ro root=/dev/rootvg/lv_root rhgb > > Initializing CPU#0 > > PID hash table entries: 4096 (order: 12, 32768 bytes) > > Xen reported: 2792.578 MHz processor. > > Console: colour dummy device 80x25 > > Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) > > Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) > > Software IO TLB disabled > > Memory: 758016k/794624k available (2357k kernel code, 27720k reserved, > 1326k data, 172k init) > > Calibrating delay using timer specific routine.. 6983.67 BogoMIPS > (lpj=13967358) > > Security Framework v1.0.0 initialized > > SELinux: Initializing. > > selinux_register_security: Registering secondary module capability > > Capability LSM initialized as secondary > > Mount-cache hash table entries: 256 > > CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) > > CPU: L2 Cache: 1024K (64 bytes/line) > > CPU: Physical Processor ID: 0 > > CPU: Processor Core ID: 0 > > (SMP-)alternatives turned off > > Brought up 1 CPUs > > checking if image is initramfs... it is > > Grant table initialized > > NET: Registered protocol family 16 > > ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 3E7A0 could > not acquire Mutex [2] [20060707] > > ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 3E7A0 could > not acquire Mutex [2] [20060707] > > Initializing CPU#1 > > migration_cost=880 > > Brought up 2 CPUs > > PCI: setting up Xen PCI frontend stub > > ACPI: Interpreter disabled. > > Linux Plug and Play Support v0.97 (c) Adam Belay > > pnp: PnP ACPI: disabled > > 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 > > NetLabel: Initializing > > NetLabel: domain hash size = 128 > > NetLabel: protocols = UNLABELED CIPSOv4 > > NetLabel: unlabeled traffic allowed by default > > NET: Registered protocol family 2 > > IP route cache hash table entries: 32768 (order: 6, 262144 bytes) > > TCP established hash table entries: 131072 (order: 9, 2097152 bytes) > > TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) > > TCP: Hash tables configured (established 131072 bind 65536) > > TCP reno registered > > audit: initializing netlink socket (disabled) > > audit(1225909559.099:1): initialized > > VFS: Disk quotas dquot_6.5.1 > > Dquot-cache hash table entries: 512 (order 0, 4096 bytes) > > Initializing Cryptographic API > > ksign: Installing public key data > > Loading keyring > > - Added public key F3D873412BBC54B9 > > - User ID: Red Hat, Inc. (Kernel Module GPG key) > > io scheduler noop registered > > io scheduler anticipatory registered > > io scheduler deadline registered > > io scheduler cfq registered (default) > > pci_hotplug: PCI Hot Plug PCI Core version: 0.5 > > rtc: IRQ 8 is not free. > > Non-volatile memory driver v1.2 > > Linux agpgart interface v0.101 (c) Dave Jones > > RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize > > Xen virtual console successfully installed as xvc0 > > Event-channel device installed. > > Console: switching to colour frame buffer device 100x37 > > input: Xen Virtual Keyboard/Mouse as /class/input/input0 > > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > > ide: Assuming 50MHz system bus speed for PIO modes; override with > idebus=xx > > ide-floppy driver 0.99.newide > > usbcore: registered new driver hiddev > > usbcore: registered new driver usbhid > > drivers/usb/input/hid-core.c: v2.6:USB HID core driver > > PNP: No PS/2 controller found. Probing ports directly. > > i8042.c: No controller found. > > 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 > > TCP bic registered > > Initializing IPsec netlink socket > > NET: Registered protocol family 1 > > NET: Registered protocol family 17 > > XENBUS: Device with no driver: device/vbd/51712 > > XENBUS: Device with no driver: device/vbd/51728 > > XENBUS: Device with no driver: device/vif/0 > > Write protecting the kernel read-only data: 445k > > USB Universal Host Controller Interface driver v3.0 > > Registering block device major 202 > > xvda: xvda1 xvda2 > > xvdb: unknown partition table > > device-mapper: ioctl: 4.11.0-ioctl (2006-09-14) initialised: > dm-devel@xxxxxxxxxx > > kjournald starting. Commit interval 5 seconds > > EXT3-fs: mounted filesystem with ordered data mode. > > SELinux: Disabled at runtime. > > audit(1225909563.751:2): selinux=0 auid=4294967295 > > > > If someone has any hints I would appreciate, thanks > > > > Konrad > > > -- Mike Brady PGP ID: 0x9C777DA4 Attachment:
signature.asc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |