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.1 initrd (from tarball) and kernel panic

To: Dylan Martin <dmartin@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.1 initrd (from tarball) and kernel panic
From: Pascal <ml@xxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2007 08:55:47 +0200
Delivery-date: Wed, 13 Jun 2007 23:54:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070613213638.GL32581@xxxxxxxxxxxx>
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: <467049CF.3050303@xxxxxxxxxxxxxxxxx> <20070613213638.GL32581@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Thanks Dylan,

But it is on my dom0 not when I try to create a domU

I've done a fresh minimal install of centos5 and wanted xen3.1 rather than the 3.0.3 centos5 xen package
So I've downloaded the last xen tarball and did an install (cd dist/ then ./install.sh)

The kernel panic I have telling me it doesn't find my root partittion is when I reboot my box and so when it tries to start with the new xen kernel

Pascal


Dylan Martin a écrit :
You'll have to create the initrd.  I did this recently.  Here's the
steps that worked for me:

 - mount the domU filesystem on dom0
 - chroot to the domU filesystem
 - make sure /proc and /sys any any others are mounted in your domU
 - make sure /dev is populated 
 - run mkinitrd

-Dylan

  
   Hello,

   I have installed xen3.1 from the tarball on a centos5 OS

   I have followed up these instructions :

 "$ cd dist
 $ su -
 # sh ./install.sh

 After installation, you will still need to modify your grub.conf to
 enable booting xen. Typically this means adding an entry like

 title My Distro with Xen (2.6.18-xen-3.1)
         root (hd0,0)
         kernel /xen-3.1.0.gz
         module /vmlinuz-2.6.18-xen ro root=/dev/<foo>
         module /initrd-2.6.18-xen

 ... obviously replacing <foo> with the name of your root device. "



   So I have added this in my grub.conf file

 title Centos5 with Xen (2.6.18-xen-3.1)
         root (hd0,0)
         kernel /xen-3.1.0.gz
         module /vmlinuz-2.6.18-xen ro root=/dev/sda2

   I didn't find any initrd-2.6.18-xen file in the /boot partition !

   Also when I reboot on the new kernel I have a kernel panic telling me that
   it doesn't find my root partition !
   My disk are under raid1 with a 9550sx 3ware card (driver is included from
   2.6.14)

   Also my root partition is /dev/sda2

   Sys. de fich.         Tail. Occ. Disp. %Occ. Monte sur
   /dev/sda2              19G  1,4G   17G   8% /
   /dev/sda1             244M   24M  207M  11% /boot
   tmpfs                 2,0G     0  2,0G   0% /dev/shm

   So do I have to create the  initrd-2.6.18-xen

   Any idea why it doesn't find my root partition ?

   Thanks

   Pascal
    

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