SHUBHAM SHARMA, Noida
2008-Jun-19 07:15 UTC
[Xen-users] kernel panic while creating a domU
Hi all, I tried creating a domU on a file backed VBD and changed the fstab as follows: /dev/sda3 / ext3 acl,user_xattr 1 1 /dev/sda3 /home ext3 acl,user_xattr 1 2 with the following config file : kernel = "/boot/vmlinuz-2.6.16.46-0.12-xen" ramdisk = "/boot/initrd-2.6.16.46-0.12-xen" memory = 512 name = "Beautiful" vcpus = 1 vif = [ '''' ] disk = [ ''file:/home/xentest/vm01.img,sda3,w'' ] root ="/dev/sda3" on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' but while creating the domain I got a kernel panic : xm create -c beautiful1 Using config file "./beautiful1". Started domain Beautiful Bootdata ok (command line is root=/dev/sda3 ) Linux version 2.6.16.46-0.12-xen (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 SMP Thu May 17 14:00:09 UTC 2007 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000020800000 (usable) No mptable found. Built 1 zonelists Kernel command line: root=/dev/sda3 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) Xen reported: 1595.923 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: 501116k/532480k available (1902k kernel code, 22552k reserved, 798k data, 160k init) Calibrating delay using timer specific routine.. 3629.84 BogoMIPS (lpj=7259687) Security Framework v1.0.0 initialized Mount-cache hash table entries: 256 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 3 CPU: Processor Core ID: 1 checking if image is initramfs... it is Freeing initrd memory: 7704k freed Brought up 1 CPUs migration_cost=0 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. xen_mem: Initialising balloon driver. Setting mem allocation to 524288 kiB PCI: System does not support PCI PCI: System does not support PCI IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ audit: initializing netlink socket (disabled) audit(1213859507.706: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 i8042.c: No controller found. RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize xencons_init: Initializing xen vfb; pass xencons=tty to prevent this Xen virtual console successfully installed as xvc0 Event-channel device installed. mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input0 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 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 NET: Registered protocol family 1 XENBUS: Device with no driver: device/vbd/2051 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/console/0 netfront: Initialising virtual ethernet driver. netfront: device eth0 has copying receive path. Registering block device major 8 blkfront: sda3: barriers enabled Kernel panic - not syncing: Attempted to kill init! Thanks Shubham DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
SHUBHAM SHARMA, Noida
2008-Jun-19 08:38 UTC
[Xen-users] kernel panic while creating a domU
Hi all, I tried creating a domU on a file backed VBD and changed the fstab as follows: /dev/sda3 / ext3 acl,user_xattr 1 1 /dev/sda3 /home ext3 acl,user_xattr 1 2 with the following config file : kernel = "/boot/vmlinuz-2.6.16.46-0.12-xen" ramdisk = "/boot/initrd-2.6.16.46-0.12-xen" memory = 512 name = "Beautiful" vcpus = 1 vif = [ '''' ] disk = [ ''file:/home/xentest/vm01.img,sda3,w'' ] root ="/dev/sda3" on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' but while creating the domain I got a kernel panic : xm create -c beautiful1 Using config file "./beautiful1". Started domain Beautiful Bootdata ok (command line is root=/dev/sda3 ) Linux version 2.6.16.46-0.12-xen (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 SMP Thu May 17 14:00:09 UTC 2007 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000020800000 (usable) No mptable found. Built 1 zonelists Kernel command line: root=/dev/sda3 Initializing CPU#0 PID hash table entries: 4096 (order: 12, 131072 bytes) Xen reported: 1595.923 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: 501116k/532480k available (1902k kernel code, 22552k reserved, 798k data, 160k init) Calibrating delay using timer specific routine.. 3629.84 BogoMIPS (lpj=7259687) Security Framework v1.0.0 initialized Mount-cache hash table entries: 256 CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 3 CPU: Processor Core ID: 1 checking if image is initramfs... it is Freeing initrd memory: 7704k freed Brought up 1 CPUs migration_cost=0 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. xen_mem: Initialising balloon driver. Setting mem allocation to 524288 kiB PCI: System does not support PCI PCI: System does not support PCI IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $ audit: initializing netlink socket (disabled) audit(1213859507.706: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 i8042.c: No controller found. RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize xencons_init: Initializing xen vfb; pass xencons=tty to prevent this Xen virtual console successfully installed as xvc0 Event-channel device installed. mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input0 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 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 NET: Registered protocol family 1 XENBUS: Device with no driver: device/vbd/2051 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/console/0 netfront: Initialising virtual ethernet driver. netfront: device eth0 has copying receive path. Registering block device major 8 blkfront: sda3: barriers enabled Kernel panic - not syncing: Attempted to kill init! Thanks, Shubham DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
SHUBHAM SHARMA, Noida <shubham.sharma <at> hcl.in> writes: [snip]> PCI: System does not support PCI > > IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak > Exp $ > > audit: initializing netlink socket (disabled) > > audit(1213859507.706: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 > > i8042.c: No controller found. > > RAMDISK driver initialized: 16 RAM disks of 128000K size > 1024 blocksize > > xencons_init: Initializing xen vfb; pass xencons=tty to > prevent this > > Xen virtual console successfully installed as xvc0 > > Event-channel device installed. > > mice: PS/2 mouse device common for all mice > > input: PC Speaker as /class/input/input0 > > md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 > > md: bitmap version 4.39 > > 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 > > NET: Registered protocol family 1 > > XENBUS: Device with no driver: device/vbd/2051 > > XENBUS: Device with no driver: device/vif/0 > > XENBUS: Device with no driver: device/console/0 > > netfront: Initialising virtual ethernet driver. > > netfront: device eth0 has copying receive path. > > Registering block device major 8 > > blkfront: sda3: barriers enabled > > Kernel panic - not syncing: Attempted to kill init![snip] this is what i got in my log file : ---------------8<----------------- Storing domain details: {''console/ring- ref'': ''265225'', ''console/port'': ''2'', ''name'': ''Beautiful'', ''console/limit'': ''104 8576'', ''vm'': ''/vm/5ba9a617-e064-c4b9-d5a4- fdfae37e7570'', ''domid'': ''130'', ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', ''store/ring-ref'': ''450578'', ''store/port'': ''1''} [2008-06-20 14:45:10 xend.XendDomainInfo 28490] WARNING (XendDomainInfo:1000) Domain has crashed: name=Beautiful id=130. [2008-06-20 14:45:10 xend.XendDomainInfo 28490] ERROR (XendDomainInfo:1129) VM Beautiful restarting too fast (1.439034 seconds since the last restart). Refusing to restart to avoid loops. [2008-06-20 14:45:10 xend.XendDomainInfo 28490] DEBUG (XendDomainInfo:1538) XendDomainInfo.destroy: domid=130 [2008-06-20 14:45:10 xend.XendDomainInfo 28490] DEBUG (XendDomainInfo:1546) XendDomainInfo.destroyDomain(130) ---------8<----------- And my machine specifications are: -------------8<------------- model name : Intel(R) Xeon(R) CPU 5110 @ 1.60GHz cpu MHz : 1595.959 flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr dca lahf_lm --------------8<------------- MemTotal: 1527808 kB _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users