View previous topic :: View next topic |
Author |
Message |
submarcos n00b

Joined: 18 Apr 2020 Posts: 25 Location: Treviso
|
Posted: Thu May 14, 2020 9:59 am Post subject: Compilazione del kernel impossibile |
|
|
Salve a tutti.
Ho provato parecchie volte a compilare con genkernel il kernel 5.6.12, ma ottengo sempre un errore alla fine, tipo questo:
Code: | >> Re-running 'make oldconfig' due to changed kernel options ...
* >> Compiling 5.6.12-gentoo-x86_64 bzImage ...
* >> Compiling 5.6.12-gentoo-x86_64 modules ...
* >> Installing 5.6.12-gentoo-x86_64 modules (and stripping) ...
* >> Generating module dependency data ...
* >> Saving config of successful build to '/etc/kernels/kernel-config-5.6.12-gentoo-x86_64' ...
* initramfs: >> Initializing ...
* >> Appending devices cpio data ...
* >> Appending base_layout cpio data ...
* >> Appending auxilary cpio data ...
* >> Appending busybox cpio data ...
* ERROR: Command 'nice -n10 make -j2 V=1' failed!
* ERROR: create_initramfs(): append_data(): append_busybox(): populate_binpkg(): gkbuild(): Failed to create binpkg of busybox-1.31.1!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
|
Ho visionato genkernel.log ma non è che ci capisca molto..
Ecco l'ultima parte: https://pastebin.pl/view/5ed5f0b3
Grazie in anticipo per qualsiasi suggerimento o consiglio.
EDIT: mi rispondo da solo. Ho cambiato gcc con eselect scegliendo l'ultimo arrivato e la compilazione del kernel è terminata senza errori. Ora son tornato al gcc 9.3. Non so se va bene o meno. Ringrazio in anticipo per qualsiasi risposta. |
|
Back to top |
|
 |
fedeliallalinea Bodhisattva


Joined: 08 Mar 2003 Posts: 25178 Location: here
|
Posted: Sun May 17, 2020 5:26 am Post subject: |
|
|
Attenzione che se installi dei moduli esterni, quindi dal tree di gentoo, devi compilarli con la stessa versione di gcc con cui hai compilato il kernel.
Per il tuo problema nel log vedo
Code: | miscutils/hdparm.c:1276:1: internal compiler error: Segmentation fault
1276 | }
| ^ |
ed e' la seconda volta che hai un "Segmentation fault" prova a fare un controllo sulla tua ram con memtest _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
submarcos n00b

Joined: 18 Apr 2020 Posts: 25 Location: Treviso
|
Posted: Sun May 17, 2020 8:56 am Post subject: |
|
|
Ciao Fedeliallalinea.
Grazie per la risposta.
Faccio subito un controllo della RAM, poi ti so dire. |
|
Back to top |
|
 |
submarcos n00b

Joined: 18 Apr 2020 Posts: 25 Location: Treviso
|
Posted: Sun May 17, 2020 5:38 pm Post subject: |
|
|
Ho testato la RAM, senza, però, procedere con un banco per volta, come si dovrebbe fare.
Ebbene, il memtest ravvisa molti errori. Mi sa che dovrò sostituirla.
EDIT: un banco è difettoso, l'altro è apposto.  |
|
Back to top |
|
 |
|