View previous topic :: View next topic |
Author |
Message |
schachti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17240378884464519a52d60.jpg)
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Thu Aug 12, 2004 9:04 pm Post subject: Kernel ohne Module - Warnmeldung von modprobe |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
slick Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/155298905545589d9986ab5.gif)
Joined: 20 Apr 2003 Posts: 3495
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
schachti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17240378884464519a52d60.jpg)
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Fri Aug 13, 2004 11:47 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ruth Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Fri Aug 13, 2004 2:09 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
schachti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17240378884464519a52d60.jpg)
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Fri Aug 13, 2004 3:35 pm Post subject: |
|
|
Oki, danke dafuer, das koennte der Uebeltaeter sein - ich werd's testen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dannycool Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/32270035541ea9500e38ca.jpg)
Joined: 13 Aug 2004 Posts: 111 Location: Karlsruhe Germany
|
Posted: Fri Aug 13, 2004 7:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
superuser1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2004 Posts: 3 Location: earth
|
Posted: Wed Dec 29, 2004 1:52 am Post subject: |
|
|
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.
![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|