From nobody Sun May 21 08:36:09 2023 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QPDSV24G4z4CF0k for ; Sun, 21 May 2023 08:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QPDSV12cqz3vhR for ; Sun, 21 May 2023 08:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684658170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=08wX3CElqtgq7r/OGCYd0sLZ+1hqia2FBMOrSugrpTo=; b=qmDlPnTGFKZh67FI4L34wsyRJiHtYIg1LjJDfnRLCDtmZx/li4uESYGkuV5bKjq1dvn5+S nmdRzPoQAb/Bg8ymoM15CkZuOqb2/MOul10g4ECU/nYBk0RYGDCbczAZdNPPDr0SSSbKtA UO1Di0+WlYzxNsnkda/FMPEJ5QuC++lVVHW+jq+5FJcV+zehrN5+WpUcHSY4TORq3BjUIP e17wwNwGoh/vqDcdruLR5ZUaVbYltO1StV3Lj557K12m6dZpvCOBH4q4aa9Qw8yqyb9Cu2 kD3e6nEYnGw9okjWfn7e7Btw0MgSdYstFGovC+SPJiJI+aAt+z7BnMuxty3CCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684658170; a=rsa-sha256; cv=none; b=IZYZigCd4aXPDg5o7VEXmMltvfh/VGKAkx3j188/Fuic7TNK8AlET4qsrSXqY2O8oTC9+K qgQVS/NI444lGc0jSOArG2M7MBtEcWi6gwQD5STA2v4BhP8acIqwGPVxN8xJN028yAiawG w4TZy8byYI+LMI9AYMlsVdaeixEUC5hVqrp1wV+Km+rMoj+TXSjNehgC7MTvxZj/xECn+E K/3d8XHkAUnR6uyxIxcX6XN2U1M9mxTMkO4uJtxy6KB23vADvg9m0f/FKcQRC+/tUPEW65 gMSuV4is4NdsFp7tZasEXvbR31XZyUTx0Kd4LinTIq7nCGRQ0OEAso1FhIme+w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QPDSV05sJzlQX for ; Sun, 21 May 2023 08:36:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34L8a9Ch045174 for ; Sun, 21 May 2023 08:36:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34L8a95d045173 for x11@FreeBSD.org; Sun, 21 May 2023 08:36:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 267421] graphics/drm-510-kmod i915kms freeze with Skylake (Intel HD graphics 520) on 13.1-STABLE n252850-6b2bbf4ecaa Date: Sun, 21 May 2023 08:36:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267421 O. Hartmann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ohartmann@walstatt.org --- Comment #16 from O. Hartmann --- I hope this PR is still "hot", otherwise I need to open a new one. On a Lenovo T560 running 13-STBALE, the HD520 graphics isn't working any mo= re. Techniscal specifications see below. Background: Customized Kernel (but also crashes with GENERIC). Port graphics/drm-510-km= od is rebuilt every time the kernel is rebuild, if the module(s) is (are) downloaded via pkg from the official FreeBSD package repository, one will receive an error message on loading the module into the kernel like: [...] login: link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type Apr 22 11:47:42 <4.5> hermann login[1792]: ROOT LOGIN (root) ON ttyv1 link_elf_obj: symbol __lkpi_fpu_ctx_level undefined linker_load_file: /boot/modules/i915kms.ko - unsupported file type=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [...] The kernel has been compiled with debugging facilities ON as defaulted in GENERIC. Phenomenon: Starting FreeBSD and loading the drm-kmod module i915.ko works fine. I also= get to the point with the presentation of the xdm login. Starting windowmaker (x11-wm/windowmaker), the Labtop immediately goes blank/dark and reboots. T= here is no trace of a core dump or a debugger console as expected. Changing the windowmanager from wmaker to, say, blackbox (x11-wm/blackbox) = or twm (x11-wm/twm, mitigates the problem, does mean: the OS starts the GUI. B= ut in case of twm, opening xterm results in the very same crash behaviour as w= ith wmaker. Running blackbox gives some relaxed behaviour, but starting any(!) larger X11 application, like LibreOffice (soffice), Firefox or Thundebird. = But even with clients with an obvious smaller memory foortprint it takes a while until a crash occurs. This behaviour is seen on a couple of T560s around here with 13.2-RELENG (n= ot well tested, just a quick check), 13-STABLE as shown below. I have no exact point in time when the problems occur, bu it was the transi= tion between 13-STABLE -> 13.2-STABLE before the official RELEASE of 13.2 (runni= ng the 13-STABLE by compiling the whole sources on a regular basis). While keeping the kernel and the way it is compiled an invariant, I changed from seld-made poudriere built ports (with recent 13-STABLE jail) to offici= al FreeBSD package repository and back - with no effect on the result of a cra= sh. As reported, I can not provide with a coredump or anything sent by the kern= el debugger since there is none of such a postmoretm info. The T560 is running the latest firmware/BIOS available from Lenovo (V1.45) [...] FreeBSD 13.2-STABLE #12 stable/13-n255406-69ce8ed3c650: Thu May 18 08:03:48 CEST 2023 amd64. All ZFS (zfsroot). UEFI boot. [... TECH SPEC ...] mptable_probe: MP Config Table has bad signature: Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.2-STABLE #12 stable/13-n255406-69ce8ed3c650: Thu May 18 08:03:48 CEST 2023 root@hermann:/usr/obj/usr/src/amd64.amd64/sys/HERMANN amd64 FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) VT(efifb): resolution 1920x1080 module zfsctrl already present! CPU microcode: no matching update found CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (2800.00-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x406e3 Family=3D0x6 Model=3D0x4e Steppi= ng=3D3 =20 Features=3D0xbfebfbff =20 Features2=3D0x7ffafbff AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x29c6fbf Structured Extended Features3=3D0xbc002e00 XSAVE Features=3D0xf IA32_ARCH_CAPS=3D0xc04 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 17179869184 (16384 MB) avail memory =3D 16464908288 (15702 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. Security policy loaded: MAC/ntpd (mac_ntpd) Security policy loaded: TrustedBSD MAC/BSD Extended (mac_bsdextended) ioapic0 irqs 0-119 Launching APs: 1 2 3 random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0xb7064000-0xb706401e smbios0: Version: 2.8, BCD Revision: 2.8 aesni0: acpi0: acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 550 Event timer "HPET1" frequency 24000000 Hz quality 440 Event timer "HPET2" frequency 24000000 Hz quality 440 Event timer "HPET3" frequency 24000000 Hz quality 440 Event timer "HPET4" frequency 24000000 Hz quality 440 atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xe000-0xe03f mem 0xe0000000-0xe0ffffff,0xc0000000-0xdfffffff irq 16 at device 2.0 on pci0 vgapci0: Boot video device xhci0: mem 0xe1220000-0xe122fff= f at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pchtherm0: mem 0xe124b000-0xe124bfff at dev= ice 20.2 on pci0 pci0: at device 22.0 (no driver attached) ahci0: port 0xe080-0xe087,0xe088-0xe08b,0xe060-0xe07f mem 0xe1248000-0xe1249fff,0xe124f000-0xe124f0ff,0xe124d000-0xe124d7ff at device 23.0 on pci0 ahci0: AHCI v1.31 with 1 6Gbps ports, Port Multiplier not supported ahcich1: at channel 1 on ahci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 rtsx0: <2.1g Realtek RTS522A PCIe SD Card Reader> mem 0xe1100000-0xe1100fff= at device 0.0 on pci1 rtsx0: Interrupt card inserted/removed rtsx0: Card absent rtsx0: No card is detected pcib2: at device 28.2 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 pci0: at device 31.2 (no driver attached) hdac0: mem 0xe1240000-0xe1243fff,0xe1230000-0xe123ffff at device 31.3 on pci0 ichsmb0: port 0xefa0-0xefbf mem 0xe124e000-0xe124e0ff at device 31.4 on pci0 [...] --=20 You are receiving this mail because: You are the assignee for the bug.=