Mailinglist Archive: opensuse (1897 mails)

< Previous Next >
Re: [opensuse] Executable build on Opensuse 11.2 desktop version NOT working on server/default version
  • From: Andreas Jaeger <aj@xxxxxxxxxx>
  • Date: Tue, 6 Jul 2010 20:52:19 +0200
  • Message-id: <201007062052.20304.aj@xxxxxxxxxx>
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.


==================================== 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) #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64
x86_64 x86_64 GNU/Linux
(2) #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:

Andreas Jaeger, Program Manager openSUSE, aj@{,}
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
< Previous Next >
Follow Ups