Hi, who can tell me, how I can use a newer Kernel for the current XEN Release 3.4.1 -pre3? Is there a way to do this. What needs to be done in details. Are there any howtos. Thanks. Cheers, Maik _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Maik Brauer schrieb:> who can tell me, how I can use a newer Kernel for the current XEN > Release 3.4.1 -pre3? > Is there a way to do this. What needs to be done in details. Are there > any howtos.I''m currently running Xen 3.4.1-rc2-pre with 2.6.29.4-xen. Just download the kernel.org-sources and patch them with: http://code.google.com/p/gentoo-xen-kernel/downloads/list Some hints: CONFIG_EMBEDDED=y CONFIG_DMI=n don''t try "patch -p1 --dry-run" it will fail. Just patch the sources. The attached config is running without problems (PV/HVM since weeks). Maybe you have to add "pci=nomsi", but I''m not sure if it''s still needed. And yes, it''s a backported xen.org-kernel. All credits go to Andrew Lyon, thanks! Have fun, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fabian, I''ve downloaded the "xen-patches-2.6.29-6.tar.bz2" and the kernel "linux-2.6.29.4.tar.gz". Then I patched the kernel with: bunzip2 -c /usr/src/xen- patches-2.6.29-6.tar.bz2 | patch -p1 After this I''ve compiled the xen-hypervisor with: "make install-xen" and installed the tools: "make install-tools" Then I updated the Grub "menu.lst" with the particular informations and I''ve created a RAMDISK via: "mkinitramfs -o /boot/initrd.2.6.29-6- xen 2.6.29.6" But after a reboot the system won''t come up. Can you please tell me if the steps were right and if the kernel source was the right one. Many Thanks. Cheers, Maik On Jun 16, 2009, at 10:32 PM, Fabian Zimmermann wrote:> Hi Maik Brauer schrieb: >> who can tell me, how I can use a newer Kernel for the current XEN >> Release 3.4.1 -pre3? >> Is there a way to do this. What needs to be done in details. Are >> there any howtos. > I''m currently running Xen 3.4.1-rc2-pre with 2.6.29.4-xen. > Just download the kernel.org-sources and patch them with: > > http://code.google.com/p/gentoo-xen-kernel/downloads/list > > Some hints: > > CONFIG_EMBEDDED=y > CONFIG_DMI=n > > don''t try "patch -p1 --dry-run" it will fail. Just patch the sources. > > The attached config is running without problems (PV/HVM since > weeks). Maybe you have to add > "pci=nomsi", but I''m not sure if it''s still needed. And yes, it''s a > backported xen.org-kernel. > > All credits go to Andrew Lyon, thanks! > > Have fun, > Fabian > <config-2009-06-16.gz>_______________________________________________ > 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
Hi Maik,> But after a reboot the system won''t come up. Can you please tell me if > the steps were right and if the kernel source was the right one.I tried to reproduce my steps: wget "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.5.tar.bz2" tar -xjf linux-2.6.29.5.tar.bz2 # Got some strange messages with your patch-cmd. wget "http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.29-6.tar.bz2" mkdir xen-patches; cd xen-patches tar -xjf ../xen-patches-2.6.29-6.tar.bz2 cd ../linux-2.6.29.5 cat ../xen-patches/600* | patch -p1 # copied my config (cp ../config.gz ./.config.gz; gzip -d .config.gz) #My config was created on amd64, so maybe here is the bug. Are you running x86_64? make oldconfig # should find nothing. make menuconfig # check if your hardware is enabled. make && make install && make modules_install update-initramfs -(c|u) -k 2.6.29.4-xen update-grub # DONE. Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fabian, I''m running on amd64, because I''ve Intel® Core™ i7-920 on board. I''ll try that out and let you know. Cheers, Maik On Jun 17, 2009, at 1:54 PM, Fabian Zimmermann wrote:> Hi Maik, > >> But after a reboot the system won''t come up. Can you please tell me >> if the steps were right and if the kernel source was the right one. > > I tried to reproduce my steps: > > wget "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.5.tar.bz2 > " > tar -xjf linux-2.6.29.5.tar.bz2 > > # Got some strange messages with your patch-cmd. > wget "http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.29-6.tar.bz2 > " > mkdir xen-patches; cd xen-patches > tar -xjf ../xen-patches-2.6.29-6.tar.bz2 > > cd ../linux-2.6.29.5 > cat ../xen-patches/600* | patch -p1 > > # copied my config (cp ../config.gz ./.config.gz; gzip -d .config.gz) > > #My config was created on amd64, so maybe here is the bug. Are you > running x86_64? > > make oldconfig # should find nothing. > > make menuconfig # check if your hardware is enabled. > > make && make install && make modules_install > > update-initramfs -(c|u) -k 2.6.29.4-xen > > update-grub > > # DONE. > > > Fabian > > > > > _______________________________________________ > 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