Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/modules.autoload.d/kernel-2.X
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
pazz
Apprentice
Apprentice


Joined: 01 Dec 2002
Posts: 283

PostPosted: Thu Oct 07, 2004 8:01 pm    Post subject: /etc/modules.autoload.d/kernel-2.X Reply with quote

ä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
View user's profile Send private message
oscarwild
l33t
l33t


Joined: 15 Jul 2003
Posts: 857
Location: Memmingen, Germany, Old Europe, Earth

PostPosted: Thu Oct 07, 2004 8:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
pazz
Apprentice
Apprentice


Joined: 01 Dec 2002
Posts: 283

PostPosted: Thu Oct 07, 2004 9:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
oscarwild
l33t
l33t


Joined: 15 Jul 2003
Posts: 857
Location: Memmingen, Germany, Old Europe, Earth

PostPosted: Thu Oct 07, 2004 9:19 pm    Post subject: Reply with quote

jo, da war ich auf der falschen Fährte...
Dann sieh mal mit
Code:
rc-update show
nach, ob 'modules' im Bootlevel gestartet wird.
_________________
http://blog.selbsthilfenetzwerk-cannabis-medizin.de
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Fri Oct 08, 2004 4:58 am    Post subject: Re: /etc/modules.autoload.d/kernel-2.X Reply with quote

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
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2937
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Fri Oct 08, 2004 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
pazz
Apprentice
Apprentice


Joined: 01 Dec 2002
Posts: 283

PostPosted: Fri Oct 08, 2004 10:32 am    Post subject: Reply with quote

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
Code:
Driver      "nvidia"
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 :roll:

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
View user's profile Send private message
EnricoHorn
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 165
Location: Koenigsee, Thuringia, Germany

PostPosted: Fri Oct 08, 2004 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
pazz
Apprentice
Apprentice


Joined: 01 Dec 2002
Posts: 283

PostPosted: Fri Oct 08, 2004 12:45 pm    Post subject: Reply with quote

das is ja gleich n ganz anderer snack ;)
ja das wars, THX

pazz
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