Repository navigation
Description
Device Information
System Model or SKU
Please select one of the following
- Framework Laptop 13 (AMD Ryzen™ 7040 Series)
BIOS VERSION
Please provide the bios version.
03.05
Windows:
Open a command terminal as administrator:
wmic bios get SMBIOSBIOSVERSION
Linux:
Open a terminal and run the following command
sudo dmidecode --string bios-version
DIY Edition information
If you are experiencing an issue on a DIY system, Please also fill out the memory and storage devices you are using.
Memory: CRUCIAL CT32G56C46S5
Storage: SAMSUNG MZVL21T0HDLU-00BLL
Port/Peripheral information
If you are experiencing an issue with a peripheral or an expansion card/port please fill out the following information:
- Peripheral vendor and name.
- Port the Peripheral was connected to. Please see the following for port numbering: Laptop 16 or Laptop 13
- Device or expansion card attached to the Adjacent port to the port that is having the issue.
- USB-C
- USB-A
- USB-C
- HDMI
I have no dGPU, and the only things I regularly plug in are a monitor, keyboard, mouse, and mic via a docking station. Other than that I use it mostly on the go, and I have only ever seen the issue while the machine is not plugged into anything. (I have been able to reproduce the issue with/without the AC adapter)
Standalone Operation
Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?
- Yes
- No
Describe the bug
A clear and concise description of what the bug is.
Often (at least 1/3 times) when I come out of s2idle, my laptop screen will suddenly go black, then the machine will start up as if coming from a cold boot. Sometimes it happens slowly enough that I can unlock and get a browser open, sometimes it happens before I'm even done opening the lid.
I applied a kernel patch (see below) and the reset code is
Mar 08 10:40:44.529328 willardpad kernel: S5_RESET_STATUS = 0x00800800
Steps To Reproduce
Steps to reproduce the behavior:
- Boot up
- Log in
- Go to s2idle
- Wake up from s2idle
- Unlock
- Open Firefox
You should see the crash by Step 4
Expected behavior
A clear and concise description of what you expected to happen.
I can use the laptop and sleep and wake as many times as I want without it crashing.
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System (please complete the following information):
- OS/Distribution: Arch Linux
- Version: March 2025
- Linux Kernel Version: Linux willardpad 6.13.5-arch1-1-custom The link in "Framework Laptop 13 Intel Core Ultra Series 1 BIOS 3.04 BETA Release" is wrong #1 SMP PREEMPT_DYNAMIC Wed, 05 Mar 2025 23:40:06 +0000 x86_64 GNU/Linux
I have applied this patch to check my reset codes.
Additional context
Add any other context about the problem here.
This issue started around Feb 14, 2025. At the time I was running Linux LTS and it had upgraded to 6.12 when the issues started. I was on 6.6 since around December and it was fine.
I was directed to open this issue here: #41
This is my thread: https://community.frame.work/t/spontaneous-and-ungraceful-restarts-upon-closing-the-lid/64806
I saw this thread about what seems to be the exact same issue: https://community.frame.work/t/framework-13-amd-return-from-sleep-causes-reboot/64743/16
Possibly these folks as well: https://community.frame.work/t/responded-inconsistent-resume-from-suspend-linux-amd/46587
It would be nice to reach out to everybody in these threads and see if we could get some more information. I am also going to open a support ticket with Framework directly because they keep ignoring me on the forums.
Activity
jcdutton commentedon Mar 8, 2025
Hi.
Thank you for raising an issue ticket for this.
Some things worth trying:
1)
sudo echo N > /sys/module/printk/parameters/console_suspendThis makes the console stay awake even during suspend.
The advantage of this is that you get to see some debug messages that you might not have otherwise seen.
They might disappear very quickly though, so you probably need to video it with your phone, and then slow-mo through the video until you find what you need.
2)
Narrowing down what is causing the fault:
Unplug all your expansion slot cards and try a suspend / resume cycle and see if the problem remains.
3)
You don't say in the description whether you have a dGPU or not, please add that to the description at the top.
If you have one, try removing the dGPU and see if the problem remains.
4)
See if the SSD is the cause, try removing the SSD and boot with a USB stick with Linux on it and try to reproduce the problem.
5)
Try blacklisting the wifi card driver, so that it does not need to go through the suspend / resume cycle. This should discount it without needing to remove it.
Context:
Triple faults are notoriously difficult to track down, but at least they are software faults, so once the bug is found, it can be cured.
WillNilges commentedon Mar 8, 2025
Thanks for the ideas!
For 2) I can verify that even with all my cards yanked, the issue persists.
I'll try yanking the SSD and wifi card when I have the time. It could take days of sleep/wake to find the issue.
One pattern I notice is that it happens when I resume after sleeping for a long time (like 8 hours overnight) and then I can usually get it to happen very shortly after the first time, too.
I don't have a dGPU, this is a FW13 and I mostly use it on the go. I'll update the issue.
It would be nice if we could bisect the kernel to figure out if this was happening. From what I have seen online, it doesn't seem to be happening on 6.11, and was introduced sometime in 6.12. I guess I could try compiling the latest 6.11 kernel, and maybe the earliest 6.12 LTS kernel (because I know for a fact it happened there)
helpimnotdrowning commentedon Mar 12, 2025
Dropping by to add that I've been experiencing a similar issue (described here: https://community.frame.work/t/sudden-reboot-on-wake-with-no-logs/65434 )
I've experienced this on several kernels, being from Debian stable 6.1, backports 6.9 and 6.12, Liquorix 6.12, and mainline 6.14 rc4 (though I haven't checked what patches the Debian team is applying on their kernels, maybe they are backporting some bad patches?)
I've heard that others with somewhat-similar issues on Arch could fix by downgrading Mesa to 24.x, but Debian stable ships 22, and updating to 24 did not help (crashes still occur)
I have noticed that I can almost always prevent reboots by switching to a tty right as I open my laptop. I usually keep it there for a few seconds before switching back to tty1 with Plasma/Wayland.
WillNilges commentedon Mar 18, 2025
Sometimes I get reboots the instant I open my lid :(
WillNilges commentedon Mar 18, 2025
@jcdutton Can you say more about this? How would I see these messages if I'm not getting past my lockscreen before a reboot? Would they appear in a TTY? Would they appear in my dmesg?
I'm now running
6.13.7-arch1-1.jcdutton commentedon Mar 18, 2025
@WillNilges
Search the web if you want more info about the "sudo echo N > /sys/module/printk/parameters/console_suspend"
Or just try it and see what extra information it gives during a successful suspend/resume cycle, and then compare it to a failed suspend / resume cycle.
CDRXavier commentedon Mar 27, 2025
This is related?
#35
I have a Ubuntu install, i will test it immediately, right after I wake up or something.
PureKrome commentedon Mar 27, 2025
@CDRXavier sounds very related, putting aside the OS's of choice/used.
Nice seeing more and more people mention this and in various hardware setup/flavors, too!
jcdutton commentedon Mar 28, 2025
Now, I don't think the Triple fault is coming from the Linux kernel.
I am now wondering if there some other BIOS or system management firmware that is running behind the scenes that could cause this S5_RESET_STATUS triple fault ?
If so, what is that piece of code called, and is that code x86 or ARM or something else?
Alternatively, could this be caused by bit-flips, maybe going undetected due to lack of ECC in some data paths?
I am just trying to think of some other things to investigate to track this down.
sydneymeyer commentedon Mar 28, 2025
Funny enough, i'm thinking the same. This is either something SMM, something the on-die ecc doesn't/can't catch, or, i can't even tell why, the mediatek wireless card freaking out with power management. The completely random pattern suggests the memory theory, i suppose. i.e. an electrical issue.
helpimnotdrowning commentedon Mar 29, 2025
I can safely (hopefully) say that, since the 14th, I am no longer experiencing this issue. I have no idea why. I am still using my self-built 6.14 rc4 kernel that I mentioned in the forum post.
This is the contents of my /var/log/dpkg.log of all my package changes from that last triple-fault to today:
I had no changes on the 14th itself, so this starts on the 15th.
I imagine that the changes closest to the start of this log would be the most important?
Details
WillNilges commentedon Apr 16, 2025
I have also not experienced this issue since at least 2025-03-19.
https://community.frame.work/t/spontaneous-and-ungraceful-restarts-upon-closing-the-lid/64806/21?u=will_nilges
I think this is what did it
dblanque commentedon May 30, 2025
Hey, just to report this also happens on FW16, I created an issue (Issue #72) then came across this thread.
3 remaining items
jcdutton commentedon Mar 22, 2026
Hi.
For people who see "0x08000800 not 0x00800800", please look at this other issue:
#41
esemeniuc commentedon Aug 5, 2026
Reporting the same exact reset reason on a Framework Laptop 16 (AMD Ryzen 7040 Series, Ryzen 9 7940HS):
x86/amd: Previous system reset reason [0x00800800]: internal CPU shutdown event occurredI experienced two spontaneous freezes/reboots within roughly one hour on August 4, 2026. I also found an earlier event on March 16, 2026 with the same
0x00800800reset reason; that event occurred with BIOS 4.03 and kernel 6.18.18.Unlike the original report, my incidents do not appear limited to resume from s2idle. They have happened while the laptop was awake and being carried around or used on my lap/on another unstable surface. This is an observed correlation, not yet proof of a mechanical cause. Both recent incidents happened while running on battery (approximately 66–71% charge).
I did not find a kernel panic, MCE, thermal shutdown, DRAM, PCIe, NVMe, or OOM error immediately before the abrupt log termination. One of the two recent incidents retained the reset-reason record above; the other did not retain a reset reason after the subsequent power cycle.
WillNilges commentedon Aug 23, 2026
I'm having spontaneous reboots again too. Doing work on my laptop (FW 13 Ryzen 7 7040U), screen goes black without warning, and I reboot.
NixOS, Kernel 7.1.8
leo60228 commentedon Sep 8, 2026
I'm also having this issue. I've noticed it occurs while playing games, even lightweight ones, but I have not seen it occur during productivity tasks. It also does not occur in power saving mode.
I'm not sure if the conclusion that this is a triple fault is accurate. Bit 11 in S5_RESET_STATUS is listed as reserved in AMD documentation.
Tanguille commentedon Sep 15, 2026
I have a similar issue on a Framework Laptop 16 Ryzen AI 300.
Setup:
jcdutton commentedon Oct 2, 2026
Note, it used to be called "triple fault"
Now it is called: "internal CPU shutdown event occurred"
duude21 commentedon Oct 23, 2026
I have got the exact same problem, but it only occured randomly. (reset code 0x08000800 sync flood) Now I changed my HDMI Expansion Card to Port 4 and hope it does not happen.
Wiredly enough I got (almost?) the same SSD as OP. Hope it is not connected to that.
Laptop 13 (AMD Ryzen 7040Series)
Bios: 03.20
Kernel: 7.2.11-200.fc44.x86_64
SSD: MZVLC1T0HFLU-00BLL
EDIT: It has been solved by swapping the expansion card to the right place!! (but maybe it should still not do that when plugged in the wrong way).
daniel-metalntwx commentedon Nov 7, 2026
Same reset code on a Framework Laptop 13 Pro (AMD Ryzen AI 300). I haven't seen this model reported here yet.
It has reset four times since Oct 21, always while awake and in use, never during suspend or resume:
0x00800800internal CPU shutdown0x00080800CF9 reset, with no shutdown logged0x00800800internal CPU shutdown0x00800800internal CPU shutdownThe screen goes black and the laptop reboots, with no freeze first. The journal just stops. kdump was loaded and saved nothing, pstore is empty, and rasdaemon has logged no MCE, memory or PCIe errors. Load was light each time.
So far I've loaded BIOS defaults and run memtest86+ for 10 passes with no errors. I have a support ticket open with Framework.
Happy to collect anything that would help.
bmnnit commentedon Nov 22, 2026
Same laptop, both reset codes — data from a heavily instrumented FW13 (7040)
Not a new report, but I have telemetry on this that I haven't seen in the thread: the same machine exhibits both
0x00300800and0x00800800, and I can show that the EC survives the AP reset.Device
FRANMDCP07integrity)s2idleonly (mem_sleep = [s2idle])32ac:0002, fw 3.0.16.106)Both reset reasons on the same board
and
Occurrences, all of them with the journal terminating on the
PM: suspend entry (s2idle)line:So BIOS 03.20 does not fix it — three of the six events are on 03.20, and it reproduces on both 6.8 and 7.0.
It is not a kernel panic, and the kernel is never asked
With
pstore.backend=efi nmi_watchdog=1 hardlockup_panic=1 softlockup_panic=1 hung_task_panic=1 panic_on_oops=1 panic=10:Kernel panic/BUG:/Oopsline at all/sys/fs/pstore/stays emptypanic=10never triggers — the machine does not reboot itself after a panicThe EC is alive, only the AP is reset
/sys/kernel/debug/cros_ec/uptimereported195540344(ms) = 54.3 h, while the OS had been up only 2.2 h. That value spans two AP resets (2026-11-18 and 2026-11-20), so:last_resume_resultread0x00000000— i.e. the EC never performed a resume attempt; the AP was simply resetOne hang recovered itself within 44 s
On 2026-11-20 the suspend was entered at
13:27:05anduptime -sof the next boot is13:27:49— a 44 second gap, with no user intervention (the machine had to be noticed, walked to, opened). Consistent with a firmware/EC-driven reset rather than a human power cycle.Not thermal
All sensors normal right after such an event (k10temp, amdgpu, nvme, two
spd5118, and the EC's ownlocal_f75303/cpu_f75303): 29–35 °C. The EC keeps its own thermal log and recorded nothing. (Note: this board also reportsACPI: thermal: [Firmware Bug]: No valid trip points!, though individual ACPI zones and hwmon do work.)Correlated USB activity (may or may not be causal)
In every event where the dock was attached, the kernel logs a burst 1–2 s before the suspend entry —
usb 5-1.2: usb_set_interface failed (-19)(dock audio),r8152 6-1.1: USB disconnect(dock ethernet),usb 6-1: USB disconnect, thenwlp1s0: deauthenticating … (3=DEAUTH_LEAVING), thenPM: suspend entry. The HDMI expansion card sits on the same USB4 domain (0000:c3:00.4).What I have ruled out on this machine
wakealarmempty,alarm_IRQ: no, no systemd timer withWakeSystem=serio0had 124 wakeup events, touchpad 11, UCSI 13, ACAD 2). Disabling those sources removed all short suspend cycles — and that is when the hangs became frequent, presumably because the machine now actually stays asleepSyncIntervalSec=0Next steps I'm taking from this thread
systemd-sleephooks that (a) wait for USB to be quiet before entering s2idle and (b) snapshot EC state before/after, so the next event isn't blind.0000:c3:00.5/.6) before suspend.Question
Is the
0xEwrite to0xCF9on0x00300800something the EC or the BIOS performs deliberately during an S-state transition — i.e. a platform "reset because suspend entry failed" path? If that is a documented behaviour, both codes might be two exits from the same stuck S-state transition, which would narrow the search considerably.jcdutton commentedon Nov 22, 2026
Here are the various status I see and what I have seen trigger them:
leo60228 commentedon Nov 23, 2026
It's worth noting that the lower 0x800 bit is reserved.
bmnnit commentedon Nov 23, 2026
Confirmed — and reading the decoder in
arch/x86/kernel/cpu/amd.cmakes the whole picture much clearer. The register is a bitfield, and the kernel prints one line per set bit:Bit 11 (
0x800) has no entry in that table, so it is skipped silently — it is set in every single code I have and carries no meaning. The information is in the bits above it.A code that is not in your list:
0x00300800Because the register is a bitfield, that is two reasons at once:
software wrote 0xE to reset control register 0xCF9ACPI power state transition occurredSo it is neither your
0x00080800(bit 19,0x6, normal reboot) nor0x00800800(bit 23, triple fault). It is an0xEhard reset performed during an ACPI power-state transition, i.e. during s2idle entry.I have two such events (2026-11-18 17:21 and 2026-11-20 13:27). In both, the journal terminates exactly on
PM: suspend entry (s2idle), after a completely clean sequence (user.slicefrozen,Performing sleep operation 'suspend', no error). No panic, no pstore entry, andpanic=10never fires.0x01000800= the EC restarting the APThree occurrences (bit 24, "failed boot timer"). This matches what I observe: one of those hangs was followed by a boot 44 seconds after the suspend entry, with no human intervention (
uptime -s= 13:27:49 vs. suspend entry at 13:27:05). The EC is clearly capable of bringing the AP back on its own.Supporting evidence that the EC itself does not reset:
cros_ecuptime reads195540344ms (54.3 h) and spans both of those AP resets, so only the AP went down.last_resume_resultreads0x00000000afterwards — the EC never entered a resume path, it just restarted the AP.Thermal is ruled out at the hardware level
0x00300800was already mentioned as unexplained.0x00800800(bit 23) = triple fault. Both classes occur on my machine, plus0x01000800(bit 24) and0x00080800(bit 19, normal reboots):0x000808000x6)0x010008000x003008000xEreset during ACPI power transition0x00800800Notably, none of these codes have bit 0 (
BP_THERMTRIP_L) or bit 9 (internal CPU thermal limit) set. Thermal shutdown is therefore excluded by the hardware register itself, not just by sensor readings — and all sensors (k10temp, amdgpu, nvme, 2× spd5118, EC-internallocal_f75303/cpu_f75303) read 29–35 °C after such an event.Also for the record:
dmidecode -t 32reports "No errors detected" even for the boots that follow these events, so the firmware does not classify them as failed boots, even though bit 24 fired.Question
Has anyone else reported
0x00300800? A deliberate0xEwrite to0xCF9during a power-state transition looks like a "reset because suspend entry failed" path in EC/BIOS. If that path is intentional, knowing its entry condition would be the most direct way forward — and if it is not intentional, that is arguably the bug itself.leo60228 commentedon Nov 23, 2026
It's listed as "Reserved" in AMD documentation, not undefined. It presumably changes the meaning of the other bits in some way.
bmnnit commentedon Nov 24, 2026
Fair — "carries no meaning" was too strong, and I should rephrase: what I can state is only what the decoder does —
s5_reset_reason_txt[11]has no entry, so the kernel prints nothing for it and skips it. Whether the bit is a flag, a qualifier for the remaining bits, or part of a field, I cannot tell from the kernel side.What I can add is empirical, from the codes reported in this thread:
0x000808000b10000x6)0x002008000b10000x003008000b10000xE+ ACPI transition (mine)0x008008000b10000x010008000b10000x080008000b1000Bits 8–11 are
0b1000in every code I have seen, on several models and BIOS versions. That is consistent with a constant flag (or a small field with a fixed value), and less consistent with something that re-qualifies the reason bits per event — but it is not proof, and I am not claiming it is.The falsifiable question would be: does anyone have a code where bit 11 is clear? If such a code exists, the bit does something conditional. If every observed code has it set, it is at least constant on this platform family — and then the practical reading of my
0x00300800as "bit 20 + bit 21" stands regardless of what bit 11 turns out to be, since those two bits have their own strings.Either way, thanks — I will phrase it as "the kernel assigns no reason string to bit 11" rather than "it has no meaning" from now on.
jcdutton commentedon Nov 24, 2026
In the Linux kernel: arch/x86/kernel/reboot.c:646
You can see it using either 0x06 or 0x0E for the 0xCF9 message.
In any every, one would get normal panic messages in the logs etc, before it called this reboot. So, I think these S5_RESET_REASON causes can be ignored in relation to the problem of Triple Fault in the title of this issue.