Skip to content

Instantly share code, notes, and snippets.

View YellowOnion's full-sized avatar

Daniel Hill YellowOnion

View GitHub Profile
[ 75.337001] ------------[ cut here ]------------
[ 75.337003] btree trans held srcu lock (delaying memory reclaim) for 70 seconds
[ 75.337010] WARNING: CPU: 3 PID: 764 at fs/bcachefs/btree_iter.c:2996 bch2_trans_put+0x262/0x290 [bcachefs]
[ 75.337034] Modules linked in: bcachefs libcrc32c crc32c_generic lz4_compress lz4hc_compress xor raid6_pq hid_generic usbhid hid usb_storage sd_mod ahci libahci libata nvme xhci_pci xhci_pci_renesas firmware_class nvme_core xhci_hcd scsi_mod nvme_auth t10_pi crc32c_intel sha256_ssse3 crc64_rocksoft crc_t10dif crct10dif_generic crct10dif_pclmul crc64 scsi_common crct10dif_common rtc_cmos dm_mod dax
[ 75.337057] CPU: 3 PID: 764 Comm: ln Not tainted 6.10.0-rc4-bcachefs-unstable-3a3daab #1-NixOS
[ 75.337060] Hardware name: ASUS System Product Name/TUF GAMING B550-PLUS, BIOS 2806 10/27/2022
[ 75.337061] RIP: 0010:bch2_trans_put+0x262/0x290 [bcachefs]
[ 75.337082] Code: cb fd 48 c7 c7 30 cf aa c0 48 b8 cf f7 53 e3 a5 9b c4 20 48 29 ca 48 c1 ea 03 48 f7 e2 48 89 d
0.000 bch-reclaim/92/420 bcachefs:transaction_commit(trans_fn: "bch2_btree_key_cache_journal_fl", caller_ip: -1063954131)
81.105 systemd-journa/827 bcachefs:transaction_commit(trans_fn: "bch2_truncate", caller_ip: -1063387859)
81.126 systemd-journa/827 bcachefs:transaction_commit(trans_fn: "bch2_truncate", caller_ip: -1063476063)
81.140 systemd-journa/827 bcachefs:transaction_commit(trans_fn: "bch2_truncate", caller_ip: -1063387589)
81.152 systemd-journa/827 bcachefs:transaction_commit(trans_fn: "bch2_setattr_nonsize", caller_ip: -1063643158)
104.077 kworker/6:2H-b/308743 bcachefs:transaction_commit(trans_fn: "btree_node_write_work", caller_ip: -1063891813)
208.005 bch-reclaim/92/420 bcachefs:transaction_commit(trans_fn: "bch2_btree_key_cache_journal_fl", caller_ip: -1063954131)
312.601 kworker/6:2H-b/308743 bcachefs:transaction_commit(trans_fn: "btree_node_write_work", caller_ip: -1063891813)
416.023 bch-reclaim/92/420 bcachefs:transaction_commit(trans_fn: "bch2_btree_key_cac
[117613.430304] ------------[ cut here ]------------
[117613.430308] btree trans held srcu lock (delaying memory reclaim) for 14 seconds
[117613.430342] WARNING: CPU: 11 PID: 426 at fs/bcachefs/btree_iter.c:2996 bch2_trans_srcu_unlock+0x126/0x140 [bcachefs]
[117613.430388] Modules linked in: tcp_diag inet_diag rfcomm snd_seq_dummy snd_hrtimer snd_seq uhid cmac algif_hash algif_skcipher af_alg bnep af_packet nls_iso8859_1 nls_cp437 vfat fat xfs amdgpu snd_hda_codec_realtek snd_hda_codec_generic btusb btrtl btintel btbcm edac_mce_amd btmtk snd_hda_scodec_component edac_core snd_hda_codec_hdmi snd_hda_intel amd_atl bluetooth snd_intel_dspcfg snd_intel_sdw_acpi snd_usb_audio snd_hda_codec cfg80211 snd_hda_core snd_usbmidi_lib snd_ump snd_hwdep intel_rapl_msr evdev intel_rapl_common crc32_pclmul polyval_clmulni polyval_generic r8169 gf128mul wacom ghash_clmulni_intel sha512_ssse3 realtek mdio_devres libphy amdxcp drm_exec gpu_sched drm_buddy drm_suballoc_helper drm_ttm_helper snd_rawmidi ttm snd_seq_device uas mc
In file included from libbcachefs/vstructs.h:5,
from libbcachefs/bcachefs_format.h:80,
from libbcachefs/bcachefs.h:207,
from libbcachefs/backpointers.c:2:
In function 'check_bp_exists',
inlined from 'check_extent_to_backpointers' at libbcachefs/backpointers.c:708:9:
libbcachefs/util.h:192:41: warning: 'bucket_pos.inode' may be used uninitialized [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized8;;]
192 | #define prt_printf(_out, ...) bch2_prt_printf(_out, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libbcachefs/backpointers.c:652:9: note: in expansion of macro 'prt_printf'
{ config, lib, pkgs, ... }:
let
cfg = config.games;
withExtraGameScripts = scripts:
(pkgs.writeShellScriptBin "run.sh"
''${
let f = a: b: "exec ${a}/bin/run.sh " + b; in lib.foldr f ''"$@"'' scripts
}
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 74356b60f..e4276aca8 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,13 +169,6 @@ if(MSVC)
endif()
endforeach()
endif()
-
- # Make sure /RTC1 is disabled, otherwise it will use functions from the CRT
{ nixpkgs ? import <nixpkgs> {}}:
let
lib = nixpkgs.lib;
mkpkg = a: deps: { name = a; deps = deps;};
testPkgs = {
a = mkpkg "a" [ "b" "c" ];
b = mkpkg "b" [ "a" ];
c = mkpkg "c" [ "b" ];
};
cc1: all warnings being treated as errors
[25/241] Compiling C object libwlroots.so.1...rotocol_text-input-unstable-v3-protocol.c.o
FAILED: libwlroots.so.12.p/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o
gcc -Ilibwlroots.so.12.p -I. -I.. -Iinclude -I../include -Iprotocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/nix/store/80w55fw51p8qf0bx9ly6sil4n25fppwq-wayland-1.22.0-dev/include -I/nix/store/njw23bh48h17f4mxb1zywv1gn89brz6r-libdrm-2.4.120-dev/include -I/nix/store/njw23bh48h17f4mxb1zywv1gn89brz6r-libdrm-2.4.120-dev/include/libdrm -I/nix/store/pvj554bgy94y9j29b5xl8l4sw239vqkx-libxkbcommon-1.5.0-dev/include -I/nix/store/73lsxaii5sk9zgm7g53mca4a65a9i5xh-pixman-0.43.4/include/pixman-1 -I/nix/store/w39vmhs53w6ai3ybiv1yzsvrsriyx9mq-libglvnd-1.7.0-dev/include -I/nix/store/jhxwa57l6cvs6xp0yl7yhr4ryp05v61z-mesa-24.0.3-dev/include -I/nix/store/3a5xx9s04kk1x3xm7qkaxnszlczl6fnp-vulkan-headers-1.3.280.0/include -I/nix/store/gjw9820iv7cvvwj4ikydni8v3khyvwp9-systemd-minimal-libs-255
[691523.660794] bcachefs (sdb inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691523.662924] bcachefs (sdd inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691524.115826] bcachefs (sdd inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691524.115905] bcachefs (sdd inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691524.115968] bcachefs (sdb inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691524.116087] bcachefs (sdb inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691524.702331] bcachefs (sdb inum 1568282 offset 229195776): data data checksum error: got 140f5c2a should be dc3f2826 type crc32c
[691524.702664] bcachefs (sdd inum 1568282 offset 229195776): data data checksum error: got 140f5c2a
Feb 18 00:56:41 Purple-Sunrise systemd[1]: Starting Network Name Resolution...
Feb 18 00:56:41 Purple-Sunrise systemd-resolved[1254]: Positive Trust Anchors:
Feb 18 00:56:41 Purple-Sunrise systemd-resolved[1254]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Feb 18 00:56:41 Purple-Sunrise systemd-resolved[1254]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 170.0.0.192.in-addr.arpa 171.0.0.192.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa ipv4only.arpa corp home internal intranet lan local private test
Feb 18 00:56:41 Purple-Sunrise systemd-resolved[1254]: Using system hostname 'Purple-Sunrise'.
Feb 18 00:56:41 Purple-Sunrise systemd[1]: Started Network