Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel kompilieren
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
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 469
Location: 09xxx

PostPosted: Wed Aug 29, 2018 10:29 am    Post subject: kernel kompilieren Reply with quote

Hallo,

eine Frage, macht es einen Unterschied im Ergebnis, wenn ich einen kernel einfach nur mit "make" kompiliere oder ob ich ihn mit "make -j10" kompiliere? Ich hatte das jetzt, den 4.14.65 mit make -j10 wollte er nicht booten. Ich hab ihn jetzt nochmal mit einem einfachen make gebaut, den bootet er ohne Probleme.
_________________
Linux ryzen 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sun Mar 24 18:32:46 CET 2024 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Wed Aug 29, 2018 11:53 am    Post subject: Reply with quote

Macht wahrscheinlich keinen Unterschied (bis auf die kürzere Build-Zeit).
Meine Meinung: du hast beim Installieren was falsch gemacht, so dass er das kernel-image nicht finden konnte.
In Ermangelung genauer Schritte und Befehle, die du unternommen hast, als auch einer Fehlermeldung, kann man leider nur vermuten... Vielleicht kann das ja jemand besser als ich ;)
Back to top
View user's profile Send private message
michael_w
Guru
Guru


Joined: 22 Feb 2006
Posts: 469
Location: 09xxx

PostPosted: Wed Aug 29, 2018 12:03 pm    Post subject: Reply with quote

Hmm, mag sein das ich etwas vergessen habe, aber imho sind das ja nicht viele schritte.

* per eselect kernel den link umbiegen
* alte .config rüberkopieren
* make oldconfig
* make && make modules_install
* kernel ins /boot/ kopieren
* grub-mkconfig -o /boot/grub/grub.cfg

neu booten.
_________________
Linux ryzen 6.6.21-gentoo-dist #1 SMP PREEMPT_DYNAMIC Sun Mar 24 18:32:46 CET 2024 x86_64 AMD Ryzen 7 PRO 4750G with Radeon Graphics AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Mon Sep 03, 2018 4:15 pm    Post subject: Reply with quote

Hast du den nicht funktionierenden Kernel noch? Dann kannst ja mal die Größe mit dem funktionierenden vergleichen. Ich tippe eher darauf, dass das Problem nicht durch die Anzahl der parallelen Jobs kommt.

Kernel nach /boot/ kopieren und Grub oder Lilo updaten funktioniert übrigens wunderbar mit make install. Weniger tippen kann auch die Fehlerquellen minimieren ;-)

make -j8 && make modules_install && make install
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Wed Sep 05, 2018 8:03 am    Post subject: Reply with quote

Fürher hatte ich ab und zu das Problem, dass der Kernel erst einmal mit j1/j2 compiliert werden musste, bevor das mit j4/j5 geklappt hat.
Ich denke, es gab da dann irgendwelche Dependency-Probleme. Aber dadurch brach der compiliervorgang komplett ab und hat kein binary ausgespuckt.
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
tazinblack
Veteran
Veteran


Joined: 23 Jan 2005
Posts: 1146
Location: Baden / Germany

PostPosted: Thu Oct 18, 2018 9:13 am    Post subject: Reply with quote

Dieses Problem hatte ich auch schon ab und an. Keine Ahnung warum. Vielleicht geht ihm dann der RAM aus oder er verwendet was, was in einem anderen Prozess noch nicht ganz fertig ist.
Ganz dubiose Sache finde ich, eigentlich sollte es außer an der built Zeit nix ändern. Ich stelle dann einfach -j kleiner und dann tuts. Und frag mich jetzt nicht, bei welchen Paketen das war.
In Verbindung mit distcc kam mir das auch schon unter.
_________________
Gruß / Regards
tazinblack
_______________________________________________________
what's the point in being grown up if you can't be childish sometimes
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