Skip to content

FW16 Freeze then Hang (FTH) #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
jcdutton opened this issue Mar 24, 2025 · 5 comments
Open
1 task

FW16 Freeze then Hang (FTH) #58

jcdutton opened this issue Mar 24, 2025 · 5 comments
Labels
3.05 Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series) Linux

Comments

@jcdutton
Copy link

Device Information

System Model or SKU

[ ] Framework Laptop 16 (AMD Ryzen™ 7040 Series)
No dGPU.

BIOS VERSION

3.0.5

Windows:
N/A

Linux:
Open a terminal and run the following command
sudo dmidecode --string bios-version
03.05

DIY Edition information

Memory: Manufacture and SKU
Kingston Fury Impact: Part Number: KF556S40-32
2x making 64GB total.
Storage: Manufacture and SKU
Model Number: WD_BLACK SN850X 1000GB
Firmware Version: 620361WD

Port/Peripheral information

  1. USB-C card, nothing plugged in.
  2. Empty
  3. Empty
  4. Empty
  5. USB-C card, FW16 PSU plugged in.
  6. USB-A card, nothing plugged in.

Standalone Operation

Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?

  • No

Describe the bug

This has only happened to me once so far.
The symptoms are:
Power plugged in.
Playing a video.
Laptop hangs, screen freezes, laptop plays audio in a short loop.
Wait 20 seconds, no automatic reboot.
Wait 60 seconds, still no reboot.
Force reboot by pressing the power button for 10 seconds.
No logs are stored, so no crash log is available.
No pstore crash log output.
No useful S5_RESET_STATUS, because I had to manually long press the power button to reset it.
EC port80 output runs over the 4096 log limit I had so no useful output captured their either.
I think that while it was in the "hang" state, it was still outputting port 80 output (keeps repeating the pattern):
Log index, Port 80 Value, Port 80 Value in ASCII or a decoded value.
"00005324","e825f022",".%.."
"00005325","e825f028",".%.("
"00005326","e825f90e",".%.."
"00005327","e825f90d",".%.."
"00005328","e825f90e",".%.."
"00005329","e825f90d",".%.."
"0000532a","e825f022",".%.."
...
Those are all values it also outputs when the laptop is running fine.
Long press of power button to power off gives:
"000054af","00001001","(S3->S0)"

Steps To Reproduce

Steps to reproduce the behavior:

  1. Start from a powered off laptop.
  2. Power on laptop
  3. Wait a random amount of time. Play videos, netflix, youtube etc.
  4. System freezes and does not self-reboot.

Note: I generally have the power plugged in most of the time. For all the FTH I have seen, the power was plugged in at the time.

Expected behavior

It should not randomly freeze then hang. (FTH)

Screenshots

N/A

Operating System (please complete the following information):

  • OS/Distribution: Linux/Ubuntu
  • Version: 24.04
  • Linux Kernel Version: uname -a 6.13.7 <- Mainline compiled kernel.

Additional context

Add any other context about the problem here.

@quinchou77 quinchou77 added Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series) 3.05 labels Mar 26, 2025
@kiram9 kiram9 added the Linux label Mar 28, 2025
@CDRXavier
Copy link

CDRXavier commented Apr 1, 2025

Related? (Sync Flood)
#41 (comment)

@jcdutton
Copy link
Author

jcdutton commented Apr 6, 2025

Just saw another of these.
No extra info to report.
The (Sync Flood) one results in a automatic reboot after 20 seconds, so this is different, because there is no automatic reboot when this one happens.
I had disabled module "kvm", so no VMs were running, so this is not Virtual Machine related.

@sydneymeyer
Copy link

@jcdutton I assume you're using some form of disk encryption.. are you using luks/dm-crypt or perhaps SED/OPAL?

@sinatosk
Copy link

This is an issue I too am experiencing ( Linux ) and I'm not using luks/dm-crypt or SED/OPAL

Now using Linux 6.15-rc4 but this issue has been going on back starting with 6.12.0/6.12.1 and upgraded BIOS to 3.05 on 21st November 2024.

The common thing I've noticed with FTH and FTR ( #41 ) issues is none of these issues happen until I start changing between AC ( Framework 180W power adapter ) and DC ( battery ). One other saying the same back on the Framework community forum last time I checked

As long as I stay in AC after system is booted ( including suspend/resume ), all is good. based on what @jcdutton and some others have said, I think it's something to do with how the BIOS/EC is managing power state.

There was one bug in Linux sometime in 6.13 that caused a freeze but that was fixed and there were warnings/errors about it

The FTH/FTR, no warnings and/or errors and this has been going on since BIOS 3.05

I've disabled the battery extender since BIOS 3.04 and charge limit has been set to 80% since day one.

@jcdutton
Copy link
Author

I am running my own firmware on the EC that fixes all the charge / discharge cycling bugs with the FW EC firmware. I wrote the bug fixes myself.
I observed the problem about once a month. It has not been a month yet, but since using my own EC firmware, I have not observed either the FTH or FTR problem.
For those interested, my EC Firmware changes and install instructions are here:
https://github.com/jcdutton/EmbeddedController/wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.05 Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series) Linux
Projects
None yet
Development

No branches or pull requests

6 participants