* 2.5.49 module problem
@ 2002-11-27 0:40 Adam K Kirchhoff
2002-11-27 1:53 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Adam K Kirchhoff @ 2002-11-27 0:40 UTC (permalink / raw)
To: linux-kernel
Hello all.
Sorry to bother everyone with what is probably a stupid user error, but in
case it's not I thought I should post my problem to the list.
I recently upgraded my motherboard to one with an ICH4 IDE controller.
Since it's not supported in 2.4.*, yet, I decided now would be a good time
to try the 2.5.* series.
I grabbed 2.5.49, configured a new kernel, built the kernel and modules.
Once done, I installed the modules (make modules_install), copied the
bzImage and System.map to /boot and rebooted into single user mode.
Everything seems fine except for one issue: I can't load any modules.
depmod gives:
QM_MODULES: Function not implemented
insmod does the same.
Now, all my googling has turned up are a couple of other users who have
had the problem. But, in those cases, it's a result of the kernel not
being compiled to support modules. This is definatley not the case this
time. Here are the pertinant lines of my .config file:
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_KMOD=y
And, of course, my /lib/modules/2.5.49/kernel directory is full of all the
modules I compiled.
Any idea what the problem might be? Is this a problem with the kernel or
a problem with the user? If it's something stupid I'm doing, please
enlighten me.
BTW, this happens with both modutils from Mandrake 9.0 (2.4.19) and the
most recent version (2.4.22).
Thanks :-)
Adam
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.49 module problem
2002-11-27 0:40 2.5.49 module problem Adam K Kirchhoff
@ 2002-11-27 1:53 ` Alan Cox
2002-11-27 4:35 ` Young-Ho Cha
0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2002-11-27 1:53 UTC (permalink / raw)
To: Adam K Kirchhoff; +Cc: Linux Kernel Mailing List
On Wed, 2002-11-27 at 00:40, Adam K Kirchhoff wrote:
>
> Hello all.
>
> Sorry to bother everyone with what is probably a stupid user error, but in
> case it's not I thought I should post my problem to the list.
>
> I recently upgraded my motherboard to one with an ICH4 IDE controller.
> Since it's not supported in 2.4.*, yet, I decided now would be a good time
2.4.20-rc4 should handle your ICH4 fine
2.5.49 needs new very different module tools
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.49 module problem
2002-11-27 1:53 ` Alan Cox
@ 2002-11-27 4:35 ` Young-Ho Cha
2002-11-27 11:00 ` Alex Riesen
2002-11-27 13:03 ` Alan Cox
0 siblings, 2 replies; 6+ messages in thread
From: Young-Ho Cha @ 2002-11-27 4:35 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
On Wed, Nov 27, 2002 at 01:53:28AM +0000, Alan Cox wrote:
> On Wed, 2002-11-27 at 00:40, Adam K Kirchhoff wrote:
> >
> > Hello all.
> >
> > Sorry to bother everyone with what is probably a stupid user error, but in
> > case it's not I thought I should post my problem to the list.
> >
> > I recently upgraded my motherboard to one with an ICH4 IDE controller.
> > Since it's not supported in 2.4.*, yet, I decided now would be a good time
>
> 2.4.20-rc4 should handle your ICH4 fine
>
> 2.5.49 needs new very different module tools
>
I use rusty's module init tools with modutils 2.4.22.
But many modules cannot load.
attach some list of modules that kernel cannot load.
[-- Attachment #2: test.log --]
[-- Type: text/plain, Size: 1612 bytes --]
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/ac97_codec.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/core.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/exportfs.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/g450_pll.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/gameport.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/matroxfb_DAC1064.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/matroxfb_Ti3026.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/matroxfb_accel.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/matroxfb_g450.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/matroxfb_misc.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/mii.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/p8022.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/sb_lib.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/snd-seq-midi-event.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/uart6850.o: Invalid argument
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/usbvideo.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/v4l2-common.o: Invalid module format
FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/video-buf.o: Invalid module format
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.49 module problem
2002-11-27 4:35 ` Young-Ho Cha
@ 2002-11-27 11:00 ` Alex Riesen
2002-11-27 13:03 ` Alan Cox
1 sibling, 0 replies; 6+ messages in thread
From: Alex Riesen @ 2002-11-27 11:00 UTC (permalink / raw)
To: Young-Ho Cha; +Cc: linux-kernel
On Wed, Nov 27, 2002 at 01:35:32PM +0900, Young-Ho Cha wrote:
> > > I recently upgraded my motherboard to one with an ICH4 IDE controller.
> > > Since it's not supported in 2.4.*, yet, I decided now would be a good time
> > 2.5.49 needs new very different module tools
> >
> I use rusty's module init tools with modutils 2.4.22.
> But many modules cannot load.
> attach some list of modules that kernel cannot load.
> FATAL: Error inserting /lib/modules/2.5.49-ac2/kernel/ac97_codec.o: Invalid module format
see http://marc.theaimsgroup.com/?l=linux-kernel&m=103815193017700&w=2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.49 module problem
2002-11-27 4:35 ` Young-Ho Cha
2002-11-27 11:00 ` Alex Riesen
@ 2002-11-27 13:03 ` Alan Cox
1 sibling, 0 replies; 6+ messages in thread
From: Alan Cox @ 2002-11-27 13:03 UTC (permalink / raw)
To: Young-Ho Cha; +Cc: Linux Kernel Mailing List
On Wed, 2002-11-27 at 04:35, Young-Ho Cha wrote:
> I use rusty's module init tools with modutils 2.4.22.
>
> But many modules cannot load.
>
> attach some list of modules that kernel cannot load.
Rusty's code has a design flaw and demands a "no_modules_init" clause.
When this is fixed in the kernel tree/tools the problem will go away.
Since the problem is clearly a modules one I don't plan to fix the -ac
drivers.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: 2.5.49 module problem
@ 2002-11-27 1:07 Dino Klein
0 siblings, 0 replies; 6+ messages in thread
From: Dino Klein @ 2002-11-27 1:07 UTC (permalink / raw)
To: adamk; +Cc: linux-kernel
I went through the same problem. as of 2.5.48, the old modutils don't work,
and you need to grab the new stuff from the link below.
when you install them, they will rename the old insmod/rmmod/modprobe to
*.old.
if you drop down to 2.4 again, then the new utils will simply call the old
ones, so it is pretty transparent.
I really don't know where it's written about this change, but I went through
a lot of pain to find this out. perhaps I just missed the obvious in some
readme file...
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-11-27 12:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-27 0:40 2.5.49 module problem Adam K Kirchhoff
2002-11-27 1:53 ` Alan Cox
2002-11-27 4:35 ` Young-Ho Cha
2002-11-27 11:00 ` Alex Riesen
2002-11-27 13:03 ` Alan Cox
2002-11-27 1:07 Dino Klein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®