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_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