Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Module weg nach Kernel-Kompilierung ?
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
cyruskoenig
n00b
n00b


Joined: 19 Nov 2003
Posts: 53
Location: Potsdam/Germany

PostPosted: Fri Nov 21, 2003 5:53 pm    Post subject: Module weg nach Kernel-Kompilierung ? Reply with quote

Ich habe einen neuen Kernel mit
Code:
cd /usr/src/linux
make menuconfig
...
make dep && make clean bzImage modules modules_install
# mount /boot
# cp arch/i386/boot/bzImage /boot

kompiliert. Das hat so auch schon einige male funktioniert.

Nun scheinen aber sämtliche Module nicht mehr vorhanden zu sein, der Kernel kann nichts laden, weder die Netzwerkunterstützung noch sonst irgendwas.

depmod bringt nur
Quote:
*** Unresolved symbols in /lib/modules/2.4.20-gentoo-r8/kernel/drivers/usb/...

und das halt für jedes modul :(

Was ist los und wie bekomme ich das wieder hin ?
Schonmal Danke :)
Marc.
Back to top
View user's profile Send private message
cyruskoenig
n00b
n00b


Joined: 19 Nov 2003
Posts: 53
Location: Potsdam/Germany

PostPosted: Fri Nov 21, 2003 6:21 pm    Post subject: Reply with quote

vielleicht sollte ich erwähnen, dass das erst passiert ist, als ich die option 'prozessor-type' von '386' auf 'athlon-xp' (der auch auf dem board ist) umgestellt habe...

hm...
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Sat Nov 22, 2003 12:16 pm    Post subject: Reply with quote

Du musst nach Architekturaenderungen ein "make clean" oder sogar "make distclean / make mrproper" (da weiss ich gerade die Unterschiede nicht mehr) ausfuehren. Achtung, .config vorher sichern.

hdh
Marcel
Back to top
View user's profile Send private message
cyruskoenig
n00b
n00b


Joined: 19 Nov 2003
Posts: 53
Location: Potsdam/Germany

PostPosted: Sat Nov 22, 2003 12:41 pm    Post subject: Reply with quote

danke, nach 'make clean' und 'make mrproper' funktioniert alles wieder :)
was genau macht denn mrproper ?

marc.
Back to top
View user's profile Send private message
meyerm
Veteran
Veteran


Joined: 27 Jun 2002
Posts: 1311
Location: Munich / Germany

PostPosted: Sat Nov 22, 2003 1:00 pm    Post subject: Reply with quote

"make clean" loescht nur die kompilierten Objekte. Die Konfigurationen und Abhaengigkeiten dagegen bleiben da. Und das reicht nicht. "make mrproper" schmeisst wirklich alles ausser den Quelldateien weg (also im Prinzip ein frisch entpackter Kern). Da muessen dann die Abhaengigkeiten neu gebaut werden (mit "make dep") und es gibt keine "falschen" mehr.

Marcel
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