[opensuse] Executable build on Opensuse 11.2 desktop version NOT working on server/default version
Hi All,
As per Andreas suggestion forwarding this mail chain below to the group.
Please correct me if I am wrong or unclear in the details given below.
Regards,
Deva.
============================================================================================================
Hi Andreas,
Thanks a lot for the response.
What I presume (rather what I see in the net) is there are two flavors
of opensuse "Desktop version" and "Server Version".
Also I presume that the differentiation between this is shown in the
output of uname -a
Eg: In uname -a outputs below
(1) shows "-desktop" indicating desktop version
(2) shows "-default" indicating server version.
-----------------------------------------------------------------------------------------------------------------------------
(1) 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100
x86_64 x86_64 x86_64 GNU/Linux
(2) 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 x86_64
x86_64 x86_64 GNU/Linux
-----------------------------------------------------------------------------------------------------------------------------
But both are opensuse 11.2 kernel version "2.6.12-0.2"
The error when executable is run:
speb20:~ # /usr/local/bin/chem_sli.ko.1
-bash: /usr/local/bin/chem_sli.ko.1: cannot execute binary file
speb20:~ #
dmesg output is below
[77179.616965] chem_sli: disagrees about version of symbol module_layout
[77227.253793] chem_sli: disagrees about version of symbol module_layout
Let me know if you need any other details.
Regards,
Deva.
On Tue, Jul 6, 2010 at 8:17 PM, Andreas Jaeger
Hi All,
An executable build on Opensuse 11.2 desktop version NOT working on server/default version (Though even the kernel version is same).
What do you mean with server/default version? Just the -default kernel but otherwise the same openSUSE 11.2?
The build system is "2.6.31.12-0.2-*desktop* #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux".
The system on which the exe is not working is "2.6.31.12-0.2-*default* #1 SMP 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux".
Would like to know why this happens and is there any method to resolve the same.
How does it fail? What error message do you get? What does dmesg show when the application fails? Andreas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 06 July 2010 20:00:29 Devarajan Narayanan wrote:
Hi All,
As per Andreas suggestion forwarding this mail chain below to the group. Please correct me if I am wrong or unclear in the details given below.
Regards, Deva.
======================================================================== ==================================== Hi Andreas,
Thanks a lot for the response.
What I presume (rather what I see in the net) is there are two flavors of opensuse "Desktop version" and "Server Version".
No, it's one flavor - but two different kernels.
Also I presume that the differentiation between this is shown in the output of uname -a Eg: In uname -a outputs below (1) shows "-desktop" indicating desktop version (2) shows "-default" indicating server version. ------------------------------------------------------------------------ ----------------------------------------------------- (1) 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux (2) 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux ------------------------------------------------------------------------ ----------------------------------------------------- But both are opensuse 11.2 kernel version "2.6.12-0.2"
The error when executable is run: speb20:~ # /usr/local/bin/chem_sli.ko.1 -bash: /usr/local/bin/chem_sli.ko.1: cannot execute binary file speb20:~ #
dmesg output is below [77179.616965] chem_sli: disagrees about version of symbol module_layout [77227.253793] chem_sli: disagrees about version of symbol module_layout
So, the binary uses a kernel module called chem_sli and that one was build on the desktop version. If you want to run it on the default kernel, you need to create a kernel module that works with the default kernel. Kernel modules are kernel specific. I suggest to read the following page on how to create a proper kernel module package: http://en.opensuse.org/Kernel_Module_Packages Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On 06/07/10 20:52, Andreas Jaeger wrote: [...]
I suggest to read the following page on how to create a proper kernel module package: http://en.opensuse.org/Kernel_Module_Packages
By the way: Should this article not be imported (with history [mostly http://en.opensuse.org/User:Garloff] or if that is not possible: in the copy-and-past way) to the new wiki-wiki (namespace SDB?) Greetings pistazienfresser -- - openSUSE 11.2 with GNOME 2.28.2 (or KDE 4.3.5) and Kernel Linux 2.6.31.12-0.2-default (or pae, Ubuntu 10.4 LTS 'lucid' 2.6.33-22-genetic, MS Win XP) - Samsung X20 (SX20S) with Pentium M 740 (1730 MHz), Intel graphic 915GM, 1400x1050 - openSUSE profile: https://users.opensuse.org/show/pistazienfresser -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andreas Jaeger
-
Devarajan Narayanan
-
pistazienfresser