-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic on 13-CURRENT following r355784 #199
Comments
Which version of the drm drivers? Did you built it yourself or are you using packages? What GPU? |
Built from ports, yesterday (you forgot to update PORTREVISION when GH_TAGNAME was updated. GH_TAGNAME= 9ea021d drm-current-kmod-4.16.g20191217 WWW: https://github.com/FreeBSDDesktop/kms-drm The GPU is HD3000 (i915) [drm] Got stolen memory base 0xd7a00000, size 0x8000000 sysctls: |
Is this crash a one off thing? Repeatable? What software were running? |
I forgot to bump the version of drm-devel-kmod. drm-current-kmod looks OK from what I can see. drm-devel-kmod has been bumped now though. |
This crash has occurred three times over the last two days. Once yesterday. Twice today. |
Sorry, longer than three days. Four panics since Dec 9. info.0: Dumptime: Mon Dec 9 18:48:31 2019 slippy# grep WARN_ON core.txt.? |
Wed Dec 18 12:35:57 PST 2019
FreeBSD slippy 13.0-CURRENT FreeBSD 13.0-CURRENT #640 r355881M: Wed Dec 18 04:43:50 PST 2019 root@slippy:/export/obj/opt/src/svn-current/amd64.amd64/sys/BREAK amd64
panic: page fault
GNU gdb (GDB) 8.3.1 [GDB v8.3.1 for FreeBSD]
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /boot/kernel/kernel...
Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...
Unread portion of the kernel message buffer:
Fatal trap 12: page fault while in user mode
cpuid = 2; apic id = 02
fault virtual address = 0x7fffffffea88
fault code = user write data, protection violation
m-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:577
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:577
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:622
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:821
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:821
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:821
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:821
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:821
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:821
<4>WARN_ON(!mutex_is_locked(&dev->struct_mutex))
<4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))
panic: page fault
cpuid = 2
time = 1576701000
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0093f0d930
vpanic() at vpanic+0x17e/frame 0xfffffe0093f0d990
panic() at panic+0x43/frame 0xfffffe0093f0d9f0
trap_fatal() at trap_fatal+0x386/frame 0xfffffe0093f0da50
trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0093f0dac0
trap() at trap+0x41b/frame 0xfffffe0093f0dbf0
calltrap() at calltrap+0x8/frame 0xfffffe0093f0dbf0
--- trap 0xc, rip = 0x206d81, rsp = 0x7fffffffea90, rbp = 0x7fffffffeab0 ---
Uptime: 2h5m55s
55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu,
(kgdb) #0 __curthread () at /opt/src/svn-current/sys/amd64/include/pcpu_aux.h:55
#1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:392
#2 0xffffffff80690a8a in kern_reboot (howto=260)
at /opt/src/svn-current/sys/kern/kern_shutdown.c:479
#3 0xffffffff80690f26 in vpanic (fmt=, ap=)
at /opt/src/svn-current/sys/kern/kern_shutdown.c:908
#4 0xffffffff80690d43 in panic (fmt=)
at /opt/src/svn-current/sys/kern/kern_shutdown.c:835
#5 0xffffffff80a31c26 in trap_fatal (frame=0xfffffe0093f0dc00,
eva=140737488349832) at /opt/src/svn-current/sys/amd64/amd64/trap.c:926
#6 0xffffffff80a31c7f in trap_pfault (frame=0xfffffe0093f0dc00,
usermode=, signo=, ucode=)
at /opt/src/svn-current/sys/amd64/amd64/trap.c:743
#7 0xffffffff80a3146b in trap (frame=0xfffffe0093f0dc00)
at /opt/src/svn-current/sys/amd64/amd64/trap.c:347
#8
#9 0x0000000000206d81 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffffffea90
(kgdb)
The stack appears corrupted.
WARN_ON(!mutex_is_locked(&fbc->lock)) is printed every time it panics.
The text was updated successfully, but these errors were encountered: