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] Problem using Xen - SATA

To: "Daniel Bojczuk" <danielbojczuk@xxxxxxxxx>
Subject: Re: [Xen-users] Problem using Xen - SATA
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Tue, 30 Sep 2008 15:25:38 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 30 Sep 2008 12:26:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kg9RPIQHRMuHqjSX6yT94UUu4gf7Y3pOOsGo04CxVWQ=; b=t3q7yuULHTa4JOVQ0hkCCKgFlvyOZZVMmE+HvowXiJCpP39ExgfciPbs01N53D0KPO PTFV06rVeOOswDAhvWgphVWWD+0qTaK8r2Of8f6x6Vd8YW4KecTUXUljCGa7oCF0RGnL StoXQlHGkyxFNEX4hDLKr9NDczSSI+P0dKrUs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=PNqY5qn3aWOHU5kDykNM8K7nZUyZV95NWfoXREevS4VoO1jKbG6rBhlfuIBxxmzdWC kbTxd+h3scwpM7RrudT6MDTkOzCb5Tn+0jyXPSgM71Ftl63pIDgsM4m32dI77b2Nx6a/ xUxjQabXbOA+7qUYQZB5qsdAYhlZl1MzU7h30=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d13e2e3c0809301213y9be6145rf1a3e0b52539487d@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d13e2e3c0809301213y9be6145rf1a3e0b52539487d@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Sep 30, 2008 at 3:13 PM, Daniel Bojczuk <danielbojczuk@xxxxxxxxx> wrote:
> Hi,
>
> I have an Slackware 12.1 running on Intel Core2Quad, 4 Gb RAM. (The result
> of dmesg is attached on this e-mail)
>
> I have downloaded 'Xen 3.3.0 official source distribution tarball' from
> www.xen.org. Run make world, make install. Have no errors.
>
> Installed GRUB correctly and added the following lines on menu.list:
>
>  title Xen 3.3
>  root (hd0,1)
>  kernel /xen.gz dom0_mem = 262144
>  module /vmlinuz-2.6.18.8-xen root=/dev/sda1 ro
>
> And my partition table:
>
> /dev/sda1 - /
> /dev/sda2 - /boot
> /dev/sda3 - /var
> /dev/sda4 - /home
> /dev/sda5 - /usr
>
> But when I try to use the xen kernel, he can't find /dev/sda1. I think
> that's because it doesn't reconized the sata controller.
>
> I don't know what can I do.
>
> Thanks for helping,
> Sorry for my english.
>

Did you try to build an initial RAM disk?

from the README file http://lxr.xensource.com/lxr/source/README

 Depending on your config, you may need to use 'mkinitrd' to create
 an initial ram disk, just like a native system e.g.
# depmod 2.6.18-xen
# mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod
initrd-2.6.18-xen.img 2.6.18-xen

 Other systems may requires the use of 'mkinitramfs' to create the
  ram disk.
 # depmod 2.6.18-xen
 # mkinitramfs -o initrd-2.6.18-xen.img 2.6.18-xen

It looks like 2.6.18 should be 2.6.18-8 for the kernel you are using.

You would then need to add a module line for the initrd file created.

I've used SATA and the 2.6.18 kernel, I don't think in general you
need a newer kernel.
Maybe there are cases where you need to manually compile in a new kernel.

Hope that helps,
Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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

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