Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kernel 6.11.0 Compile Error
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
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 114
Location: Somewhere Over There!

PostPosted: Tue Sep 17, 2024 2:31 pm    Post subject: [SOLVED] Kernel 6.11.0 Compile Error Reply with quote

Hi Guys,

Was there any change in compiling kernel? Saw today new kernel update

Was I usually do is make oldconfig

when I ran this command

sudo make -j32 && sudo make -j32 modules_install && sudo make SYSTEMD_KERNEL_INSTALL=0 install

I got this error

Code:
make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make[1]: *** [/usr/src/linux-6.11.0-gentoo/Makefile:1157: vmlinux] Error 2
make: *** [Makefile:224: __sub-make] Error 2



Above steps are the usual that I type for compiling for the past few months.. Was wondering if there was a change lately

I have done already make clean but this has been the result always


If so, would appreciate if can point the right documentation.
Thanks
_________________
Oh Yeah!!!


Last edited by Ja.KooLit on Tue Sep 17, 2024 3:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9820
Location: almost Mile High in the USA

PostPosted: Tue Sep 17, 2024 2:45 pm    Post subject: Reply with quote

Rerun with -j1 and post more of the last few lines of the error, more like 20 lines or so...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2850

PostPosted: Tue Sep 17, 2024 2:55 pm    Post subject: Reply with quote

Not aware of any obvious failure yet, so can't tell what happened without seeing the actual error higher up.
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 114
Location: Somewhere Over There!

PostPosted: Tue Sep 17, 2024 3:20 pm    Post subject: Reply with quote

Ionen wrote:
Not aware of any obvious failure yet, so can't tell what happened without seeing the actual error higher up.


no other error

I just cut it because it was only on the compiling part of the drivers

Quote:
LD [M] net/ipv4/ip_tunnel.ko
LD [M] net/ipv6/netfilter/ip6table_filter.ko
LD [M] net/ipv4/udp_tunnel.ko
LD [M] net/ipv6/netfilter/ip6table_raw.ko
LD [M] net/ipv6/netfilter/ip6table_mangle.ko
LD [M] net/ipv6/ip6_udp_tunnel.ko
LD [M] net/ipv6/netfilter/nft_fib_ipv6.ko
LD [M] net/ipv6/netfilter/ip6table_nat.ko
LD [M] net/ipv6/netfilter/ip6t_REJECT.ko
LD [M] net/bluetooth/bnep/bnep.ko
LD [M] net/llc/llc.ko
LD [M] net/wireless/cfg80211.ko
LD [M] net/bridge/netfilter/ebtables.ko
LD [M] net/bridge/netfilter/ebt_mark.ko
LD [M] net/bridge/bridge.ko
LD [M] net/mac80211/mac80211.ko
LD [M] net/bridge/netfilter/ebtable_nat.ko
make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make[1]: *** [/usr/src/linux-6.11.0-gentoo/Makefile:1157: vmlinux] Error 2
make: *** [Makefile:224: __sub-make] Error 2

_________________
Oh Yeah!!!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22618

PostPosted: Tue Sep 17, 2024 3:22 pm    Post subject: Reply with quote

That still does not show us anything useful. Please provide the full command you ran, its full output, and a pastebin of your kernel configuration.
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 114
Location: Somewhere Over There!

PostPosted: Tue Sep 17, 2024 3:47 pm    Post subject: Reply with quote

Hu wrote:
That still does not show us anything useful. Please provide the full command you ran, its full output, and a pastebin of your kernel configuration.


https://pastebin.com/7mQ8RJFQ - my kernel config

full command I ran was on my OP

Code:
sudo make -j32 && sudo make -j32 modules_install && sudo make SYSTEMD_KERNEL_INSTALL=0 install

_________________
Oh Yeah!!!
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 114
Location: Somewhere Over There!

PostPosted: Tue Sep 17, 2024 3:57 pm    Post subject: Reply with quote

SOLVED it

I disable FBNIC and it compiles and installs with no issue

it is something new with kernel 6.11

https://cateee.net/lkddb/web-lkddb/FBNIC.html
_________________
Oh Yeah!!!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5090
Location: Bavaria

PostPosted: Tue Sep 17, 2024 4:12 pm    Post subject: Reply with quote

Ja.KooLit wrote:
SOLVED it

I disable FBNIC and it compiles and installs with no issue

it is something new with kernel 6.11

This is strange. Do you use a "make allyesconfig" ? Because if you do a (normal) "make oldconfig" this option has a "NO" as default ->
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Kernel_Upgrade_from_6.10_to_6.11

On the other hand, the kernel compilation should not abort unless important things are missing. The help for this Ethernet driver says that it needs MSI-X (which I highly recommend in any case). You might want to compare your kernel configuration with this one:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel

Edit: Sorry ... :oops: ... just have seen you sent your .config ... and you have CONFIG_PCI_MSI=y ... so its very strange .... 8O
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22618

PostPosted: Tue Sep 17, 2024 4:37 pm    Post subject: Reply with quote

Ja.KooLit wrote:
Hu wrote:
That still does not show us anything useful. Please provide the full command you ran, its full output, and a pastebin of your kernel configuration.
full command I ran was on my OP

Code:
sudo make -j32 && sudo make -j32 modules_install && sudo make SYSTEMD_KERNEL_INSTALL=0 install
Yes, but you never showed the full output of that command. For consistency, we want both the build log, and the exact command that generated it. Knowing how you generated an error does not tell us whether that is how you generated the error log you actually showed.
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 114
Location: Somewhere Over There!

PostPosted: Tue Sep 17, 2024 4:37 pm    Post subject: Reply with quote

pietinger wrote:
Ja.KooLit wrote:
SOLVED it

I disable FBNIC and it compiles and installs with no issue

it is something new with kernel 6.11

This is strange. Do you use a "make allyesconfig" ? Because if you do a (normal) "make oldconfig" this option has a "NO" as default ->
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Kernel_Upgrade_from_6.10_to_6.11

On the other hand, the kernel compilation should not abort unless important things are missing. The help for this Ethernet driver says that it needs MSI-X (which I highly recommend in any case). You might want to compare your kernel configuration with this one:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel

Edit: Sorry ... :oops: ... just have seen you sent your .config ... and you have CONFIG_PCI_MSI=y ... so its very strange .... 8O


I just did make oldconfig and I usually say Y to new drivers because after booting into new kernel, I always ran modprobe-db to get the new module loaded for my system....
_________________
Oh Yeah!!!
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 114
Location: Somewhere Over There!

PostPosted: Tue Sep 17, 2024 4:41 pm    Post subject: Reply with quote

Hu wrote:
Ja.KooLit wrote:
Hu wrote:
That still does not show us anything useful. Please provide the full command you ran, its full output, and a pastebin of your kernel configuration.
full command I ran was on my OP

Code:
sudo make -j32 && sudo make -j32 modules_install && sudo make SYSTEMD_KERNEL_INSTALL=0 install
Yes, but you never showed the full output of that command. For consistency, we want both the build log, and the exact command that generated it. Knowing how you generated an error does not tell us whether that is how you generated the error log you actually showed.



Thanks... I actually tried to add > build.log 2>&1 but I could not find the build.log

I tried searching also on internet but I could only find a log by genkernel, by which, I dont use genkernel
_________________
Oh Yeah!!!
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