Hi
I am using xen 3.0.2 on FC5. I followed all the steps given in this link*
http://lists.xensource.com/archives/html/xen-devel/2005-01/msg00434.html*.
I used linux-2.6.16 to build the dom0.I could successfully build it and
start dom0.
Now for creating guest domain, I followed all the steps as given in the
document.
I created two partitions sda5 and sda6, and created ext3 file system and
swap in them respectively.
*This is my .config file:*
kernel = "/boot/vmlinuz-2.6.16-xenU"
ramdisk = "/boot/initrd-2.6.16-xenU.img"
memory = 256
vif = [ '''' ]
disk = [
''phy:/dev/sda5,hda1,w'',''phy:/dev/sda6,hda2,w''
]
root = "/dev/hda1 ro"
*This is my fstab file:*
/dev/hda1 / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0
0
sysfs /sys sysfs defaults 0
0
/dev/hda2 swap swap defaults 0 0
*When I started the guest domain using xm create –c mydomain, I got a kernel
panic:*
* *
* *
Using config file "/etc/xen/goddomain".
Started domain Domain1
Linux version 2.6.16-xenU (root@WXSimulator) (gcc version 4.1.0 20060304
(Red Hat 4.1.0-3)) #1 SMP Sat Mar 31 06:40:21 IST 2007
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010000000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line: root=/dev/hda1 rw
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Xen reported: 2800.096 MHz processor.
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Software IO TLB disabled
vmalloc area: d1000000-fb7fe000, maxmem 33ffe000
Memory: 254080k/270336k available (1780k kernel code, 7736k reserved, 520k
data, 132k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5602.82 BogoMIPS
(lpj=28014113)
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 2048K
Checking ''hlt'' instruction... OK.
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 1741k freed
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
netfront: Initialising virtual ethernet driver.
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
Registering block device major 3
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Timeout connecting to devices!
Freeing unused kernel memory: 132k freed
***************************************************************
***************************************************************
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls glibc libraries. The emulation is **
** slow. To ensure full performance you should **
** install a ''xen-friendly'' (nosegneg) version of
**
** the library, or disable tls support by executing **
** the following as root: **
** mv /lib/tls /lib/tls.disabled **
** Offending process: init (pid=1) **
***************************************************************
***************************************************************
Continuing...
Red Hat nash version 5.0.32 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
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
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
Kernel panic - not syncing: Attempted to kill init!
*I tried copying content from fstab to fstab.sys, Then the new set of
errors:*
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
using fstab.sys from mounted FS
mounting /
mount: error mounting /dev/hda1 on ./ as ext3: Device or resource busy
setuproot: mount returned error
mounting /dev/pts
mount: could not find filesystem ''devpts''
setuproot: mount returned error
mounting /dev/shm
mount: could not find filesystem ''tmpfs''
setuproot: mount returned error
mounting /proc
mounting /sys
mounting swap
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
Kernel panic - not syncing: Attempted to kill init!
Can you please help me in this problem…. Thanks in advance
Pradeep .