Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 20:12:20 +0200
From:      David Marec <david.marec@davenulle.org>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Panic in nvidia module
Message-ID:  <5d1e3b4d-9548-d047-3b37-734ba7390158@davenulle.org>

next in thread | raw e-mail | index | archive | help
greeting,

Tracking 11-Stable,
- now : 316014, -
kernel panics on  'page fault' within nvidia module.
The system boots and  works well ( 'vt' in graphic mode) until xorg starts.
-

I had to rollback to a r315900 kernel to make xorg run again.

Here is a dump:


=== kgdb kernel.debug /var/crash/vmcore.last ==========================
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x4
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff82c76964
stack pointer	        = 0x28:0xfffffe0235b8e4b0
frame pointer	        = 0x28:0xfffffe0235b8e4b0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 3
current process		= 876 (Xorg)
trap number		= 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80a8c397 at kdb_backtrace+0x67
#1 0xffffffff80a496c6 at vpanic+0x186
#2 0xffffffff80a49533 at panic+0x43
#3 0xffffffff80eadf52 at trap_fatal+0x322
#4 0xffffffff80eae11c at trap_pfault+0x1bc
#5 0xffffffff80ead7d0 at trap+0x280
#6 0xffffffff80e92681 at calltrap+0x8
#7 0xffffffff82c434ef at _nv017563rm+0x1f
Uptime: 1h3m54s
Dumping 489 out of 8082 MB:..4%..14%..23%..33%..43%..53%..63%..72%..82%..92%

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/zfs.ko.debug...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/opensolaris.ko.debug...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/linux.ko.debug...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/linux_common.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/linux_common.ko.debug...done.
done.
Loaded symbols for /boot/kernel/linux_common.ko
Reading symbols from /boot/kernel/linux64.ko...Reading symbols from 
/usr/lib/debug//boot/kernel/linux64.ko.debug...done.
done.
Loaded symbols for /boot/kernel/linux64.ko
Reading symbols from /boot/modules/nvidia-modeset.ko...done.
Loaded symbols for /boot/modules/nvidia-modeset.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
#0  doadump (textdump=<value optimized out>) at pcpu.h:222
222		__asm("movq %%gs:%1,%0" : "=r" (td)
(kgdb) backtrace
#0  doadump (textdump=<value optimized out>) at pcpu.h:222
#1  0xffffffff80a49256 in kern_reboot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:366
#2  0xffffffff80a49700 in vpanic (fmt=<value optimized out>, ap=<value 
optimized out>) at /usr/src/sys/kern/kern_shutdown.c:759
#3  0xffffffff80a49533 in panic (fmt=<value optimized out>) at 
/usr/src/sys/kern/kern_shutdown.c:690
#4  0xffffffff80eadf52 in trap_fatal (frame=0xfffffe0235b8e3f0, eva=4) 
at /usr/src/sys/amd64/amd64/trap.c:801
#5  0xffffffff80eae11c in trap_pfault (frame=0xfffffe0235b8e3f0, 
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:658
#6  0xffffffff80ead7d0 in trap (frame=0xfffffe0235b8e3f0) at 
/usr/src/sys/amd64/amd64/trap.c:421
#7  0xffffffff80e92681 in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:236
#8  0xffffffff82c76964 in os_get_euid () from /boot/modules/nvidia.ko
#9  0xffffffff82c434ef in _nv017563rm () from /boot/modules/nvidia.ko
#10 0xfffff80021881400 in ?? ()
#11 0xffffffff82ba3330 in _nv004904rm () from /boot/modules/nvidia.ko
#12 0x0000000000000000 in ?? ()
Current language:  auto; currently minimal

=== kgdb kernel.debug /var/crash/vmcore.last ==========================


Thanks


-- 
David Marec
https://lapinbilly.eu/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d1e3b4d-9548-d047-3b37-734ba7390158>