>>> On Thu, Nov 29, 2007 at  6:52 PM, in message
<[EMAIL PROTECTED]>, Wayne Driscoll
<[EMAIL PROTECTED]> wrote: 
> I have SLES10 installed in a guest under z/VM.  When issuing uname -r, I
> get 
> 2.6.16.21-0.8-default
> So I downloaded the 2.6.16.21 kernel source.

Um, from where?  kernel.org?  You should use the kernel source that comes with 
your distribution.

> I built a module using
> that build tree, but when I run insmod to install it, I get the
> following:
> insmod: error inserting 'hwmod.ko': -1 Invalid module format
> When I look at /var/log/messages, I see the following:
> kernel: hwmod: disagrees about version of symbol struct_module
> How can I determine what versions I need to get this to work?

I think that's a result of you not using the kernel-source RPM from Novell.  
I'm not _sure_ of that, but that would be good first step to see if the problem 
goes away.  I would recommend, however, using the latest kernel and kernel 
source available, 2.6.16.53-0.18.  2.6.16.21-0.8 is from back in 2006.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to