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] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Att

To: "weiming" <zephyr.zhao@xxxxxxxxx>, "Argyro Andreou" <argyro.andreou@xxxxxxxxx>
Subject: RE: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
From: "Tait Clarridge" <Tait.Clarridge@xxxxxxxxxxxx>
Date: Wed, 13 Feb 2008 16:27:59 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Feb 2008 13:29:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: <a0e85f930802131235v6cc518d8he7112b8058045707@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60AFFE633@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <a0e85f930802131309p3178d5d5ybf9da082a86a59cf@xxxxxxxxxxxxxx> <add59a3f0802131323v416ec797xc2de3067ef90346f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchuhrPQvdivwLW0TH6fvCyNxRzWOgAAGC1Q
Thread-topic: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic -Attempted to kill init
I remember that I had to compile all the RAID + LVM section of the kernel 
config directly into the kernel, and not as modules. As well I had to have each 
of the USB host sections as modules and the AHCI support built as a module.

Then I compiled my initrd with sd_mod, sg, ahci (I think) to get it to find my 
logical volumes.



From: weiming [mailto:zephyr.zhao@xxxxxxxxx] 
Sent: Wednesday, February 13, 2008 4:24 PM
To: Argyro Andreou
Cc: Tait Clarridge; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic 
-Attempted to kill init

I guess some device driver for your sata driver was not loaded, so the kernel 
can't find the /dev/root device.
Did you change the .config of linux kernel? By default, it should include most 
of the drivers.
On Feb 13, 2008 4:09 PM, Argyro Andreou <argyro.andreou@xxxxxxxxx> wrote:
Hey Tait,
 
 
When I remove the quiet flag it says the following:
 
Scanning logical volumes
Reading all physical volumes
No volume groups found
Activating logical volumes
    Volume group VolGroup00 not found
Creating root device
Mounting root filesystem
mount: could not find filesystem /dev/root
Setting up other filesystems
Setting up new root fs
setuproot: moving /dev failed: No such file pr directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file ot directory
seturoot: error mounting /sys: No such file to directory
Switching to new root and running init
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed
Kernel panic-not synching: Attempted to kill init!
 
 
When installing Fedora Core 8 I didn't do custom partitioning I used the 
default option. If custom partitioning is need can you please tell me exactly 
what partitions are needed?
 
Thanks
Argyro
On Feb 13, 2008 3:48 PM, Tait Clarridge <Tait.Clarridge@xxxxxxxxxxxx> wrote:
Hi Argyro,
 
Could you take out the "quiet" switch in the Xen kernel boot args and tell us 
exactly what it says? You might also want to add a "noreboot" in that section 
so you can write down exactly what it says.
 
Thanks,
-Tait
 
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Argyro Andreou
Sent: Wednesday, February 13, 2008 3:36 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.2 is not loading on FC8 - Error: Kernel panic 
-Attempted to kill init
 
Hi all,

I compiled and installed Xen 3.2 source on FC8. Compilation and installation 
completed with no errors. However when I try to load Xen I get an error: Kernel 
panic - Attempted to kill init !!!

This is my grub configuration:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.23.1-42.fc8)
    root (hd0,0)
    kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.23.1-42.fc8.img

title Fedora Core 8 + Xen 3.2.0
    root (hd0,0)
    kernel /xen-3.2.1-rc1-pre.gz
    module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    module /initrd-2.6.18.8-xen.img    

I tried loading Xen without initrd also. But I get the same error. 

Please can anyone help me. I've trying to solve this problem since last Friday 
and I can't see any light at the end of the tunnel


Regards
Argyro


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