Srujan D. Kotikela
2010-Dec-03 20:05 UTC
[Xen-devel] CentOS PV DomU freezing while booting
Hi, I have created a CentOS DomU on CentOS Dom0 (xen 3.4.3) using xen-tools and the following command: xen-create-image --hostname=TestDomU --ip=192.168.122.2 --dir=/xen --dist=centos-5 --install-method=rinse --gateway=192.168.122.1 --netmask=255.255.255.0 --mirror=mirror.centos.org/centos/5.5/os/x86_64 Then I started booting the system using the following command [root@mgomathi-lab2 das]# xm create /etc/xen/TestDomU.cfg -c Using config file "/etc/xen/TestDomU.cfg". Started domain TestDomU (id=1) Bootdata ok (command line is root=/dev/xvda2 ro ) Linux version 2.6.18.8 (root@mgomathi-lab2.cse.unt.edu) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #4 SMP Mon Nov 29 16:39:44 CST 2010 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000020800000 (usable) No mptable found. Built 1 zonelists. Total pages: 127868 Kernel command line: root=/dev/xvda2 ro Initializing CPU#0 PID hash table entries: 2048 (order: 11, 16384 bytes) Xen reported: 2593.494 MHz processor. Console: colour dummy device 80x25 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: 502368k/532480k available (2048k kernel code, 21880k reserved, 887k data, 180k init) Calibrating delay using timer specific routine.. 5188.29 BogoMIPS (lpj=25941457) 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) SMP alternatives: switching to UP code Freeing SMP alternatives: 28k freed Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Freeing initrd memory: 7736k freed NET: Registered protocol family 16 Brought up 1 CPUs PCI: Fatal: No 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 suspend: event channel 6 xen_mem: Initialising balloon driver. PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 IP route cache hash table entries: 16384 (order: 5, 131072 bytes) TCP established hash table entries: 65536 (order: 8, 1048576 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 65536 bind 32768) TCP reno registered IA-32 Microcode Update Driver: v1.14a-xen <tigran@veritas.com> audit: initializing netlink socket (disabled) audit(1291406125.514: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) Non-volatile memory driver v1.2 RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize loop: loaded (max 8 devices) Xen virtual console successfully installed as xvc0 Event-channel device installed. blktap_device_init: blktap device major 254 blktap_ring_init: blktap ring major: 253 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 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 NET: Registered protocol family 1 NET: Registered protocol family 17 PCI IO multiplexer device installed. xen-vbd: registered block device major 202 blkfront: xvda2: barriers enabled blkfront: xvda1: barriers enabled BIOS EDD facility v0.16 2004-Jun-25, 0 devices found EDD information not available. Freeing unused kernel memory: 180k freed usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v3.0 SCSI subsystem initialized device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. ----------------> FREEZES <-------------------- The DomU freezes and the shell becomes unresponsive after this. -- Srujan D. Kotikela _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Srujan D. Kotikela
2010-Dec-06 18:49 UTC
Re: [Xen-devel] CentOS PV DomU freezing while booting
Hi, I tried that one. It continued a little further and got stuck ata different point. This the booting is halted: O/P Started domain DomU (id=3) Bootdata ok (command line is root=/dev/xvda2 ro console=xvc0 xencons=tty) Linux version 2.6.18.8 (xxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #4 SMP Mon Nov 29 16:39:44 CST 2010 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000040800000 (usable) No mptable found. Built 1 zonelists. Total pages: 260580 Kernel command line: root=/dev/xvda2 ro console=xvc0 xencons=tty Initializing CPU#0 PID hash table entries: 4096 (order: 12, 32768 bytes) Xen reported: 2593.498 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: 1016576k/1056768k available (2048k kernel code, 31904k reserved, 887k data, 180k init) Calibrating delay using timer specific routine.. 5188.31 BogoMIPS (lpj=25941590) 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) SMP alternatives: switching to UP code Freeing SMP alternatives: 28k freed Brought up 1 CPUs migration_cost=0 checking if image is initramfs... it is Freeing initrd memory: 7736k freed NET: Registered protocol family 16 Brought up 1 CPUs PCI: Fatal: No 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 suspend: event channel 6 xen_mem: Initialising balloon driver. PCI: System does not support PCI PCI: System does not support PCI 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 IA-32 Microcode Update Driver: v1.14a-xen <tigran@veritas.com> audit: initializing netlink socket (disabled) audit(1291660905.536: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) Non-volatile memory driver v1.2 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. blktap_device_init: blktap device major 254 blktap_ring_init: blktap ring major: 253 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 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 NET: Registered protocol family 1 NET: Registered protocol family 17 PCI IO multiplexer device installed. xen-vbd: registered block device major 202 blkfront: xvda2: barriers enabled blkfront: xvda1: barriers enabled BIOS EDD facility v0.16 2004-Jun-25, 0 devices found EDD information not available. Freeing unused kernel memory: 180k freed Red Hat nash version 5.1.19.6 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading usbcore.ko module usbcore: registered new driver usbfs usbcore: registered new driver hub Loading ehci-hcd.ko module Loading ohci-hcd.ko module Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading libata.ko module Loading ahci.ko module Loading ide-disk.ko module Loading dm-mod.ko module device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Waiting for driver initialization. Scanning and configuring dmraid supported devices Scanning logical volumes Reading all physical volumes. This may take a while... Activating logical volumes Volume group "VolGroup00" not found Creating root device. Mounting root filesystem. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Setting up other filesystems. Setting up new root fs no fstab.sys, mounting internal defaults Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys INIT: version 2.86 booting Welcome to CentOS release 5.5 (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 Dec 6 13:42:09 EST 2010 [ OK ] Starting udev: [ OK ] Setting hostname DomU: [ OK ] No devices found Setting up Logical Volume Management: [ OK ] Checking filesystems Checking all file systems. [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/xvda2 /dev/xvda2: clean, 22945/524288 files, 239743/1048576 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 ] Generating SSH1 RSA host key: [ OK ] Generating SSH2 RSA host key: [ OK ] Generating SSH2 DSA host key: [ OK ] Starting sshd: [ OK ] INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: no more processes left in this runlevel ------------>> FREEZE <<------------------------- -- Srujan D. Kotikela On Fri, Dec 3, 2010 at 3:04 PM, Vasiliy G Tolstov <v.tolstov@selfip.ru>wrote:> On Fri, 2010-12-03 at 14:05 -0600, Srujan D. Kotikela wrote: > > Hi, > > > > I have created a CentOS DomU on CentOS Dom0 (xen 3.4.3) using > > xen-tools and the following command: > > > > xen-create-image --hostname=TestDomU --ip=192.168.122.2 > > --dir=/xen --dist=centos-5 --install-method=rinse > > --gateway=192.168.122.1 --netmask=255.255.255.0 > > --mirror=mirror.centos.org/centos/5.5/os/x86_64 > > Then I started booting the system using the following command > > > > [root@mgomathi-lab2 das]# xm create /etc/xen/TestDomU.cfg -c > > Using config file "/etc/xen/TestDomU.cfg". > > Started domain TestDomU (id=1) > > Bootdata ok (command line is > > root=/dev/xvda2 ro ) > > You need to provide console=xvc0 xencons=tty to extra of config file > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Dec-06 19:00 UTC
Re: [Xen-devel] CentOS PV DomU freezing while booting
On Mon, Dec 06, 2010 at 12:49:23PM -0600, Srujan D. Kotikela wrote:> Hi, > > I tried that one. It continued a little further and got stuck ata > different point. This the booting is halted: > > O/P > > Started domain DomU (id=3) > Bootdata ok (command line is root=/dev/xvda2 ro > console=xvc0 xencons=tty) > Linux version 2.6.18.8 (xxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red > Hat 4.1.2-48)) #4 SMP Mon Nov 29 16:39:44 CST 2010 > BIOS-provided physical RAM map: > Xen: 0000000000000000 - 0000000040800000 (usable) > No mptable found. > Built 1 zonelists. Total pages: 260580 > Kernel command line: root=/dev/xvda2 ro console=xvc0 xencons=tty > Initializing CPU#0 > PID hash table entries: 4096 (order: 12, 32768 bytes) > Xen reported: 2593.498 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: 1016576k/1056768k available (2048k kernel code, 31904k reserved, > 887k data, 180k init) > Calibrating delay using timer specific routine.. 5188.31 BogoMIPS > (lpj=25941590) > 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) > SMP alternatives: switching to UP code > Freeing SMP alternatives: 28k freed > Brought up 1 CPUs > migration_cost=0 > checking if image is initramfs... it is > Freeing initrd memory: 7736k freed > NET: Registered protocol family 16 > Brought up 1 CPUs > PCI: Fatal: No 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 > suspend: event channel 6 > xen_mem: Initialising balloon driver. > PCI: System does not support PCI > PCI: System does not support PCI > 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 > IA-32 Microcode Update Driver: v1.14a-xen <[1]tigran@veritas.com> > audit: initializing netlink socket (disabled) > audit(1291660905.536: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) > Non-volatile memory driver v1.2 > 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. > blktap_device_init: blktap device major 254 > blktap_ring_init: blktap ring major: 253 > 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 > 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 > NET: Registered protocol family 1 > NET: Registered protocol family 17 > PCI IO multiplexer device installed. > xen-vbd: registered block device major 202 > blkfront: xvda2: barriers enabled > blkfront: xvda1: barriers enabled > BIOS EDD facility v0.16 2004-Jun-25, 0 devices found > EDD information not available. > Freeing unused kernel memory: 180k freed > Red Hat nash version 5.1.19.6 starting > Mounting proc filesystem > Mounting sysfs filesystem > Creating /dev > Creating initial device nodes > Setting up hotplug. > Creating block device nodes. > Loading usbcore.ko module > usbcore: registered new driver usbfs > usbcore: registered new driver hub > Loading ehci-hcd.ko module > Loading ohci-hcd.ko module > Loading uhci-hcd.ko module > USB Universal Host Controller Interface driver v3.0 > Loading jbd.ko module > Loading ext3.ko module > Loading scsi_mod.ko module > SCSI subsystem initialized > Loading sd_mod.ko module > Loading libata.ko module > Loading ahci.ko module > Loading ide-disk.ko module > Loading dm-mod.ko module > device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: > [2]dm-devel@redhat.com > Loading dm-mirror.ko module > Loading dm-zero.ko module > Loading dm-snapshot.ko module > Waiting for driver initialization. > Scanning and configuring dmraid supported devices > Scanning logical volumes > Reading all physical volumes. This may take a while... > Activating logical volumes > Volume group "VolGroup00" not found > Creating root device. > Mounting root filesystem. > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > Setting up other filesystems. > Setting up new root fs > no fstab.sys, mounting internal defaults > Switching to new root and running init. > unmounting old /dev > unmounting old /proc > unmounting old /sys > INIT: version 2.86 booting > Welcome to CentOS release 5.5 (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 Dec 6 13:42:09 EST 2010 [ OK ] > Starting udev: [ OK ] > Setting hostname DomU: [ OK ] > No devices found > Setting up Logical Volume Management: [ OK ] > Checking filesystems > Checking all file systems. > [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/xvda2 > /dev/xvda2: clean, 22945/524288 files, 239743/1048576 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 ] > Generating SSH1 RSA host key: [ OK ] > Generating SSH2 RSA host key: [ OK ] > Generating SSH2 DSA host key: [ OK ] > Starting sshd: [ OK ] > INIT: Id "1" respawning too fast: disabled for 5 minutes > INIT: no more processes left in this runlevel > > ------------>> FREEZE <<-------------------------This looks like you don''t have a getty configured for the console device.. and thus you won''t get a login prompt. See here for tips configuring the getty: http://wiki.xensource.com/xenwiki/XenCommonProblems Also the "respawning too fast" means there''s a getty configured for non-existing console device. -- Pasi> -- > Srujan D. Kotikela > > On Fri, Dec 3, 2010 at 3:04 PM, Vasiliy G Tolstov <[3]v.tolstov@selfip.ru> > wrote: > > On Fri, 2010-12-03 at 14:05 -0600, Srujan D. Kotikela wrote: > > Hi, > > > > I have created a CentOS DomU on CentOS Dom0 (xen 3.4.3) using > > xen-tools and the following command: > > > > xen-create-image --hostname=TestDomU --ip=192.168.122.2 > > --dir=/xen --dist=centos-5 --install-method=rinse > > --gateway=192.168.122.1 --netmask=255.255.255.0 > > --mirror=[4]mirror.centos.org/centos/5.5/os/x86_64 > > Then I started booting the system using the following command > > > > [root@mgomathi-lab2 das]# xm create /etc/xen/TestDomU.cfg -c > > Using config file "/etc/xen/TestDomU.cfg". > > Started domain TestDomU (id=1) > > Bootdata ok (command line is > > root=/dev/xvda2 ro ) > > You need to provide console=xvc0 xencons=tty to extra of config file > > References > > Visible links > 1. mailto:tigran@veritas.com > 2. mailto:dm-devel@redhat.com > 3. mailto:v.tolstov@selfip.ru > 4. http://mirror.centos.org/centos/5.5/os/x86_64> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel