I am hoping I can get a little light she on a problem I am
having trying to bring up a guest domain.
I suspect that the problem is in my supplied file system
First the environment.
VT enabled dual core EM64T processor,
Asus Mb (I can get the exact chipset infor
if relevant)
2 Gig of DRAM
SATA drives.
I have build and booted the domain 0 using 3.0.2-2 version
of xen. This seems ok.
I have to change the PIIX_ATA to module support, but that
was about it.
Xm list shows:
[root@localhost xen]# xm list
Name
ID Mem(MiB) VCPUs
State Time(s)
Domain-0
0 1019 2
r----- 44.6
Which is ok.
I have created a loop back file system on my /dev/sdd4.
If I mount /dev/sdd4 I can see a flat file of the correct
size. If I mount this in loopback mode, I can see the contents properly.
[root@localhost xen]# ls /remote
lost+found vmdisk1
[root@localhost xen]# df
Filesystem
1K-blocks Used Available Use% Mounted on
/dev/sdd2
14200032 9206208 4260860 69% /
/dev/sdd1
287782 32932 239992 13% /boot
/dev/shm
521728 0
521728 0% /dev/shm
/dev/sdd4
96210608 8961780 82282736 10% /remote
[root@localhost xen]# mount -o loop /remote/vmdisk1
/mnt/loop
[root@localhost xen]# ls /mount/loop
ls: /mount/loop: No such file or directory
[root@localhost xen]# ls /mnt/loop
bin dev etc home lib
lost+found proc root sbin sys tmp usr
var
[root@localhost xen]#
But when I try to start something up, I get the following:
(other stuff snipped)
…
Red Hat nash version 4.2.15 starting
Mounted /proc filesystem
Mounting sysfs
Creating /dev
Starting udev
Loading libata.ko module
Loading ata_piix.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading aacraid.ko module
Adaptec aacraid driver (1.1-4 May 15 2006 08:33:35)
Creating root device
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Switching to new root
unmounting old /proc
unmounting old /sys
exec of init (/sbin/init) failed!!!: 2
Kernel panic - not syncing: Attempted to kill init!
This looks to me like my file system is not “ok”.
BTW: My simple config file is:
[root@localhost xen]# cat mach1
kernel = '/boot/vmlinuz-2.6.16-xen'
ramdisk = '/boot/initrd-2.6.16-xen.img'
disk =
['file:/remote/vmdisk1,sdd4,w']
root = '/dev/sdd4 ro'
memory = 512
any suggestions here?
Thanks
Gord
--
Gordon McFadden
System Architect
Channel Platform Group
Intel Corporation
ph: +1 503 264 4309
gordon.mcfadden@xxxxxxxxx