FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

13.0-CURRENT r349977 panic: BUG ON ret failed at /usr/obj/usr/src/…/ttm_tt.c:259 #158

Closed grahamperrin closed 3 years ago

grahamperrin commented 5 years ago

image

panic: BUG ON ret failed at /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/usr/ports/graphics/drm-current-kmod/work/kms-drm-083d2f3/drivers/gpu/drm/ttm/ttm_tt.c:259

image

Environment

HP EliteBook 8570p

grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v
Sun 14 Jul 2019 14:26:59 BST
FreeBSD 13.0-CURRENT r349977 GENERIC-NODEBUG 
grahamperrin@momh167-gjp4-8570p:~ % pciconf -lv | grep -B 3 -A 1 -i display
vgapci0@pci0:1:0:0:     class=0x030000 card=0x17a9103c chip=0x68411002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Thames [Radeon HD 7550M/7570M/7650M]'
    class      = display
    subclass   = VGA
grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' gpu-firmware-kmod xf86-video-ati
graphics/gpu-firmware-kmod g20190620 unknown-repository
x11-drivers/xf86-video-ati 19.0.1,1 poudriere
grahamperrin@momh167-gjp4-8570p:~ % 

KDE Plasma Version: 5.16.2 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.2 OS Type: 64-bit Processors: 4 × ACPI CPU Memory: 15.9 GiB of RAM

At the time of the panic I used drm-kmod-g20190710, which was built at OS update time.


Following the panic I installed drm-devel-kmod instead …

Jul 14 10:09:08 momh167-gjp4-8570p pkg[2092]: drm-kmod-g20190710 deinstalled
Jul 14 10:09:11 momh167-gjp4-8570p pkg[2092]: drm-current-kmod-4.16.g20190710 deinstalled
Jul 14 10:09:13 momh167-gjp4-8570p pkg[2092]: drm-devel-kmod-5.0.g20190710 installed
grahamperrin commented 5 years ago

https://github.com/FreeBSDDesktop/kms-drm/blob/187fb77b7135da73b9ad7fa5dc7ea38892da9169/drivers/gpu/drm/ttm/ttm_tt.c#L259

grahamperrin commented 5 years ago

panic: BUG ON ret failed at/drivers/gpu/drm/ttm/ttm_tt.c:259

FWIW I see the same strings (with a different version of FreeBSD) at https://github.com/FreeBSDDesktop/kms-drm/issues/130#issuecomment-460614356

grahamperrin commented 3 years ago

From https://gitter.im/FreeBSDDesktop/Lobby/archives/2020/09/20?at=5f67c00dc1d1a53705b5932d yesterday evening:

good news: in recent months, both drm-devel-kmod and drm-current-kmod seem far less likely to panic for me with 'Thames [Radeon HD 7550M/7570M/7650M]'. So I'd like to close both of these, unless anyone can think of a good reason to keep either one open:

  • FreeBSDDesktop/kms-drm#158 …
  • FreeBSDDesktop/kms-drm#159 for drm-current-kmod and drm-devel-kmod.

grahamperrin commented 3 years ago

No comparable panic in recent months.