View previous topic :: View next topic |
Author |
Message |
pazz Apprentice
Joined: 01 Dec 2002 Posts: 283
|
Posted: Thu Oct 07, 2004 8:01 pm Post subject: /etc/modules.autoload.d/kernel-2.X |
|
|
ähm.. ich wollte vorhin mal ein modul neu in meine autoload file tun, und habe mit schrecken festgestellt, dass das mit dem /etc/modules.autoload.d/kernel-2.6 garnicht geht.
ich hab nen 2.6er am laufen aber wenn ich z.b. in die file oben "nvidia"
eintrage, passiert beim boot nix, x beschwert sich, das modul is nich drin.
die /etc/modules.autoload geht, aber ich dachte das is sort of depreciated oder nich?
also is nich direkt ein problem, ich hab mich nur gewundert..
pazz |
|
Back to top |
|
|
oscarwild l33t
Joined: 15 Jul 2003 Posts: 857 Location: Memmingen, Germany, Old Europe, Earth
|
Posted: Thu Oct 07, 2004 8:18 pm Post subject: |
|
|
Hi pazz,
das sollte normalerweise aber schon genau so gehen wie Du's versucht hast... (zumindest bei mir läufts so.). Hast Du denn in Deiner Kernelkonfiguration
Code: | [*] Automatic kernel module loading |
aktiviert?
Gruß
OscarWild _________________ http://blog.selbsthilfenetzwerk-cannabis-medizin.de |
|
Back to top |
|
|
pazz Apprentice
Joined: 01 Dec 2002 Posts: 283
|
Posted: Thu Oct 07, 2004 9:05 pm Post subject: |
|
|
hab grad mal gekuckt...
ja hab ich, aber hat das was damit zu tun?
also für mich sieht das eher nach "wenn der kernel was bracht modprobed er von allein", was er aber auch nicht getan hat:
x wurde gestartet und stoppt weil nvidia nich drin war. das hat er auch schon mal allein gemacht (wie oben beschrieben)..
ich hatte die zeile mit "nvidia" vorher ja nicht in der modules.autoload drinstehen..
(nun nach kernel update+udev installation usw fiel es mir auf weil das nvidia modul nich drin war)
Code: | CONFIG_KMOD:
Normally when you have selected some parts of the kernel to
be created as kernel modules, you must load them (using the
"modprobe" command) before you can use them. If you say Y
here, some parts of the kernel will be able to load modules
automatically: when a part of the kernel needs a module, it
runs modprobe with the appropriate arguments, thereby
loading the module if it is available. If unsure, say Y. |
|
|
Back to top |
|
|
oscarwild l33t
Joined: 15 Jul 2003 Posts: 857 Location: Memmingen, Germany, Old Europe, Earth
|
|
Back to top |
|
|
dertobi123 Retired Dev
Joined: 19 Nov 2002 Posts: 2679 Location: Oberhausen, Germany
|
Posted: Fri Oct 08, 2004 4:58 am Post subject: Re: /etc/modules.autoload.d/kernel-2.X |
|
|
pazz wrote: | aber wenn ich z.b. in die file oben "nvidia"
eintrage, passiert beim boot nix, x beschwert sich, das modul is nich drin.
|
Exakte Fehlermeldung? Was kann nicht gefunden werden?
pazz wrote: | die /etc/modules.autoload geht, aber ich dachte das is sort of depreciated oder nich? |
Kaputte Links? |
|
Back to top |
|
|
pablo_supertux Advocate
Joined: 25 Jan 2004 Posts: 2937 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Fri Oct 08, 2004 10:13 am Post subject: |
|
|
Hast du schon emerge nvidia-glx ausgeführt? Versuch mal mit modprobe nvidia, bekommst du da was?
Du brauchst nicht den nvidia Modul beim booten zu laden, es reciht, wenn du ein deiner /etx/X11/{XFree86.conf,xorg.conf} folgendes hast:
Code: |
Section "Device"
Identifier "nVidia Inc. GeForce2"
Driver "nvidia"
VideoRam 65536
EndSection
|
_________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
|
pazz Apprentice
Joined: 01 Dec 2002 Posts: 283
|
Posted: Fri Oct 08, 2004 10:32 am Post subject: |
|
|
hi,
es ist jetzt kein grosses problem, so dass ich X neu kofigurieren müsste oder so..
exakte fehler meldung is auch nich nötig, das modul wird beim boot einfach nicht geladen. (nur wenn ich direkt die /etc/modules.autoload benutz)
"modules" ist im "boot" runlevel drin.
natürlich geht das wenn ich dann von hand modprobe, und alle pakete sind auch da, ich hab mich halt nur gewundert wegen dem /etc/modules.autoload.d/*
@pablo: ja, so war es auch lange bei mir, x hat das modul von allein geladen.
wichtig is nur die zeile
oder? aber die hab ich bei mir immernoch drinne..
wie gesagt, bloß keinen staatsakt draus machen vielen dank für die reply's! war halt nur eines der kleinen "unterhaltungskuriositäten"
ich liebe diese distro, man hat immer was zu fummeln
mit den links kann sein, ist ein guter tipp, leider hab ich nur ein gentoo sys am laufen im moment.. wie siehts denn diesbezüglich bei euch aus? bei mir so:
Code: |
ls -l /etc/modules.autoload*
-rw-r--r-- 1 root root 420 Oct 7 11:14 /etc/modules.autoload
/etc/modules.autoload.d:
total 12
-rw-r--r-- 1 root root 571 Aug 20 12:57 kernel-2.4
-rw-r--r-- 1 root root 470 Aug 11 2003 kernel-2.5
-rw-r--r-- 1 root root 478 Oct 6 22:14 kernel-2.6
|
pazz |
|
Back to top |
|
|
EnricoHorn Apprentice
Joined: 23 Apr 2003 Posts: 165 Location: Koenigsee, Thuringia, Germany
|
Posted: Fri Oct 08, 2004 12:23 pm Post subject: |
|
|
Die Logik mit modules.autoload ist so:
wenn /etc/modules.autoload existiert und kein symbolischer Link ist, nimm die, ansonsten nimm die dem Kernel entsprechende Datei aus /etc/modules.autoload.d !
Lösung ist also:
Das Modul in /etc/modules.autoload.d/kernel-2.6 eintragen und die /etc/modules.autoload löschen. |
|
Back to top |
|
|
pazz Apprentice
Joined: 01 Dec 2002 Posts: 283
|
Posted: Fri Oct 08, 2004 12:45 pm Post subject: |
|
|
das is ja gleich n ganz anderer snack
ja das wars, THX
pazz |
|
Back to top |
|
|
|