LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2007, 09:55 PM   #16
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556

Hummmm... OK, well it seems I am not *quite* the moron I thought I was :S
I think I may have found a bug, but I'm not sure exactly with 'what'. I have now recompiled the very same kernel about 10 times or more in the last 24 hours.. At the last going-off, here's what I have seemingly determined (and yes I need further testing to be 100% certain) but what I AM certain of now, is that I did not neglect to load the config file (er, well maybe I did once or twice, but that is not the problem).

With two otherwise identical kernels:
Kernel A - uses deadline IO scheduler and voluntary preemption.
Kernel B - uses Anticipatory IO scheduler and full preemption (low-latency desktop)

The kernels are otherwise 100% identical. The modem driver will compile, install and modprobe perfectly on Kernel A. It will NOT modprobe on kernel B.

I took Kernel A, compiled it fresh, rebooted, put the video driver in, got on the desktop, and built and installed the modem driver. Modprobe worked perfectly.
Then I went to the kernel source, did make clean, make mrproper, make xconfig, loaded the SAME configuration file I saved from building Kernel A, changed the IO scheduler and Kernel preemption, saved, made, made modules, LILO, reboot, install video driver, go to desktop, build modem driver, install, WON'T modprobe - Invalid Module Format.

Besides the obvious, of changing only ONE of these 2 things and going thru this again, I'd appreciate any recomendations as to what if anything I should do before becoming certain this IS a bug somewhere? I'd like to prove it one way or the other.
 
Old 08-04-2007, 05:40 AM   #17
code933k
Member
 
Registered: Aug 2007
Location: Bogotá, Colombia. South America
Distribution: ArchLinux / Source Mage GNU Linux (test branch) / openSUSE
Posts: 130

Rep: Reputation: Disabled
Just try re-compiling/re-installing those modules. Probably there are some undesirable effects due to the elimination of the previous I/O scheduler (there are a lot of urban-myths around this but that should probably solve your problem).

If the problem persists, leave the .config alone and do the exchange of schedulers through Grub or Lilo.

Of course, I assume you are sure that you don't had misplaced your fingers. Good Luck.

Last edited by code933k; 08-04-2007 at 05:47 AM.
 
  


Reply

Tags
mystery



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe ndiswrapper = error / invalid module format Orangutanklaus Slackware 2 12-29-2006 11:30 AM
modprobe problem: Error inserting ndiswrapper.ko Invalid module format Antarctica Linux - Hardware 8 11-25-2006 04:04 PM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 07:29 AM
Invalid module format in modprobe asus_acpi kampret77 Linux - Laptop and Netbook 0 04-24-2006 11:56 AM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration