Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881401 - nvidia-drivers 470.141.03 are not compilable with kernel 6.0.8-gentoo
Summary: nvidia-drivers 470.141.03 are not compilable with kernel 6.0.8-gentoo
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-15 16:26 UTC by Jiri Pittner
Modified: 2022-11-15 16:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Pittner 2022-11-15 16:26:13 UTC
Since I have the Nvidia K2100m video card in my laptop,
I cannot use newer nvidia drivers with higher version than 470.141.03
Unfortunately, this version is not compilable with kernel 6.0.8-gentoo,
so I cannot update the kernel, which I would like.
Will the nvidia-drivers-470.* driver be maintained in the future
to support 6.x.y kernels? If so, this should be fixed

Reproducible: Always

Steps to Reproduce:
1.make in linux-6.0.8-gentoo
2. ln -s linux-6.0.8-gentoo linux
3. emerge =nvidia-drivers-470.141.03
Actual Results:  
kernel/nvidia/nv-acpi.c:270:43: error: struct acpi_device has no member named children
  270 |     list_for_each_safe(node, next, &device->children)
kernel/nvidia/nv-acpi.c:273:50: error: struct acpi_device has no member named node; did you mean fwnode?
  273 |             list_entry(node, struct acpi_device, node);


Expected Results:  
compiled and installed nvidia driver for K2100m card


Portage 3.0.38.1 (python 3.9.15-final-0, default/linux/amd64/17.0, gcc-12, glibc-2.35-r8, 5.19.9-gentoo x86_64)
=================================================================
System uname: Linux-5.19.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.35
KiB Mem:    16292124 total,    267324 free
KiB Swap:   53513300 total,  53512532 free
Timestamp of repository gentoo: Mon, 14 Nov 2022 08:30:01 +0000
Head commit of repository gentoo: 7a6a04568171fd7ac7ed79a4dfae2e21f7a53150
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           2.7.18_p16::gentoo, 3.6.15-r1::gentoo, 3.7.13::gentoo, 3.8.15_p3::gentoo, 3.9.15_p3::gentoo, 3.10.8_p3::gentoo, 3.11.0_p2::gentoo, 3.12.0_alpha1_p2::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-lang/rust-bin:         1.65.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.64.0::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.2-r1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.69-r7::gentoo, 2.71-r4::gentoo
sys-devel/automake:        1.11.6-r3::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo, 2.33.1-r1::gentoo, 2.34-r2::gentoo, 2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1-r2::gentoo, 2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.4::gentoo
sys-devel/gcc:             4.5.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 7.2.0-r1::gentoo, 8.2.0-r6::gentoo, 8.3.0-r3::gentoo, 9.1.0-r1::gentoo, 9.2.0-r4::gentoo, 9.3.0-r2::gentoo, 10.4.1_p20221006::gentoo, 11.3.1_p20221007::gentoo, 12.2.1_p20221008::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.4::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.0::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 1

unity-gentoo
    location: /var/lib/layman/unity-gentoo
    masters: gentoo
    priority: 2

gitlab
    location: /var/lib/layman/gitlab
    masters: gentoo
    priority: 3

crossdev
    location: /opt/portage
    masters: gentoo unity-gentoo science
    priority: 4

x-portage
    location: /local/portage
    masters: gentoo
    priority: 5

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fno-omit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb /var/lib/i2pd/certificates"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -fno-omit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://147.251.48.205/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://86.49.49.49/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://141.76.119.131/pub/mirrors/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.supp.name/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/scratch/tmp"
SHELL="/bin/tcsh"
USE="X acl aes alsa amd64 bluetooth bzip2 cli crypt cups dri fortran gcj gdbm hal iconv ipv6 lapack latex libglvnd libtirpc linguas_cs linguas_de linguas_en linguas_nl linguas_sk mbox mmx multilib multislot ncurses nls nptl openmp pam pcre readline seccomp split-usr sse sse2 sse3 sse4 ssl static-libs systemtap test-rust tetex unicode webp xattr zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_7 python3_8 python3_9" RUBY_TARGETS="ruby25 ruby26 ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa fbdev v4l vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Ionen Wolkens gentoo-dev 2022-11-15 16:35:30 UTC
You should've gotten this message while building:

 * Kernel 6.0 is either known to break this version of nvidia-drivers
 * or was not tested with it. It is recommended to use one of:
 *   <=sys-kernel/gentoo-kernel-5.19.x
 *   <=sys-kernel/gentoo-sources-5.19.x
 * You are free to try or use /etc/portage/patches, but support will
 * not be given and issues wait until NVIDIA releases a fixed version
 * (Gentoo will not accept patches for this).
 * 
 * Do _not_ file a bug report if run into issues.
 * 

470.x is still supported by NVIDIA but legacy branches typically lag behind and primarily target LTS kernel branches (meaning 5.15 right now which is the current stable in Gentoo, and will likely be updated for kernel 6.1 next lts at some point).

So, please use an appropriate kernel.