Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] genkernel --install all scheitert an initramfs
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
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Apr 18, 2024 2:42 pm    Post subject: [gelöst] genkernel --install all scheitert an initramfs Reply with quote

Hallo zusammen!

Ich habe heute entdeckt, daß neue gentoo-sources angekommen sind: 6.8.7.

Bisher habe ich immer mit genkernel --install all Erfolg gehabt, aber seit diesem neuen kernel nicht mehr.

Hier der Grund:

Code:

eselect kernel list
Available kernel symlink targets:
  [1]   linux-6.8.6-gentoo
  [2]   linux-6.8.7-gentoo *
(chroot) stablen4 / # eselect kernel set 2
(chroot) stablen4 / # genkernel --install all
* Gentoo Linux Genkernel; Version 4.3.10
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: --install all

* Working with Linux kernel 6.8.7-gentoo-x86_64 for x86_64
* Using kernel config file '/etc/kernels/kernel-config-6.8.7-gentoo-x86_64' ...
*
* Note: The version above is subject to change (depends on config and status of kernel sources).

* kernel: >> Initializing ...
*         >> Running 'make mrproper' ...
*         >> Running 'make oldconfig' ...
*         >> Compiling 6.8.7-gentoo-x86_64 bzImage ...
*         >> Compiling 6.8.7-gentoo-x86_64 modules ...
*         >> Installing 6.8.7-gentoo-x86_64 modules (and stripping) ...
*         >> Generating module dependency data ...
*         >> Compiling out-of-tree module(s) ...
*         >> Saving config of successful build to '/etc/kernels/kernel-config-6.8.7-gentoo-x86_64' ...

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
* ERROR: Command 'nice -n10 make -j8 V=1' failed!
* ERROR: create_initramfs(): append_data(): append_busybox(): populate_binpkg(): gkbuild(): Failed to create binpkg of busybox-1.36.1!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
*
* Please do *not* report kernel compilation failures as genkernel bugs!


Zusatz: ich habe binpkgs nur in einem System erstellen lassen.
Dennoch kommt das Problem: Failed to create binpkg of buybox.

Frage: wo genau liegt das Problem und wie kann ich es überwinden?

Vielen Dank im voraus für jede Hilfe!

Gruß
ManfredB


Last edited by ManfredB on Fri Apr 19, 2024 7:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Thu Apr 18, 2024 6:37 pm    Post subject: Reply with quote

Hi Manfred,

das ist vermutlich mit den neuen linux-headers-6.8 ?
falls ja, dann versuche den Patch aus https://bugs.gentoo.org/928573
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Thu Apr 18, 2024 7:38 pm    Post subject: Reply with quote

Hallo Josef.95!

Vielen herzlichen Dank für die erste Reaktion auf mein Problem.

linux-headers sind bei mir schon installiert. Doch unter /usr/share/genkernel/patches
war nur busybox 1.33.1 vorhanden.
Es war ja schon einmal was mit patches, allerdings nicht mit genkernel.
Doch wie bekomme ich diesen Patch dahin - das war mein neues Problem.

Ich bin nicht mehr vollkommen auf der Höhe, daher sind manche Dinge schon in Vergessenheit geraten,
was mir selbst sehr leid tut.

Daher bin ich auch so dankbar für jede Hilfe, die mir geleistet wird.

Ganz liebe Grüße
von
ManfredB
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Thu Apr 18, 2024 9:56 pm    Post subject: Reply with quote

Hm, ungetestet, aber versuche wie in https://bugs.gentoo.org/928573#c2 vorgeschlagen:
Code:
mkdir /usr/share/genkernel/patches/busybox/1.36.1
cd /usr/share/genkernel/patches/busybox/1.36.1
wget https://raw.githubusercontent.com/gentoo/genkernel/43a3b450c22875fa3b553652247191e5c51eebbb/patches/busybox/1.36.1/busybox-1.36.1-kernel-6.8.patch
und teste dann ob genkernel das initramfs bauen kann.
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Fri Apr 19, 2024 7:03 am    Post subject: Reply with quote

Hallo Josef.95!

Ich bin Dir so dankbar, daß du mir wieder auf die Spur gebracht hast.

Später werde ich das Ergebnis melden. Im Moment ist das Update im Gange, was zB wegen llvm sehr lange dauert.

Wenn gentoo-sources installiert sind, bin ich auch sehr gespannt, ob diesmal initramfs installiert wird.

Liebe Grüße
von
ManfredB
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1609

PostPosted: Fri Apr 19, 2024 7:48 am    Post subject: Reply with quote

Fazit; Es hat einwandfrei geklappt!!!

Herzlichen Dank noch einmal und meine Freude über die Lösung.

Nun werde ich die initramfs in die Systeme hinüberkopieren, wo sie nicht vorhanden ist.

Liebe Grüße
und beste Wünsche für das bevorstehende Wochenende!
ManfredB
Back to top
View user's profile Send private message
gt_amd64
Apprentice
Apprentice


Joined: 02 Dec 2004
Posts: 180

PostPosted: Fri Apr 19, 2024 4:50 pm    Post subject: Reply with quote

Bei mir trat der Bug schon am 4.4 auf, hier meine etwas einfachere Lösung

Code:

mkdir /usr/share/genkernel/patches/busybox/1.36.1 ; ln -s /usr/portage/sys-apps/busybox/files/busybox-1.36.1-kernel-6.8.patch /usr/share/genkernel/patches/busybox/1.36.1/busybox-1.36.1-kernel-6.8.patch


Da der Bug ohne viel Aufwand behoben werden könnte, aber es scheinbar Niemanden interessiert @ManfredB und alle anderen Betroffenen: Bitte https://bugs.gentoo.org/928573 upvoten!
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 373

PostPosted: Fri Apr 19, 2024 4:55 pm    Post subject: Reply with quote

Ich weiss nicht, wie man einen Bug "upvoten" kann. Aber ich bin auch nicht sicher, inwiefern irgendwelche Abstimmungen etwas an einem Bug ändern sollten.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4186
Location: Bavaria

PostPosted: Fri Apr 19, 2024 5:57 pm    Post subject: Reply with quote

Ich kann mir vorstellen, dass man auf einen Patch von Upstream warten möchte. Wenn ich mir ansehe, dass Ubuntu erst gestern dieses Problem entdeckt (*) hat - und mit ihrem Patch einen ganz anderen Weg wie wir gehen, ist man sich vielleicht auch noch nicht einig, wie das Problem angegangen werden soll.

*) https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/2062414
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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