Date: Thu, 31 Aug 2017 10:29:33 +0200 From: Jakob Alvermark <jakob@alvermark.net> To: x11@freebsd.org Subject: drm-next-kmod panic Message-ID: <cf88383f-5f7a-9904-996e-b26d1d49bc65@alvermark.net>
next in thread | raw e-mail | index | archive | help
Hello, Excited about the new graphics/drm-next-kmod port I naturally wanted to try it. I have tested it on two machines. First, my daily driver, a ThinkPad Yoga 12 (Broadwell) It is an Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz Running -CURRENT r322999 I installed drm-next-kmod-g20170829 and when kldloading /boot/modules/drm.ko and then /boot/modules/i915kms.ko The screen goes blank and system is unresposive (probably panics?), only a power cycle gets it running again. I found this in /var/log/messages Aug 30 09:18:34 YYU kernel: sysctl_unregister_oid: failed to unregister sysctl Aug 30 09:18:50 YYU devd: notify_clients: send() failed; dropping unresponsive c lient Aug 30 09:18:50 YYU root: Unknown USB device: vendor 0x04f2 product 0xb46a bus u hub0 Aug 30 09:18:51 YYU kernel: [drm] Initialized Aug 30 09:18:58 YYU kernel: drmn0: <drmn> on vgapci0 Aug 30 09:18:58 YYU kernel: vgapci0: child drmn0 requested pci_enable_io Aug 30 09:18:58 YYU kernel: vgapci0: child drmn0 requested pci_enable_io Aug 30 09:18:58 YYU kernel: [drm] Memory usable by graphics device = 4096M Aug 30 09:18:58 YYU kernel: Failed to add WC MTRR for [0xe0000000-0xefffffff]: - 22; performance may suffer Aug 30 09:18:58 YYU kernel: Aug 30 09:18:58 YYU kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10 .2013). Aug 30 09:18:58 YYU kernel: [drm] Driver supports precise vblank timestamp query . Aug 30 09:18:58 YYU kernel: [drm] Connector eDP-1: get mode from tunables: Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.modes.eDP-1 Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.default_mode Aug 30 09:18:58 YYU kernel: [drm] Connector DP-1: get mode from tunables: Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.modes.DP-1 Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.default_mode Aug 30 09:18:58 YYU kernel: [drm] Connector HDMI-A-1: get mode from tunables: Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.modes.HDMI-A-1 Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.default_mode Aug 30 09:18:58 YYU kernel: [drm] Connector HDMI-A-2: get mode from tunables: Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.modes.HDMI-A-2 Aug 30 09:18:58 YYU kernel: [drm] - kern.vt.fb.default_mode Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: [drm] Initialized i915 1.6.0 20160919 for drmn on mi nor 0 Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buf fer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !ms g->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: [drm:intel_dp_link_training_channel_equalization] failed to update link training Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size)WARN_ON(!msg->buffer != !msg->size) Aug 30 09:18:58 YYU kernel: [drm:intel_dp_link_training_channel_equalization] failed to update link training ------- The second machine is an Acer E3-112 with an Intel(R) Pentium(R) CPU N3540 @ 2.16GHz. Running -CURRENT r323012 On loading drm.ko and i915kms it panics: [drm] Initialized drmn0: <drmn> on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Memory usable by graphics device = 2048M [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] Connector VGA-1: get mode from tunables: [drm] - kern.vt.fb.modes.VGA-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] Connector eDP-1: get mode from tunables: [drm] - kern.vt.fb.modes.eDP-1 [drm] - kern.vt.fb.default_mode [drm] Initialized i915 1.6.0 20160919 for drmn on minor 0 Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x20 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff82c58dba stack pointer = 0x28:0xfffffe0232094a20 frame pointer = 0x28:0xfffffe0232094a80 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (linuxkpi_short_wq_1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf88383f-5f7a-9904-996e-b26d1d49bc65>