[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C192085.2090404@vlnb.net>
Date: Wed, 16 Jun 2010 23:05:41 +0400
From: Vladislav Bolkhovitin <vst@...b.net>
To: sparclinux@...r.kernel.org
CC: Simone Ricci <simone.ricci@...il.com>,
scst-devel@...ts.sourceforge.net,
linux-kernel <linux-kernel@...r.kernel.org>,
Nick Couchman <Nick.Couchman@...kr.com>
Subject: Error "Unknown relocation: 36" on module load on Sparc
Hello,
We in SCST project have a very strange problem on Sparc. Our main module
scst.ko, if built as a module out of the kernel tree, can't be loaded
and "modprobe scst" returns:
FATAL: Error inserting scst
(/lib/modules/2.6.26-2-sparc64/extra/scst.ko): Invalid module format
The following message is immediately spit out by the kernel:
[ 1686.676534] module scst: Unknown relocation: 36
On x86 everything works fine. If SCST built inside the kernel, on Sparc
it also works fine.
We completely stuck and have no idea what could be the cause. Googling
also doesn't help much.
Could anybody point out a direction how to find the cause of the issue?
I'm attaching Makefile we are using for you reference.
Thanks,
Vlad
View attachment "Makefile" of type "text/plain" (9189 bytes)
Powered by blists - more mailing lists