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. Daniel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Sep 30, 2008 at 8:13 PM, Daniel Bojczuk <danielbojczuk@gmail.com> 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. > > Daniel > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >I had the same problem, I used the suse 2.6.25 xen patches to build a more up to date dom0 kernel, if you search the list archives you should find a thread with details of how to apply the patches. Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Sep 30, 2008 at 3:13 PM, Daniel Bojczuk <danielbojczuk@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
"Daniel Bojczuk" <danielbojczuk@gmail.com> writes:> I have an Slackware 12.1 running on Intel Core2Quad, 4 Gb RAM. (The result > of dmesg is attached on this e-mail)...> 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.Well, you are running without an initrd. Now, this is the way most slackware people I know like it, and I can''t say they are wrong. However, like any time you are running without an initrd, you must first insure that all drivers you need to boot the box to the point where it can mount the disk are compiled into the kernel, not compiled as modules (Y not M, or in menuconfig, *) (also note, most sata drivers these days are under SCSI rather than under ide in menuconfig) The thing is that most distros these days expect an initrd, so the default kernel compile tends to compile most things, even most disk drivers as modules. If I remember correctly, you want make linux-2.6-xen-config configmode=MENUCONFIG make linux-2.6-xen-build make linux-2.6-xen-install _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users