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

Re: [Xen-users] Problem using Xen - SATA


  • To: "Daniel Bojczuk" <danielbojczuk@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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