|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Problem using Xen - SATA
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
|
|
|
|
|