Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2019 14:36:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238367] x11/nvidia-driver-340: random kernel panic when starting firefox with GeForce GT 730 on FreeBSD 12.0
Message-ID:  <bug-238367-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238367

            Bug ID: 238367
           Summary: x11/nvidia-driver-340: random kernel panic when
                    starting firefox with GeForce GT 730 on FreeBSD 12.0
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: freebsdbugzilla@agneau.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

Created attachment 204860
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204860&action=
=3Dedit
crash dump summary

When starting firefox the system panic some times (but not always, may be 1
time in 5)

% uname -a
FreeBSD troll.free.org 12.0-RELEASE-p4 FreeBSD 12.0-RELEASE-p4 GENERIC  amd=
64

% pciconf -lv | grep display -B 3 -A 1

vgapci0@pci0:1:0:0:     class=3D0x030000 card=3D0x85251043 chip=3D0x128710d=
e rev=3D0xa1
hdr=3D0x00
    vendor     =3D 'NVIDIA Corporation'
    device     =3D 'GK208B [GeForce GT 730]'
    class      =3D display
    subclass   =3D VGA

% pkg info  nvidia-driver-340-340.107_3
nvidia-driver-340-340.107_3
Name           : nvidia-driver-340
Version        : 340.107_3
Installed on   : Tue Mar 19 19:32:16 2019 CET
Origin         : x11/nvidia-driver-340
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : x11 kld
Licenses       : NVIDIA
Maintainer     : danfe@FreeBSD.org
WWW            : https://www.nvidia.com/object/unix.html
Comment        : NVidia graphics card binary drivers for hardware OpenGL
rendering
...

(install from official pkg repository)

According to crash dump, the problem seems to be in nv000224rm () from
/boot/modules/nvidia.ko :

(kgdb) #0  doadump (textdump=3D<value optimized out>) at pcpu.h:234
#1  0xffffffff80b9b14b in kern_reboot (howto=3D260)
    at /usr/src/sys/kern/kern_shutdown.c:446
#2  0xffffffff80b9b5c3 in vpanic (fmt=3D<value optimized out>,
    ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:872
#3  0xffffffff80b9b3b3 in panic (fmt=3D<value optimized out>)
    at /usr/src/sys/kern/kern_shutdown.c:799
#4  0xffffffff80edd0f0 in vm_fault_hold (map=3D<value optimized out>,
    vaddr=3D<value optimized out>, fault_type=3D<value optimized out>,
    fault_flags=3D<value optimized out>, m_hold=3D<value optimized out>)
    at /usr/src/sys/vm/vm_fault.c:586
#5  0xffffffff80eda940 in vm_fault (map=3D0xfffff80003002000,
    vaddr=3D<value optimized out>, fault_type=3D1 '\001', fault_flags=3D0)
    at /usr/src/sys/vm/vm_fault.c:536
#6  0xffffffff81074d73 in trap_pfault (frame=3D0xfffffe00ee980450, usermode=
=3D0)
    at /usr/src/sys/amd64/amd64/trap.c:830
#7  0xffffffff8107427e in trap (frame=3D0xfffffe00ee980450)
    at /usr/src/sys/amd64/amd64/trap.c:441
#8  0xffffffff8104f435 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:232
#9  0xffffffff831041db in _nv000224rm () from /boot/modules/nvidia.ko
#10 0xfffff806c5ab2800 in ?? ()
#11 0x0000000000000000 in ?? ()

A core dump summary is attached=20

my xorg.conf:
Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "AllowEmptyInput" "no"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "fr"

    Option      "XkbVariant" "latin9"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "Auto"
    Option      "Device" "/dev/sysmouse"
    Option      "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    Option      "DPMS"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth    24
    SubSection "Display"
       Depth   24
       Modes    "2560x1600"
    EndSubSection
EndSection



Regards,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238367-7788>