Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel ohne Module - Warnmeldung von modprobe
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Thu Aug 12, 2004 9:04 pm    Post subject: Kernel ohne Module - Warnmeldung von modprobe Reply with quote

Hallo,

mein Kernel ist ohne Module kompiliert, und regelmäßig werden meine Logfiles durch Meldungen der Art

Code:
[modprobe] FATAL: Could not load /lib/modules/2.6.7-hardened-r7/modules.dep: No such file or directory_


überschwemmt - welcher Dienst könnte dahinterstecken, und vor allem: Warum wird nach der Datei gesucht, wenn der Kernel ohne Module kompiliert wurde?
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Fri Aug 13, 2004 9:39 am    Post subject: Reply with quote

http://www.lugbz.org/documents/smart-questions_de.html#before
http://www.google.de/search?hl=de&ie=UTF-8&q=modprobe+FATAL%3A+Could+not+load+modules.dep&btnG=Suche&meta=
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Aug 13, 2004 11:47 am    Post subject: Reply with quote

Danke, aber die ersten 15 Ergebnisse des hilfreichen Links haben mir nur einen Workaround geliefert, keinen Grund fuer die Ursache... :( Das man die Fehlermeldung durch Erzeugen einer leeren Datei vermeidet, ist ja klar, die Frage ist jedoch: Warum wird nach der Datei gesucht, wenn der Kernel ohne Modulunterstuetzung kompiliert wurde, und welches Skript ist dafuer verantwortlich und ueberschwemmt meine Logfiles? Ich finde es etwas unbefriedigend, bei jedem Kernel-Update ein Verzeichnis und eine Dummy-Datei anlegen zu muessen, nur um meine Logfiles sauber zu halten.
Back to top
View user's profile Send private message
ruth
Retired Dev
Retired Dev


Joined: 07 Sep 2003
Posts: 640
Location: M / AN / BY / GER

PostPosted: Fri Aug 13, 2004 2:09 pm    Post subject: Reply with quote

hi,
der grund _könnte_ der devfs sein...
Code:

Q: But udev will not automatically load a driver if a /dev node is opened
   when it is not present like devfs will do.
A: If you really require this functionality, then use devfs.  It is still
   present in the kernel.

sieht also so aus, dass devfs automatisch modprobed... ;)
weiter gehts:
Code:

Q: But I love that feature of devfs, please?
A: The devfs approach caused a lot of spurious modprobe attempts as
   programs probed to see if devices were present or not.  Every probe
   attempt created a process to run modprobe, almost all of which were
   spurious.

hmmm, versuchs mal mit udev... ;)


gruss
rootshell
_________________
"The compiler has tried twice to abort and cannot do so; therefore, compilation will now terminate."
-- IBM PL/I (F) error manual
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Aug 13, 2004 3:35 pm    Post subject: Reply with quote

Oki, danke dafuer, das koennte der Uebeltaeter sein - ich werd's testen.
Back to top
View user's profile Send private message
dannycool
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 111
Location: Karlsruhe Germany

PostPosted: Fri Aug 13, 2004 7:28 pm    Post subject: Reply with quote

Ja der devfsd macht sowas... bei mir (ohne Module, ohne modutils):

Code:
vella devfsd[14899]: error execing: "/sbin/modprobe"    No such file or directory


Das kann aber alles auskonfiguriert werden.
Back to top
View user's profile Send private message
superuser1
n00b
n00b


Joined: 29 Dec 2004
Posts: 3
Location: earth

PostPosted: Wed Dec 29, 2004 1:52 am    Post subject: Reply with quote

Hi...

da ich auch mal auf das Problem gestossen bin - hier die Lösung (nur der Vollständigkeit halber):

Editiere die Datei /etc/devfsd.conf und ändere
Code:
# Enable module autoloding. You may comment this out if you don't use
# autoloading
LOOKUP          .*         MODLOAD

in
Code:
# Enable module autoloding. You may comment this out if you don't use
# autoloading
#LOOKUP          .*         MODLOAD

Ab dem nächsten Reboot verschwinden die Fehlermeldungen in /var/log/messages sowie Bootvorgang.

:roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum