Sudden freezes, have to force-shutdown

Hi, I have been experiencing a weird issue with my fw12 and I was wondering if anybody stumbled into anything similar.

Sometimes (once a day or less?) my computer is suddenly freezing up, fans start to spin at max speed and I have to force-reboot it by holding the power button. This looks like a kernel panic to me but there’s nothing in the system log so I can’t be sure. This has been happening since last Friday or so.

First these freezes seemed to happen when I tilted the screen a little bit (at least I think so? I wasn’t ever able to reproduce it on purpose) but now it’s happening when I am working remotely on the computer. The computer isn’t under heavy load or anything.

The freeze happened yesterday during an SSH session and I was cut off from work for the whole day. After this, I performed an upgrade to the newest version of 6.18 kernel but the computer also froze today, with the newer kernel, and I am again cut off from work.

I am kind of worried that this is a hardware problem (especially considering raptor lake things) and I have already messaged the support.

I am using NixOS, my config is at GitHub - jarmuszz/dots.nix: My nixos config for framework 12 · GitHub . The repo is a bit out of date, I’ll push to it later today.

Cheers

As a temporary work around, get an EC CCD.
I don’t know which ones work on the FW12.
It would at least let you remotely power cycle the FW, no matter what hung state it got into.

After some digging I found partial dmesgs in systemd’s pstore. Dmesgs seem to be more or less consistant for each kernel version I experienced panic on.

oops from kernel 6.18.35
<6>[89527.897161] perf: interrupt took too long (5278 > 5261), lowering kernel.perf_event_max_sample_rate to 37000
<3>[114704.344606] i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun
<6>[114704.568935] tmux: server[10313]: segfault at 5e ip 00005555555fd235 sp 00007fffffff9c48 error 4 in tmux[a9235,555555574000+b0000] likely on CPU 7 (core 11, socket 0)
<6>[114704.568945] Code: 48 89 d1 4c 01 fe e8 da aa ff ff 49 83 c4 04 4d 39 e6 75 b8 48 8b 45 c8 64 48 2b 04 25 28 00 00 00 75 6d 48 83 c4 38 5b 41 5c <41> dd 41 5e 41 5f 5d 31 c0 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31
<6>[114704.569714] systemd-coredum[379617]: segfault at 7588956de438 ip 00007588956d5491 sp 00007ffc42338340 error 7 in ld-linux-x86-64.so.2[10491,7588956c6000+2b000] likely on CPU 7 (core 11, socket 0)
<6>[114704.569722] Code: 2e 0f 1f 84 00 00 00 00 00 8b 4a 08 48 83 f9 26 74 0a 48 83 f9 08 0f 85 07 12 ff ff 48 8b 72 10 48 8b 0a 48 83 c2 18 4c 01 e6 <4a> 89 34 21 48 39 da 72 d6 49 8b bf 08 02 00 00 48 89 bd 58 ff ff
<4>[114704.569730] coredump: 379617(systemd-coredum): RLIMIT_CORE is set to 1, aborting core
<4>[114704.569965] Oops: stack segment: 0000 [#1] SMP NOPTI
<4>[114704.569971] CPU: 5 UID: 1000 PID: 10313 Comm: tmux: server Tainted: P           O        6.18.35 #1-NixOS PREEMPT(lazy) 
<4>[114704.569974] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE
<4>[114704.569975] Hardware name: Framework Laptop 12 (13th Gen Intel Core)/FRAPMACP05, BIOS 03.07 02/10/2026
Oops#1 Part4
<4>[114704.569976] RIP: 0010:__lruvec_stat_mod_folio+0x61/0xd0
<4>[114704.569981] Code: 48 83 e0 f8 83 e2 02 74 04 48 8b 40 10 49 63 d4 48 85 c0 74 51 66 90 48 63 8b 00 4a 00 00 48 8b ac c8 30 06 00 00 48 83 c5 40 <48> 3b 9d 20 06 00 00 75 55 44 89 ee 48 89 df e8 6b b9 f2 ff 66 90
<4>[114704.569983] RSP: 0018:ffffd00248c2ba90 EFLAGS: 00010286
<4>[114704.569985] RAX: ffff8f1114a3a080 RBX: ffff8f18afbfa780 RCX: 0000000000000000
<4>[114704.569986] RDX: ffffffffffffffff RSI: 0000000000000011 RDI: fffff454a21b7f40
<4>[114704.569987] RBP: e62002053778ecc3 R08: ffff8f15fcfc8240 R09: fffff454a21b7f40
<4>[114704.569988] R10: 0000000000000340 R11: 0000000000000000 R12: 00000000ffffffff
<4>[114704.569989] R13: 0000000000000011 R14: ffffd00248c2bc08 R15: ffffd00248c2bce0
<4>[114704.569990] FS:  0000000000000000(0000) GS:ffff8f18d89c3000(0000) knlGS:0000000000000000
<4>[114704.569992] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[114704.569993] CR2: 00007ffff7425000 CR3: 000000036247b003 CR4: 0000000000f72ef0
<4>[114704.569994] PKRU: 55555554
<4>[114704.569995] Call Trace:
<4>[114704.569997]  <TASK>
<4>[114704.569999]  folio_remove_rmap_ptes+0x42/0x220
<4>[114704.570002]  unmap_page_range+0xdeb/0x14e0
<4>[114704.570005]  ? tty_dev_name_to_number+0x160/0x180
<4>[114704.570010]  unmap_vmas+0xa1/0x180
<4>[114704.570012]  exit_mmap+0xe5/0x3c0
<4>[114704.570016]  __mmput+0x41/0x160
<4>[114704.570018]  do_exit+0x283/0xad0
<4>[114704.570021]  do_group_exit+0x2d/0xc0
<4>[114704.570023]  get_signal+0x863/0x880
<4>[114704.570025]  arch_do_signal_or_restart+0x3d/0x250
<4>[114704.570029]  irqentry_exit_to_user_mode+0x1fc/0x2d0
<4>[114704.570033]  asm_exc_page_fault+0x26/0x30
Oops#1 Part3
<4>[114704.570036] RIP: 0033:0x5555555fd235
<4>[114704.570055] Code: Unable to access opcode bytes at 0x5555555fd20b.
<4>[114704.570056] RSP: 002b:00007fffffff9c48 EFLAGS: 00010202
<4>[114704.570057] RAX: 0000000000000000 RBX: 00005555558013a0 RCX: 0000000000000000
<4>[114704.570058] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
<4>[114704.570059] RBP: 00007fffffff9c60 R08: 0000000000000000 R09: 0000000000000000
<4>[114704.570060] R10: 0000000000000000 R11: 0000000000000000 R12: 00007fffffff9cd0
<4>[114704.570061] R13: 00005555558014e8 R14: 00007fffffff9c1c R15: 00005555557e1710
<4>[114704.570063]  </TASK>
<4>[114704.570063] Modules linked in: qrtr uhid sd_mod scsi_mod scsi_common xt_connmark xt_MASQUERADE xt_mark nft_chain_nat ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg af_packet snd_hda_codec_intelhdmi bnep snd_hda_codec_alc269 snd_hda_scodec_component snd_hda_codec_realtek_lib snd_hda_codec_generic snd_hda_intel snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi soundwire_cadence snd_sof_pci snd_sof_xtensa_dsp snd_sof nls_iso8859_1 nls_cp437 snd_sof_utils vfat snd_soc_acpi_intel_match fat snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_acpi soundwire_bus iwlmvm snd_soc_sdca crc8 xe mac80211 snd_soc_avs snd_soc_hda_codec snd_hda_ext_core mousedev snd_hda_codec btusb snd_hda_core btrtl ptp btintel pps_core snd_intel_dspcfg btmtk intel_uncore_frequency libarc4 joydev btbcm
Oops#1 Part2
<4>[114704.570100]  intel_uncore_frequency_common processor_thermal_device_pci snd_intel_sdw_acpi processor_thermal_device snd_hwdep xt_conntrack processor_thermal_wt_hint bluetooth uvcvideo x86_pkg_temp_thermal snd_soc_core intel_powerclamp ofpart platform_temperature_control xt_tcpudp videobuf2_vmalloc iwlwifi cmdlinepart processor_thermal_soc_slider cros_ec_lid_angle cros_ec_sensors platform_profile uvc coretemp snd_compress ip6t_rpfilter iTCO_wdt cros_ec_sensors_core videobuf2_memops ac97_bus ecdh_generic polyval_clmulni spi_nor intel_pmc_bxt hid_multitouch drm_gpuvm snd_pcm_dmaengine ucsi_acpi videobuf2_v4l2 processor_thermal_rfim ecc industrialio_triggered_buffer ghash_clmulni_intel hid_generic mei_hdcp spd5118 mei_pxp mtd watchdog intel_rapl_msr gpio_keys ipt_rpfilter crc16 typec_ucsi videobuf2_common snd_pcm roles drm_gpusvm_helper rapl kfifo_buf processor_thermal_rapl intel_cstate cfg80211 intel_uncore industrialio gpu_sched psmouse wmi_bmof xt_pkttype intel_rapl_common mei_me i2c_i801 typec snd_timer drm_exec
Oops#1 Part1
<4>[114704.570135]  nft_compat snd intel_lpss_pci drm_suballoc_helper spi_intel_pci processor_thermal_wt_req i2c_smbus igen6_edac intel_lpss thunderbolt mei processor_thermal_power_floor spi_intel soundcore thermal processor_thermal_mbox i2c_mux drm_ttm_helper rfkill edac_core idma64 virt_dma fan tiny_power_button intel_pmc_core framework_laptop(O) nf_tables int3403_thermal ov13858 button i2c_hid_acpi int340x_thermal_zone v4l2_fwnode v4l2_async i2c_hid pmt_telemetry sch_fq_codel hid rtc_cmos pmt_discovery ac videodev mc pmt_class intel_pmc_ssram_telemetry vboxnetflt(O) vboxnetadp(O) intel_vsec int3400_thermal acpi_pad acpi_thermal_rel soc_button_array evdev mac_hid serio_raw cros_charge_control gpio_cros_ec cros_ec_hwmon leds_cros_ec cros_ec_sensorhub battery cros_ec_sysfs cros_ec_debugfs cros_ec_chardev led_class_multicolor cros_ec_dev vboxdrv(O) ccp kvm_intel xt_nat kvm x_tables br_netfilter nf_nat bridge nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 veth cros_ec_lpcs fuse tun cros_ec uinput loop cros_ec_proto stp irqbypass
<4>[114704.570179]  llc configfs nfnetlink dmi_sysfs dm_crypt encrypted_keys trusted asn1_encoder tee input_leds led_class nvme atkbd libps2 vivaldi_fmap nvme_core nvme_keyring i8042 xhci_pci nvme_auth xhci_hcd aesni_intel hkdf serio i915 zfs(PO) i2c_algo_bit drm_buddy video wmi ttm intel_gtt drm_display_helper dm_mod spl(O) cec pinctrl_tigerlake efivarfs autofs4 [last unloaded: kheaders]
<4>[114704.570204] ---[ end trace 0000000000000000 ]---

oops from kernel 6.12.93
<1>[16403.719185] .kwin_wayland-w: Corrupted page table at address 2
<0>[16403.719189] BUG: #DF stack guard page was hit at 00000000b2afccb6 (stack is 00000000a969e0da..0000000022ad901e)
<6>[16403.719204] PGD 0 P4D 0 
<4>[16403.719207] Oops: Bad pagetable: 6048 [#1] PREEMPT SMP NOPTI
<4>[16403.719211] CPU: 5 UID: 1000 PID: 3746 Comm: .kwin_wayland-w Tainted: P           O       6.12.93 #1-NixOS
<4>[16403.719214] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE
<4>[16403.719215] Hardware name: Framework Laptop 12 (13th Gen Intel Core)/FRAPMACP05, BIOS 03.07 02/10/2026
<4>[16403.719216] RIP: 0010:exc_page_fault+0x35/0x150
<4>[16403.719223] Code: 55 53 48 89 fb 0f 20 d0 0f 1f 00 48 89 c5 65 48 8b 05 bf a9 e8 4d 48 8b 80 70 06 00 00 0f 0d 88 a8 00 00 00 66 90 48 89 df e8 <87> 06 00 00 41 89 c6 90 66 90 48 89 e8 48 25 00 f0 ff ff 48 3d 00
<4>[16403.719225] RSP: 0000:fffffe77c7016118 EFLAGS: 00010047
<4>[16403.719226] RAX: ffff8a04d22f1600 RBX: fffffe77c7016148 RCX: ffffffffb2201934
<4>[16403.719228] RDX: ffffffffffffffff RSI: 0000000000000002 RDI: fffffe77c7016148
Oops#1 Part5
<4>[16403.719229] RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000
<4>[16403.719230] R10: 0000000000000000 R11: 0000000000000000 R12: fffffe77c7016128
<4>[16403.719231] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
<4>[16403.719232] FS:  00007adc65b93d00(0000) GS:ffff8a0c4f880000(0000) knlGS:0000000000000000
<4>[16403.719234] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[16403.719235] CR2: 0000000000000002 CR3: 00000001a99f4002 CR4: 0000000000f70ef0
<4>[16403.719236] PKRU: 55555554
<4>[16403.719237] Call Trace:
<4>[16403.719239]  <#DF>
<4>[16403.719243]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719248]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719251]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719255]  ? exc_page_fault+0x35/0x150
<4>[16403.719258]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719260]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719263]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719265]  ? exc_page_fault+0x35/0x150
<4>[16403.719268]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719270]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719272]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719275]  ? exc_page_fault+0x35/0x150
<4>[16403.719277]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719280]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719282]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719285]  ? exc_page_fault+0x35/0x150
<4>[16403.719287]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719290]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719292]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719294]  ? exc_page_fault+0x35/0x150
<4>[16403.719297]  ? early_xen_iret_patch+0xc/0xc
Oops#1 Part4
<4>[16403.719299]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719302]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719304]  ? exc_page_fault+0x35/0x150
<4>[16403.719307]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719309]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719311]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719314]  ? exc_page_fault+0x35/0x150
<4>[16403.719316]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719319]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719321]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719324]  ? exc_page_fault+0x35/0x150
<4>[16403.719326]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719328]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719331]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719333]  ? exc_page_fault+0x35/0x150
<4>[16403.719336]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719338]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719341]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719343]  ? exc_page_fault+0x35/0x150
<4>[16403.719345]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719348]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719350]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719353]  ? exc_page_fault+0x35/0x150
<4>[16403.719355]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719357]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719360]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719362]  ? exc_page_fault+0x35/0x150
<4>[16403.719365]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719367]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719370]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719372]  ? exc_page_fault+0x35/0x150
<4>[16403.719375]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719377]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719379]  ? early_xen_iret_patch+0xc/0xc
Oops#1 Part3
<4>[16403.719382]  ? exc_page_fault+0x35/0x150
<4>[16403.719384]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719387]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719389]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719391]  ? exc_page_fault+0x35/0x150
<4>[16403.719394]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719396]  ? asm_exc_page_fault+0x26/0x30
<4>[16403.719399]  ? asm_exc_double_fault+0x23/0x30
<4>[16403.719402]  ? early_xen_iret_patch+0xc/0xc
<4>[16403.719404]  ? asm_exc_page_fault+0xd/0x30
<4>[16403.719407]  ? error_entry+0x14/0x140
<4>[16403.719409]  </#DF>
<4>[16403.719410] WARNING: stack recursion on stack type 5
<4>[16403.719411] Modules linked in: sd_mod scsi_mod scsi_common uhid qrtr xt_connmark xt_MASQUERADE xt_mark nft_chain_nat ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg af_packet bnep snd_sof_pci_intel_tgl snd_sof_pci_intel_cnl snd_sof_intel_hda_generic soundwire_intel soundwire_cadence snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink snd_sof_intel_hda snd_hda_codec_hdmi snd_sof_pci snd_sof_xtensa_dsp snd_sof nls_iso8859_1 snd_sof_utils mousedev nls_cp437 snd_soc_acpi_intel_match vfat soundwire_generic_allocation fat snd_soc_acpi iwlmvm soundwire_bus snd_ctl_led snd_soc_avs snd_hda_codec_realtek snd_soc_hda_codec snd_hda_codec_generic snd_hda_ext_core mac80211 snd_hda_scodec_component snd_soc_core snd_compress ac97_bus btusb snd_pcm_dmaengine btrtl btintel intel_uncore_frequency joydev intel_uncore_frequency_common snd_hda_intel btbcm ptp hid_multitouch btmtk x86_pkg_temp_thermal snd_intel_dspcfg pps_core intel_powerclamp libarc4 hid_generic coretemp
Oops#1 Part2
<4>[16403.719449]  snd_intel_sdw_acpi bluetooth crct10dif_pclmul uvcvideo snd_hda_codec crc32_pclmul ofpart polyval_clmulni polyval_generic videobuf2_vmalloc cmdlinepart iwlwifi uvc snd_hda_core ghash_clmulni_intel iTCO_wdt processor_thermal_device_pci videobuf2_memops spi_nor videobuf2_v4l2 snd_hwdep rapl intel_pmc_bxt processor_thermal_device xe mei_hdcp mei_pxp spd5118 mtd watchdog intel_rapl_msr intel_cstate ecdh_generic gpio_keys videobuf2_common snd_pcm ecc processor_thermal_wt_hint drm_gpuvm ucsi_acpi crc16 processor_thermal_rfim cfg80211 intel_uncore psmouse typec_ucsi wmi_bmof processor_thermal_rapl intel_lpss_pci snd_timer drm_exec roles mei_me intel_rapl_common i2c_i801 intel_lpss snd gpu_sched igen6_edac i2c_smbus processor_thermal_wt_req cros_ec_lid_angle idma64 cros_ec_sensors spi_intel_pci drm_suballoc_helper processor_thermal_power_floor mei cros_ec_sensors_core rfkill i2c_mux soundcore edac_core typec spi_intel drm_ttm_helper virt_dma processor_thermal_mbox industrialio_triggered_buffer fan thermal
Oops#1 Part1
<4>[16403.719489]  tiny_power_button kfifo_buf industrialio ov13858 framework_laptop(O) v4l2_fwnode i2c_hid_acpi v4l2_async i2c_hid int3403_thermal intel_pmc_core hid button videodev int340x_thermal_zone rtc_cmos ac mc intel_vsec pmt_telemetry int3400_thermal acpi_pad soc_button_array acpi_thermal_rel pmt_class evdev mac_hid serio_raw xt_conntrack xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat nf_tables sch_fq_codel cros_charge_control leds_cros_ec led_class_multicolor cros_ec_sensorhub gpio_cros_ec battery cros_ec_sysfs cros_ec_hwmon cros_ec_debugfs cros_ec_chardev vboxnetflt(O) vboxnetadp(O) cros_ec_dev kvm_intel vboxdrv(O) kvm br_netfilter xt_nat x_tables nf_nat bridge nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic crc32c_intel stp cros_ec_lpcs tun veth loop uinput llc irqbypass cros_ec fuse configfs nfnetlink dmi_sysfs dm_crypt cbc encrypted_keys trusted asn1_encoder tee input_leds led_class nvme atkbd libps2 vivaldi_fmap nvme_core sha512_ssse3 sha256_ssse3 sha1_ssse3 aesni_intel i8042
<4>[16403.719536]  xhci_pci gf128mul crypto_simd nvme_auth xhci_hcd cryptd serio zfs(PO) i915 i2c_algo_bit drm_buddy video wmi ttm intel_gtt drm_display_helper dm_mod spl(O) cec pinctrl_tigerlake efivarfs autofs4 [last unloaded: kheaders]
<4>[16403.719550] ---[ end trace 0000000000000000 ]---

Thanks for the suggestion! I’ll be working on-site with the laptop for the next few days and try to debug the issue, we’ll see how it goes :/. I think I can get my hands on a IP KVM to borrow if the issue persists.