mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next-20090220: insmod: -1 Invalid module format
@ 2009-02-20 13:29 Tetsuo Handa
  2009-02-20 14:54 ` richard kennedy
  0 siblings, 1 reply; 3+ messages in thread
From: Tetsuo Handa @ 2009-02-20 13:29 UTC (permalink / raw)
  To: sfr, linux-kernel

I can't load kernel module for linux-next-200902{18,19,20} .
linux-next-20090217 was OK.

-----
Linux version 2.6.29-rc5-next-20090220 (root@tomoyo) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #2 SMP PREEMPT Fri Feb 20 21:20:01 JST 2009
(...snipped...)
Red Hat nash version 5.1.19.6 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading usbcore.ko module
insmod: error inserting '/lib/usbcore.ko': -1 Invalid module format
Loading ehci-hcd.ko module
(...snipped...)
insmod: error inserting '/lib/ide-gd_mod.ko': -1 Invalid module format
Waiting for driver initialization.
stabilized: open /proc/scsi/scsi: No such file or directory
Scanning and configuring dmraid supported devices
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
init used greatest stack depth: 1344 bytes left
Kernel panic - not syncing: Attempted to kill init!
-----

Config is at http://I-love.SAKURA.ne.jp/tmp/config-next-20090220

Regards.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next-20090220: insmod: -1 Invalid module format
  2009-02-20 13:29 linux-next-20090220: insmod: -1 Invalid module format Tetsuo Handa
@ 2009-02-20 14:54 ` richard kennedy
  2009-02-20 22:37   ` Tetsuo Handa
  0 siblings, 1 reply; 3+ messages in thread
From: richard kennedy @ 2009-02-20 14:54 UTC (permalink / raw)
  To: Tetsuo Handa; +Cc: sfr, linux-kernel

Tetsuo Handa wrote:
> I can't load kernel module for linux-next-200902{18,19,20} .
> linux-next-20090217 was OK.
> 
> -----
> Linux version 2.6.29-rc5-next-20090220 (root@tomoyo) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #2 SMP PREEMPT Fri Feb 20 21:20:01 JST 2009
> (...snipped...)
> Red Hat nash version 5.1.19.6 starting
> Mounting proc filesystem
> Mounting sysfs filesystem
> Creating /dev
> Creating initial device nodes
> Setting up hotplug.
> Creating block device nodes.
> Loading usbcore.ko module
> insmod: error inserting '/lib/usbcore.ko': -1 Invalid module format
> Loading ehci-hcd.ko module
> (...snipped...)
> insmod: error inserting '/lib/ide-gd_mod.ko': -1 Invalid module format
> Waiting for driver initialization.
> stabilized: open /proc/scsi/scsi: No such file or directory
> Scanning and configuring dmraid supported devices
> Creating root device.
> Mounting root filesystem.
> mount: could not find filesystem '/dev/root'
> Setting up other filesystems.
> Setting up new root fs
> setuproot: moving /dev failed: No such file or directory
> no fstab.sys, mounting internal defaults
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> Switching to new root and running init.
> unmounting old /dev
> unmounting old /proc
> unmounting old /sys
> switchroot: mount failed: No such file or directory
> init used greatest stack depth: 1344 bytes left
> Kernel panic - not syncing: Attempted to kill init!
> -----
> 
> Config is at http://I-love.SAKURA.ne.jp/tmp/config-next-20090220
> 
> Regards.

I've just had the same problem.

It seems to be CONFIG_MODVERSIONS that causes this problem. I unset it
in my config & everything works now. I see that you've got it set as
well, so you could try removing it.

regards
Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next-20090220: insmod: -1 Invalid module format
  2009-02-20 14:54 ` richard kennedy
@ 2009-02-20 22:37   ` Tetsuo Handa
  0 siblings, 0 replies; 3+ messages in thread
From: Tetsuo Handa @ 2009-02-20 22:37 UTC (permalink / raw)
  To: richard; +Cc: sfr, linux-kernel

richard kennedy wrote:
> Tetsuo Handa wrote:
> > I can't load kernel module for linux-next-200902{18,19,20} .
> > linux-next-20090217 was OK.
> 
> I've just had the same problem.
> 
> It seems to be CONFIG_MODVERSIONS that causes this problem. I unset it
> in my config & everything works now. I see that you've got it set as
> well, so you could try removing it.
> 
Changing CONFIG_MODVERSIONS to N solved the problem.

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-20 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-20 13:29 linux-next-20090220: insmod: -1 Invalid module format Tetsuo Handa
2009-02-20 14:54 ` richard kennedy
2009-02-20 22:37   ` Tetsuo Handa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome