← Back to team overview

kernel-packages team mailing list archive

[Bug 1595134] [NEW] btrfs error: read only filesystem

 

Public bug reported:

I have some problems with btrfs filesystem. This time an error occurred
just after the start up and the filesystem has been mounted as read
only.

Kernel log:
[   35.214387] ------------[ cut here ]------------
[   35.214406] WARNING: CPU: 5 PID: 3124 at /build/linux-oXTOqc/linux-4.4.0/fs/btrfs/inode.c:4485 btrfs_truncate_inode_items+0xc1d/0xd20 [btrfs]()
[   35.214407] BTRFS: Transaction aborted (error -11)
[   35.214408] Modules linked in: xt_addrtype br_netfilter 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 bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc intel_rapl x86_pkg_temp_thermal input_leds intel_powerclamp coretemp crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic snd_hda_codec_hdmi snd_soc_rt5640 snd_soc_ssm4567 snd_soc_rl6231 snd_hda_intel aesni_intel snd_soc_core aes_x86_64 snd_hda_codec lrw gf128mul glue_helper snd_hda_core snd_compress ablk_helper ac97_bus cryptd snd_hwdep snd_pcm_dmaengine serio_raw
[   35.214436]  mei_me snd_seq_midi snd_seq_midi_event lpc_ich mei snd_pcm snd_rawmidi snd_seq shpchp snd_seq_device snd_timer snd 8250_fintek elan_i2c soundcore i2c_designware_platform 8250_dw dw_dmac dw_dmac_core i2c_designware_core spi_pxa2xx_platform snd_soc_sst_acpi mac_hid acpi_pad kvm_intel kvm irqbypass parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid amdkfd amd_iommu_v2 radeon i915 ttm i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ahci drm r8169 libahci mii i2c_hid sdhci_acpi sdhci video hid fjes
[   35.214462] CPU: 5 PID: 3124 Comm: SimpleCacheWork Tainted: G           OE   4.4.0-24-generic #43-Ubuntu
[   35.214463] Hardware name: Gigabyte Technology Co., Ltd. Z97-HD3/Z97-HD3, BIOS F6 06/11/2014
[   35.214465]  0000000000000286 00000000dd8b3f1e ffff8803e71f3c18 ffffffff813eab23
[   35.214466]  ffff8803e71f3c60 ffffffffc05c4220 ffff8803e71f3c50 ffffffff810810d2
[   35.214468]  ffff880414f91000 ffff8800b8745b58 0000000000000000 ffff8800b85126c0
[   35.214470] Call Trace:
[   35.214475]  [<ffffffff813eab23>] dump_stack+0x63/0x90
[   35.214478]  [<ffffffff810810d2>] warn_slowpath_common+0x82/0xc0
[   35.214480]  [<ffffffff8108116c>] warn_slowpath_fmt+0x5c/0x80
[   35.214492]  [<ffffffffc05a3a4f>] ? ulist_free+0x1f/0x30 [btrfs]
[   35.214504]  [<ffffffffc054a4fd>] btrfs_truncate_inode_items+0xc1d/0xd20 [btrfs]
[   35.214507]  [<ffffffff810c3b80>] ? wake_atomic_t_function+0x60/0x60
[   35.214518]  [<ffffffffc054a6e2>] btrfs_truncate+0xe2/0x2c0 [btrfs]
[   35.214529]  [<ffffffffc054af85>] btrfs_setattr+0x1e5/0x360 [btrfs]
[   35.214531]  [<ffffffff81229d35>] notify_change+0x235/0x360
[   35.214533]  [<ffffffff81209a75>] do_truncate+0x75/0xc0
[   35.214535]  [<ffffffff8120aa29>] do_sys_ftruncate.constprop.13+0x119/0x170
[   35.214537]  [<ffffffff8120ac2e>] SyS_ftruncate+0xe/0x10
[   35.214540]  [<ffffffff81825bf2>] entry_SYSCALL_64_fastpath+0x16/0x71
[   35.214542] ---[ end trace 619f33d132d16603 ]---
[   35.214544] BTRFS warning (device sdb3): btrfs_truncate_inode_items:4485: Aborting unused transaction(unknown).
[   35.222150] BTRFS: error (device sdb3) in btrfs_truncate_inode_items:4485: errno=-11 unknown
[   35.222153] BTRFS info (device sdb3): forced readonly
[  374.383753] audit: type=1400 audit(1466590347.068:31): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=884 comm="cupsd" capability=12  capname="net_admin"
[  374.383768] audit: type=1400 audit(1466590347.068:32): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[  374.383778] audit: type=1400 audit(1466590347.068:33): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[  374.383825] audit: type=1400 audit(1466590347.068:34): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
[  374.383833] audit: type=1400 audit(1466590347.068:35): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0

The filesystem is mounted as:
UUID=7b378779-2fea-4f8a-a365-ff9529ed110a /               btrfs   defaults,noatime,compress=lzo,subvol=@ 0       1
UUID=7b378779-2fea-4f8a-a365-ff9529ed110a /home           btrfs   defaults,noatime,compress=lzo,subvol=@home 0       2

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1595134

Title:
  btrfs error: read only filesystem

Status in linux package in Ubuntu:
  New

Bug description:
  I have some problems with btrfs filesystem. This time an error
  occurred just after the start up and the filesystem has been mounted
  as read only.

  Kernel log:
  [   35.214387] ------------[ cut here ]------------
  [   35.214406] WARNING: CPU: 5 PID: 3124 at /build/linux-oXTOqc/linux-4.4.0/fs/btrfs/inode.c:4485 btrfs_truncate_inode_items+0xc1d/0xd20 [btrfs]()
  [   35.214407] BTRFS: Transaction aborted (error -11)
  [   35.214408] Modules linked in: xt_addrtype br_netfilter 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 bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) binfmt_misc intel_rapl x86_pkg_temp_thermal input_leds intel_powerclamp coretemp crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_generic snd_hda_codec_hdmi snd_soc_rt5640 snd_soc_ssm4567 snd_soc_rl6231 snd_hda_intel aesni_intel snd_soc_core aes_x86_64 snd_hda_codec lrw gf128mul glue_helper snd_hda_core snd_compress ablk_helper ac97_bus cryptd snd_hwdep snd_pcm_dmaengine serio_raw
  [   35.214436]  mei_me snd_seq_midi snd_seq_midi_event lpc_ich mei snd_pcm snd_rawmidi snd_seq shpchp snd_seq_device snd_timer snd 8250_fintek elan_i2c soundcore i2c_designware_platform 8250_dw dw_dmac dw_dmac_core i2c_designware_core spi_pxa2xx_platform snd_soc_sst_acpi mac_hid acpi_pad kvm_intel kvm irqbypass parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid amdkfd amd_iommu_v2 radeon i915 ttm i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ahci drm r8169 libahci mii i2c_hid sdhci_acpi sdhci video hid fjes
  [   35.214462] CPU: 5 PID: 3124 Comm: SimpleCacheWork Tainted: G           OE   4.4.0-24-generic #43-Ubuntu
  [   35.214463] Hardware name: Gigabyte Technology Co., Ltd. Z97-HD3/Z97-HD3, BIOS F6 06/11/2014
  [   35.214465]  0000000000000286 00000000dd8b3f1e ffff8803e71f3c18 ffffffff813eab23
  [   35.214466]  ffff8803e71f3c60 ffffffffc05c4220 ffff8803e71f3c50 ffffffff810810d2
  [   35.214468]  ffff880414f91000 ffff8800b8745b58 0000000000000000 ffff8800b85126c0
  [   35.214470] Call Trace:
  [   35.214475]  [<ffffffff813eab23>] dump_stack+0x63/0x90
  [   35.214478]  [<ffffffff810810d2>] warn_slowpath_common+0x82/0xc0
  [   35.214480]  [<ffffffff8108116c>] warn_slowpath_fmt+0x5c/0x80
  [   35.214492]  [<ffffffffc05a3a4f>] ? ulist_free+0x1f/0x30 [btrfs]
  [   35.214504]  [<ffffffffc054a4fd>] btrfs_truncate_inode_items+0xc1d/0xd20 [btrfs]
  [   35.214507]  [<ffffffff810c3b80>] ? wake_atomic_t_function+0x60/0x60
  [   35.214518]  [<ffffffffc054a6e2>] btrfs_truncate+0xe2/0x2c0 [btrfs]
  [   35.214529]  [<ffffffffc054af85>] btrfs_setattr+0x1e5/0x360 [btrfs]
  [   35.214531]  [<ffffffff81229d35>] notify_change+0x235/0x360
  [   35.214533]  [<ffffffff81209a75>] do_truncate+0x75/0xc0
  [   35.214535]  [<ffffffff8120aa29>] do_sys_ftruncate.constprop.13+0x119/0x170
  [   35.214537]  [<ffffffff8120ac2e>] SyS_ftruncate+0xe/0x10
  [   35.214540]  [<ffffffff81825bf2>] entry_SYSCALL_64_fastpath+0x16/0x71
  [   35.214542] ---[ end trace 619f33d132d16603 ]---
  [   35.214544] BTRFS warning (device sdb3): btrfs_truncate_inode_items:4485: Aborting unused transaction(unknown).
  [   35.222150] BTRFS: error (device sdb3) in btrfs_truncate_inode_items:4485: errno=-11 unknown
  [   35.222153] BTRFS info (device sdb3): forced readonly
  [  374.383753] audit: type=1400 audit(1466590347.068:31): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=884 comm="cupsd" capability=12  capname="net_admin"
  [  374.383768] audit: type=1400 audit(1466590347.068:32): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
  [  374.383778] audit: type=1400 audit(1466590347.068:33): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
  [  374.383825] audit: type=1400 audit(1466590347.068:34): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
  [  374.383833] audit: type=1400 audit(1466590347.068:35): apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/cupsd" name="/run/systemd/journal/socket" pid=884 comm="cupsd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0

  The filesystem is mounted as:
  UUID=7b378779-2fea-4f8a-a365-ff9529ed110a /               btrfs   defaults,noatime,compress=lzo,subvol=@ 0       1
  UUID=7b378779-2fea-4f8a-a365-ff9529ed110a /home           btrfs   defaults,noatime,compress=lzo,subvol=@home 0       2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1595134/+subscriptions


Follow ups