Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487140 - kernel 3.11.4 - commit timeout(?) in jbd2/bcache0-8
Summary: kernel 3.11.4 - commit timeout(?) in jbd2/bcache0-8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-3.11.5
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 17:48 UTC by Harris Landgarten
Modified: 2013-10-14 15:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config (config-3.11.4-gentoo,92.00 KB, text/plain)
2013-10-06 17:48 UTC, Harris Landgarten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2013-10-06 17:48:46 UTC
Created attachment 360264 [details]
config

After running 3.11.4 upon starting my vmware-workstation scope I get the following in the logs:

Oct 06 12:59:38 harrisl-desktop kernel: Modules linked in: arc4 ecb md4 md5 hmac cifs xt_NETMAP xt_AUDIT nfnetlink_cttimeout xt_REDIRECT xt_HMARK xt_CHECKSUM xt_NFQUEUE xt_TRACE nf_conntrack_netbios_ns xt_statistic xt_TEE xt_cluster xt_policy xt_TCPMSS xt_multiport xt_connlabel xt_length xt_connmark xt_NFLOG nf_conntrack_snmp nf_conntrack_broadcast nfnetlink_log xt_time xt_addrtype nf_conntrack_netlink xt_recent xt_HL xt_CT xt_comment xt_rateest xt_RATEEST xt_tcpmss xt_mark xt_TCPOPTSTRIP xt_nfacct nfnetlink_acct nf_conntrack_sane xt_connbytes xt_string xt_dscp nfnetlink_cthelper nf_nat_sip nf_conntrack_sip xt_limit xt_CLASSIFY xt_devgroup xt_DSCP xt_set xt_realm xt_osf xt_u32 xt_helper nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc xt_nat xt_quota xt_dccp xt_mac nf_nat_ftp
Oct 06 12:59:38 harrisl-desktop kernel:  nf_conntrack_ftp xt_pkttype xt_owner xt_iprange nf_conntrack_h323 xt_hashlimit xt_esp ip_set_hash_netiface ip_set xt_ecn xt_cpu nfnetlink_queue nfnetlink xt_IDLETIMER xt_bpf xt_connlimit ip6t_NPT ip6t_rt ip6t_mh ip6t_ah ip6t_MASQUERADE ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_rpfilter ip6table_nat nf_nat_ipv6 nf_nat ip6t_REJECT xt_LOG xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 xt_hl xt_conntrack nf_conntrack ip6table_filter ip6table_raw ip6table_security ip6table_mangle ip6_tables x_tables vsock(O) vmnet(O) vmblock(O) vmmon(O) vmci(O) w83627ehf adt7475 hwmon_vid ext4 crc16 jbd2 coretemp hwmon intel_powerclamp wacom nvidia(PO) e1000e crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw ptp snd_hda_codec_hdmi gf128mul snd_hda_codec_realtek snd_hda_intel glue_helper
Oct 06 12:59:38 harrisl-desktop kernel:  ablk_helper cryptd i2c_i801 snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer pps_core snd bcache i2c_core pata_marvell lpc_ich soundcore evdev dm_mod fuse [last unloaded: xt_state]
Oct 06 12:59:38 harrisl-desktop kernel: CPU: 11 PID: 515 Comm: jbd2/bcache0-8 Tainted: P           O 3.11.4-gentoo #1
Oct 06 12:59:38 harrisl-desktop kernel: Hardware name:                  /DX58SO2, BIOS SOX5820J.86A.0920.2013.0729.0042 07/29/2013
Oct 06 12:59:38 harrisl-desktop kernel: task: ffff88060f39e600 ti: ffff880603672000 task.ti: ffff880603672000
Oct 06 12:59:38 harrisl-desktop kernel: RIP: 0010:[<ffffffffa007b8c4>]  [<ffffffffa007b8c4>] bch_insert_data+0x14/0x20 [bcache]
Oct 06 12:59:38 harrisl-desktop kernel: RSP: 0018:ffff880603673a58  EFLAGS: 00010246
Oct 06 12:59:38 harrisl-desktop kernel: RAX: 0000000000000000 RBX: ffff88060036f6f0 RCX: 0000000000000000
Oct 06 12:59:38 harrisl-desktop kernel: RDX: ffff88060036f7e8 RSI: 0000000000000000 RDI: ffff88060036f7e8
Oct 06 12:59:38 harrisl-desktop kernel: RBP: ffff880603673a58 R08: ffff8805d5d80aa0 R09: 05a97c8818080000
Oct 06 12:59:38 harrisl-desktop kernel: R10: fa3884e2471a0602 R11: 0000000000000000 R12: ffff880603610000
Oct 06 12:59:38 harrisl-desktop kernel: R13: ffff8805b01d7080 R14: ffff88060036f750 R15: 00000000ffffffff
Oct 06 12:59:38 harrisl-desktop kernel: FS:  0000000000000000(0000) GS:ffff88062fd60000(0000) knlGS:0000000000000000
Oct 06 12:59:38 harrisl-desktop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Oct 06 12:59:38 harrisl-desktop kernel: CR2: 0000000000000064 CR3: 00000000018f3000 CR4: 00000000000007e0
Oct 06 12:59:38 harrisl-desktop kernel: Stack:
Oct 06 12:59:38 harrisl-desktop kernel:  ffff880603673a68 ffffffffa0088a63 ffff880603673ad8 ffffffffa007ca48
Oct 06 12:59:38 harrisl-desktop kernel:  ffff880603673a88 ffff880603610010 8000000000000000 000000000c4400b0
Oct 06 12:59:38 harrisl-desktop kernel:  8000000000000000 000000000c4400b8 ffff880603673ad8 ffff880603610010
Oct 06 12:59:38 harrisl-desktop kernel: Call Trace:
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa0088a63>] closure_queue+0x43/0x50 [bcache]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa007ca48>] request_write+0x1c8/0x490 [bcache]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa007ce7f>] cached_dev_make_request+0x16f/0x420 [bcache]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff812cf262>] generic_make_request+0xc2/0x110
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff812cf315>] submit_bio+0x65/0x130
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff81181c39>] _submit_bh+0x139/0x210
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff81181d1b>] submit_bh+0xb/0x10
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa1117eb5>] journal_submit_commit_record.isra.10+0x1b5/0x1e0 [jbd2]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa1119250>] jbd2_journal_commit_transaction+0x1370/0x1b10 [jbd2]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff810708cd>] ? default_wake_function+0xd/0x10
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff8104dd93>] ? lock_timer_base.isra.37+0x33/0x60
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa111e2c8>] kjournald2+0xb8/0x240 [jbd2]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff81062660>] ? abort_exclusive_wait+0xb0/0xb0
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffffa111e210>] ? commit_timeout+0x10/0x10 [jbd2]
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff81061a1b>] kthread+0xbb/0xc0
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff81061960>] ? kthread_freezable_should_stop+0x70/0x70
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff816527ac>] ret_from_fork+0x7c/0xb0
Oct 06 12:59:38 harrisl-desktop kernel:  [<ffffffff81061960>] ? kthread_freezable_should_stop+0x70/0x70
Oct 06 12:59:38 harrisl-desktop kernel: Code: 4c 89 ef e8 ef d3 00 00 e9 19 ff ff ff 0f 0b 0f 0b 66 0f 1f 44 00 00 48 8d 47 68 55 48 89 47 60 48 89 e5 48 89 47 58 48 8b 47 40 <f0> ff 40 64 e8 53 fb ff ff 5d c3 90 55 48 89 e5 41 56 41 89 f6 
Oct 06 12:59:38 harrisl-desktop kernel: RIP  [<ffffffffa007b8c4>] bch_insert_data+0x14/0x20 [bcache]
Oct 06 12:59:38 harrisl-desktop kernel:  RSP <ffff880603673a58>
Oct 06 12:59:38 harrisl-desktop kernel: CR2: 0000000000000064
Oct 06 12:59:38 harrisl-desktop kernel: ---[ end trace 38d86d43d3f79e01 ]---

no vm will run also sudo sync hangs

The only way to reboot is to power off. 

Going back to 3.11.3 solves the issue.

I am attaching my .config

Note the vm partition is lvm2 on an raid1 and a bcache backing store
Comment 1 Harris Landgarten 2013-10-06 21:24:02 UTC
noticed that were a good number of bcache changes in 3.11.4

The kernel error occurs on my system when vmware accesses a partition backed by a bcache ssd. The bcache volume is set to write_back with default setting for everything else.

Could someone else using bcache confirm.
Comment 2 Sebastian Rose 2013-10-10 15:58:48 UTC
I can confirm a kernel oops with bcache using linux 3.11.4. It occurs in bch_insert_data+0x14/0x20. This is a known regression, see http://article.gmane.org/gmane.linux.kernel.bcache.devel/2113
It was introduced by accident to the stable kernel.
Comment 3 Harris Landgarten 2013-10-14 14:58:56 UTC
looks like 3.11.5 has the patch and was released today