Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile kernel 6.9.4, E: excessive number of firmwares
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cruslan
n00b
n00b


Joined: 06 Jan 2024
Posts: 26

PostPosted: Fri Jun 14, 2024 10:40 pm    Post subject: Can't compile kernel 6.9.4, E: excessive number of firmwares Reply with quote

Hello. I am trying to compile 6.9.4 kernel sourced by gentoo-sources-6.9.4 with genkernel-4.3.16. When trying to compile kernel it gives that error;
Code:
...
ERROR: excessive number of firmwares!
...


I checked both genkernel's and gentoo-sources' bugzillas but i didn't encounter any bug about my problem. I tried emerge them both for any possible patch or bugfix but it didnt work. I just can compile 6.9.3 without issues.

genkernel.log; https://drive.google.com/file/d/1YhCho-dKLZ2knzqlK_6ODbaH9gn1q0IC/view?usp=sharing
genkernel.conf; https://drive.google.com/file/d/1V94bXG8T6xxSFpHeFX8wg3lldcBj5DjX/view?usp=sharing
.config of kernel; https://drive.google.com/file/d/1Lx1HydXKyjELcfnFIP0-mYwirJO_g8vw/view?usp=sharing

If additional information required, please tell that. Thanks.
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 418

PostPosted: Sat Jun 15, 2024 12:01 am    Post subject: Reply with quote

https://bugs.gentoo.org/932907
https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=cc7d5e1e32a88dc2a4f144ce6ac9a92a2d679b05

That error comes from this commit:
Code:
-         if [ ! -f "${FIRMWARE_DIR}/${myfw}" ]
+         myfw_f=( $(compgen -G "${FIRMWARE_DIR}/${myfw}*") )
+
+         if [ ${#myfw_f[@]} -gt 1 ]
+         then
+            gen_die "excessive number of firmwares!"
+         fi


maybe file a bug.
Back to top
View user's profile Send private message
Cruslan
n00b
n00b


Joined: 06 Jan 2024
Posts: 26

PostPosted: Sat Jun 15, 2024 2:50 pm    Post subject: Reply with quote

rab0171610 wrote:
https://bugs.gentoo.org/932907
https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=cc7d5e1e32a88dc2a4f144ce6ac9a92a2d679b05

That error comes from this commit:
Code:
-         if [ ! -f "${FIRMWARE_DIR}/${myfw}" ]
+         myfw_f=( $(compgen -G "${FIRMWARE_DIR}/${myfw}*") )
+
+         if [ ${#myfw_f[@]} -gt 1 ]
+         then
+            gen_die "excessive number of firmwares!"
+         fi


maybe file a bug.

As you shared the bug already filed. Should i submit another bug to bugzilla?
Back to top
View user's profile Send private message
Cruslan
n00b
n00b


Joined: 06 Jan 2024
Posts: 26

PostPosted: Sun Jun 16, 2024 6:46 pm    Post subject: Reply with quote

genkernel 4.3.16 works with gentoo-sources-6.9.5. In 6.9.4, "Loadable modules support" disabled by default. Probably some "default" settings caused that problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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