[opensuse-kernel] enable iommu on openSUSE 11.1/i586?
Hi, I'm desperately trying to get a pass through pci device to a 11.2 kvm instance going on a openSUSE 11.1/i586 host, which is a VT-d capable machine: Xeon X3460, Asus P7F-E motherboard, Intel 3420 PCH chipset, 12 GB Ram, with the relevant options enabled in BIOS of course... According to: http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM I need to enable the IOMMU, but no matter, what I provide as kernel parameter to iommu (or do not provide iommu at all), iommu keeps out of sight: ~# dmesg | grep -e DMAR -e IOMMU ACPI: DMAR BF78E0C0, 0090 (r1 AMI OEMDMAR 1 MSFT 97) Tentatively running a 11.2 x86_64 installation has it: ~# grep -e DMAR -e IOMMU /boot-11.2-x86_64.msg <4>[ 0.000000] ACPI: DMAR 00000000bf78e0c0 00090 (v01 AMI OEMDMAR 00000001 MSFT 00000097) <6>[ 0.046487] DMAR:Host address width 36 <6>[ 0.046491] DMAR:DRHD base: 0x000000fed90000 flags: 0x1 <6>[ 0.046499] IOMMU fed90000: ver 1:0 cap c90780106f0462 ecap f020e3 <6>[ 0.046502] DMAR:RMRR base: 0x000000000e4000 end: 0x000000000e7fff <6>[ 0.046506] DMAR:RMRR base: 0x000000bf7ec000 end: 0x000000bf7fffff Probably, the 11.1/x86_64 kernel has it, too. Do I have a chance to get this going with 11.1/i586 (e.g. with only a modified kernel)? Or is it possible to run an x86_64 kernel with a i586 userspace? Unfortunately, for some reason I have to avoid upgrading this system to 11.2 or x86_64 by all means. TIA, Pete -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Mon, 29 Mar 2010 21:49:01 +0200 "Hans-Peter Jansen" <hpj@urpla.net> wrote:
Or is it possible to run an x86_64 kernel with a i586 userspace?
Yes, this should work without problems. Everything else is a bug. Of course you get problems if you try the other way round ;)
Unfortunately, for some reason I have to avoid upgrading this system to 11.2 or x86_64 by all means.
Interesting. What are reasons nowadays to not use x86_64? BTW: my 11.1 /proc/config.gz (on x86_64) shows that all IOMMU options are enabled, but I cannot judge if it works, because my board does not seem to have one. -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
Hi Stefan, On Tuesday 30 March 2010, 08:07:19 Stefan Seyfried wrote:
On Mon, 29 Mar 2010 21:49:01 +0200
"Hans-Peter Jansen" <hpj@urpla.net> wrote:
Or is it possible to run an x86_64 kernel with a i586 userspace?
Yes, this should work without problems. Everything else is a bug. Of course you get problems if you try the other way round ;)
Okay, I'm going to try this.
Unfortunately, for some reason I have to avoid upgrading this system to 11.2 or x86_64 by all means.
Interesting. What are reasons nowadays to not use x86_64?
In one word: recreance. This is the one and only stage before hitting a heavily hammered production system in a company, that feeds many families including my own. Needless to say, both serve a quite complex setup (ldap, database, nfs server) with all the evil stuff running (VMware-Server, ancient basic interpreter with relational database kernel driving an mission critical order system, lots of bells and whistles). This company is driven by Unix since 20 years, and by SuSE-Linux since 13 years (including fat diskless SuSE desktop setup also running VMware WinBlows instances). No desktop ever saw a harddisk except a single Win95 test system (that soon failed miserably..). Excuse my degression, please (but a little historical feedback doesn't harm, does it?) I always need to balance the contradiction of decrufting and conservative modification policy. Thus I'm willing to change kernels. Before switching the userspace, I have to get rid from the VMware cruft (it's sucking rocks, anyway..), get the XP instances running smoothly with kvm, and get the basic dbms build and running on 64 bit (every major gcc release results in major hassles to get this beast compiled properly again..).
BTW: my 11.1 /proc/config.gz (on x86_64) shows that all IOMMU options are enabled, but I cannot judge if it works, because my board does not seem to have one.
Cool, sounds nice. BTW, I've an experimental 2.6.33.1 build running on BS, is there a proper way to build a 64 bit kernel in a 32 bit environment (I try to not upset zypper and keep general "zypper dup" applicability)? Thanks, Pete -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Hans-Peter Jansen
-
Stefan Seyfried