[lkml]   [2008]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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- and kernel-smp- 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 >>

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