hi all, i want to install xen3.1 on my system, suse linux enterprise server 10 SP1 (kernel 2.6.16.46-0.12). i download the tarball binary file. it contains only "vmlinuz-2.6.18-xen" and "xen-3.1.gz", no initrd. but see the following code in my grub menu.lst, it seems like i need the initrd file. i tried the installation with this binary Tarball, it didn''t work. this is the original code in menu.lst of GRUB: -------------------------------------------------- title SUSE Linux Enterprise Server 10 SP1 root (hd0,1) kernel /boot/vmlinuz-2.6.16.46-0.12-default root=/dev/sda2 vga=0x32b resume=/dev/sda1 splash=silent showopts initrd /boot/initrd-2.6.16.46-0.12-default -------------------------------------------------- i don''t know what the problem is. So i want to install from source, and i want to build a xen linux kernel with the same kernel version of my suse (2.6.16.46-0.12). I looked up the xen manual, but it shows not enough details of the installation steps. Could you please tell me which steps shall i do in the installation? thanks a lot. best regards, Wei Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Jan 17, 2008 4:22 PM, Huang,Wei <first_huang@yahoo.com> wrote:> hi all, > > i want to install xen3.1 on my system, suse linux > enterprise server 10 SP1 (kernel 2.6.16.46-0.12). > i download the tarball binary file. it contains only > "vmlinuz-2.6.18-xen" and "xen-3.1.gz", no initrd. but > see the following code in my grub menu.lst, it seems > like i need the initrd file. > > i tried the installation with this binary Tarball, it > didn''t work. > > this is the original code in menu.lst of GRUB: > -------------------------------------------------- > title SUSE Linux Enterprise Server 10 SP1 > root (hd0,1) > kernel /boot/vmlinuz-2.6.16.46-0.12-default > root=/dev/sda2 vga=0x32b resume=/dev/sda1 > splash=silent showopts > initrd /boot/initrd-2.6.16.46-0.12-default > -------------------------------------------------- > > i don''t know what the problem is. So i want to install > from source, and i want to build a xen linux kernel > with the same kernel version of my suse > (2.6.16.46-0.12). I looked up the xen manual, but it > shows not enough details of the installation steps. > > Could you please tell me which steps shall i do in the > installation? >You should be able to create the initrd with a mkintrd or mkintramfs command. The basic idea is to pass those commands the proper kernel version. The kernel and the modules (that make up the initrd) need to make. So in your case I would expect that you should be able to find the proper modules in /lib/modules/2.6.18-xen. You then also need to pass the output file name as the initrd file. (Note, typically the command takes on the 2.6.18-xen part and not the /lib/modules part, as that is assumed. You should be able to find good examples of using the proper mkinitrd or mkinitramfs command online and I believe they also explain that in the README that comes with the binary package. Regards, Todd> > thanks a lot. > > best regards, > Wei > > > Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und > viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
/lib/modules/2.6.18-xen ?? I am faced with the same problem .. on Debian system . How would i know which modules to select as a part of initrd image .. Is there any way(tool) to know those minimal set of modules or any kind of 'rule of thumb'. - Onkar On Jan 19, 2008 10:14 AM, Todd Deshane <deshantm@gmail.com> wrote:> > > On Jan 17, 2008 4:22 PM, Huang,Wei <first_huang@yahoo.com> wrote: > > > hi all, > > > > i want to install xen3.1 on my system, suse linux > > enterprise server 10 SP1 (kernel 2.6.16.46-0.12). > > i download the tarball binary file. it contains only > > "vmlinuz-2.6.18-xen" and "xen-3.1.gz ", no initrd. but > > see the following code in my grub menu.lst, it seems > > like i need the initrd file. > > > > i tried the installation with this binary Tarball, it > > didn't work. > > > > this is the original code in menu.lst of GRUB: > > -------------------------------------------------- > > title SUSE Linux Enterprise Server 10 SP1 > > root (hd0,1) > > kernel /boot/vmlinuz-2.6.16.46-0.12-default > > root=/dev/sda2 vga=0x32b resume=/dev/sda1 > > splash=silent showopts > > initrd /boot/initrd-2.6.16.46-0.12-default > > -------------------------------------------------- > > > > i don't know what the problem is. So i want to install > > from source, and i want to build a xen linux kernel > > with the same kernel version of my suse > > (2.6.16.46-0.12). I looked up the xen manual, but it > > shows not enough details of the installation steps. > > > > Could you please tell me which steps shall i do in the > > installation? > > > > You should be able to create the initrd with a mkintrd or mkintramfs > command. > > The basic idea is to pass those commands the proper kernel version. The > kernel and the modules (that make up the initrd) need to make. So in your > case I would expect that you should be able to find the proper modules in > /lib/modules/2.6.18-xen. You then also need to pass the output file name as > the initrd file. (Note, typically the command takes on the 2.6.18-xen part > and not the /lib/modules part, as that is assumed. > > You should be able to find good examples of using the proper mkinitrd or > mkinitramfs command online and I believe they also explain that in the > README that comes with the binary package. > > Regards, > Todd > > > > > > > thanks a lot. > > > > best regards, > > Wei > > > > > > Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und > > viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Jan 19, 2008 4:57 AM, Onkar <onkar.n.m@gmail.com> wrote:> /lib/modules/2.6.18-xen ?? > > I am faced with the same problem .. on Debian system . How would i know > which modules to select as a part of initrd image .. Is there any way(tool) > to know those minimal set of modules or any kind of ''rule of thumb''. >A good rule of thumb is when running in the system that is or will be the domain0 do run the lsmod command to see what modules are loaded on your standard system without Xen-enabled. Doing a install either from source or packages should also put the xen kernel modules in /lib/modules. You can also check the downloaded binary or source package''s install directory to find out what it plans to install. Regards, Todd> - Onkar > > On Jan 19, 2008 10:14 AM, Todd Deshane <deshantm@gmail.com> wrote: > > > > > > > On Jan 17, 2008 4:22 PM, Huang,Wei <first_huang@yahoo.com> wrote: > > > > > hi all, > > > > > > i want to install xen3.1 on my system, suse linux > > > enterprise server 10 SP1 (kernel 2.6.16.46-0.12). > > > i download the tarball binary file. it contains only > > > "vmlinuz-2.6.18-xen" and "xen-3.1.gz ", no initrd. but > > > see the following code in my grub menu.lst, it seems > > > like i need the initrd file. > > > > > > i tried the installation with this binary Tarball, it > > > didn''t work. > > > > > > this is the original code in menu.lst of GRUB: > > > -------------------------------------------------- > > > title SUSE Linux Enterprise Server 10 SP1 > > > root (hd0,1) > > > kernel /boot/vmlinuz-2.6.16.46-0.12-default > > > root=/dev/sda2 vga=0x32b resume=/dev/sda1 > > > splash=silent showopts > > > initrd /boot/initrd-2.6.16.46-0.12-default > > > -------------------------------------------------- > > > > > > i don''t know what the problem is. So i want to install > > > from source, and i want to build a xen linux kernel > > > with the same kernel version of my suse > > > (2.6.16.46-0.12). I looked up the xen manual, but it > > > shows not enough details of the installation steps. > > > > > > Could you please tell me which steps shall i do in the > > > installation? > > > > > > > You should be able to create the initrd with a mkintrd or mkintramfs > > command. > > > > The basic idea is to pass those commands the proper kernel version. The > > kernel and the modules (that make up the initrd) need to make. So in your > > case I would expect that you should be able to find the proper modules in > > /lib/modules/2.6.18-xen. You then also need to pass the output file name as > > the initrd file. (Note, typically the command takes on the 2.6.18-xenpart and not the /lib/modules part, as that is assumed. > > > > You should be able to find good examples of using the proper mkinitrd or > > mkinitramfs command online and I believe they also explain that in the > > README that comes with the binary package. > > > > Regards, > > Todd > > > > > > > > > > > > thanks a lot. > > > > > > best regards, > > > Wei > > > > > > > > > Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies > > > und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks a lot. I tried the Tarball and rpm Package install, and generate initrd with "mkinitrd", but after reboot, the system can not be booted again. Is that because that mein SuseLinuxEntpriseServer10 SP1(kernel 2.6.16.46-0.12) can not directly use the XenKernel 2.6.18 ? my Suse is a Virtual Machine which created with VMware infrastrucuture from the Computer Center Server. Will that cause any problem? So i want to build a XenKernel from my suse kernel 2.6.16.46-0.12. But when i build from Xen3.1 source file with "make world" "make install", it generated still the XenKernel 2.6.18. Where can i costomize the settings so that it will generate XenKernel with my original suse kernel version? thanks Wei --- Todd Deshane <deshantm@gmail.com> schrieb:> On Jan 19, 2008 4:57 AM, Onkar <onkar.n.m@gmail.com> > wrote: > > > /lib/modules/2.6.18-xen ?? > > > > I am faced with the same problem .. on Debian > system . How would i know > > which modules to select as a part of initrd image > .. Is there any way(tool) > > to know those minimal set of modules or any kind > of ''rule of thumb''. > > > > A good rule of thumb is when running in the system > that is or will be the > domain0 do run the lsmod command to see what modules > are loaded on your > standard system without Xen-enabled. Doing a install > either from source or > packages should also put the xen kernel modules in > /lib/modules. You can > also check the downloaded binary or source package''s > install directory to > find out what it plans to install. > > Regards, > Todd > > > > > > - Onkar > > > > On Jan 19, 2008 10:14 AM, Todd Deshane > <deshantm@gmail.com> wrote: > > > > > > > > > > > On Jan 17, 2008 4:22 PM, Huang,Wei > <first_huang@yahoo.com> wrote: > > > > > > > hi all, > > > > > > > > i want to install xen3.1 on my system, suse > linux > > > > enterprise server 10 SP1 (kernel > 2.6.16.46-0.12). > > > > i download the tarball binary file. it > contains only > > > > "vmlinuz-2.6.18-xen" and "xen-3.1.gz ", no > initrd. but > > > > see the following code in my grub menu.lst, it > seems > > > > like i need the initrd file. > > > > > > > > i tried the installation with this binary > Tarball, it > > > > didn''t work. > > > > > > > > this is the original code in menu.lst of GRUB: > > > > > -------------------------------------------------- > > > > title SUSE Linux Enterprise Server 10 SP1 > > > > root (hd0,1) > > > > kernel /boot/vmlinuz-2.6.16.46-0.12-default > > > > root=/dev/sda2 vga=0x32b resume=/dev/sda1 > > > > splash=silent showopts > > > > initrd /boot/initrd-2.6.16.46-0.12-default > > > > > -------------------------------------------------- > > > > > > > > i don''t know what the problem is. So i want to > install > > > > from source, and i want to build a xen linux > kernel > > > > with the same kernel version of my suse > > > > (2.6.16.46-0.12). I looked up the xen manual, > but it > > > > shows not enough details of the installation > steps. > > > > > > > > Could you please tell me which steps shall i > do in the > > > > installation? > > > > > > > > > > You should be able to create the initrd with a > mkintrd or mkintramfs > > > command. > > > > > > The basic idea is to pass those commands the > proper kernel version. The > > > kernel and the modules (that make up the initrd) > need to make. So in your > > > case I would expect that you should be able to > find the proper modules in > > > /lib/modules/2.6.18-xen. You then also need to > pass the output file name as > > > the initrd file. (Note, typically the command > takes on the 2.6.18-xenpart and not the /lib/modules > part, as that is assumed. > > > > > > You should be able to find good examples of > using the proper mkinitrd or > > > mkinitramfs command online and I believe they > also explain that in the > > > README that comes with the binary package. > > > > > > Regards, > > > Todd > > > > > > > > > > > > > > > > > thanks a lot. > > > > > > > > best regards, > > > > Wei > > > > > > > > > > > > Jetzt Mails schnell in einem > Vorschaufenster überfliegen. Dies > > > > und viel mehr bietet das neue Yahoo! Mail - > www.yahoo.de/mail > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > >Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- M2N32, suse 10.3 and network problem
- SOLUTION - Compiled Kernel and modules for XEN3.1 on PowerEdge 1950
- configuration error while building lustre , please help !
- configuration error while building lustre , please help !
- [Fwd: error: this function is not supported by the connection driver : virConnectNumOfStoragePool]