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

Re: [Xen-users] Kernel panic FC7 and Debian Etch



Hi there!

> I have installed Fedora Core 7 with kernel-xen-2.6.20-2931.fc7 and
> xen-3.1.0-6.fc7, but every time that try to boot my Debian Etch VM I got
> the following error:
>
>     device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
> dm-devel@xxxxxxxxxx
>     Kernel panic - not syncing: Attempted to kill init!

Hmm, how did you originally install your Etch VM?  Can you post the full boot 
output, please?

> My VM config file:
>
>   kernel = '/boot/vmlinuz-2.6.20-2936.fc7xen'
>   ramdisk = '/boot/initrd-2.6.20-2936.fc7xen.img'

I see you're using the FC7 kernel and initrd.  You might get a better 
experience if you use the Debian kernel and initrd.  I believe Etch has a Xen 
3 Linux kernel, right?

You can then keep the guest's kernel and initrd in the guest's filesystem so 
that apt updates will apply software updates to them.  You can then set up a 
grub-style menu.lst that will allow the "pygrub" bootloader in dom0 to boot 
these, without you having to specify a kernel= or ramdisk= line in the VM 
config.

I guess it's possible that the kernel and initrd you're using from FC7 isn't 
doing the right thing for your debian install, so this might also help fix 
your actual problem ;-)

Nb.  pygrub runs as root in dom0 so there is some risk of exposing your dom0 
to exploit by a user who has xm console access to the domU.  If you're using 
both of them yourself, I guess that'd be less of an issue ;-)  A dom0 root 
exploit of this type was found recently.

If you didn't want to use pygrub you could always copy the Debian kernel and 
initrd out of the guest FS and use kernel= and ramdisk= in the config file to 
point to them.

Cheers,
Mark

>   memory = '256'
>   name = 'email-teste'
>   root = "/dev/hda1 ro"
>   disk = [
> 'phy:/dev/vg00/lvEmailTeste,hda1,w','phy:/dev/vg00/lvSwap-EmailTeste,hda2,w
>'] vif = [ 'mac=00:16:3e:4b:10:20,bridge=virbr0' ]
>
>   extra = '3'
>   vmid = '1'
>
> Thanks for any help.
>
> Regards,
>
> McCoy



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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