lkml.org 
[lkml]   [2008]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject"Invalid module format" after recompiling kernel without changing .config - why?
Summary for impatient ones - how to extract struct_module data from both kernel and modules to find out what disagreement described below is really about?

Long story - I've got few machines with closed-source modules and urgent need for cutting few things out of stock kernel. As Suse, like every vendor, provides source for their kernel (rpms kernel-source-2.6.16.21-0.8 and kernel-smp-2.6.16.21-0.8 respectively) everything looks simple - installing fresh machine with no updates (SLES10 GA in my case), grabbing .config from /proc/config.gz and make bzImage with no single change should bring me the kernel with is compatible with the shipped one. But it isn't. No single module works after that. Here is what I get after my try:

fat: disagrees about version of symbol struct_module

uname -a is exactly the same. modinfo data are exactly the same. .config is exactly the same. Gcc major version is also the same. But modules from stick kernel still does not load when running recompiled kernel and, after forcing that, they simply crash, so that's not cosmetic complain. So what's going on? Am I missing something here? Is there a way to extract mode data from kernel and modules to check what is this disagreement about struct_module about?

----------------------------------------------------------------------
Drogowa Mapa Polski GPS w Twoim telefonie!
Pobierz >> http://link.interia.pl/f1f0a



\
 
 \ /
  Last update: 2008-09-12 12:27    [W:0.023 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site