Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2022 16:08:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264206] sysctl panic with hw.dri.0.vblank
Message-ID:  <bug-264206-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: <drmn> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264206-227>