Skip to content

Instantly share code, notes, and snippets.

@BlackLotus
Created June 26, 2018 18:48
Show Gist options
  • Save BlackLotus/e158b7ed7dea45c5ef21923729f78d13 to your computer and use it in GitHub Desktop.
Save BlackLotus/e158b7ed7dea45c5ef21923729f78d13 to your computer and use it in GitHub Desktop.
dmesg output when rsyncing to bcachefs
[10590.330852] BUG: unable to handle kernel paging request at ffffb884e0e3c000
[10590.330862] IP: ZSTD_compressSequences_internal+0x54b/0x1250
[10590.330863] PGD 52991d067 P4D 52991d067 PUD 52991e067 PMD 3da576067 PTE 0
[10590.330867] Oops: 0002 [#1] PREEMPT SMP PTI
[10590.330869] Modules linked in: bcache ext4 mbcache jbd2 fscrypto ccm rfcomm overlay xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge stp llc devlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter nvidia(PO) ipmi_devintf bnep ipmi_msghandler wireguard(O) ip6_udp_tunnel udp_tunnel btusb btrtl btbcm btintel bluetooth ecdh_generic crc16 zram lz4 joydev mousedev snd_hda_codec_conexant snd_hda_codec_generic iTCO_wdt mei_wdt wmi_bmof iTCO_vendor_support intel_rapl x86_pkg_temp_thermal intel_powerclamp arc4 nls_iso8859_1 kvm_intel nls_cp437 vfat fat i915 iwldvm mac80211 kvm snd_hda_intel iwlwifi snd_hda_codec psmouse snd_hda_core snd_hwdep
[10590.330904] evdev input_leds irqbypass mac_hid intel_cstate i2c_algo_bit intel_rapl_perf snd_pcm drm_kms_helper cfg80211 snd_timer drm lpc_ich i2c_i801 e1000e thinkpad_acpi nvram mei_me intel_gtt snd agpgart tpm_tis syscopyarea tpm_tis_core sysfillrect ptp sysimgblt soundcore mei thermal pps_core wmi fb_sys_fops tpm shpchp rfkill battery ac rng_core video button sch_fq_codel fuse coretemp msr sg vhba(O) crypto_user ip_tables x_tables dm_crypt dm_mod sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc serio_raw atkbd libps2 aesni_intel ahci sdhci_pci aes_x86_64 crypto_simd cqhci xhci_pci glue_helper ehci_pci libahci sdhci led_class cryptd libata xhci_hcd ehci_hcd scsi_mod mmc_core usbcore usb_common i8042 serio btrfs xor raid6_pq
[10590.330945] CPU: 0 PID: 26110 Comm: kworker/u16:88 Tainted: P O 4.16.0-bcachefs #2
[10590.330946] Hardware name: LENOVO 4284A54/4284A54, BIOS 8BET63WW (1.43 ) 10/20/2016
[10590.330951] Workqueue: writeback wb_workfn (flush-bcachefs-2)
[10590.330955] RIP: 0010:ZSTD_compressSequences_internal+0x54b/0x1250
[10590.330956] RSP: 0018:ffffb884cae97568 EFLAGS: 00010202
[10590.330957] RAX: 0000000000000001 RBX: ffff96e7cc200010 RCX: 0000000000000005
[10590.330959] RDX: ffff96e7cc22ebb4 RSI: ffffb884e0e3c000 RDI: ffff96e7cc2004dc
[10590.330960] RBP: ffffb884e0e3bffd R08: 0000000000000004 R09: ffff96e7cc200fac
[10590.330961] R10: ffff96e7cc200fac R11: ffff96e7cc232bb4 R12: 0000000000000028
[10590.330962] R13: 0000000000000050 R14: ffffb884e0e3c001 R15: ffff96e7cc2010ec
[10590.330964] FS: 0000000000000000(0000) GS:ffff96ebfe200000(0000) knlGS:0000000000000000
[10590.330965] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10590.330966] CR2: ffffb884e0e3c000 CR3: 00000001dd00a003 CR4: 00000000000606f0
[10590.330968] Call Trace:
[10590.330973] ? ZSTD_compressBlock_fast+0x1ac/0xbd0
[10590.330976] ZSTD_compressContinue_internal+0x1a9/0x670
[10590.330979] ZSTD_compressCCtx+0x356/0x660
[10590.330983] bch2_bio_compress+0x241/0x5a0
[10590.330986] ? init_append_extent+0xbe/0xe0
[10590.330989] bch2_write+0xd42/0xf90
[10590.330992] ? bch2_writepage_do_io.isra.48+0x38/0x60
[10590.330994] ? __bch2_writepage+0x249/0x5d0
[10590.330997] ? clear_page_dirty_for_io+0xf7/0x2b0
[10590.331000] ? write_cache_pages+0x1e9/0x450
[10590.331001] ? bch2_seek_data+0x330/0x330
[10590.331004] ? bch2_writepages+0x82/0xc0
[10590.331006] ? do_writepages+0x41/0xd0
[10590.331009] ? bch2_vfs_write_inode+0x47/0x90
[10590.331011] ? __writeback_single_inode+0x3d/0x3e0
[10590.331013] ? writeback_sb_inodes+0x1ec/0x460
[10590.331016] ? __writeback_inodes_wb+0x5d/0xb0
[10590.331018] ? wb_writeback+0x28f/0x340
[10590.331022] ? get_nr_inodes+0x35/0x50
[10590.331025] ? cpumask_next+0x16/0x20
[10590.331027] ? wb_workfn+0x36c/0x440
[10590.331031] ? process_one_work+0x1e3/0x3c0
[10590.331033] ? worker_thread+0x2b/0x3d0
[10590.331034] ? rescuer_thread+0x340/0x340
[10590.331037] ? kthread+0x112/0x130
[10590.331039] ? kthread_create_worker_on_cpu+0x70/0x70
[10590.331042] ? ret_from_fork+0x35/0x40
[10590.331043] Code: 44 24 08 0f 85 3e 04 00 00 80 3c 24 00 0f 84 34 04 00 00 48 8b 54 24 30 48 8b 74 24 78 48 8d bb cc 04 00 00 0f b6 02 4c 8d 76 01 <88> 06 0f b6 b4 24 9c 00 00 00 e8 b6 5f fe ff 44 0f b6 6c 24 40
[10590.331066] RIP: ZSTD_compressSequences_internal+0x54b/0x1250 RSP: ffffb884cae97568
[10590.331067] CR2: ffffb884e0e3c000
[10590.331069] ---[ end trace 4395081e340c5d06 ]---
[10590.331074] WARNING: CPU: 0 PID: 26110 at kernel/exit.c:771 do_exit+0x4f/0xaa0
[10590.331075] Modules linked in: bcache ext4 mbcache jbd2 fscrypto ccm rfcomm overlay xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge stp llc devlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter nvidia(PO) ipmi_devintf bnep ipmi_msghandler wireguard(O) ip6_udp_tunnel udp_tunnel btusb btrtl btbcm btintel bluetooth ecdh_generic crc16 zram lz4 joydev mousedev snd_hda_codec_conexant snd_hda_codec_generic iTCO_wdt mei_wdt wmi_bmof iTCO_vendor_support intel_rapl x86_pkg_temp_thermal intel_powerclamp arc4 nls_iso8859_1 kvm_intel nls_cp437 vfat fat i915 iwldvm mac80211 kvm snd_hda_intel iwlwifi snd_hda_codec psmouse snd_hda_core snd_hwdep
[10590.331098] evdev input_leds irqbypass mac_hid intel_cstate i2c_algo_bit intel_rapl_perf snd_pcm drm_kms_helper cfg80211 snd_timer drm lpc_ich i2c_i801 e1000e thinkpad_acpi nvram mei_me intel_gtt snd agpgart tpm_tis syscopyarea tpm_tis_core sysfillrect ptp sysimgblt soundcore mei thermal pps_core wmi fb_sys_fops tpm shpchp rfkill battery ac rng_core video button sch_fq_codel fuse coretemp msr sg vhba(O) crypto_user ip_tables x_tables dm_crypt dm_mod sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc serio_raw atkbd libps2 aesni_intel ahci sdhci_pci aes_x86_64 crypto_simd cqhci xhci_pci glue_helper ehci_pci libahci sdhci led_class cryptd libata xhci_hcd ehci_hcd scsi_mod mmc_core usbcore usb_common i8042 serio btrfs xor raid6_pq
[10590.331125] CPU: 0 PID: 26110 Comm: kworker/u16:88 Tainted: P D O 4.16.0-bcachefs #2
[10590.331126] Hardware name: LENOVO 4284A54/4284A54, BIOS 8BET63WW (1.43 ) 10/20/2016
[10590.331128] Workqueue: writeback wb_workfn (flush-bcachefs-2)
[10590.331130] RIP: 0010:do_exit+0x4f/0xaa0
[10590.331131] RSP: 0018:ffffb884cae97ee8 EFLAGS: 00010006
[10590.331133] RAX: ffffb884cae97d90 RBX: ffff96ebd8b80ec0 RCX: ffffb884cae97da0
[10590.331134] RDX: ffff96ea036e1340 RSI: 0000000000000000 RDI: ffffffff9f05cf60
[10590.331135] RBP: 0000000000000009 R08: 000000005b2d2d2d R09: 0000000000000478
[10590.331136] R10: 3035393334206563 R11: 61727420646e6520 R12: ffffb884cae974b8
[10590.331137] R13: 0000000000000002 R14: 0000000000000009 R15: 0000000000000001
[10590.331139] FS: 0000000000000000(0000) GS:ffff96ebfe200000(0000) knlGS:0000000000000000
[10590.331140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10590.331141] CR2: ffffb884e0e3c000 CR3: 00000001dd00a003 CR4: 00000000000606f0
[10590.331142] Call Trace:
[10590.331144] ? rescuer_thread+0x340/0x340
[10590.331146] ? kthread+0x112/0x130
[10590.331149] ? rewind_stack_do_exit+0x17/0x20
[10590.331150] Code: 8b 04 25 28 00 00 00 48 89 44 24 30 31 c0 e8 09 f3 06 00 48 8b 83 d8 07 00 00 48 85 c0 74 0e 48 8b 10 48 39 d0 0f 84 c9 04 00 00 <0f> 0b 65 44 8b 2d e7 f0 f8 61 41 81 e5 00 ff 1f 00 44 89 6c 24
[10590.331172] ---[ end trace 4395081e340c5d07 ]---
@koverstreet
Copy link

How long did it take you to hit it? I've got my zstd test running but I'm not having any luck so far reproducing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment