[opensuse-autoinstall] Autoinstall and multiple compiler -> kernel module can not be build
Hi, I tried to do an auto install of SLES 12SP1. I created a local repository with additional compiler (gcc 5,6,7,8 ...). The installation is working. But when I try to install our file system software (Quantum stornext), the kernel module is build successful, but can not be loaded (exe format error...). Now I tried the same installation without the gcc source and everything is working. I installed gcc8 +gfortran8. beside the normal cc and c++ and all the updates for SLES12SP1(without kernel updates). Any idea what's going wrong in this case ? -- Bye, Peer ________________________________________________________ Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10 Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705
On Thu, Nov 29, 2018 at 03:57:05PM +0100, Dr. Peer-Joachim Koch wrote:
I tried to do an auto install of SLES 12SP1. I created a local repository with additional compiler (gcc 5,6,7,8 ...). The installation is working. But when I try to install our file system software (Quantum stornext), the kernel module is build successful, but can not be loaded (exe format error...).
Out of curiosity.. why SP1? It's over a year out of general support already.
Now I tried the same installation without the gcc source and everything is working. I installed gcc8 +gfortran8. beside the normal cc and c++ and all the updates for SLES12SP1(without kernel updates). Any idea what's going wrong in this case ?
It sounds like you might be building against one kernel source while running a different kernel that you're trying to load it into though. As a first stab at a cause. Or, an older gcc is being used during build that is doing something wrong. -- Mike Marion-Unix SysAdmin/Sr. Staff IT Engineer-http://www.qualcomm.com-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
OK, I have done some steps, but still do not understand whats going on: Doing an installation *without* the HPC source is working. I can add the repository, install the updates (included ind the HPC source) and the gcc8 compiler and everything is fine. Activating the HPC source while the system is running the autoyast breaks it. What's the different doing a "zypper ar blah && zypper ref && zypper up" or adding the source and run everything ? Any idea ? Meanwhile I'll check to modifiy my post installation script ;) Bye, Peer On 29.11.18 15:57, Dr. Peer-Joachim Koch wrote:
Hi,
I tried to do an auto install of SLES 12SP1. I created a local repository with additional compiler (gcc 5,6,7,8 ...). The installation is working. But when I try to install our file system software (Quantum stornext), the kernel module is build successful, but can not be loaded (exe format error...).
Now I tried the same installation without the gcc source and everything is working. I installed gcc8 +gfortran8. beside the normal cc and c++ and all the updates for SLES12SP1(without kernel updates).
Any idea what's going wrong in this case ?
-- Mit freundlichen Grüßen, Peer-Joachim Koch ________________________________________________________ Max-Planck-Institut für Biogeochemie Dr. Peer-Joachim Koch Hans-Knöll Str.10 Telefon: ++49 3641 57-6705 D-07745 Jena Telefax: ++49 3641 57-7705
participants (2)
-
Dr. Peer-Joachim Koch
-
Mike Marion