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: AW: [Xen-users] some beginnerkernel questions

To: md <md@xxxxxxxxxxxxx>
Subject: Re: AW: [Xen-users] some beginnerkernel questions
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Sat, 17 Dec 2005 16:42:28 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 17 Dec 2005 22:45:08 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FIEPLFEPPCJLKBACLHOIGELFCMAA.md@xxxxxxxxxxxxx>
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: <FIEPLFEPPCJLKBACLHOIGELFCMAA.md@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
md wrote:

I followed exactly the howto you mentioned - bu however I fail

here's my menu.lst and fstab


title   Xen 3.0.0 / XenLinux 2.6.12.6-xen0
root    (hd0,0)
kernel  /xen.gz dom0_mem=65536
module  /vmlinuz-2.6-xen0 root=/dev/mapper/vg00-root ro console=tty0
root=/dev/mapp/vg00-root is your problem.

LVM volumes don't exist when you first boot. The LVM userspace software has to run and tell the kernel about it.

There are two ways to get around this: 1) you can not do LVM root 2) you can use an initrd.

Try creating an initrd with mkinitrd.

Regards,

Anthony Liguori

# /etc/fstab: static file system information.
#
# <file system>     <mount point>   <type>  <options>       <dump>  <pass>
proc                  /proc               proc    defaults                0     
  0
/dev/mapper/vg00-root /                 ext3    defaults,errors=remount-ro 0    
   1
/dev/md0                  /boot               ext3    defaults                0 
      2
/dev/mapper/vg00-data /data          ext3    defaults                0       2
/dev/mapper/vg00-swap none         swap   sw                       0       0
/dev/hdd              /media/cdrom0 iso9660 ro,user,noauto     0       0
~


AFAIK there should not be any problem to boot from RAID1




-----Ursprüngliche Nachricht-----
Von: Sanjay Upadhyay [mailto:glowfriend@xxxxxxxxx]
Gesendet: Samstag, 17. Dezember 2005 10:32
An: xen-users@xxxxxxxxxxxxxxxxxxx
Betreff: Re: [Xen-users] some beginnerkernel questions


Hi,
You may not need to recompile the kernel, however a very good link is
here http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu

Another point, either referring a initrd image in the grub does cause
a problem, try to remove that from there. Hope that would correct the
issue..
I have the following given under the /boot/grub/menu.1st..

title Xen 3.0.0
   kernel /boot/xen-2.0.gz dom0_mem=25600 console=vga
   module /boot/vmlinuz-2.6-xen0 root=/dev/hdb1 ro console=tty0

I had a entry like this (which i removed and the problem was solved)
   module /boot/initrd.img

regards
On 12/17/05, md <md@xxxxxxxxxxxxx> wrote:
Hi List,

I run XEN 2 since some month (unfortunatly installed by a fiend of mine).
Recently I bought some new hardware and tried to get XEN 3 running on a
Debian Sarge 3.1.

I installed via the Debian installer a RAID 1 with LVM. even though there
are some devfs_mk_dir errors systems comes up.

Now I installed XEN but system doe not boot as the boot device seems not to
be recocnized by the kernel. I found the message already dealt with in some
threads...

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floopy.
VFS: Insert root floopy and press ENTER

So I nw know that I have to recompile the XEN kernel according to my system.

Two questions:

I never kompiled a kernel before - so is there maybe a way to keep my Debian
confirguration that is working and just add this to the XEN stuff?

Regarding the devfs_mk-dir issue I found the solution to upgrade to kernel
2.6.13 or above. Is it corrct tat XEN 3 is still using 2.6.12 and as I have
to recompile the kernel in any case - how can I do this with the latest
stable version 2.6.14.4?

Any help woudl be appreciated

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



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

<Prev in Thread] Current Thread [Next in Thread>