[Virtual-pkg-base-maintainers] Bug#809832: base: fails to inser modules ext2 or ext3

Santiago Vila sanvila at unex.es
Thu Sep 15 12:59:29 UTC 2016


On Thu, Sep 15, 2016 at 09:05:52AM -0300, Mario Pereyra wrote:

> The file "/lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko"
> is present (exist) in the file system and is a module file (as
> you can see in insmod command).
> 
> If the file does not exist, the response from insmod command
> is other (Error: could not load module ...: No such file or directory).
> But in this case this message is not present, otherwise the message
> is from libkmod and is stating it is failing to inset the module.
> 
> As you say, the message is stating (and I understand it correctly)
> that the file is not in the file system, but that is not true.

I can't reproduce what you reported in a newly installed Debian 7
system.

# modprobe -vv ext2
insmod /lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko 
libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context
0x7f713d6d51d0 released

Can you reproduce it in a newly installed Debian 7 system?


My guess is that the file is there but it's corrupted for whatever
reason, and that's why insmod can't load the module (I can agree that
the error message may be a little bit misleading).

You can check this easily:

# apt-get install debsums
# debsums linux-image-3.2.0-4-amd64 | grep ext2

and it should say this:

/lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko     OK

If it says this instead:

/lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko     FAILED

then you should definitely reinstall the package containing ext2.ko:

# dpkg -S /lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko 
linux-image-3.2.0-4-amd64:
/lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko
# apt-get --reinstall install linux-image-3.2.0-4-amd64


If reinstalling linux-image-3.2.0-4-amd64 does not solve the problem,
please try asking in debian-user, I'm just a random Debian maintainer
who happened to take a look at bugs reported against "base".

Thanks.



More information about the Virtual-pkg-base-maintainers mailing list