Hi Guys, Is there a way to get Xen PV-on-HVM drivers for Linux HVM guests working on ubuntu server 11.04 x86_64? I had a read of http://wiki.xensource.com/xenwiki/XenLinuxPVonHVMdrivers and found out: Quote: ------ "Xen PV-on-HVM drivers were merged to upstream kernel.org Linux 2.6.36, and various optimizations added in Linux 2.6.37" ------------- I assume this means that every kernel since 2.3.36 has the code merged in? I am using Ubuntu server on my Xen HVM VPS. It would be nice to use the PV drivers for HVM to take advantage of performance improvements. I am running a custom kernel 2.6.39.1 and have enabled Xen support in the kernel (under "Processor type and features" -> "Paravirtualized guest support" -> "Xen guest support" However it appears this is not working, it''s not using the PV-on-HVM drivers (still using the QEMU detected stuff). Quote: ------ root@srv:/usr/src/linux# dmesg | grep -i xen Linux version 2.6.39.1-customserver-xen (root@srv.mydomain.net) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #1 SMP PREEMPT Sun Jun 19 16:41:16 EST 2011 DMI: Xen HVM domU, BIOS 3.4.3 01/22/2011 ACPI: RSDP 00000000000ea020 00024 (v02 Xen) ACPI: XSDT 00000000fc006060 00034 (v01 Xen HVM 00000000 HVML 00000000) ACPI: FACP 00000000fc005ee0 000F4 (v04 Xen HVM 00000000 HVML 00000000) ACPI: DSDT 00000000fc002c40 0321F (v02 Xen HVM 00000000 INTL 20090220) ACPI: APIC 00000000fc005fe0 00080 (v02 Xen HVM 00000000 HVML 00000000) XENFS: not registering filesystem on non-xen platform Quote: ------ root@srv:/usr/src/linux# lspci | grep -i xen 00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01) is there extra kernel params needed to make this work? Any info to point me in the right direction appreciated. Thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jun 21, 2011 at 1:37 PM, Alex <alex@ahhyes.net> wrote:> Hi Guys, > > Is there a way to get Xen PV-on-HVM drivers for Linux HVM guests working on > ubuntu server 11.04 x86_64?It works. Sort of.> I am using Ubuntu server on my Xen HVM VPS. It would be nice to use the PV > drivers for HVM to take advantage of performance improvements. > > I am running a custom kernel 2.6.39.1 and have enabled Xen support in the > kernel (under "Processor type and features" -> "Paravirtualized guest > support" -> "Xen guest support" > > However it appears this is not working, it''s not using the PV-on-HVM drivers > (still using the QEMU detected stuff). > > Quote: > ------ > root@srv:/usr/src/linux# dmesg | grep -i xen > > Linux version 2.6.39.1-customserver-xen (root@srv.mydomain.net) (gcc version > 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #1 SMP PREEMPT Sun Jun 19 16:41:16 > EST 2011 > DMI: Xen HVM domU, BIOS 3.4.3 01/22/2011 > ACPI: RSDP 00000000000ea020 00024 (v02 Xen) > ACPI: XSDT 00000000fc006060 00034 (v01 Xen HVM 00000000 HVML 00000000) > ACPI: FACP 00000000fc005ee0 000F4 (v04 Xen HVM 00000000 HVML 00000000) > ACPI: DSDT 00000000fc002c40 0321F (v02 Xen HVM 00000000 INTL 20090220) > ACPI: APIC 00000000fc005fe0 00080 (v02 Xen HVM 00000000 HVML 00000000) > XENFS: not registering filesystem on non-xen platformThe trick is you need to make sure that xen-platform-pci is loaded BEFORE xen-blkfront loaded. This makes natty''s linux-image-virtual unusable for PVonHVM since xen-blkfront is compiled in, while xen-platform-pci is compiled as module. Using linux-image-server, and adding these entrie, make it work: # cat /etc/initramfs-tools/modules xen-platform-pci xen-blkfront Here''s the result: # dmesg | egrep -i "xen|blkfront" [ 0.000000] DMI: Xen HVM domU, BIOS 4.0.1-1.pv_ops.el5 01/13/2011 [ 0.000000] Hypervisor detected: Xen HVM [ 0.000000] Xen version 4.0. [ 0.000000] Xen Platform PCI: I/O protocol version 1 [ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. [ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen) [ 0.000000] ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] Xen HVM callback vector for event delivery is enabled [ 0.210018] Xen: using vcpuop timer interface [ 0.210029] installing Xen timer for CPU 0 [ 0.020000] installing Xen timer for CPU 1 [ 0.020000] installing Xen timer for CPU 2 [ 0.020000] installing Xen timer for CPU 3 [ 0.020000] installing Xen timer for CPU 4 [ 0.020000] installing Xen timer for CPU 5 [ 1.526585] Switching to clocksource xen [ 4.861230] xen-platform-pci 0000:00:03.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28 [ 5.006193] blkfront device/vbd/51712 num-ring-pages 1 nr_ents 32. [ 5.013080] blkfront: xvda: barriers enabled [ 5.038129] blkfront device/vbd/51728 num-ring-pages 1 nr_ents 32. [ 5.075300] blkfront: xvdb: barriers enabled [ 15.673938] Initialising Xen virtual ethernet driver. [ 22.996610] blkfront: xvda: empty write barrier op failed [ 22.996618] blkfront: xvda: barriers disabled # lsmod | grep xen xen_netfront 26568 0 xen_blkfront 22122 5 xenbus_probe_frontend 13194 2 xen_netfront,xen_blkfront,[permanent] xen_platform_pci 12836 0 [permanent] If you use custom kernel, either compile them all as builtin, or make sure xen-platform-pci is loaded. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Fajar, Thank you for your reply. I have tried including those modules into my initrd, however I am getting an error. I took a screenshot of the VNC session: http://ahhyes.net/xenerror.png Any ideas? On Tue, 21 Jun 2011 14:28:12 +0700, Fajar A. Nugraha wrote:> On Tue, Jun 21, 2011 at 1:37 PM, Alex <alex@ahhyes.net> wrote: >> Hi Guys, >> >> Is there a way to get Xen PV-on-HVM drivers for Linux HVM guests >> working on >> ubuntu server 11.04 x86_64? > > It works. Sort of. > >> I am using Ubuntu server on my Xen HVM VPS. It would be nice to use >> the PV >> drivers for HVM to take advantage of performance improvements. >> >> I am running a custom kernel 2.6.39.1 and have enabled Xen support >> in the >> kernel (under "Processor type and features" -> "Paravirtualized >> guest >> support" -> "Xen guest support" >> >> However it appears this is not working, it''s not using the PV-on-HVM >> drivers >> (still using the QEMU detected stuff). >> >> Quote: >> ------ >> root@srv:/usr/src/linux# dmesg | grep -i xen >> >> Linux version 2.6.39.1-customserver-xen (root@srv.mydomain.net) (gcc >> version >> 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #1 SMP PREEMPT Sun Jun 19 >> 16:41:16 >> EST 2011 >> DMI: Xen HVM domU, BIOS 3.4.3 01/22/2011 >> ACPI: RSDP 00000000000ea020 00024 (v02 Xen) >> ACPI: XSDT 00000000fc006060 00034 (v01 Xen HVM 00000000 HVML >> 00000000) >> ACPI: FACP 00000000fc005ee0 000F4 (v04 Xen HVM 00000000 HVML >> 00000000) >> ACPI: DSDT 00000000fc002c40 0321F (v02 Xen HVM 00000000 INTL >> 20090220) >> ACPI: APIC 00000000fc005fe0 00080 (v02 Xen HVM 00000000 HVML >> 00000000) >> XENFS: not registering filesystem on non-xen platform > > The trick is you need to make sure that xen-platform-pci is loaded > BEFORE xen-blkfront loaded. This makes natty''s linux-image-virtual > unusable for PVonHVM since xen-blkfront is compiled in, while > xen-platform-pci is compiled as module. Using linux-image-server, and > adding these entrie, make it work: > > # cat /etc/initramfs-tools/modules > xen-platform-pci > xen-blkfront > > Here''s the result: > > # dmesg | egrep -i "xen|blkfront" > [ 0.000000] DMI: Xen HVM domU, BIOS 4.0.1-1.pv_ops.el5 01/13/2011 > [ 0.000000] Hypervisor detected: Xen HVM > [ 0.000000] Xen version 4.0. > [ 0.000000] Xen Platform PCI: I/O protocol version 1 > [ 0.000000] Netfront and the Xen platform PCI driver have been > compiled for this kernel: unplug emulated NICs. > [ 0.000000] Blkfront and the Xen platform PCI driver have been > compiled for this kernel: unplug emulated disks. > [ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen) > [ 0.000000] ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM > 00000000 HVML 00000000) > [ 0.000000] ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM > 00000000 HVML 00000000) > [ 0.000000] ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM > 00000000 INTL 20090123) > [ 0.000000] ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM > 00000000 HVML 00000000) > [ 0.000000] Booting paravirtualized kernel on Xen > [ 0.000000] Xen HVM callback vector for event delivery is enabled > [ 0.210018] Xen: using vcpuop timer interface > [ 0.210029] installing Xen timer for CPU 0 > [ 0.020000] installing Xen timer for CPU 1 > [ 0.020000] installing Xen timer for CPU 2 > [ 0.020000] installing Xen timer for CPU 3 > [ 0.020000] installing Xen timer for CPU 4 > [ 0.020000] installing Xen timer for CPU 5 > [ 1.526585] Switching to clocksource xen > [ 4.861230] xen-platform-pci 0000:00:03.0: PCI INT A -> GSI 28 > (level, low) -> IRQ 28 > [ 5.006193] blkfront device/vbd/51712 num-ring-pages 1 nr_ents 32. > [ 5.013080] blkfront: xvda: barriers enabled > [ 5.038129] blkfront device/vbd/51728 num-ring-pages 1 nr_ents 32. > [ 5.075300] blkfront: xvdb: barriers enabled > [ 15.673938] Initialising Xen virtual ethernet driver. > [ 22.996610] blkfront: xvda: empty write barrier op failed > [ 22.996618] blkfront: xvda: barriers disabled > > > # lsmod | grep xen > xen_netfront 26568 0 > xen_blkfront 22122 5 > xenbus_probe_frontend 13194 2 > xen_netfront,xen_blkfront,[permanent] > xen_platform_pci 12836 0 [permanent] > > If you use custom kernel, either compile them all as builtin, or make > sure xen-platform-pci is loaded._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jun 22, 2011 at 2:13 PM, Alex <alex@ahhyes.net> wrote:> Hi Fajar, > > Thank you for your reply. I have tried including those modules into my > initrd, however I am getting an error. I took a screenshot of the VNC > session: > > http://ahhyes.net/xenerror.png > > Any ideas?That''s a weird screenshot. How can there be "dropping to a shell" line on the middle followed by a gPXE line? Anyway, The top line shows error inserting xen_platform_pci module. Fix that first. Not sure why it can happen though, probably some missing config option. Running "dmesg" on the busybox shell might give more information about why the module fails to load. I recommend you start with known working kernel (Natty''s linux-image-server). Once that works, try custom kernel, but start with the working kernel''s config. For reference, this is a snippet from Natty''s config-2.6.38-8-server: CONFIG_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=128 CONFIG_XEN_SAVE_RESTORE=y # CONFIG_XEN_DEBUG_FS is not set CONFIG_PCI_XEN=y CONFIG_XEN_PCIDEV_FRONTEND=m CONFIG_XEN_BLKDEV_FRONTEND=m CONFIG_NETXEN_NIC=m CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_XEN_KBDDEV_FRONTEND=m CONFIG_HVC_XEN=y CONFIG_XEN_FBDEV_FRONTEND=m CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XEN_BACKEND=y CONFIG_XENFS=m CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_XENBUS_FRONTEND=m CONFIG_XEN_GNTDEV=m CONFIG_XEN_PLATFORM_PCI=m CONFIG_SWIOTLB_XEN=y -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The PXE line is there due to some screen corruption that occurs in my VNC client occasionally. not sure why. Could the problem be happening because my VPS provider is using Xen 3.4.3 and not version 4 or better? The module is physically there, I checked in the busybox shell, if i try and insmod it, I get the "no such device". On Wed, 22 Jun 2011 14:20:57 +0700, Fajar A. Nugraha wrote:> On Wed, Jun 22, 2011 at 2:13 PM, Alex <alex@ahhyes.net> wrote: >> Hi Fajar, >> >> Thank you for your reply. I have tried including those modules into >> my >> initrd, however I am getting an error. I took a screenshot of the >> VNC >> session: >> >> http://ahhyes.net/xenerror.png >> >> Any ideas? > > That''s a weird screenshot. How can there be "dropping to a shell" > line > on the middle followed by a gPXE line? > > Anyway, > > The top line shows error inserting xen_platform_pci module. Fix that > first. Not sure why it can happen though, probably some missing > config > option. Running "dmesg" on the busybox shell might give more > information about why the module fails to load. > > I recommend you start with known working kernel (Natty''s > linux-image-server). Once that works, try custom kernel, but start > with the working kernel''s config. > > For reference, this is a snippet from Natty''s config-2.6.38-8-server: > > CONFIG_XEN=y > CONFIG_XEN_DOM0=y > CONFIG_XEN_PRIVILEGED_GUEST=y > CONFIG_XEN_PVHVM=y > CONFIG_XEN_MAX_DOMAIN_MEMORY=128 > CONFIG_XEN_SAVE_RESTORE=y > # CONFIG_XEN_DEBUG_FS is not set > CONFIG_PCI_XEN=y > CONFIG_XEN_PCIDEV_FRONTEND=m > CONFIG_XEN_BLKDEV_FRONTEND=m > CONFIG_NETXEN_NIC=m > CONFIG_XEN_NETDEV_FRONTEND=m > CONFIG_XEN_KBDDEV_FRONTEND=m > CONFIG_HVC_XEN=y > CONFIG_XEN_FBDEV_FRONTEND=m > CONFIG_XEN_BALLOON=y > CONFIG_XEN_SCRUB_PAGES=y > CONFIG_XEN_DEV_EVTCHN=m > CONFIG_XEN_BACKEND=y > CONFIG_XENFS=m > CONFIG_XEN_COMPAT_XENFS=y > CONFIG_XEN_SYS_HYPERVISOR=y > CONFIG_XEN_XENBUS_FRONTEND=m > CONFIG_XEN_GNTDEV=m > CONFIG_XEN_PLATFORM_PCI=m > CONFIG_SWIOTLB_XEN=y_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jun 22, 2011 at 2:26 PM, Alex <alex@ahhyes.net> wrote:> The PXE line is there due to some screen corruption that occurs in my VNC > client occasionally. not sure why. > Could the problem be happening because my VPS provider is using Xen 3.4.3 > and not version 4 or better? > > The module is physically there, I checked in the busybox shell, if i try and > insmod it, I get the "no such device".I never said the module wasn''t there. I said "probably some missing config option". My GUESS would be CONFIG_XEN_PVHVM and CONFIG_PCI_XEN. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Not sure what''s going on :( I tried a kernel rebuild using the config-2.6.38-8-server template. Same error upon boot as I am getting with my custom kernel. Could it be a Xen version issue? On Wed, 22 Jun 2011 14:38:12 +0700, Fajar A. Nugraha wrote:> On Wed, Jun 22, 2011 at 2:26 PM, Alex <alex@ahhyes.net> wrote: >> The PXE line is there due to some screen corruption that occurs in >> my VNC >> client occasionally. not sure why. >> Could the problem be happening because my VPS provider is using Xen >> 3.4.3 >> and not version 4 or better? >> >> The module is physically there, I checked in the busybox shell, if i >> try and >> insmod it, I get the "no such device". > > I never said the module wasn''t there. I said "probably some missing > config option". > > My GUESS would be CONFIG_XEN_PVHVM and CONFIG_PCI_XEN._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jun 22, 2011 at 4:49 PM, Alex <alex@ahhyes.net> wrote:> Not sure what''s going on :( > > I tried a kernel rebuild using the config-2.6.38-8-server template. Same > error upon boot as I am getting with my custom kernel. > > Could it be a Xen version issue?Perhaps. Before changing the Xen version (which you might not be able to do), can you try using linux-image-server instead to narrow down the problem? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The linux image server package you''re describing, is just the stock kernel that ships with Ubuntu server? root@srv:~# apt-cache search linux-image-server linux-image-server - Linux kernel image on Server Equipment. root@srv:~# apt-get install linux-image-server Reading package lists... Done Building dependency tree Reading state information... Done linux-image-server is already the newest version. I have a sneaky feeling that my VPS host isnt running a recent enough version. Is there any document that will confirm that version 4 and above is required for this to work? The module is being loaded and more or less saying "get lost, cant find the specific hardware I require". On Wed, 22 Jun 2011 17:04:05 +0700, Fajar A. Nugraha wrote:> On Wed, Jun 22, 2011 at 4:49 PM, Alex <alex@ahhyes.net> wrote: >> Not sure what''s going on :( >> >> I tried a kernel rebuild using the config-2.6.38-8-server template. >> Same >> error upon boot as I am getting with my custom kernel. >> >> Could it be a Xen version issue? > > Perhaps. > > Before changing the Xen version (which you might not be able to do), > can you try using linux-image-server instead to narrow down the > problem?_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
interestingly enough I have just been able to rule out it being a version issue. I have 2 VPS''s with the same company. both appear to be running Xen 3.4.3. I booted the debian 6 installer CD and jumped out to a shell during the install. It looks like it was able to detect and load the PV on HVM drivers ok. back to the dawing board it is then... On Thu, 23 Jun 2011 09:05:33 +1000, Alex wrote:> The linux image server package you''re describing, is just the stock > kernel that ships with Ubuntu server? > > root@srv:~# apt-cache search linux-image-server > linux-image-server - Linux kernel image on Server Equipment. > > root@srv:~# apt-get install linux-image-server > Reading package lists... Done > Building dependency tree > Reading state information... Done > linux-image-server is already the newest version. > > I have a sneaky feeling that my VPS host isnt running a recent enough > version. Is there any document that will confirm that version 4 and > above is required for this to work? The module is being loaded and > more or less saying "get lost, cant find the specific hardware I > require". > > > On Wed, 22 Jun 2011 17:04:05 +0700, Fajar A. Nugraha wrote: >> On Wed, Jun 22, 2011 at 4:49 PM, Alex <alex@ahhyes.net> wrote: >>> Not sure what''s going on :( >>> >>> I tried a kernel rebuild using the config-2.6.38-8-server template. >>> Same >>> error upon boot as I am getting with my custom kernel. >>> >>> Could it be a Xen version issue? >> >> Perhaps. >> >> Before changing the Xen version (which you might not be able to do), >> can you try using linux-image-server instead to narrow down the >> problem? > > > _______________________________________________ > 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 Thu, Jun 23, 2011 at 7:25 AM, Alex <alex@ahhyes.net> wrote:> interestingly enough I have just been able to rule out it being a version > issue. I have 2 VPS''s with the same company. both appear to be running Xen > 3.4.3. I booted the debian 6 installer CD and jumped out to a shell during > the install. It looks like it was able to detect and load the PV on HVM > drivers ok.So most likely is kernel issue :)> > back to the dawing board it is then... > > > On Thu, 23 Jun 2011 09:05:33 +1000, Alex wrote: >> >> The linux image server package you''re describing, is just the stock >> kernel that ships with Ubuntu server?Yes, although linux-image-server is just the metapackage. The actual package with the kernel is linux-image-2.6.38-8-server See http://packages.ubuntu.com/natty/linux-image-2.6.38-8-server -- Fajar>> >> root@srv:~# apt-cache search linux-image-server >> linux-image-server - Linux kernel image on Server Equipment. >> >> root@srv:~# apt-get install linux-image-server >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> linux-image-server is already the newest version.What''s on your /boot? It should already be there, ready to use. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am stumped. I am glad I have ruled out the issue being with the Xen version, which means it can be fixed with some perseverance. The annoying thing is that if I build the 2.6.39.1 kernel using the settings from the 2.6.38-8-server config template (which has almost every kernel option turned on in it (like most distro''s do with their stock kernels)), I have the same issue. Are you doing anything else special in your initramfs image? On Thu, 23 Jun 2011 08:01:39 +0700, Fajar A. Nugraha wrote:> On Thu, Jun 23, 2011 at 7:25 AM, Alex <alex@ahhyes.net> wrote: >> interestingly enough I have just been able to rule out it being a >> version >> issue. I have 2 VPS''s with the same company. both appear to be >> running Xen >> 3.4.3. I booted the debian 6 installer CD and jumped out to a shell >> during >> the install. It looks like it was able to detect and load the PV on >> HVM >> drivers ok. > > So most likely is kernel issue :) > >> >> back to the dawing board it is then... >> >> >> On Thu, 23 Jun 2011 09:05:33 +1000, Alex wrote: >>> >>> The linux image server package you''re describing, is just the stock >>> kernel that ships with Ubuntu server? > > Yes, although linux-image-server is just the metapackage. > The actual package with the kernel is linux-image-2.6.38-8-server > See http://packages.ubuntu.com/natty/linux-image-2.6.38-8-server > > -- > Fajar > >>> >>> root@srv:~# apt-cache search linux-image-server >>> linux-image-server - Linux kernel image on Server Equipment. >>> >>> root@srv:~# apt-get install linux-image-server >>> Reading package lists... Done >>> Building dependency tree >>> Reading state information... Done >>> linux-image-server is already the newest version. > > What''s on your /boot? It should already be there, ready to use._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jun 23, 2011 at 9:14 AM, Alex <alex@ahhyes.net> wrote:> I am stumped. I am glad I have ruled out the issue being with the Xen > version, which means it can be fixed with some perseverance. > > The annoying thing is that if I build the 2.6.39.1 kernel using the settings > from the 2.6.38-8-server config template (which has almost every kernel > option turned on in it (like most distro''s do with their stock kernels)), I > have the same issue. Are you doing anything else special in your initramfs > image?I use MODULES=DEP on /etc/initramfs-tools/initramfs.conf, but that shouldn''t matter. Then of course don''t forget to run update-initramfs afterwards. The resulting initrd is 3.0 MB. You didn''t say how it went with the stock 2.6.38-8-server (have you tried)? The reason I keep suggesting it is that it''s possible to have some features not working in a particular kernel version due to bugs/regression. Your result with Debian kernel also shows that the stock Debian kernel works, so I''m more inclined to think it''s a combination of config and kernel version, so better start with known working setup first. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Well, I have narrowed this down to the version of Xen that my VPS provider is running. It appears that any pv-on-hvm driver code in *recent* kernels requires Xen 4.0.1+. The reason why debian''s pv-on-hvm kernel worked when I tested on a spare VPS at the same provider is because it had an old kernel (2.6.32), a lot of pv-on-hvm driver bugs were fixed in 3.6.39 so it would be silly to downgrade my kernel in this case. I know this is off topic, however I will ask anyway (someone may have an answer). My VPS provider has no immediate plans to use Xen 4. I have checked with another VPS provider (linode) who are not using Xen 4 either. Can anyone suggest some VPS providers with USA point or presence that offers Xen HVM and is using a recent enough version of Xen? Cheers, Alex. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users