All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave T <davestechshop@gmail.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: kernel: BTRFS error (device dm-1): Missing references.
Date: Tue, 29 Mar 2022 19:08:06 -0400	[thread overview]
Message-ID: <CAGdWbB7onZzhe3EHM9+TvJARGr9Kcg6rKuxdy2-1Jk6V-wuDwQ@mail.gmail.com> (raw)

My systemd journal (log) is filled with the BTRFS error shown below.
I'm running a fully updated Arch Linux system on a ThinkPad with the
latest bios updates for that hardware.

BTRFS scrub reports no errors on the internal and external storage devices.

An online search did not return anything I found relevant, so I have
no idea what this message means or how serious it is.

Mar 29 17:46:15 archlinux kernel: ------------[ cut here ]------------
Mar 29 17:46:15 archlinux kernel: WARNING: CPU: 2 PID: 1424 at
fs/btrfs/extent-tree.c:232 btrfs_lookup_extent_info+0x3bf/0x3e0
[btrfs]
Mar 29 17:46:15 archlinux kernel: Modules linked in: rfcomm
rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc
fscache netfs cmac algif_hash algif_skcipher af_alg bnep snd_soc_skl
snd_soc_hdac_hda snd_hda_ext_core snd_hda_codec_hdmi snd_soc_sst_ipc
snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_msr
snd_ctl_led snd_soc_core snd_compress snd_hda_codec_realtek ac97_bus
iTCO_wdt tps6598x snd_pcm_dmaengine snd_hda_codec_generic
intel_pmc_bxt ee1004 mei_pxp mei_hdcp typec snd_hda_intel
iTCO_vendor_support intel_rapl_common snd_intel_dspcfg iwlmvm
snd_intel_sdw_acpi snd_hda_codec mac80211 intel_tcc_cooling uvcvideo
snd_hda_core x86_pkg_temp_thermal intel_powerclamp videobuf2_vmalloc
libarc4 think_lmi btusb coretemp videobuf2_memops snd_hwdep rapl
intel_cstate intel_uncore iwlwifi pcspkr psmouse btrtl snd_pcm
cdc_mbim i2c_i801 videobuf2_v4l2 btbcm firmware_attributes_class
wmi_bmof intel_wmi_thunderbolt e1000e i2c_smbus snd_timer
videobuf2_common cdc_wdm mei_me intel_lpss_pci
Mar 29 17:46:15 archlinux kernel:  btintel cdc_ncm cfg80211 intel_lpss
mei idma64 videodev bluetooth cdc_ether qcserial mc usbnet i915
ecdh_generic mii usb_wwan mousedev joydev crc16
intel_xhci_usb_role_switch ttm thinkpad_acpi roles intel_pch_thermal
intel_gtt ledtrig_audio i2c_multi_instantiate platform_profile rfkill
snd soundcore acpi_pad mac_hid ipmi_devintf ipmi_msghandler
crypto_user fuse bpf_preload ip_tables x_tables ecb crypto_simd xts
btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq
hid_multitouch usbhid uas usb_storage dm_crypt cbc encrypted_keys
dm_mod trusted asn1_encoder tee tpm rng_core rtsx_pci_sdmmc serio_raw
mmc_core atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel
ghash_clmulni_intel cryptd rtsx_pci xhci_pci xhci_pci_renesas wmi
i8042 video serio vfat fat
Mar 29 17:46:15 archlinux kernel: CPU: 2 PID: 1424 Comm: btrfs-cleaner
Tainted: G     U  W         5.16.16-arch1-1 #1
ea44c25f01916b44dd68de6a90ee2f4c9e51dcb4
Mar 29 17:46:15 archlinux kernel: Hardware name: LENOVO
20HNCTO1WW/20HNCTO1WW, BIOS R0IET64W (1.42 ) 05/27/2021
Mar 29 17:46:15 archlinux kernel: RIP:
0010:btrfs_lookup_extent_info+0x3bf/0x3e0 [btrfs]
Mar 29 17:46:15 archlinux kernel: Code: 08 0d 00 00 c7 44 24 14 00 00
00 00 48 89 44 24 08 e9 d0 fc ff ff 80 48 6a 0c e9 e3 fc ff ff 48 85
db 0f 85 61 ff ff ff 0f 0b <0f> 0b eb 82 b8 f4 ff ff ff eb aa e8 01 ef
38 db e9 3f 1c 0c 00 66
Mar 29 17:46:15 archlinux kernel: RSP: 0018:ffffba48014cfc50 EFLAGS: 00010246
Mar 29 17:46:15 archlinux kernel: RAX: 0000000000000000 RBX:
0000000000000000 RCX: 0000000000000000
Mar 29 17:46:15 archlinux kernel: RDX: 0000000000000000 RSI:
000000531c714000 RDI: ffff93640021b178
Mar 29 17:46:15 archlinux kernel: RBP: ffff9365d8a11ee0 R08:
0000000000000000 R09: ffff9365d8a11ee0
Mar 29 17:46:15 archlinux kernel: R10: 000145ce761ca360 R11:
0000000000000000 R12: ffff93640021b000
Mar 29 17:46:15 archlinux kernel: R13: ffff93640021b178 R14:
0000000000000000 R15: 000000531c714000
Mar 29 17:46:15 archlinux kernel: FS:  0000000000000000(0000)
GS:ffff936b1f500000(0000) knlGS:0000000000000000
Mar 29 17:46:15 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Mar 29 17:46:15 archlinux kernel: CR2: 00007f448004a000 CR3:
000000055c810001 CR4: 00000000003706e0
Mar 29 17:46:15 archlinux kernel: DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Mar 29 17:46:15 archlinux kernel: DR3: 0000000000000000 DR6:
00000000fffe0ff0 DR7: 0000000000000400
Mar 29 17:46:15 archlinux kernel: Call Trace:
Mar 29 17:46:15 archlinux kernel:  <TASK>
Mar 29 17:46:15 archlinux kernel:  do_walk_down+0x171/0x690 [btrfs
0911a8fe6c71eb7dbbad7c3b2067cc4913bade04]
Mar 29 17:46:15 archlinux kernel:  walk_down_tree+0xce/0x110 [btrfs
0911a8fe6c71eb7dbbad7c3b2067cc4913bade04]
Mar 29 17:46:15 archlinux kernel:  btrfs_drop_snapshot+0x1de/0x830
[btrfs 0911a8fe6c71eb7dbbad7c3b2067cc4913bade04]
Mar 29 17:46:15 archlinux kernel:
btrfs_clean_one_deleted_snapshot+0xe4/0x100 [btrfs
0911a8fe6c71eb7dbbad7c3b2067cc4913bade04]
Mar 29 17:46:15 archlinux kernel:  cleaner_kthread+0xe5/0x130 [btrfs
0911a8fe6c71eb7dbbad7c3b2067cc4913bade04]
Mar 29 17:46:15 archlinux kernel:  ? end_workqueue_bio+0xc0/0xc0
[btrfs 0911a8fe6c71eb7dbbad7c3b2067cc4913bade04]
Mar 29 17:46:15 archlinux kernel:  kthread+0x15c/0x180
Mar 29 17:46:15 archlinux kernel:  ? set_kthread_struct+0x40/0x40
Mar 29 17:46:15 archlinux kernel:  ret_from_fork+0x22/0x30
Mar 29 17:46:15 archlinux kernel:  </TASK>
Mar 29 17:46:15 archlinux kernel: ---[ end trace bc332cefd9295579 ]---
Mar 29 17:46:15 archlinux kernel: BTRFS error (device dm-1): Missing references.


# btrfs scrub status /mnt/usb_hdd
UUID:             <redacted>
Scrub started:    Tue Mar 29 01:45:08 2022
Status:           finished
Duration:         1:43:34
Total to scrub:   392.98GiB
Rate:             64.76MiB/s
Error summary:    no errors found


# btrfs scrub status /
UUID:             <redacted>
Scrub started:    Tue Mar 29 03:33:08 2022
Status:           finished
Duration:         0:02:42
Total to scrub:   59.40GiB
Rate:             318.16MiB/s
Error summary:    no errors found

Here is an indication of how frequently the errors are reported in the logs:

Mar 29 17:44:12 kernel: BTRFS error (device dm-1): Missing references.
Mar 29 17:44:43 kernel: BTRFS error (device dm-1): Missing references.
Mar 29 17:45:14 kernel: BTRFS error (device dm-1): Missing references.
Mar 29 17:45:44 kernel: BTRFS error (device dm-1): Missing references.

It looks like it is reported every 30 seconds continuously, whether
the device is being actively used or is idle.

             reply	other threads:[~2022-03-29 23:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-29 23:08 Dave T [this message]
2022-03-29 23:39 ` kernel: BTRFS error (device dm-1): Missing references Dave T
2022-03-30  0:58   ` Dave T
2022-03-30  2:32     ` Dave T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGdWbB7onZzhe3EHM9+TvJARGr9Kcg6rKuxdy2-1Jk6V-wuDwQ@mail.gmail.com \
    --to=davestechshop@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.