Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X fails every other boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 315
Location: Bordeaux, France

PostPosted: Sun Apr 06, 2014 8:55 pm    Post subject: X fails every other boot Reply with quote

Hello,

Weird behavior from X server since a short while, (probably last emerge, with nvidia-drivers and xorg-server updates..) : one boot of my box out of 2, (averagely), X fails to start... Because, says it, of NVIDIA kernel module... Here what it spits :
Code:
[   204.590]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[   204.590] X Protocol Version 11, Revision 0
[   204.590] Build Operating System: Linux 3.12.13-gentoo x86_64 Gentoo
[   204.591] Current Operating System: Linux bigpopa 3.12.13-gentoo #1 SMP Wed Apr 2 22:18:02 CEST 2014 x86_64
[   204.591] Kernel command line: init=/usr/lib/systemd/systemd BOOT_IMAGE=/kernel-genkernel-x86_64-3.12.13-gentoo root=UUID=dfaa0344-f357-4ffc-8a11-2d7f05523959 ro real_init=/usr/lib/systemd/systemd splash video=uvesafb:1680x1050-32,mtrr:3,ywrap
[   204.592] Build Date: 02 April 2014  09:46:00PM
[   204.592] 
[   204.592] Current version of pixman: 0.32.4
[   204.592]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   204.592] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   204.594] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr  6 21:39:11 2014
[   204.594] (==) Using config file: "/etc/X11/xorg.conf"
[   204.594] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   204.594] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   204.595] (==) ServerLayout "Layout0"
[   204.595] (**) |-->Screen "Screen0" (0)
[   204.595] (**) |   |-->Monitor "Monitor0"
[   204.595] (**) |   |-->Device "Device0"
[   204.595] (**) |-->Input Device "Keyboard0"
[   204.595] (**) |-->Input Device "Mouse0"
[   204.595] (==) Automatically adding devices
[   204.595] (==) Automatically enabling devices
[   204.595] (==) Automatically adding GPU devices
[   204.595] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[   204.595] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   204.595] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   204.595] (WW) Disabling Keyboard0
[   204.595] (WW) Disabling Mouse0
[   204.595] (II) Loader magic: 0x7f2c60
[   204.595] (II) Module ABI versions:
[   204.595]    X.Org ANSI C Emulation: 0.4
[   204.595]    X.Org Video Driver: 15.0
[   204.595]    X.Org XInput driver : 20.0
[   204.595]    X.Org Server Extension : 8.0
[   204.596] (--) PCI:*(0:1:0:0) 10de:11c0:1043:8423 rev 161, Mem @ 0xfd000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000bc00/128, BIOS @ 0x????????/524288
[   204.596] Initializing built-in extension Generic Event Extension
[   204.596] Initializing built-in extension SHAPE
[   204.597] Initializing built-in extension MIT-SHM
[   204.597] Initializing built-in extension XInputExtension
[   204.597] Initializing built-in extension XTEST
[   204.597] Initializing built-in extension BIG-REQUESTS
[   204.597] Initializing built-in extension SYNC
[   204.598] Initializing built-in extension XKEYBOARD
[   204.598] Initializing built-in extension XC-MISC
[   204.598] Initializing built-in extension XINERAMA
[   204.598] Initializing built-in extension XFIXES
[   204.598] Initializing built-in extension RENDER
[   204.598] Initializing built-in extension RANDR
[   204.599] Initializing built-in extension COMPOSITE
[   204.599] Initializing built-in extension DAMAGE
[   204.599] Initializing built-in extension MIT-SCREEN-SAVER
[   204.599] Initializing built-in extension DOUBLE-BUFFER
[   204.599] Initializing built-in extension RECORD
[   204.599] Initializing built-in extension DPMS
[   204.600] Initializing built-in extension Present
[   204.600] Initializing built-in extension DRI3
[   204.600] Initializing built-in extension X-Resource
[   204.600] Initializing built-in extension XVideo
[   204.600] Initializing built-in extension XVideo-MotionCompensation
[   204.601] Initializing built-in extension XFree86-VidModeExtension
[   204.601] Initializing built-in extension XFree86-DGA
[   204.601] Initializing built-in extension XFree86-DRI
[   204.601] Initializing built-in extension DRI2
[   204.601] (II) LoadModule: "glx"
[   204.601] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   204.615] (II) Module glx: vendor="NVIDIA Corporation"
[   204.615]    compiled for 4.0.2, module version = 1.0.0
[   204.615]    Module class: X.Org Server Extension
[   204.615] (II) NVIDIA GLX Module  334.21  Thu Feb 27 13:54:04 PST 2014
[   204.615] Loading extension GLX
[   204.615] (II) LoadModule: "nvidia"
[   204.615] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   204.615] (II) Module nvidia: vendor="NVIDIA Corporation"
[   204.616]    compiled for 4.0.2, module version = 1.0.0
[   204.616]    Module class: X.Org Video Driver
[   204.616] (II) NVIDIA dlloader X Driver  334.21  Thu Feb 27 13:34:35 PST 2014
[   204.616] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   204.616] (--) using VT number 3

[   204.664] (II) Loading sub module "fb"
[   204.664] (II) LoadModule: "fb"
[   204.664] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   204.664] (II) Module fb: vendor="X.Org Foundation"
[   204.664]    compiled for 1.15.0, module version = 1.0.0
[   204.664]    ABI class: X.Org ANSI C Emulation, version 0.4
[   204.664] (WW) Unresolved symbol: fbGetGCPrivateKey
[   204.664] (II) Loading sub module "wfb"
[   204.664] (II) LoadModule: "wfb"
[   204.664] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   204.664] (II) Module wfb: vendor="X.Org Foundation"
[   204.664]    compiled for 1.15.0, module version = 1.0.0
[   204.664]    ABI class: X.Org ANSI C Emulation, version 0.4
[   204.664] (II) Loading sub module "ramdac"
[   204.664] (II) LoadModule: "ramdac"
[   204.664] (II) Module "ramdac" already built-in
[   204.664] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   204.664] (EE) NVIDIA:     system's kernel log for additional error messages and
[   204.664] (EE) NVIDIA:     consult the NVIDIA README for details.
[   204.664] (EE) No devices detected.
[   204.664] (EE)
Fatal server error:
[   204.664] (EE) no screens found(EE)
[   204.664] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   204.665] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   204.665] (EE)


Isn't it odd that it uses VT number 3 ? It usually pops on VT number 7. It does when I get lucky, and the box starts normally..
Code:
 vim /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 334.21  (buildmeister@swio-display-x64-rhel04-16)  Thu Feb 27 14:37:03 PST 2014


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "iiyama"
    ModelName      "Prolite E2207WS"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Code:
grep -i "MTRR" .config
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0grep -i NVIDIA .config
CONFIG_NET_VENDOR_NVIDIA=y
# CONFIG_FB_NVIDIA is not set
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1


I followed the guide https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers to prepare the kernel for build.
Code:
# emerge -pv nvidia-drivers x11-base/xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.15.0:0/1.15.0  USE="ipv6 kdrive nptl suid udev xorg -dmx -doc -minimal (-selinux) -static-libs -tslib -unwind -xnest -xvfb" 0 kB
[ebuild   R    ] x11-drivers/nvidia-drivers-334.21  USE="X acpi multilib tools -pax_kernel -uvm" 0 kB

Code:
# lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 660] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)


I did try to add in xorg.conf device-section
Code:
BusID           "PCI:01:00.0"

But no improvement, same behavior

Code:
# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.2
KiB Mem:     8184208 total,   5961544 free
KiB Swap:    1004056 total,   1004056 free
Timestamp of tree: Sat, 05 Apr 2014 13:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.8-r3, 2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.3 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portages/packages"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.38/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="3dnow 3dnowext 64bit X a52 aac abiword accessibility acpi ads aio alisp alsa amazon amd64 antlr apache2 apng applet arts asf ass asyncns avcodec avformat bcel berkdb bitmap-fonts blksha1 bluetooth bogofilter bookmarks branding bsf bzip2 cairo caps cdda cddb cdio cdr classic cli client clucene colord commonslogging commonsnet community compat corefonts cpufreq cracklib cramfs crashreporter crypt css ctype cups cxx dbus deprecated development devfs-compat device-mapper dhcpcd dirac dlloader dri dso dts dv dvbpsi dvd dvdnav dvdr dvdread eds egl emboss enca encode esd espeak evo exceptions exif extensions external-fuse extras faac faad fam fbcondecor ffmpeg filecaps fileinfo filter firefox firmware-loader flac fltk fontconfig fortran fts3 gallium games gcrypt gd gdbm gdu gecko geoloc gif gles glib gnome gnome-keyring gnome-online-accounts gnome-shell gnutls gpm gstreamer gtk gudev handbook hardcoded-tables hash hpcups hpn http httpd hwdb i18n iconv introspection ipc ipv6 isdnlog jack java javamail jce jdepend jit joystick jpeg jsch json kde kdrive kerberos keymap kmod lcms ldap libburn libclamav libffi libg++ libkms libnotify libsamplerate libsecret lirc live llvm log4j lua lvm1 lzma mad mdev midi mikmod miner-fs minizip mmx mmxext mng mod modplug modules mp3 mp4 mpeg mudflap multilib musepack mysql mysqli nautilus ncurses netapi netifrc network networkmanager nls nptl nptlonly nsplugin ntfsprogs oav ogg opengl openmp openrc orc oro osdmenu oss pam pango pch pcre pdf pdo perl pg-intdatetime phar pkinit png policykit poppler-data posix postgres postproc ppds ppp pppd pulseaudio python qt3 qt3support qt4 quicktime raptor rar readline real redland reflection regexp resolver rtc rtsp rule_generator samba sasl scanner schroedinger sdl semantic-desktop session setup sftp sha512 shared-glapi shm shotwell shout simplexml smbclient sndfile socialweb source speex spell spl sqlite sse sse2 sse2check ssl ssse3 startup-notification stl stream suid svg swat systemd tcpd telepathy theora threads threadsafe tiff toolame tools tracker tremor truetype truetype-fonts twolame udev udisks unicode upower urandom usb utils v4l vala vapigen vba video virtuoso vorbis wallpapers wav wavpack weather webdav webdav-neon webgl webm webmin-minimal webrtc-aec wext wide-unicode wifi win32codecs wxwidgets x264 xcb xiph xml xmlsec xorg xpdf-headers xscreensaver xulrunner xv xvid yasim youtube zeroconf zlib" ABI_X86="(64) 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="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 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="jython2_5 pypy1_8 pypy1_9 python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="agfafocus apple canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net epson epson2 fujitsu hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s hs2p ibm kodak kvs1025 kvs20xx%* lexmark ma1509 magicolor%* mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack test u12 umax umax1220u umax_pp xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


So, every time I turn on my box, I wonder if I'm gonna get a tty black screen with a prompt, or a graphical environment to log in.... Next time it happens, I'll get dmesg.
So far, any suggestion welcome
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 4337
Location: USA

PostPosted: Sun Apr 06, 2014 10:10 pm    Post subject: Reply with quote

Code:
[   204.664] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   204.664] (EE) NVIDIA:     system's kernel log for additional error messages and
[   204.664] (EE) NVIDIA:     consult the NVIDIA README for details.
[   204.664] (EE) No devices detected.

The kernel log you can see by running dmesg ... do you see anything there?

During bootup do you see any messages about the kernel module?

Very weird indeed though... flaky behavior is always nasty.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 315
Location: Bordeaux, France

PostPosted: Mon Apr 07, 2014 8:46 pm    Post subject: Reply with quote

here we go :
Code:
grep -i nvidia dmesg_trace
[   19.871445] nvidia: module license 'NVIDIA' taints kernel.
[   19.920096] Modules linked in: nvidia(PO+) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel(+) snd_hda_codec acpi_cpufreq(+) freq_table snd_hwdep snd_pcm processor snd_page_alloc via_rhine snd_timer mii i2c_i801 intel_agp snd floppy intel_gtt pcspkr i2c_core thermal_sys microcode(+) button pata_acpi xts gf128mul aes_x86_64 cbc sha512_generic sha256_generic sha1_generic libiscsi scsi_transport_iscsi tg3 ptp pps_core libphy e1000 fuse nfs lockd sunrpc jfs multipath linear raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq raid1 raid0 dm_snapshot dm_crypt dm_mirror dm_region_hash dm_log dm_mod hid_sunplus hid_sony led_class hid_samsung hid_pl hid_petalynx hid_gyration sl811_hcd usbhid xhci_hcd ohci_hcd uhci_hcd usb_storage ehci_pci ehci_hcd usbcore usb_common
[   20.116775]  [<ffffffffa0eed796>] os_get_cpu_frequency+0xb/0x13 [nvidia]
[   20.116775]  [<ffffffffa0ebff99>] _nv013411rm+0x9/0x30 [nvidia]
[   20.116775]  [<ffffffffa09f045d>] ? _nv000763rm+0x2ed/0xf90 [nvidia]
[   20.116775]  [<ffffffffa09c400a>] ? _nv000766rm+0x7a/0xc0 [nvidia]
[   20.116775]  [<ffffffffa0ec82e4>] ? rm_init_rm+0x24/0x80 [nvidia]
[   20.116775]  [<ffffffffa13bc097>] ? nvidia_init_module+0x97/0x6f5 [nvidia]
[   20.116775]  [<ffffffffa13bc6fd>] ? nv_drm_init+0x8/0x8 [nvidia]
[   20.116775]  [<ffffffffa13bc783>] ? nvidia_frontend_init_module+0x86/0xb8 [nvidia]
[   20.116775]  [<ffffffffa13bc6fd>] ? nv_drm_init+0x8/0x8 [nvidia]


Doesn't sound that good, does it ?
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 315
Location: Bordeaux, France

PostPosted: Mon Apr 07, 2014 8:53 pm    Post subject: Reply with quote

in fact, this would be more significant :
Code:
[   17.985605] ACPI: Requesting acpi_cpufreq
[   18.507281] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
[   18.689740] hda_intel: Disabling MSI
[   19.265644] microcode: CPU1 sig=0x1067a, pf=0x10, revision=0xa07
[   19.871445] nvidia: module license 'NVIDIA' taints kernel.
[   19.881482] Disabling lock debugging due to kernel taint
[   19.908353] ------------[ cut here ]------------
[   19.917276] kernel BUG at drivers/cpufreq/cpufreq.c:79!
[   19.920096] invalid opcode: 0000 [#1] SMP
[   19.920096] Modules linked in: nvidia(PO+) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel(+) snd_hda_codec acpi_cpufreq(+) freq_table snd_hwdep snd_pcm processor snd_page_alloc via_rhine snd_timer mii i2c_i801 intel_agp snd floppy intel_gtt pcspkr i2c_core thermal_sys microcode(+) button pata_acpi xts gf128mul aes_x86_64 cbc sha512_generic sha256_generic sha1_generic libiscsi scsi_transport_iscsi tg3 ptp pps_core libphy e1000 fuse nfs lockd sunrpc jfs multipath linear raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq raid1 raid0 dm_snapshot dm_crypt dm_mirror dm_region_hash dm_log dm_mod hid_sunplus hid_sony led_class hid_samsung hid_pl hid_petalynx hid_gyration sl811_hcd usbhid xhci_hcd ohci_hcd uhci_hcd usb_storage ehci_pci ehci_hcd usbcore usb_common
[   19.920096]  aic94xx libsas lpfc crc_t10dif crct10dif_common qla2xxx megaraid_sas megaraid_mbox megaraid_mm megaraid aacraid sx8 DAC960 cciss 3w_9xxx 3w_xxxx mptsas scsi_transport_sas mptfc scsi_transport_fc scsi_tgt mptspi mptscsih mptbase atp870u dc395x qla1280 imm parport dmx3191d sym53c8xx gdth advansys initio BusLogic arcmsr aic7xxx aic79xx scsi_transport_spi sg pdc_adma sata_inic162x sata_mv ata_piix ahci libahci sata_qstor sata_vsc sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24 sata_sil sata_promise pata_sl82c105 pata_cs5530 pata_cs5520 pata_via pata_jmicron pata_marvell pata_sis pata_netcell pata_sc1200 pata_pdc202xx_old pata_triflex pata_atiixp pata_opti pata_amd pata_ali pata_it8213 pata_pcmcia pcmcia pcmcia_core pata_ns87415 pata_ns87410 pata_serverworks pata_artop pata_it821x
[   19.920096]  pata_optidma pata_hpt3x2n pata_hpt3x3 pata_hpt37x pata_hpt366 pata_cmd64x pata_efar pata_rz1000 pata_sil680 pata_radisys pata_pdc2027x pata_mpiix libata
[   19.920096] CPU: 0 PID: 3641 Comm: modprobe Tainted: P           O 3.12.13-gentoo #1
[   19.920096] Hardware name: System manufacturer System Product Name/P5Q-PRO, BIOS 2102    02/23/2009
[   20.079631] microcode: CPU2 sig=0x1067a, pf=0x10, revision=0xa07
[   19.920096] task: ffff8802148de000 ti: ffff8802129ba000 task.ti: ffff8802129ba000
[   20.114346] microcode: CPU3 sig=0x1067a, pf=0x10, revision=0xa07
[   20.116760] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[   20.116775] RIP: 0010:[<ffffffff813f8b07>]  [<ffffffff813f8b07>] lock_policy_rwsem_read+0x1b/0x3c
[   20.116775] RSP: 0000:ffff8802129bbc40  EFLAGS: 00010246
[   20.116775] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000010
[   20.116775] RDX: ffff88021fc00000 RSI: 0000000000000006 RDI: 0000000000000000
[   20.116775] RBP: ffff8802129bbc58 R08: 000000000001067a R09: ffffffffa09f023f
[   20.116775] R10: ffff8802137e3004 R11: ffffffffa09f023f R12: 0000000000000000
[   20.116775] R13: ffff8802137e3000 R14: ffff8802139800dc R15: ffff8802137e2ff8
[   20.116775] FS:  00007f15ea7ff700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
[   20.116775] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   20.116775] CR2: ffffe8ffffc004f0 CR3: 00000002140f9000 CR4: 00000000000407f0
[   20.116775] Stack:
[   20.116775]  ffffffff813f943f ffff880213980008 ffff880213bdc808 ffff8802129bbc68
[   20.116775]  ffffffffa0eed796 ffff8802137e2ff0 ffffffffa0ebff99 ffff8802137e2ff8
[   20.116775]  ffffffffa09f045d ffff880213980008 ffff8802129bbd18 0000000000000000
[   20.116775] Call Trace:
[   20.116775]  [<ffffffff813f943f>] ? cpufreq_get+0x3c/0x65
[   20.116775]  [<ffffffffa0eed796>] os_get_cpu_frequency+0xb/0x13 [nvidia]
[   20.116775]  [<ffffffffa0ebff99>] _nv013411rm+0x9/0x30 [nvidia]
[   20.116775]  [<ffffffffa09f045d>] ? _nv000763rm+0x2ed/0xf90 [nvidia]
[   20.116775]  [<ffffffffa09c400a>] ? _nv000766rm+0x7a/0xc0 [nvidia]
[   20.116775]  [<ffffffffa0ec82e4>] ? rm_init_rm+0x24/0x80 [nvidia]
[   20.116775]  [<ffffffffa13bc097>] ? nvidia_init_module+0x97/0x6f5 [nvidia]
[   20.116775]  [<ffffffffa13bc6fd>] ? nv_drm_init+0x8/0x8 [nvidia]
[   20.116775]  [<ffffffffa13bc783>] ? nvidia_frontend_init_module+0x86/0xb8 [nvidia]
[   20.116775]  [<ffffffffa13bc6fd>] ? nv_drm_init+0x8/0x8 [nvidia]
[   20.116775]  [<ffffffff81000267>] ? do_one_initcall+0x7f/0x104
[   20.116775]  [<ffffffff810c25ff>] ? __vunmap+0x91/0xb8
[   20.116775]  [<ffffffff810795c3>] ? load_module+0x1acf/0x1daa
[   20.116775]  [<ffffffff81076b94>] ? mod_kobject_put+0x45/0x45
[   20.116775]  [<ffffffff810cdb34>] ? vfs_read+0x102/0x12d
[   20.116775]  [<ffffffff8107998f>] ? SyS_finit_module+0x56/0x6c
[   20.116775]  [<ffffffff814d0be2>] ? system_call_fastpath+0x16/0x1b
[   20.116775] Code: ff 5e 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 63 ff 48 c7 c0 d0 e3 00 00 48 8b 14 fd b0 be 6a 81 48 8b 04 10 48 85 c0 75 02 <0f> 0b 55 48 c7 c7 e0 e3 00 00 8b 40 14 48 89 e5 48 03 3c c5 b0
[   20.116775] RIP  [<ffffffff813f8b07>] lock_policy_rwsem_read+0x1b/0x3c
[   20.116775]  RSP <ffff8802129bbc40>
[   20.735425] ---[ end trace b485acce86a8fbe2 ]

_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2952
Location: UK

PostPosted: Tue Apr 08, 2014 2:16 am    Post subject: Reply with quote

The VT3 thing is very odd, sounds almost like it's trying to start X before agetty.
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 4337
Location: USA

PostPosted: Tue Apr 08, 2014 8:56 pm    Post subject: Reply with quote

On a gdm system, it should be fine for the machine to never run agetty...
One thing that's common with the two is that it errors in the CPU frequency detection...which is odd... Is this repeatable with different versions of the kernel or not? What happens if you disable cpufreq?

Are both dumps from when the machine fails to start X11? Is there any errors when it does start just fine?
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 315
Location: Bordeaux, France

PostPosted: Tue Apr 08, 2014 9:43 pm    Post subject: Reply with quote

Quote:
Are both dumps from when the machine fails to start X11?


Yes, they are ; it's actually the very same dump from last time X11 failed. I've split it in 2 parts, with redundancy, which may end up confusing the reader.

Quote:
Is there any errors when it does start just fine?

Absolutely not

Quote:
Is this repeatable with different versions of the kernel or not?

I didn't have this issue with linux-3.10.25-gentoo. Also, I should mention, in case it'd be related, that I've had to change, in /etc/default/grub, "GRUB_CMDLINE_LINUX_DEFAULT="init=/usr/lib/systemd/systemd" for "real_init=/usr/lib/systemd/systemd", when I went on with linux-3.12.13-gentoo, (see my post https://forums.gentoo.org/viewtopic-t-987146-highlight-.html). Whereas it did boot with systemd and linux-3.10.25-gentoo, i t wouldn't, with linux-3.12.13-gentoo, until I change "init" for "real_init". I'm still puzzled about this.

I'm gonna try to recompile both kernels linux-3.12.13-gentoo and linux-3.10.25-gentoo, and see how they behave....
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 315
Location: Bordeaux, France

PostPosted: Fri Apr 11, 2014 8:17 am    Post subject: Reply with quote

Well.... I found the solution : removed linux-3.12.13-gentoo and went back to linux-3.10.25-gentoo, that I recompiled along with nvidia-drivers. So far, no unpleasant surprise at boot.....
but this new one : no networking anymore. New story, new thread.... I'm getting tired
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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