Hi, i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. Has anyone twiddled a working kernel configuration for this hardware? i do have the linux-2.6.32-xen-r1 sources checked out by portage and tried some configurations. Olaf _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Apr 22, 2010 at 14:51, Olaf Krause <krause@okit.de> wrote:> Hi, > > i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. > > Has anyone twiddled a working kernel configuration for this hardware? > > i do have the linux-2.6.32-xen-r1 sources checked out by portage and tried > some configurations. > > OlafRed Hat / Centos 5.4 works on a HP DL385 G6 just out of the box. (Both standard and xen kernels.) I have one here, working fine, but with distro''s kernel + hypervisor, not the latest versions of them. I''m quite sure that kernel versions older than 2.6.28 doesn''t have the proper driver for disk controllers shipped with HP G6 servers. ( It works with 2.6.18 on Red Hat because they backport a bunch of things in order to support major vendors'' hardware. With Debian Lenny, I had to use a custom installation image (customized by a guy called K-Muto) with newer kernel (>=2.6.28) backported from testing/unstable. But in that case I''m not running Xen and I don''t know how would I do that. (There aren''t backported packages for Xen on Debian.) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thank you for that hint - i will give it a try. But still - Gentoo would be great, because the i have a very comfortable and stable Dom0 Linux-image here - only a proper kernel is missing. i''am not sticky to the linux-2.6.32-xen-r1 sources - it was just the latest kernel source package available, when i noticed, that the linux-2.6.29-xen-r4 sources i used previously did not work. i thought: new hardware may require new a kernel and new drivers. Am 22.04.2010 20:04, schrieb Edson Marquezani Filho:> On Thu, Apr 22, 2010 at 14:51, Olaf Krause<krause@okit.de> wrote: >> Hi, >> >> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. >> >> Has anyone twiddled a working kernel configuration for this hardware? >> >> i do have the linux-2.6.32-xen-r1 sources checked out by portage and tried >> some configurations. >> >> Olaf > > Red Hat / Centos 5.4 works on a HP DL385 G6 just out of the box. (Both > standard and xen kernels.) I have one here, working fine, but with > distro''s kernel + hypervisor, not the latest versions of them. > > I''m quite sure that kernel versions older than 2.6.28 doesn''t have the > proper driver for disk controllers shipped with HP G6 servers. ( It > works with 2.6.18 on Red Hat because they backport a bunch of things > in order to support major vendors'' hardware. > > With Debian Lenny, I had to use a custom installation image > (customized by a guy called K-Muto) with newer kernel (>=2.6.28) > backported from testing/unstable. But in that case I''m not running Xen > and I don''t know how would I do that. (There aren''t backported > packages for Xen on Debian.)_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 22 April 2010 19:51:07 Olaf Krause wrote:> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. > > Has anyone twiddled a working kernel configuration for this hardware?Im still working on my configuration on a G5 (DL 360 - 2x Intel XEON 5440 QC - 64bit / amd64 Gentoo - which should be very similiar in the driver requirements) but it still worked for me over several days under load: http://ftp.syndicat.com/pub/xen/tmp/config-2.6.31-xen-r11newsys This is a 2.6.31-xen-r11 one - in the current im migrating to 2.6.32 for further productional use. I''m able to boot XEN, use the KVM (USB HID) and to start several DomUs with that (without HVM - don''t need it). There might be still suboptimal settings for some reasons (i.e. udev compatibility etc.). If you are interested i will held you updated with further changes within this config. If you find some improvements on your side it would be nice to hear from you. ...good luck. best regards, Niels. -- --- Niels Dettenbach --- Syndicat IT&Internet http://www.syndicat.com T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE --- Kryptoinfo: PGP public key ID 651CA20D Fingerprint: 55E0 4DCD B04C 4A49 1586 88AE 54DC 4465 651C A20D https://syndicat.com/pub_key.asc --- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
very cool - thank you! i will build that config and report its G6 capabilities. Am 23.04.2010 11:20, schrieb Niels Dettenbach:> On Thursday 22 April 2010 19:51:07 Olaf Krause wrote: >> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. >> >> Has anyone twiddled a working kernel configuration for this hardware? > > Im still working on my configuration on a G5 (DL 360 - 2x Intel XEON 5440 QC - > 64bit / amd64 Gentoo - which should be very similiar in the driver > requirements) but it still worked for me over several days under load: > http://ftp.syndicat.com/pub/xen/tmp/config-2.6.31-xen-r11newsys > > This is a 2.6.31-xen-r11 one - in the current im migrating to 2.6.32 for > further productional use. > > I''m able to boot XEN, use the KVM (USB HID) and to start several DomUs with > that (without HVM - don''t need it). > > There might be still suboptimal settings for some reasons (i.e. udev > compatibility etc.). If you are interested i will held you updated with > further changes within this config. > > If you find some improvements on your side it would be nice to hear from you. > > > ...good luck. > best regards, > > > Niels._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
i tried an ''make mrproper'' followed by a ''make oldconfig'' with the downloaded config file (this is linux-2.6.32-xen-r1; the config file was a 2.6.31-xen-r11): -------- LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o (__xen_guest): unexpected non-allocatable section. Did you forget to use "ax"/"aw" in a .S file? Note that for example <linux/init.h> contains section definitions for use in .S files. GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 ld: kernel image bigger than KERNEL_IMAGE_SIZE ld: kernel image bigger than KERNEL_IMAGE_SIZE make: *** [.tmp_vmlinux1] Error 1 -------- That is what happened before also. But i keep trying. Am 23.04.2010 12:06, schrieb Olaf Krause:> very cool - thank you! > > i will build that config and report its G6 capabilities. > > Am 23.04.2010 11:20, schrieb Niels Dettenbach: >> On Thursday 22 April 2010 19:51:07 Olaf Krause wrote: >>> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. >>> >>> Has anyone twiddled a working kernel configuration for this hardware? >> >> Im still working on my configuration on a G5 (DL 360 - 2x Intel XEON >> 5440 QC - >> 64bit / amd64 Gentoo - which should be very similiar in the driver >> requirements) but it still worked for me over several days under load: >> http://ftp.syndicat.com/pub/xen/tmp/config-2.6.31-xen-r11newsys >> >> This is a 2.6.31-xen-r11 one - in the current im migrating to 2.6.32 for >> further productional use. >> >> I''m able to boot XEN, use the KVM (USB HID) and to start several DomUs >> with >> that (without HVM - don''t need it). >> >> There might be still suboptimal settings for some reasons (i.e. udev >> compatibility etc.). If you are interested i will held you updated with >> further changes within this config. >> >> If you find some improvements on your side it would be nice to hear >> from you. >> >> >> ...good luck. >> best regards, >> >> >> Niels. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Dipl.-Inform. Olaf Krause Geschäftsführer E-Mail: krause@okit.de Tel.: +49 (2339) 1208348 OKIT GmbH http://www.OKIT.de Weidenstr. 4a D-45549 Sprockhoevel Tel.: +49 (2339) 912161 Fax : +49 (2339) 912162 UStId-Nr. DE269995537 Amtsgericht Essen HRB 21985 Geschäftsführer: Olaf Krause _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Centos is running out of the box - that is right! Also my Gentoo DomU image runs perfectly under Xen, after some struggling with the network configuration for the four network devices of the HP. But now, trying to install a Windows XP or Windows 2000 seems to fail. I start a config file ''xm create win.config'' (appended to this mail). ''xm top'' says 100% CPU usage - even after one night. Trying to connect with a VNC viewer (UltraVNC Viewer) it states: ---- Server closed connection -The server running as application ---- i did not install Windows before, because my old HPs (their CPUs) do no not support the required emulation. This new HP should: ---- cat /proc/cpuinfo | grep vmx ---- flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8] ---- repeated 16 times ---- Is there any special trick installing Windows under Xen? ---- win.config ---- start ---- name = "WindowsXP" # uuid = "821cc805-ecc3-cc1a-20de-79d4bc99c134" maxmem = 1024 memory = 1024 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "dc" pae = 1 acpi = 0 apic = 0 localtime = 0 on_poweroff = "destroy" on_reboot = "destroy" on_crash = "restart" device_model = "/usr/lib/xen/bin/qemu-dm" sdl = 0 vnc = 1 # vncunused = 1 vnclisten = "0.0.0.0" vncpasswd = "changed" vncviewer = 0 usb = 0 stdvga = 0 # keymap = "de-de" disk = [ "file:/mnt/xen/xen-win.img,hda,w", "file:/mnt/xen/WinXP-Professional.iso,hdc:cdrom,r" ] # disk = [ "file:/mnt/xen/xen-win.img,hda,w", "file:/mnt/xen/windows2000.iso,hdc:cdrom,r" ] # vif = [ "mac=00:13:34:ae:70:3b,bridge=xenbr2" ] # vif = [ ''vifname=veth1'' ] # vif = [ ''type=ioemu'' ] vif = [ '''' ] serial = "pty" shadow_memory = 8 audio = 0 ---- win.config ---- end ---- Am 22.04.2010 20:04, schrieb Edson Marquezani Filho:> On Thu, Apr 22, 2010 at 14:51, Olaf Krause<krause@okit.de> wrote: >> Hi, >> >> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. >> >> Has anyone twiddled a working kernel configuration for this hardware? >> >> i do have the linux-2.6.32-xen-r1 sources checked out by portage and tried >> some configurations. >> >> Olaf > > Red Hat / Centos 5.4 works on a HP DL385 G6 just out of the box. (Both > standard and xen kernels.) I have one here, working fine, but with > distro''s kernel + hypervisor, not the latest versions of them. > > I''m quite sure that kernel versions older than 2.6.28 doesn''t have the > proper driver for disk controllers shipped with HP G6 servers. ( It > works with 2.6.18 on Red Hat because they backport a bunch of things > in order to support major vendors'' hardware. > > With Debian Lenny, I had to use a custom installation image > (customized by a guy called K-Muto) with newer kernel (>=2.6.28) > backported from testing/unstable. But in that case I''m not running Xen > and I don''t know how would I do that. (There aren''t backported > packages for Xen on Debian.)-- Dipl.-Inform. Olaf Krause Geschäftsführer E-Mail: krause@okit.de Tel.: +49 (2339) 1208348 OKIT GmbH http://www.OKIT.de Weidenstr. 4a D-45549 Sprockhoevel Tel.: +49 (2339) 912161 Fax : +49 (2339) 912162 UStId-Nr. DE269995537 Amtsgericht Essen HRB 21985 Geschäftsführer: Olaf Krause _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
i had no luck - sorry. It seems that Centos 5.4 runs out of the box: * it boots and * it starts my Gentoo DomU image Now i am struggling with a Windows installation. See my other mail in this thread... Am 23.04.2010 12:06, schrieb Olaf Krause:> very cool - thank you! > > i will build that config and report its G6 capabilities. > > Am 23.04.2010 11:20, schrieb Niels Dettenbach: >> On Thursday 22 April 2010 19:51:07 Olaf Krause wrote: >>> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. >>> >>> Has anyone twiddled a working kernel configuration for this hardware? >> >> Im still working on my configuration on a G5 (DL 360 - 2x Intel XEON >> 5440 QC - >> 64bit / amd64 Gentoo - which should be very similiar in the driver >> requirements) but it still worked for me over several days under load: >> http://ftp.syndicat.com/pub/xen/tmp/config-2.6.31-xen-r11newsys >> >> This is a 2.6.31-xen-r11 one - in the current im migrating to 2.6.32 for >> further productional use. >> >> I''m able to boot XEN, use the KVM (USB HID) and to start several DomUs >> with >> that (without HVM - don''t need it). >> >> There might be still suboptimal settings for some reasons (i.e. udev >> compatibility etc.). If you are interested i will held you updated with >> further changes within this config. >> >> If you find some improvements on your side it would be nice to hear >> from you. >> >> >> ...good luck. >> best regards, >> >> >> Niels. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Dipl.-Inform. Olaf Krause Geschäftsführer E-Mail: krause@okit.de Tel.: +49 (2339) 1208348 OKIT GmbH http://www.OKIT.de Weidenstr. 4a D-45549 Sprockhoevel Tel.: +49 (2339) 912161 Fax : +49 (2339) 912162 UStId-Nr. DE269995537 Amtsgericht Essen HRB 21985 Geschäftsführer: Olaf Krause _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Is there any special trick installing Windows under Xen? >Even though your processor has IV-T (Intel Virtualization Technology), it has to be enabled on BIOS. Did you check it out? Hypervisor info (xm info) teels you about full virtualization (HVM) support on your system. Look for "hvm" flags on "xen_caps". If you don''t have it, you wont''t be able to run Windows guests, so enable IV-T on BIOS and don''t forget that this operation requires a cold boot. Good luck. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
OK - we''re rolling :) Switching to a CentOS-local vncviewer and Xming oin Windows did it - there was nothing wrong with the Xen config file. It seems to me that UltraVNC is not able to connect successfully to the Xen guest''s vnc. Also i tried Xmins (no typo) with the CentOS vncviewer, which showed me the installer screen, but did not forward any key. Also 100% CPU seem to be OK for the Windows-installer on its first screen. Windows XP installed smoothly. Thanks for all the hints and tips. Olaf Am 28.04.2010 11:42, schrieb Olaf Krause:> Centos is running out of the box - that is right! > > Also my Gentoo DomU image runs perfectly under Xen, after some > struggling with the network configuration for the four network devices > of the HP. > > But now, trying to install a Windows XP or Windows 2000 seems to fail. > > I start a config file ''xm create win.config'' (appended to this mail). > > ''xm top'' says 100% CPU usage - even after one night. > Trying to connect with a VNC viewer (UltraVNC Viewer) it states: > ---- > Server closed connection > -The server running as application > ---- > > i did not install Windows before, because my old HPs (their CPUs) do no > not support the required emulation. > This new HP should: > ---- cat /proc/cpuinfo | grep vmx ---- > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts > acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc nonstop_tsc pni > monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm [8] > ---- repeated 16 times ---- > > Is there any special trick installing Windows under Xen? > > ---- win.config ---- start ---- > name = "WindowsXP" > # uuid = "821cc805-ecc3-cc1a-20de-79d4bc99c134" > maxmem = 1024 > memory = 1024 > vcpus = 1 > builder = "hvm" > kernel = "/usr/lib/xen/boot/hvmloader" > boot = "dc" > pae = 1 > acpi = 0 > apic = 0 > localtime = 0 > on_poweroff = "destroy" > on_reboot = "destroy" > on_crash = "restart" > device_model = "/usr/lib/xen/bin/qemu-dm" > sdl = 0 > vnc = 1 > # vncunused = 1 > vnclisten = "0.0.0.0" > vncpasswd = "changed" > vncviewer = 0 > usb = 0 > stdvga = 0 > # keymap = "de-de" > disk = [ "file:/mnt/xen/xen-win.img,hda,w", > "file:/mnt/xen/WinXP-Professional.iso,hdc:cdrom,r" ] > # disk = [ "file:/mnt/xen/xen-win.img,hda,w", > "file:/mnt/xen/windows2000.iso,hdc:cdrom,r" ] > # vif = [ "mac=00:13:34:ae:70:3b,bridge=xenbr2" ] > # vif = [ ''vifname=veth1'' ] > # vif = [ ''type=ioemu'' ] > vif = [ '''' ] > serial = "pty" > shadow_memory = 8 > audio = 0 > ---- win.config ---- end ---- > > Am 22.04.2010 20:04, schrieb Edson Marquezani Filho: >> On Thu, Apr 22, 2010 at 14:51, Olaf Krause<krause@okit.de> wrote: >>> Hi, >>> >>> i''am trying to build a Gentoo Dom0-kernel booting a HP DL380 G6. >>> >>> Has anyone twiddled a working kernel configuration for this hardware? >>> >>> i do have the linux-2.6.32-xen-r1 sources checked out by portage and >>> tried >>> some configurations. >>> >>> Olaf >> >> Red Hat / Centos 5.4 works on a HP DL385 G6 just out of the box. (Both >> standard and xen kernels.) I have one here, working fine, but with >> distro''s kernel + hypervisor, not the latest versions of them. >> >> I''m quite sure that kernel versions older than 2.6.28 doesn''t have the >> proper driver for disk controllers shipped with HP G6 servers. ( It >> works with 2.6.18 on Red Hat because they backport a bunch of things >> in order to support major vendors'' hardware. >> >> With Debian Lenny, I had to use a custom installation image >> (customized by a guy called K-Muto) with newer kernel (>=2.6.28) >> backported from testing/unstable. But in that case I''m not running Xen >> and I don''t know how would I do that. (There aren''t backported >> packages for Xen on Debian.) >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users