Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28831 - module-init-tools 0.9.14 fails to load "external modules"
Summary: module-init-tools 0.9.14 fails to load "external modules"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-15 19:31 UTC by André Lemos
Modified: 2003-09-17 14:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output from nvidia module load failure (nvidia_module.bz2,1.03 KB, application/octet-stream)
2003-09-16 04:17 UTC, Jonathan Heaney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Lemos 2003-09-15 19:31:17 UTC
I've just upgraded do 2.6.0-test5-mm2 and also module-init-tools to 0.9.14 and
compiled the nvidia driver for this new version. When I tried to start X after
the reboot I got the message that the /dev for nvidia couldn't be found, so I
tried to load the kernel mode manually but with no sucess. Even giving the full
path, or running depmod always returned me a NOT FOUND kind of error.

Downgrading to module-init-tools 0.9.13_pre2 solved my problem.
Comment 1 SpanKY gentoo-dev 2003-09-15 20:01:47 UTC
please post actual output of the command and/or anything in `dmesg`
Comment 2 merwan kashouty 2003-09-15 21:18:19 UTC
same here ... running  0.9.14 fails to find /dev/nvidiactl reverting to .12-r1 here so as not to get that modprobe spam
Comment 3 Jonathan Heaney 2003-09-16 03:44:55 UTC
Same problem here with 0.9.14.  nvidia kernel driver fails to load at boot, so X doesn't start.  From the terminal, running "modprobe nvidia" gives the output "FATAL: Module nvidia not found.".  There is nothing in dmesg about the module load failure.

To get the nvidia module to load, I have to go to /lib/modules/2.6.0-test5/video and do an "insmod nvidia.o".
Comment 4 SpanKY gentoo-dev 2003-09-16 03:52:14 UTC
someone run `strace -f modprobe <module>` and bzip2 it and post it here
Comment 5 Jonathan Heaney 2003-09-16 04:17:23 UTC
Created attachment 17796 [details]
strace output from nvidia module load failure
Comment 6 Andrew Bevitt 2003-09-16 17:41:37 UTC
Just tested across three beta kernels, love, mm, and development, all fail to load nvida with module-init-tools-0.9.14, with earlier versions nvidia loads fine. Problem looks like it exists there.
Comment 7 Stuart Bouyer 2003-09-16 18:35:54 UTC
Got the same problem here with development-sources-2.6.0-test3-bk3, It appears that modules-init-tools-0.9.14 will only work with modules with .ko endings.

When depmod -a was run there was no nvidia module found, but after ln -s nvidia.o nvidia.ko and re-running depmod -a, modprobe was able to find the nvidia modules and loaded it properly, was actually going to report this as a bug in nvidia-kernel till I saw this bug.

Work around: rename or link nvidia.o to nvidia.ko

Stu
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-17 13:44:36 UTC
From the ChangeLog:

  o depmod: Remove old compat code to recognise ".o" and ".klm" as modules.

To be honest, I forgot about this change ... I will add the code back but
maybe with a warning so that we can fix things.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-17 14:07:06 UTC
Fixed in 0.9.15_pre1.