WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: AW: [Xen-users] DomU freezes during boot

To: Carsten Schiers <carsten@xxxxxxxxxx>, Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Mon, 30 Mar 2009 09:36:38 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Mar 2009 09:37:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238430998; bh=0eEhLN4YGu3uiUCeOu/o/4YIPkMA6WkM3oqx1gxS7k0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=a/DOkHXRgEo9n0gMtIYcfD6RTxjqSqkzkhjdDquqwDbiixA/AAL6JZOkuIT6aAgZc5c4rZ4OKS9MWHQWe8y+VAoqsH16t54hKDfC6m7maeqHEvc4l2WYawgvcnrgNTxzmQIUG7kLN6ylsPRMJ1kt38oWEmRd80fv/b/oZjLr9Zw=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OAGvYn/ueQ28liNzBXiHlg24VrYYS4ZTI9rdAfPDNV8wKLDy7fTUjIEKWW+EfpUwjbXNgFCYxm3GtYSu9PrSBVIDQTM1f3cjLAWunsBHERMncg+YbyeLxNUMhL2c73x00dMbWXHQmhLrcz3U0Cnz95ZwVZ/URWHxn+NwQDNmWHc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <767679.52231.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Looks like you install RHEL PV DomU at RHEL Dom0.
If this is a case it's possible to survive without xen-tools & rinse :)
supposed to help at Debian Dom0s :-

Insert your CentOS 5 DVD in the drive. Run "df -h" to find out what mount point is.  Suppose, it is /dev/hde

# dd if=/dev/hde of=/etc/xen/disks/CentOS5.iso
# dd if=/dev/zero of=/etc/xen/images/CentOS5.img  bs=1024k count=12000
# mkdir  -p /mnt/tmp
# mount -o loop,ro   /etc/xen/disks/CentOS5.iso    /mnt/tmp

Edit /etc/exports and add the line:-
/mnt/tmp
Restart Service "nfsd"

# virt-install -n CentOS5PV -r 1024  -p  -f /etc/xen/images/CentOS5.img \
      -l   nfs:IP-Dom0:/mnt/tmp

or

1.To install your CentOS 5 DomU , at the command prompt type: virt-install.

2.When asked to install a fully virtualized guest, type: no.
3.Type CentOS5pv for your virtual machine name.
4.Type 1000 for your RAM allocation.
5.Type /etc/xen/images/CentOS5.img for your disk (guest image).
6.Type 12000 for the size of your disk (guest image).
7.Type yes to enable graphics support.
8.Type nfs:<IP address of Dom0>:/mnt/tmp for your install location.
The installation begins. Proceed as normal with the installation

--- On Mon, 3/30/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
To: "Carsten Schiers" <carsten@xxxxxxxxxx>, "Andrew Kilham" <andrew@xxxxxxxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, March 30, 2009, 11:24 AM

Could you post
1. test4.cfg
2. xm info (at Dom0)

--- On Mon, 3/30/09, Andrew Kilham <andrew@xxxxxxxxxxxxxx> wrote:
From: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
To: "Carsten Schiers" <carsten@xxxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, March 30, 2009, 8:30 AM

Hi,

I have put that line in to the config file but now it freezes even before it starts to boot the OS. Here is the complete output after running xm create with "extra = 'xencons=tty'" in my config file:

[root@localhost vm]# xm create -c test4.cfg
Using config file "/etc/xen/test4.cfg".
Started domain test4
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/2050
XENBUS: Device with no driver: device/vbd/2049
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Write protecting the kernel read-only data: 461k
Registering block device major 8
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
register_blkdev: cannot get major 8 for sd
Fusion MPT base driver 3.04.05
Copyright (c) 1999-2007 LSI Corporation
Fusion MPT SAS Host driver 3.04.05
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has flipping receive path.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
However, an update: I just tried booting it in to different run-levels using the 'extra' command in the config file, and it will boot in to run-level 1 but nothing higher. Still nothing in the log files or anything though.

Cheers,

Andrew


Carsten Schiers wrote:
Hi,

Xen virtual console successfully installed as xvc0
Try to boot with extre='xencons=tty' in config file or xencons=tty in
kernel line when using pygrub.

BR,
Carsten.

----- Originalnachricht -----
Von: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Gesendet: Mon, 30.3.2009 14:03
An: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: [Xen-users] DomU freezes during boot

Hi,

I am trying to boot a freshly installed DomU (using xen-tools and rinse)
of CentOS 5 64bit. It starts booting the operating system but it freezes
every time after starting SSH:

INIT: version 2.86 booting
Welcome to CentOS release 5.2 (Final)
Press 'I' to enter interactive startup.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method.
Setting clock : Mon Mar 30 15:59:11 EDT 2009 [ OK ]
Starting udev: [ OK ]
Setting hostname test4: [ OK ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda2
/dev/sda2: clean, 17060/655360 files, 174903/1310720 blocks
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Mounting other filesystems: [ OK ]
Starting sshd: [ OK ]

Nothing comes up, it just stops there. I have tried mounting the HDD 
image of the domU on my host to access the log files but there does not
appear to be anything of use. This is the dmesg log file on the domU:

Bootdata ok (command line is root=/dev/sda2 ro )
Linux version 2.6.18-92.1.22.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx)
(gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Dec 16
12:26:32 EST 2008
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000020800000 (usable)
On node 0 totalpages: 133120
DMA zone: 133120 pages, LIFO batch:31
No mptable found.
Built 1 zonelists. Total pages: 133120
Kernel command line: root=/dev/sda2 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2833.530 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: 500992k/532480k available
(2418k kernel code, 22768k reserved,
1353k data, 176k init)
Calibrating delay using timer specific routine.. 7087.48 BogoMIPS
(lpj=14174967)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
, L1 D cache: 32K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
Brought up 1 CPUs
sizeof(vma)=168 bytes
sizeof(page)=56 bytes
sizeof(inode)=560 bytes
sizeof(dentry)=216 bytes
sizeof(ext3inode)=760 bytes
sizeof(buffer_head)=96 bytes
sizeof(skbuff)=240 bytes
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 127A0 could
not acquire Mutex [2]
[20060707]
No dock devices found.
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 127A0 could
not acquire Mutex [2] [20060707]
Brought up 1 CPUs
PCI: Fatal: No PCI config space access function found
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(1238443140.218:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 6D65AF37871D9CBE
- User ID: CentOS (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.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
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/2050
XENBUS: Device with no driver:
device/vbd/2049
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Write protecting the kernel read-only data: 461k
Registering block device major 8
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
register_blkdev: cannot get major 8 for sd
Fusion MPT base driver 3.04.05
Copyright (c) 1999-2007 LSI Corporation
Fusion MPT SAS Host driver 3.04.05
libata version 3.00 loaded.
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has flipping receive path.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
input: PC Speaker as /class/input/input0
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15
(usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers
found
lp: driver loaded but no devices found
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised:
dm-devel@xxxxxxxxxx
EXT3 FS on sda2, internal journal
Adding 131064k swap on /dev/sda1. Priority:-1 extents:1 across:131064k
I can't recognise any serious errors in there. Could someone please help me?

Cheers,

Andrew



_______________________________________________
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



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.31/2029 - Release Date: 03/29/09 16:56:00

_______________________________________________
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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users