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

Re: [Xen-users] Kernel Panic when xm create

  • To: "Alberto Muñoz" <alberto.mps@xxxxxxxxx>
  • From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
  • Date: Wed, 14 Feb 2007 17:49:14 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 14 Feb 2007 04:18:43 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=cNuY85f9hDRY+qfXgpJ/WdKm9J+ZfjSjZb+848nmiRZy5oH/R3pkADc/EeotaxlG8DsoAEf+WvmDiQuupdpxObtcvNixzUDcwA9leMB5NVw6t5k+G/iqbTF/t6BUOnTQSSxPzzLNp2P6+Aq9qPfE3yQ+BoFPG08V0AJs5KsKhM4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

add ramdisk
to config file and try to create it back.

On 2/13/07, Alberto Muñoz <alberto.mps@xxxxxxxxx> wrote:
Hello all, im spanish and my english is not well.

I have RHEL4 and created a DOM0 and boot perfectly but when i running xm create -c vmtest01.cfg a kernel panic error show on screen:

Linux version (root@endor) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Mon Oct 16 09:30:17 EDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000004800000 (usable)
0MB HIGHMEM available.
72MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro 2
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Xen reported: 2792.994 MHz processor.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c5000000-f51fe000, maxmem 2d7fe000
Memory: 58816k/73728k available (1983k kernel code, 6652k reserved, 751k data, 192k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5589.00 BogoMIPS (lpj=27945016)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
checking if image is initramfs... it is
Freeing initrd memory: 1100k freed
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>
audit: initializing netlink socket (disabled)
audit(1171389704.934:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
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
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: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 192k freed
Red Hat nash version starting
Mounted /proc filesystem
Mounting sysfs
Creating /dev
Starting udev
Loading scsi_mod.ko module
scsi_mod: no version for "struct_module" found: kernel tainted.
SCSI subsystem initialized
Loading sd_mod.ko module
register_blkdev: cannot get major 8 for sd
Loading libata.ko module
Loading ata_piix.ko module
Loading ide-disk.ko module
Loading jbd.ko module
Loading ext3.ko module
Creating root device
Mounting root filesystem
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
mount: error 2 mounting none
Switching to new root
WARNING: can't access (null)
exec of init ((null)) failed!!!: 14
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

My /etc/xen/vmtest01.cfg file:

kernel = "/boot/vmlinuz-2.6-xen"
memory = 64
name = "vmtest01"
vif = [ 'bridge=xenbr0' ]
disk = [ 'phy:/dev/VG_XenSource/lvtest01,sda1,w' ]
root = "/dev/sda1 ro"
extra = "2"
ramdisk = "/boot/initrd-"

My grub.conf file:

title Red Hat Enterprise Linux ES (2.6.9-42.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/
        initrd /initrd-2.6.9-42.ELsmp.img
title Red Hat Enterprise Linux ES-up ( 2.6.9-42.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/
        initrd /initrd-2.6.9-42.EL.img
title XEN 3.0 / XenLinux 2.6
        root (hd0,0)
        kernel /xen-3.0.gz dom0_mem=262144 com1=115200,8n1
        module /vmlinuz-2.6-xen root=/dev/sda3 ro console=tty0, 115200
        module /initrd-

That's all.

Xen-users mailing list

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.