What is the best kernel to run? is it better to run 3.4.4 or one from xen git? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Thu, 2012-07-12 at 16:07 -0400, jacek burghardt wrote:> What is the best kernel to run? is it better to run 3.4.4 or one from > xen git?For almost al users the best kernel to use is the one provided by your distro. If your distro doesn''t supply one then you should consider another distro ;-) (I think there''s a list on the wiki for both domU and dom0 support) If you really want to build your own kernel then the latest stable upstream release is usually the obvious choice. Ian.
Hi, Just touching on this subject. I have just compiled xen and kernel from sources (xen 4.1.2 and kernel 3.4.4) running on CentOS 6.3. I have got the server up and running in XEN mode but am having problems getting a para domU to boot from the kernel. I initially copied a domU kernel (2.6.18-8) over from another server which has been running fine for DomUs but the main OS is Debian. When I run either the older kernel of newer kernel for DomU I get xenbus waiting for devices to initialise 295s...290s ive tried different variations using hda1, xvda1 etc but none seem to work yet the 2.6.18-8 kernel works fine for DomUs on the Debian OS server using hda1 as the root and all I have done is copied over the domU config. Any ideas? Thanks Ian BTW I need to come back to the PV grub problem but that can wait. -----Original Message----- From: xen-users-bounces@lists.xen.org [mailto:xen-users-bounces@lists.xen.org] On Behalf Of Ian Campbell Sent: 12 July 2012 21:16 To: jacek burghardt Cc: xen-users Subject: Re: [Xen-users] best kernel On Thu, 2012-07-12 at 16:07 -0400, jacek burghardt wrote:> What is the best kernel to run? is it better to run 3.4.4 or one from > xen git?For almost al users the best kernel to use is the one provided by your distro. If your distro doesn''t supply one then you should consider another distro ;-) (I think there''s a list on the wiki for both domU and dom0 support) If you really want to build your own kernel then the latest stable upstream release is usually the obvious choice. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
----- Original Message ----- From: Ian Tobin <itobin@tidyhosts.com> To: Ian Campbell <ian.campbell@citrix.com>; jacek burghardt <jaceksburghardt@gmail.com> Cc: xen-users <xen-users@lists.xen.org> Sent: Thursday, July 12, 2012 1:30 PM Subject: Re: [Xen-users] best kernel Hi, Just touching on this subject. I have just compiled xen and kernel from sources (xen 4.1.2 and kernel 3.4.4) running on CentOS 6.3. I have got the server up and running in XEN mode but am having problems getting a para domU to boot from the kernel. I initially copied a domU kernel (2.6.18-8) over from another server which has been running fine for DomUs but the main OS is Debian. When I run either the older kernel of newer kernel for DomU I get xenbus waiting for devices to initialise 295s...290s ive tried different variations using hda1, xvda1 etc but none seem to work yet the 2.6.18-8 kernel works fine for DomUs on the Debian OS server using hda1 as the root and all I have done is copied over the domU config. Any ideas? Thanks Ian BTW I need to come back to the PV grub problem but that can wait. ------------------------- The usual trouble with the latest vanilla kernel (unless make all xen modules static) is to load the xen modules at startup. ------------- script --------- cat>>/etc/rc.modules<<EOL modprobe xen-gntdev # modprobe xen-evtchn # modprobe xen-gntalloc # modprobe xenfs # modprobe xen-pciback # modprobe xen-privcmd # modprobe xen-blkback # #xen-blkfront.ko #xen-netfront.ko # modprobe xen-netback.ko # EOL ----------------- snip ------ Where the list of modules can be found like this: find /lib/modules/$(uname -r) -name "xen*.ko" | grep -o "xen[^/]*\.ko$" | sed "s/.ko$//" ^^or 3.4* -- Mark
Sorry, where is that supposed to be run, in the DomU? -----Original Message----- From: Mark Pryor [mailto:tlviewer@yahoo.com] Sent: 12 July 2012 22:36 To: Ian Tobin Cc: xen-users Subject: Re: [Xen-users] best kernel ----- Original Message ----- From: Ian Tobin <itobin@tidyhosts.com> To: Ian Campbell <ian.campbell@citrix.com>; jacek burghardt <jaceksburghardt@gmail.com> Cc: xen-users <xen-users@lists.xen.org> Sent: Thursday, July 12, 2012 1:30 PM Subject: Re: [Xen-users] best kernel Hi, Just touching on this subject. I have just compiled xen and kernel from sources (xen 4.1.2 and kernel 3.4.4) running on CentOS 6.3. I have got the server up and running in XEN mode but am having problems getting a para domU to boot from the kernel. I initially copied a domU kernel (2.6.18-8) over from another server which has been running fine for DomUs but the main OS is Debian. When I run either the older kernel of newer kernel for DomU I get xenbus waiting for devices to initialise 295s...290s ive tried different variations using hda1, xvda1 etc but none seem to work yet the 2.6.18-8 kernel works fine for DomUs on the Debian OS server using hda1 as the root and all I have done is copied over the domU config. Any ideas? Thanks Ian BTW I need to come back to the PV grub problem but that can wait. ------------------------- The usual trouble with the latest vanilla kernel (unless make all xen modules static) is to load the xen modules at startup. ------------- script --------- cat>>/etc/rc.modules<<EOL modprobe xen-gntdev # modprobe xen-evtchn # modprobe xen-gntalloc # modprobe xenfs # modprobe xen-pciback # modprobe xen-privcmd # modprobe xen-blkback # #xen-blkfront.ko #xen-netfront.ko # modprobe xen-netback.ko # EOL ----------------- snip ------ Where the list of modules can be found like this: find /lib/modules/$(uname -r) -name "xen*.ko" | grep -o "xen[^/]*\.ko$" | sed "s/.ko$//" ^^or 3.4* -- Mark
Hi all One reason to use the 3.4.4 would be getting domU with huge memory. The limit for domU memory is 128Gb with the 3.2 kernel (the Debian wheezy kernel), 500Gb with the 3.4.4 kernel. You can recompile and run the 3.4.4 kernel and still use the debian-distributed Xen package. Regards, -- Emmanuel COURCELLE emmanuel.courcelle@toulouse.inra.fr L.I.P.M. (UMR CNRS-INRA 2594/441) tel (33) 5-61-28-54-50 I.N.R.A. - 24 chemin de Borde Rouge - Auzeville CS52627 - 31326 CASTANET TOLOSAN Cedex - FRANCE