Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto]problemi nvidia dopo upgrade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
scolpi
n00b
n00b


Joined: 15 Jun 2009
Posts: 35

PostPosted: Sat Apr 13, 2019 5:11 pm    Post subject: [Risolto]problemi nvidia dopo upgrade Reply with quote

Salve a tutti, dopo che ieri ho fatto un upgrade del sistema, oggi al riavvio ho avuto problemi con il server X.

Ho visto che il problema sta nel fatto che il driver nvidia non viene caricato ed ottengo il seguente errore:

Code:
sudo modprobe nvidia
Password:
modprobe: ERROR: could not insert 'nvidia': Exec format error


Code:
emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.28-r6, 4.14.13 x86_64)
=================================================================
System uname: Linux-4.14.13-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem:     8154340 total,   6141188 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository gentoo: Fri, 12 Apr 2019 19:00:01 +0000
Head commit of repository gentoo: 1014d67b6fef117cf70dbedd46149195b129fa00
sh bash 4.4_p23-r1
ld ld di GNU (Gentoo 2.31.1 p5) 2.31.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe -mno-aes"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -O2 -pipe -mno-aes"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/home/build"
USE="(-selinux) (-wayland) (multilib) 32bit X a52 aac acl acpi activities alsa amarok amazon amd64 ao apm apng asf avx berkdb bidi bindist bluetooth branding bzip2 caps caps-ng cdda cddax cddb cdio cdparanoia cdr cdrom cdrtools cdsound changes clamdtop classic cli consolekit corefonts crypt css cups cxx dbus declarative deprecated dhclient dhcpcd dirac dri dts dv dvd dvdnav dvdr ebook embedded emboss emerald enca encode exif extras faad fam fax ffmpeg firefox firefox3 flac flash floppy flv fontconfig fortran freetype ftp g3dvl gallium gcrypt gdbm gif glamor glitz gnutils google gpg gphoto2 gpm gs gsm gstreamer gtk gudev h323 headless hpcups http httpd hwdb iconv icu id3tag ieee1394 imlib ipv6 java javafx jpeg jpeg2k kdcraw kde keymap kipi kwallet laptop lastfm lastfmradio lcms ldap libnotify libtirpc llvm lm_sensors lua lzo mad matroska meanwhile midi mmx mmxext mng mozilla mp3 mp4 mpeg mpeg2 mplayer msn multilib musepack mysql ncurses network nforce2 nls npp nptl nsplugin nvidia ogg ogg123 oggvorbis openexr opengl openmp openssl opus ovftool pam pango pclmul pcre pdf phonon pkcs11 plasma pm-utils pmu png policykit popcnt ppds pulseaudio python python3 qml qt-bundled qt-dbus qt-static qt-webkit qt3support qt5 radio rar raw rdesktop rdoc readline reiserfs rtsp samba scanner script sdk sdl sdl-image sdl-sound sdlaudio seccomp semantic-desktop sftp shared-glapi slip snmp spell sql sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification stream suid svg sysvipc tcl tcpd theora threads tiff truetype udev udisks unicode upower usb v4l2 vcd vcdinfo vcdx video vim-syntax vlc vlm vorbis vpnc wav wavpack webkit widgets wifi wma wmf wmp wxwidget wxwindows x264 xattr xcb xcomposite xine xinerama xml xpm xspf xv xvid xvmc zeroconf zip zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel usb-audio" 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="avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i915 nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Ditemi che altre info vi servono, ho cercato un po' in giro ma non vedo nessuno che ha il mio problema.
Vi dico solo che ho provato a fare il downgrade sia di nvidia-drivers che di xorg-server, ma senza alcun risultato

Grazie in anticipo
Simone


Last edited by scolpi on Sat Apr 13, 2019 7:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22059
Location: here

PostPosted: Sat Apr 13, 2019 5:34 pm    Post subject: Reply with quote

Che versione di nvidia-driver usi?
I comandi eselect kernel list, ls -l /usr/src e find /lib/modules/ -name nvidia.ko cosa tornano?
dmesg torna qualcosa di interessante (dmesg | grep nvidia)?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
scolpi
n00b
n00b


Joined: 15 Jun 2009
Posts: 35

PostPosted: Sat Apr 13, 2019 5:43 pm    Post subject: Reply with quote

Ecco quanto richiesto

Code:
eselect kernel list
Available kernel symlink targets:
  [1]   linux-4.14.13 *


Code:
ls -l /usr/src
totale 4
lrwxrwxrwx  1 root root   13 14 gen  2018 linux -> linux-4.14.13
drwxrwxr-x 25 root root 4096  6 ott  2018 linux-4.14.13
lrwxrwxrwx  1 root root   28 26 nov  2017 vboxhost-5.2.2 -> /opt/VirtualBox/src/vboxhost


Code:
find /lib/modules/ -name nvidia.ko
/lib/modules/4.14.13/video/nvidia.ko
/lib/modules/3.11.1/video/nvidia.ko
/lib/modules/4.4.68/video/nvidia.ko
/lib/modules/3.6.5/video/nvidia.ko
/lib/modules/4.4.27/video/nvidia.ko
/lib/modules/4.4.87/video/nvidia.ko
/lib/modules/3.8.6/video/nvidia.ko
/lib/modules/4.4.0/video/nvidia.ko
/lib/modules/3.9.8/video/nvidia.ko
/lib/modules/4.13.2/video/nvidia.ko
/lib/modules/3.13.7/video/nvidia.ko
/lib/modules/4.14.9/video/nvidia.ko


Code:
[   17.653430] nvidia: module license 'NVIDIA' taints kernel.
[   17.657138] module: nvidia: Unknown rela relocation: 4
[   17.674065] module: nvidia: Unknown rela relocation: 4
[   82.128491] module: nvidia: Unknown rela relocation: 4
[   85.698945] module: nvidia: Unknown rela relocation: 4
[   91.399990] module: nvidia: Unknown rela relocation: 4
[   95.356269] module: nvidia: Unknown rela relocation: 4
[   95.743959] module: nvidia: Unknown rela relocation: 4
[   95.776404] module: nvidia: Unknown rela relocation: 4
[   97.099273] module: nvidia: Unknown rela relocation: 4
[   99.035208] module: nvidia: Unknown rela relocation: 4
[  102.148384] module: nvidia: Unknown rela relocation: 4
[  102.304520] module: nvidia: Unknown rela relocation: 4
[  104.457826] module: nvidia: Unknown rela relocation: 4
[  107.193975] module: nvidia: Unknown rela relocation: 4
[  107.293761] module: nvidia: Unknown rela relocation: 4
[  107.638732] module: nvidia: Unknown rela relocation: 4
[  107.682304] module: nvidia: Unknown rela relocation: 4
[  108.470304] module: nvidia: Unknown rela relocation: 4
[  108.539635] module: nvidia: Unknown rela relocation: 4
[  110.042688] module: nvidia: Unknown rela relocation: 4
[  110.701952] module: nvidia: Unknown rela relocation: 4
[  110.937664] module: nvidia: Unknown rela relocation: 4
[  113.382254] module: nvidia: Unknown rela relocation: 4
[  119.690414] module: nvidia: Unknown rela relocation: 4
[  120.113248] module: nvidia: Unknown rela relocation: 4
[  120.118368] module: nvidia: Unknown rela relocation: 4
[  133.439592] module: nvidia: Unknown rela relocation: 4
[  133.446365] module: nvidia: Unknown rela relocation: 4
[  136.289737] module: nvidia: Unknown rela relocation: 4
[  141.246681] module: nvidia: Unknown rela relocation: 4
[  165.844512] module: nvidia: Unknown rela relocation: 4
[  195.518666] module: nvidia: Unknown rela relocation: 4
[  670.648496] module: nvidia: Unknown rela relocation: 4
[ 1069.431761] module: nvidia: Unknown rela relocation: 4


Code:
qlist -Iv | grep nvidia
x11-drivers/nvidia-drivers-390.116-r2


Grazie
Back to top
View user's profile Send private message
scolpi
n00b
n00b


Joined: 15 Jun 2009
Posts: 35

PostPosted: Sat Apr 13, 2019 6:28 pm    Post subject: Reply with quote

Ho trovato quale inghippo, ho scaricato i driver direttamente dal sit e quando lancio l'unstallazione mi dice che il mio kernel è compilato con una version di gcc che può dare problemi.... devo ricompilare il kernel ?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22059
Location: here

PostPosted: Sat Apr 13, 2019 6:40 pm    Post subject: Reply with quote

scolpi wrote:
Ho trovato quale inghippo, ho scaricato i driver direttamente dal sit e quando lancio l'unstallazione mi dice che il mio kernel è compilato con una version di gcc che può dare problemi.... devo ricompilare il kernel ?

Si prova a ricmpilare il kernel e aggiornalo all'ultima versione stabile del ramo 4.14 ovvero la 4.14.105-r1
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
scolpi
n00b
n00b


Joined: 15 Jun 2009
Posts: 35

PostPosted: Sat Apr 13, 2019 7:45 pm    Post subject: Reply with quote

Compilato il nuovo kernel ed ora [ tutto ok.

Grazie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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