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: [Xen-users] Kernel Panic when xm create

To: "Alberto Muñoz" <alberto.mps@xxxxxxxxx>
Subject: Re: [Xen-users] Kernel Panic when xm create
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 16 Feb 2007 12:32:46 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Feb 2007 23:02:11 -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=dyG7k4qOmu0GLcXRMAyJcE55L0JjSLxN7aOAsCFDuoB8u3WX5lrtQRZWccjZmO/ZgEF6y8lE/zkzd5yDt6eScqXRE4olHuPBlw+P2BeW7H3fp63GPHjQpznj/ODTHAE6lYzyXO9KSpAV8P9qyTcBWWGQTqVqyGxXik7i9np8Xes=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fc32e3720702130730o619d3f93w2dffdb44488042d0@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fc32e3720702130730o619d3f93w2dffdb44488042d0@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Did u modify /etc/fstab in guest domain root correctly to reflect your disk in config file ?
can u copy yr /etc/fstab of guest dom ?

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 2.6.16.29-xen_3.0.3.0 (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
migration_cost=0
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 4.2.1.8 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-2.6.16.29-xen_3.0.3.0.img"


My grub.conf file:

default=2
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
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-2.6.16.29-xen_3.0.3.0.img


That's all.



_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>