btrfs error: read only filesystem

Bug #1595134 reported by Paweł Bylica
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

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
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: chfast 2741 F.... pulseaudio
 /dev/snd/controlC0: chfast 2741 F.... pulseaudio
 /dev/snd/controlC2: chfast 2741 F.... pulseaudio
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=1f372536-f354-423e-a469-f9224e29d3f3
InstallationDate: Installed on 2015-05-28 (390 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Gigabyte Technology Co., Ltd. Z97-HD3
Package: linux (not installed)
ProcFB:
 0 inteldrmfb
 1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-24-generic root=UUID=7b378779-2fea-4f8a-a365-ff9529ed110a ro rootflags=subvol=@ quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-24-generic N/A
 linux-backports-modules-4.4.0-24-generic N/A
 linux-firmware 1.157
RfKill:

Tags: xenial
Uname: Linux 4.4.0-24-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-06-06 (16 days ago)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 06/11/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F6
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z97-HD3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF6:bd06/11/2014:svnGigabyteTechnologyCo.,Ltd.:pnZ97-HD3:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ97-HD3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: Z97-HD3
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1595134

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Paweł Bylica (chfast) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Paweł Bylica (chfast) wrote : CRDA.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : IwConfig.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : JournalErrors.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : Lspci.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : Lsusb.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : ProcEnviron.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : ProcModules.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : UdevDb.txt

apport information

Revision history for this message
Paweł Bylica (chfast) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.7 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc4-yakkety/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.