View previous topic :: View next topic |
Author |
Message |
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Thu Sep 18, 2003 2:34 pm Post subject: Modprobe |
|
|
Hi guys
ive just installed *well reinstalled gentoo see https://forums.gentoo.org/viewtopic.php?t=84893* and everything is working great, just merging xfree, but ive got a really annoying problem, i keep getting constant messages saying modprobe cant find various modules for scanners and printers and such like. the reason is i didnt install those modules but i think gentoo is trying to connect to the networks printers etc *would it do that ? im on a corp network* but more importantly how can i stop it from trying to load modules without me asking it to. i also got modprobe errors on boot about various modules that i know i dont need, reason i didnt compile them *cant remember the names of them right now* but what i want to know is how can or what are the files to edit to change what modules are loaded etc ??
thanks alot everyone _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
Dracnor Guru
Joined: 08 Jun 2003 Posts: 397 Location: Pennsylvania
|
Posted: Thu Sep 18, 2003 3:06 pm Post subject: |
|
|
/etc/modules.autoload.d/kernel#
you can edit in there. What version kernel are you running? |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Thu Sep 18, 2003 6:04 pm Post subject: |
|
|
Dracnor wrote: | /etc/modules.autoload.d/kernel#
you can edit in there. What version kernel are you running? |
thanks, ive left work now ill check it out tomorrow
its gentoo-sources 2.4.20-r7, why you asking?not a problem is it?
and no thats not the file either i checked that before i left work _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
huge n00b
Joined: 25 Jun 2002 Posts: 6 Location: Tokyo
|
Posted: Fri Sep 19, 2003 12:54 am Post subject: |
|
|
No help to offer... I'm having the same problem with the latest gentoo-sources kernel since I installed 2 days ago.
I had modprobe erros ("modprobe can't find module... which is needed for...") on boot, ie before login, but I fixed those after reading a post, by adding support for 'real time clock', (from memory..) and recompiling the kernel. That fixed the boot errors and now I can log in as root error free,
BUT... when I log in as a user I get more than a screen full of the same kind of modprobe erros.. all stuff I know I didn't include in the kernel config. Sorry, at work now where I'm forced to use another OS so I can't give details of the errors, but I thought the fact that I only get these errors when I login as a user, while logging in as root gives no errors, might give someobody with more knowledge a clue... _________________ "Quotes are for idiots" |
|
Back to top |
|
|
smith Apprentice
Joined: 12 Sep 2003 Posts: 222
|
Posted: Fri Sep 19, 2003 2:32 am Post subject: |
|
|
I got those errors too.. I just assumed I messed something up everything still seems to run fine.. its just annoying. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Fri Sep 19, 2003 10:50 am Post subject: |
|
|
damn least i know im not the only 1 its still annoying as hell thou, all my errors refer to scanners and such like. im running r7 at home and not noticed any errors like this, but i was running r6 before but this machine at work its a fresh r7. i hate it when this happens, fix 1 thing and you break another *blaming myself not linux here * _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Fri Sep 19, 2003 12:32 pm Post subject: |
|
|
huge wrote: | No help to offer... I'm having the same problem with the latest gentoo-sources kernel since I installed 2 days ago.
I had modprobe erros ("modprobe can't find module... which is needed for...") on boot, ie before login, but I fixed those after reading a post, by adding support for 'real time clock', (from memory..) and recompiling the kernel. That fixed the boot errors and now I can log in as root error free,
BUT... when I log in as a user I get more than a screen full of the same kind of modprobe erros.. all stuff I know I didn't include in the kernel config. Sorry, at work now where I'm forced to use another OS so I can't give details of the errors, but I thought the fact that I only get these errors when I login as a user, while logging in as root gives no errors, might give someobody with more knowledge a clue... |
where abouts in the config is that realtime clock? i get the same. is this your first kernel you have built for gentoo?
i cant find where all these modprobes are coming from, there must be a service running trying to find them, its trying to find modules like rio500 and usb/scanner, i know ive not put anything like that into the kernel its bloody weird.
EDIT
these are the messages and modprobes its trying to find
Code: | login(pam_unix)[3260]: session opened for user sandman by (uid=0)
modprobe: Can't locate module /dev/floppy
modprobe: Can't locate module fd[0-1]* which is needed for /dev/fd[0-1]*
modprobe: Can't locate module /dev/floppy
modprobe: Can't locate module midi* which is needed for /dev/midi*
modprobe: Can't locate module midi* which is needed for /dev/midi*
modprobe: Can't locate module sequencer* which is needed for /dev/sequencer*
modprobe: Can't locate module /dev/beep
modprobe: Can't locate module admm* which is needed for /dev/admm*
modprobe: Can't locate module adsp* which is needed for /dev/adsp*
modprobe: Can't locate module adsp* which is needed for /dev/adsp*
modprobe: Can't locate module aload* which is needed for /dev/aload*
modprobe: Can't locate module amidi* which is needed for /dev/amidi*
modprobe: Can't locate module amidi* which is needed for /dev/amidi*
modprobe: Can't locate module dmfm* which is needed for /dev/dmfm*
modprobe: Can't locate module vtx* which is needed for /dev/vtx*
modprobe: Can't locate module vbi* which is needed for /dev/vbi*
modprobe: Can't locate module /dev/video
modprobe: Can't locate module /dev/vttuner
modprobe: Can't locate module /dev/apm_bios
pam_console[712]: getgrnam failed for cdwriter
modprobe: Can't locate module * which is needed for /dev/scsi/*
modprobe: Can't locate module * which is needed for /dev/scsi/*
modprobe: Can't locate module * which is needed for /dev/scsi/*
modprobe: Can't locate module * which is needed for /dev/scsi/*
modprobe: Can't locate module scd* which is needed for /dev/scd*
modprobe: Can't locate module sg* which is needed for /dev/sg*
modprobe: Can't locate module pcd* which is needed for /dev/pcd*
modprobe: Can't locate module pg* which is needed for /dev/pg*
modprobe: Can't locate module /dev/cdwriter
modprobe: Can't locate module * which is needed for /dev/scsi/*
modprobe: Can't locate module dabusb* which is needed for /dev/usb/dabusb*
modprobe: Can't locate module mdc800* which is needed for /dev/usb/mdc800*
modprobe: Can't locate module /dev/usb/rio500
modprobe: Can't locate module ttyUSB* which is needed for /dev/ttyUSB* |
EDIT its weird when i used 1.4rc4 i never had any problems like this but since i changed to 1.4, least on this machine ive had nothing but problems, gentoo also feels different. would it matter if i just used 1.4 rc4 for install instead of 1.4? _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
Dracnor Guru
Joined: 08 Jun 2003 Posts: 397 Location: Pennsylvania
|
Posted: Fri Sep 19, 2003 3:05 pm Post subject: |
|
|
OK,
I tried to upgrade to r7 on my gateway/firewall machine, and I am having the same problem. (I did not have any issues with modprobe/insmod with r5, but after the upgrade now I am). Not too sure what the problem is. I'm upgrading the system right now emerge -u world --deep. Hopefully this will modify some of base layouts/headers so modprobe will start working again If anyone else has any insight please let us know. Thanks. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Fri Sep 19, 2003 3:30 pm Post subject: |
|
|
Dracnor wrote: | OK,
I tried to upgrade to r7 on my gateway/firewall machine, and I am having the same problem. (I did not have any issues with modprobe/insmod with r5, but after the upgrade now I am). Not too sure what the problem is. I'm upgrading the system right now emerge -u world --deep. Hopefully this will modify some of base layouts/headers so modprobe will start working again If anyone else has any insight please let us know. Thanks. |
ditto, is this a bug? should we file it in the bugreport?
EDIT btw i found this https://forums.gentoo.org/viewtopic.php?t=40567&postdays=0&postorder=asc&start=0 _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
Dracnor Guru
Joined: 08 Jun 2003 Posts: 397 Location: Pennsylvania
|
Posted: Fri Sep 19, 2003 6:09 pm Post subject: |
|
|
Have you tried upgrading/downgrading the devfsd? The other thread suggested this, and I haven't had a chance to try it. As soon as my emerge world finishes I will take a look at it (assuming it's not fixed by then). If devfsd is the problem then gentoo-sources-r7 should have the correct devfsd as a dependency/requirement. |
|
Back to top |
|
|
d3c3it l33t
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Fri Sep 19, 2003 6:33 pm Post subject: |
|
|
Dracnor wrote: | Have you tried upgrading/downgrading the devfsd? The other thread suggested this, and I haven't had a chance to try it. As soon as my emerge world finishes I will take a look at it (assuming it's not fixed by then). If devfsd is the problem then gentoo-sources-r7 should have the correct devfsd as a dependency/requirement. |
yea ive tired, same sthing. its quite strange thou ive got a laptop at home *using right now* running r7, was using r3 then r5 then r6 now r7 and thats not got any errors, least not yet *heres hoping* also ive noticed on the works machine when i logon or logout its got pam in the logout etc if you know what i mean, my home install doesnt _________________ Some people go to counselling,
others use linux |
|
Back to top |
|
|
jonfr Veteran
Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Wed Sep 24, 2003 10:26 am Post subject: |
|
|
I got the same errors, execpt they only seems too happen when I start X, i don't know why the reasion but I did install gentoo from stage1, it asks for the followning at least by modprobe
I get this Code: |
modprobe: Can't locate module /dev/apm_bios
|
I did try to fix it by adding apm module into kernel-2.4 autoload module, but that doesn't seems too fix it, it also comes whit same module problem whit dsp, and so on, I'm not sure why what is the problem, but I have been trying too recompile my kernel too fix this problem, no luck so far. ~I will look better at it when I get home, found this, maybe part of the problem ? not sure tugh, but this only happens after I start X server for some reasion, anyone else seen that ? (I did edit this post)
https://bugs.gentoo.org/show_bug.cgi?id=17319
Last edited by jonfr on Wed Sep 24, 2003 11:07 am; edited 1 time in total |
|
Back to top |
|
|
Floyd n00b
Joined: 21 Sep 2003 Posts: 22 Location: Lisbon, Portugal
|
Posted: Wed Sep 24, 2003 10:49 am Post subject: |
|
|
i have the same problem with modprobe, but mine just doesnt load mousedev. I've seen some workarounds here @ the forum, like add the mousedev module @ /etc/hotplug/blacklist. I even tried to recompile the kernel (2.4.20-gentoo-r7)with all the modules i needed for an usb mouse and still nothing.
I think i'll try out 1.4-rc4.. |
|
Back to top |
|
|
|