From nobody Tue May 24 16:08:49 2022 X-Original-To: bugs@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 1D2611AEF616 for ; Tue, 24 May 2022 16:08:50 +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 4L6zds5RlGz3DBF for ; Tue, 24 May 2022 16:08:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 96FAD27B4F for ; Tue, 24 May 2022 16:08:49 +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 24OG8nTI090980 for ; Tue, 24 May 2022 16:08:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24OG8noW090979 for bugs@FreeBSD.org; Tue, 24 May 2022 16:08:49 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: bugs@FreeBSD.org Subject: [Bug 264206] sysctl panic with hw.dri.0.vblank Date: Tue, 24 May 2022 16:08:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ed@gnzo.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653408529; 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; bh=Y6CvTXNEibfKqUvCZw6v4R9djnkTBUI9n0X+x2Rh15A=; b=crZ0N/IOCnlftW+wlBvoIum+EzFCzI2NQLlWC/C/h57FLTabzfdig1fr9T4zhvfgF5HFyk yLb3mqQsaQFeoqQODEnGyU6Lgely8MmAEsusR4Qwjxi+3vDSBllGfeS/7T+TOKNik+LMLR GYREQ63Zz05ceXYshg1zrOHPmxOW8UIIH9K6yRHzcxJC4dkoxfzQo3AwmWSbv/5NwAMCWm ZfaNYlC7Lsxhu1VoyDoI+KtctStCCA3nsgEup96pXUyb63gGAWayDyrluEs59g72xlUviZ kEbYJIiJSGJJwGjBsImPNBhOCff59BwIlJMAPEkvF6tpzPukdA1aZAINELTT/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653408529; a=rsa-sha256; cv=none; b=Qrs16yJmykQJEf50LmpHKfBn65v9NpCArLWHjd3hZNZuAjW9ubAB99G6jM1MG9OiHMVYes RyzaMYhtzw5XjRFRqbbDs1c/7jfZqhHE+KRXa5XVDRKYnVb+6HHEdiDT5GyayVhFyRc3Fx FM/L/uaj9SH7kLoqqp/wJ/M+Ja9E/oD3zsb7YVp4BVUB3YX2vwC1oPbFYyKamZ6MoH49E3 UlCnLiWW7K+7arZt3sW997SVY8zv+qi16RnZEsNpCviF+CzMHh3Uv/k2q/ExaxfWyYlV5X ZBWtkUUzbtK/yVm2CmiSpusrF6a0n2rCBwUgG0cUYO7960GteN1L7pSx0KRjBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264206 Bug ID: 264206 Summary: sysctl panic with hw.dri.0.vblank Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ed@gnzo.org I am using an older ATI card, using the latest drm-fbsd13-kmod version 'sysctl hw.dri.0.vblank' causes a kernel panic.=20 I managed to capture a screenshot of the console before the system, it is attached. These are the kernel modules loaded: root@r720 ~# kldstat Id Refs Address Size Name 1 111 0xffffffff80200000 1f30590 kernel 2 1 0xffffffff82131000 94d10 t4fw_cfg.ko 3 1 0xffffffff821c6000 c23b8 t6fw_cfg.ko 4 1 0xffffffff82289000 b5318 t5fw_cfg.ko 5 1 0xffffffff8233f000 13408 ipmi.ko 6 2 0xffffffff82353000 4508 smbus.ko 7 1 0xffffffff82358000 af68 cryptodev.ko 8 1 0xffffffff82363000 22910 if_oce.ko 9 1 0xffffffff82386000 43b8 pflog.ko 10 2 0xffffffff8238b000 785e0 pf.ko 11 1 0xffffffff82404000 5ec1d8 zfs.ko 12 1 0xffffffff829f1000 f32b8 if_cxgbe.ko 13 1 0xffffffff82ae6000 3fc98 mps.ko 14 1 0xffffffff82b26000 3d58 coretemp.ko 15 1 0xffffffff82ee8000 150c70 radeonkms.ko 16 2 0xffffffff83039000 7e020 drm.ko 17 3 0xffffffff830b8000 cbc8 linuxkpi_gplv2.ko 18 1 0xffffffff830c5000 e778 ttm.ko 19 1 0xffffffff830d4000 3378 acpi_wmi.ko 20 1 0xffffffff830d8000 8d38 ioat.ko 21 1 0xffffffff830e1000 2340 uhid.ko 22 1 0xffffffff830e4000 3380 usbhid.ko 23 1 0xffffffff830e8000 31f8 hidbus.ko 24 1 0xffffffff830ec000 4350 ums.ko 25 1 0xffffffff830f1000 2a08 mac_ntpd.ko This is the drm related dmesg output: [95] <6>[drm] radeon kernel modesetting enabled. [95] drmn1: numa-domain 1 on vgapci1 [95] vgapci1: child drmn1 requested pci_enable_io [95] vgapci1: child drmn1 requested pci_enable_io [95] sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! [95] <6>[drm] initializing kernel modesetting (CAICOS 0x1002:0x6778 0x1028:0x2120 0x00). [96] [drm ERROR :radeon_atombios_init] Unable to find PCI I/O BAR; using MM= IO for ATOM IIO [96] ATOM BIOS: C26411 [96] <6>[drm] GPU not posted. posting now... [96] drmn1: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) [96] drmn1: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF [96] Successfully added WC MTRR for [0x3bff0000000-0x3bfffffffff]: 0; [96] <6>[drm] Detected VRAM RAM=3D1024M, BAR=3D256M [96] <6>[drm] RAM width 64bits DDR [96] [TTM] Zone kernel: Available graphics memory: 67054486 KiB [96] [TTM] Zone dma32: Available graphics memory: 2097152 KiB [96] [TTM] Initializing pool allocator [96] <6>[drm] radeon: 1024M of VRAM memory ready [96] <6>[drm] radeon: 1024M of GTT memory ready. [96] <6>[drm] Loading CAICOS Microcode [96] drmn1: could not load firmware image 'radeon/CAICOS_pfp.bin' [96] ni_cp: Failed to load firmware "radeon/CAICOS_pfp.bin" [96] [drm ERROR :evergreen_init] Failed to load firmware! [96] drmn1: Fatal error during GPU init [96] <6>[drm] radeon: finishing device. [96] [TTM] Finalizing pool allocator [96] [TTM] Zone kernel: Used memory at exit: 0 KiB [96] [TTM] Zone dma32: Used memory at exit: 0 KiB [96] <6>[drm] radeon: ttm finalized [96] Warning: can't remove non-dynamic nodes (dri)! [96] device_attach: drmn1 attach returned 2 This is the hardware being used: vgapci1@pci0:67:0:0: class=3D0x030000 rev=3D0x00 hdr=3D0x00 vendor=3D0x1= 002 device=3D0x6778 subvendor=3D0x1028 subdevice=3D0x2120 vendor =3D 'Advanced Micro Devices, Inc. [AMD/ATI]' device =3D 'Caicos XT [Radeon HD 7470/8470 / R5 235/310 OEM]' class =3D display subclass =3D VGA --=20 You are receiving this mail because: You are the assignee for the bug.=