Freebsd crashing/reboots thinkpad E14 AMD Ryzen 7 7735HS with Radeon Graphics

Hello,

I have this thinkpad AMD Ryzen 7 7735HS with Radeon Graphics that crashes/reboots every other 2 days.

The system freezes for half a second and reboots. I am not sure anything is logged.. it has dumpdev="AUTO" but nothing shows up in /var/crash

I dont know if there are any known issues with AMD or its only this machine that reboots after some 2 days.

By the way, it has 32gb ram and the ram was tested and its fine.

And when it freezes it usualy has 2 browsers opened, 1 bhyve with linux and a couple xterms.. so no extreme usage

What could be the problem ? Whats the best way to debug this ?
 
➜ ~ uname -r
uname14.2-RELEASE-p1
➜ ~ uname -a
unameFreeBSD radeon 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64


in /etc/rc.conf:

kld_list="amdgpu"


Could be the gpu ? maybe yes, but apparently it is able to handle graphics fine
 
By the way, i just noticed i have wifibox enabled, however the freebsd and neither the wifibox are able to detect the wifi card.. so i just disabled it (im not sure if maybe having it enabled contributed to the crashes)
 
Could be the gpu ? maybe yes
The DRM drivers are still a work-in-progress, so it's possible that driver is the cause of the crashes.
so i just disabled it (im not sure if maybe having it enabled contributed to the crashes)
Disabling everything that's not strictly required will definitely narrow down potential causes. Debugging is a process of elimination.
 
Interesting. Im running x/dwm and in my case nothing slows down.. it just reboots.

The filesystem is ZFS, but im not sure how to create a boot environment for stable/14.. is there any write up on that ?
 
The filesystem is ZFS, but im not sure how to create a boot environment for stable/14.. is there any write up on that ?
Not that I know of to link to.

Here is a step by step how to install 14-STABLE into a ZFS boot environent. Execute all commands as root ("#" indicates root prompt). For details of the commands, look in their manuals.

Create boot environment:
Code:
# bectl create 14stable

Fetch 14 Stable source code, build source, mount boot environment, install kernel and base,
remove old libraries:
Code:
# git clone --branch stable/14 https://git.FreeBSD.org/src.git /usr/src-14stable

# cd /usr/src-14stable

# make buildworld-jobs && make buildkernel-jobs

# bectl mount 14stable  /mnt

# make installkernel DESTDIR=/mnt
# make installworld DESTDIR=/mnt

# etcupdate -s /usr/src-14stable -D /mnt -p
# etcupdate resolve -s /usr/src-14stable -D /mnt
# etcupdate -s /usr/src-14stable -D /mnt -B

# yes | make delete-old DESTDIR=/mnt
# yes | make delete-old-libs DESTDIR=/mnt

Fetch ports tree (if there is tree already, update tree), delete graphics driver, install again, matching the 14stable kernel:
Code:
# git  clone  https://git.FreeBSD.org/ports.git  /usr/ports

(or update tree: # git pull)

# cd /usr/ports/graphics/drm-61-kmod

# pkg -r /mnt delete drm-61-kmod
# make package  SRC_BASE=/usr/src-14stable
# pkg -r /mnt add `pwd`/work/pkg/drm-61-kmod*

Temporary activate boot environment for next boot only, reboot system:
Code:
# bectl activate -t 14stable
# shutdown -r now

To keep the 14stable boot environment over system reboots, make it permanent:
Code:
# bectl activate 14stable
 
Back
Top