Process freezes during IO on btrfs

Bug #1237833 reported by JR
This bug report is a duplicate of:  Bug #1384711: btrfs oops on current 3.13. Edit Remove
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
High
Unassigned

Bug Description

On a quite clean installation, I'm using btrfs with compression turned on.

during a build, it seemed the build process stopped.

dmesg showed

[ 221.080504] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
[12161.785213] general protection fault: 0000 [#1] SMP
[12161.785241] Modules linked in: pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) snd_usb_audio snd_usbmidi_lib usb_storage(F) parport_pc(F) ppdev(F) bnep rfcomm bluetooth binfmt_misc(F) hid_generic usbhid x86_pkg_temp_thermal intel_powerclamp hid coretemp kvm_intel(F) kvm(F) crct10dif_pclmul(F) crc32_pclmul(F) ghash_clmulni_intel(F) aesni_intel(F) aes_x86_64(F) lrw(F) gf128mul(F) glue_helper(F) ablk_helper(F) cryptd(F) snd_hda_codec_hdmi dcdbas snd_hda_codec_realtek snd_hda_intel microcode(F) snd_hda_codec snd_hwdep(F) nls_iso8859_1(F) serio_raw(F) snd_pcm(F) snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) lpc_ich snd_rawmidi(F) snd_seq(F) snd_seq_device(F) snd_timer(F) tpm_tis snd(F) mac_hid mei_me soundcore(F) mei ext2(F) lp(F) parport(F) btrfs(F) xor(F) zlib_deflate(F) raid6_pq(F) libcrc32c(F) radeon i2c_algo_bit ttm drm_kms_helper drm ahci(F) libahci(F) e1000e(F) ptp(F) pps_core(F) video(F)
[12161.785496] CPU: 2 PID: 22490 Comm: java Tainted: GF O 3.11.0-11-generic #17-Ubuntu
[12161.785516] Hardware name: Dell Inc. OptiPlex 7010/0GY6Y8, BIOS A15 08/12/2013
[12161.785534] task: ffff880402141770 ti: ffff88003f9b6000 task.ti: ffff88003f9b6000
[12161.785551] RIP: 0010:[<ffffffff813690a6>] [<ffffffff813690a6>] memcpy+0x6/0x110
[12161.785572] RSP: 0018:ffff88003f9b7968 EFLAGS: 00010207
[12161.785585] RAX: ffff880255fad021 RBX: 000000000000000a RCX: 000000000000000a
[12161.785601] RDX: 000000000000000a RSI: 0005080000000000 RDI: ffff880255fad021
[12161.785617] RBP: ffff88003f9b79a0 R08: 0000000000001000 R09: ffff880255fad000
[12161.785633] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8802a47a19d0
[12161.785649] R13: 0000160000000000 R14: ffff880255fad02b R15: 000000000000000a
[12161.785666] FS: 00002b88695a9700(0000) GS:ffff88041dc80000(0000) knlGS:0000000000000000
[12161.785685] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[12161.785698] CR2: 0000000703266000 CR3: 000000015d79b000 CR4: 00000000001427e0
[12161.785715] Stack:
[12161.785720] ffffffffa02b9d4c 0000000000001000 ffff880401db0800 0000000000000000
[12161.785739] ffff88040147c000 ffff880286faed20 ffff8802d96b2980 ffff88003f9b7a60
[12161.785758] ffffffffa029e3b6 0000000000000000 0000000000000f65 00000000ffffffff
[12161.785781] Call Trace:
[12161.785811] [<ffffffffa02b9d4c>] ? read_extent_buffer+0xbc/0x110 [btrfs]
[12161.785837] [<ffffffffa029e3b6>] btrfs_get_extent+0x906/0x9b0 [btrfs]
[12161.785859] [<ffffffffa02b704e>] __extent_read_full_page+0x2ee/0x710 [btrfs]
[12161.785877] [<ffffffff8119c79a>] ? __mem_cgroup_commit_charge+0x9a/0x380
[12161.785899] [<ffffffffa029dab0>] ? btrfs_real_readdir+0x5c0/0x5c0 [btrfs]
[12161.785926] [<ffffffff8115b873>] ? __inc_zone_page_state+0x33/0x40
[12161.785951] [<ffffffffa029dab0>] ? btrfs_real_readdir+0x5c0/0x5c0 [btrfs]
[12161.785973] [<ffffffffa02b8465>] extent_readpages+0x1a5/0x210 [btrfs]
[12161.785990] [<ffffffff81183969>] ? alloc_pages_current+0xa9/0x160
[12161.786010] [<ffffffffa029ba5f>] btrfs_readpages+0x1f/0x30 [btrfs]
[12161.786026] [<ffffffff8114a888>] __do_page_cache_readahead+0x1a8/0x240
[12161.786043] [<ffffffff8114ad96>] ondemand_readahead+0x126/0x250
[12161.786058] [<ffffffff81316e33>] ? apparmor_file_alloc_security+0x23/0x40
[12161.786075] [<ffffffff8114aef3>] page_cache_sync_readahead+0x33/0x50
[12161.786090] [<ffffffff811406a5>] generic_file_aio_read+0x4b5/0x700
[12161.786106] [<ffffffff811a64e0>] do_sync_read+0x80/0xb0
[12161.786119] [<ffffffff811a6b3e>] vfs_read+0x9e/0x170
[12161.786131] [<ffffffff811a7669>] SyS_read+0x49/0xa0
[12161.786145] [<ffffffff817029dd>] system_call_fastpath+0x1a/0x1f
[12161.786159] Code: 43 58 48 2b 43 50 88 43 4e 5b 5d c3 66 0f 1f 84 00 00 00 00 00 e8 fb fb ff ff eb e2 90 90 90 90 90 90 90 90 90 48 89 f8 48 89 d1 <f3> a4 c3 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 20 4c 8b 06 4c 8b
[12161.786238] RIP [<ffffffff813690a6>] memcpy+0x6/0x110
[12161.786253] RSP <ffff88003f9b7968>
[12161.793297] ---[ end trace ba94e36a29af0444 ]---

any hints? should i turn compression off?

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image (not installed)
ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
Uname: Linux 3.11.0-11-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: juergen 2279 F.... pulseaudio
 /dev/snd/controlC1: juergen 2279 F.... pulseaudio
 /dev/snd/controlC0: juergen 2279 F.... pulseaudio
 /dev/snd/pcmC0D0p: juergen 2279 F...m pulseaudio
Date: Thu Oct 10 10:30:14 2013
HibernationDevice: RESUME=UUID=d9c05c0f-8e3c-4690-9f47-9ac8625758ff
InstallationDate: Installed on 2013-10-04 (5 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131003)
IwConfig:
 vboxnet0 no wireless extensions.

 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: Dell Inc. OptiPlex 7010
MarkForUpload: True
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-11-generic.efi.signed root=UUID=8e6dea65-9ed5-49b1-b46a-04de969952b1 ro rootflags=subvol=@ quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-11-generic N/A
 linux-backports-modules-3.11.0-11-generic N/A
 linux-firmware 1.116
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/12/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.name: 0GY6Y8
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA15:bd08/12/2013:svnDellInc.:pnOptiPlex7010:pvr01:rvnDellInc.:rn0GY6Y8:rvrA01:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex 7010
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
JR (juergen-richtsfeld) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
JR (juergen-richtsfeld) wrote :

issue #1235521 looks quite similar

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.12 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'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-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/v3.12-rc4-saucy/

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
JR (juergen-richtsfeld) wrote :

I removed the mount options "compressed" and booted into recovery mode performing an filesystem check. now my problem is gone.
I'll wait a few more 3.12 rcs, and will then try with compression re-enabled.

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.