* next-20140707 - crash during cryptsetup.
@ 2014-07-08 16:00 Valdis Kletnieks
2014-07-14 19:20 ` Valdis Kletnieks
0 siblings, 1 reply; 2+ messages in thread
From: Valdis Kletnieks @ 2014-07-08 16:00 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 25261 bytes --]
Not sure *who* to pin this one on, so drop it on lkml and see who notices...
next-20140701 works just fine.
System died a horrid death when cryptsetup was trying to get an encrypted
disk up and running. This ring any bells? If not, I'll probably spend part
of the evening bisecting...
[ 25.929846] ------------[ cut here ]------------
[ 25.929873] kernel BUG at fs/direct-io.c:747!
[ 25.929893] invalid opcode: 0000 [#1] PREEMPT SMP
[ 25.929922] Modules linked in:
[ 25.929940] CPU: 3 PID: 308 Comm: systemd-cryptse Not tainted 3.16.0-rc4-next-20140707 #247
[ 25.929974] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 25.930004] task: ffff880222609e50 ti: ffff8802225b4000 task.ti: ffff8802225b4000
[ 25.930034] RIP: 0010:[<ffffffff8116bee5>] [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 25.930074] RSP: 0018:ffff8802225b7aa0 EFLAGS: 00010202
[ 25.930096] RAX: 0000000000000001 RBX: ffff8802225b7c01 RCX: 0000000000000000
[ 25.930126] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81d13cf0
[ 25.930155] RBP: ffff8802225b7ac8 R08: 0000000000000000 R09: 0000000000000001
[ 25.930184] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800c6e8dc00
[ 25.930213] R13: ffff8802225b7bc0 R14: 000000000000007a R15: 000000000000007c
[ 25.930243] FS: 00007f5908c49840(0000) GS:ffff88022dd80000(0000) knlGS:0000000000000000
[ 25.930276] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 25.930300] CR2: 00000000006ecf18 CR3: 0000000222bb1000 CR4: 00000000001407e0
[ 25.930329] Stack:
[ 25.930339] 0000000100000000 ffff8800c6e8dc00 ffffea0002ba9d68 0000000000000800
[ 25.930380] ffff8802225b7c28 ffff8802225b7b08 ffffffff8116bfa2 0000000022110780
[ 25.930419] ffff8800c6e8dc00 ffffea0002ba9d68 0000000000000800 0000000000000001
[ 25.930458] Call Trace:
[ 25.930473] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 25.930499] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 25.930527] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 25.930549] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 25.930575] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 25.930601] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 25.930622] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 25.930647] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 25.930669] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 25.930697] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 25.930722] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 25.930746] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 25.930768] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 25.930791] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 25.930816] Code: fe ff ff 48 89 df e8 40 fe ff ff 48 c7 c7 f0 3c d1 81 85 c0 89 45 dc 0f 95 c3 31 d2 0f b6 f3 e8 4f ad f6 ff 84 db 8b 45 dc 74 02 <0f> 0b 5a 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 41 57 4d 89 cf
[ 25.931060] RIP [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 25.931088] RSP <ffff8802225b7aa0>
[ 25.931132] ---[ end trace 5bdcfa6254e32464 ]---
[ 26.074334] ------------[ cut here ]------------
[ 26.074387] WARNING: CPU: 1 PID: 308 at kernel/exit.c:669 do_exit+0x7c/0xc0c()
[ 26.074434] Modules linked in:
[ 26.074459] CPU: 1 PID: 308 Comm: systemd-cryptse Tainted: G D 3.16.0-rc4-next-20140707 #247
[ 26.074509] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 26.074547] 0000000000000000 ffff8802225b77c0 ffffffff816737c4 0000000000000000
[ 26.074599] 0000000000000009 ffff8802225b77f8 ffffffff8103d49f ffffffff8103e22a
[ 26.074649] ffff880222609e50 000000000000000b 0000000000000001 0000000000000000
[ 26.074702] Call Trace:
[ 26.074724] [<ffffffff816737c4>] dump_stack+0x51/0xaa
[ 26.074754] [<ffffffff8103d49f>] warn_slowpath_common+0x7a/0x93
[ 26.076397] [<ffffffff8103e22a>] ? do_exit+0x7c/0xc0c
[ 26.078025] [<ffffffff8103d55c>] warn_slowpath_null+0x15/0x17
[ 26.079607] [<ffffffff8103e22a>] do_exit+0x7c/0xc0c
[ 26.081174] [<ffffffff81087e47>] ? __rcu_read_unlock+0xf2/0xf9
[ 26.082734] [<ffffffff81081c70>] ? kmsg_dump+0xb3/0xb9
[ 26.084241] [<ffffffff8100577f>] oops_end+0x7c/0x81
[ 26.085756] [<ffffffff81005ad1>] die+0x55/0x5e
[ 26.087317] [<ffffffff810029d3>] do_trap+0x64/0x11b
[ 26.088813] [<ffffffff81002b98>] do_error_trap+0xbe/0xcd
[ 26.090262] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 26.091748] [<ffffffff810d6212>] ? time_hardirqs_off+0x1b/0x2f
[ 26.093182] [<ffffffff8107737a>] ? trace_hardirqs_off_caller+0x4c/0xb9
[ 26.094644] [<ffffffff8127c96a>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 26.096073] [<ffffffff810035e1>] do_invalid_op+0x1b/0x1d
[ 26.097514] [<ffffffff816803b8>] invalid_op+0x18/0x20
[ 26.098912] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 26.100360] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 26.101740] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 26.103138] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 26.104526] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 26.105867] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 26.107236] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 26.108591] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 26.109920] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 26.111223] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 26.112554] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 26.113884] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 26.115203] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 26.116527] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 26.117832] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 26.119128] ---[ end trace 5bdcfa6254e32465 ]---
[ 26.127584] systemd-cryptse (308) used greatest stack depth: 12536 bytes left
[ 27.535372] ------------[ cut here ]------------
[ 27.536703] kernel BUG at fs/direct-io.c:747!
[ 27.538007] invalid opcode: 0000 [#2] PREEMPT SMP
[ 27.539294] Modules linked in:
[ 27.540558] CPU: 2 PID: 376 Comm: systemd-cryptse Tainted: G D W 3.16.0-rc4-next-20140707 #247
[ 27.541896] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 27.543268] task: ffff880222869790 ti: ffff88003f9c4000 task.ti: ffff88003f9c4000
[ 27.544643] RIP: 0010:[<ffffffff8116bee5>] [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 27.546154] RSP: 0018:ffff88003f9c7aa0 EFLAGS: 00010202
[ 27.547491] RAX: 0000000000000001 RBX: ffff88003f9c7c01 RCX: 0000000000000000
[ 27.548785] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81d13cf0
[ 27.550033] RBP: ffff88003f9c7ac8 R08: 0000000000000000 R09: 0000000000000001
[ 27.551275] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880222bef900
[ 27.552525] R13: ffff88003f9c7bc0 R14: 000000000000007a R15: 000000000000007c
[ 27.553766] FS: 00007feec4f0c840(0000) GS:ffff88022dd00000(0000) knlGS:0000000000000000
[ 27.555013] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 27.556258] CR2: 00000000006ecf18 CR3: 00000000c6ddc000 CR4: 00000000001407e0
[ 27.557508] Stack:
[ 27.558726] 0000000100000000 ffff880222bef900 ffffea0007766478 0000000000000800
[ 27.560013] ffff88003f9c7c28 ffff88003f9c7b08 ffffffff8116bfa2 0000000022110780
[ 27.561525] ffff880222bef900 ffffea0007766478 0000000000000800 0000000000000001
[ 27.562935] Call Trace:
[ 27.564319] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 27.565725] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 27.567126] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 27.568529] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 27.569930] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 27.571329] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 27.572731] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 27.574129] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 27.575525] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 27.576942] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 27.578353] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 27.579765] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 27.581181] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 27.582584] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 27.583988] Code: fe ff ff 48 89 df e8 40 fe ff ff 48 c7 c7 f0 3c d1 81 85 c0 89 45 dc 0f 95 c3 31 d2 0f b6 f3 e8 4f ad f6 ff 84 db 8b 45 dc 74 02 <0f> 0b 5a 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 41 57 4d 89 cf
[ 27.585696] RIP [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 27.587226] RSP <ffff88003f9c7aa0>
[ 27.588776] ---[ end trace 5bdcfa6254e32466 ]---
[ 27.755641] ------------[ cut here ]------------
[ 27.759235] WARNING: CPU: 0 PID: 376 at kernel/exit.c:669 do_exit+0x7c/0xc0c()
[ 27.762831] Modules linked in:
[ 27.766154] CPU: 0 PID: 376 Comm: systemd-cryptse Tainted: G D W 3.16.0-rc4-next-20140707 #247
[ 27.769530] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 27.772754] 0000000000000000 ffff88003f9c77c0 ffffffff816737c4 0000000000000000
[ 27.775700] 0000000000000009 ffff88003f9c77f8 ffffffff8103d49f ffffffff8103e22a
[ 27.778634] ffff880222869790 000000000000000b 0000000000000001 0000000000000000
[ 27.781592] Call Trace:
[ 27.784482] [<ffffffff816737c4>] dump_stack+0x51/0xaa
[ 27.787423] [<ffffffff8103d49f>] warn_slowpath_common+0x7a/0x93
[ 27.790254] [<ffffffff8103e22a>] ? do_exit+0x7c/0xc0c
[ 27.793054] [<ffffffff8103d55c>] warn_slowpath_null+0x15/0x17
[ 27.795868] [<ffffffff8103e22a>] do_exit+0x7c/0xc0c
[ 27.798660] [<ffffffff81087e47>] ? __rcu_read_unlock+0xf2/0xf9
[ 27.801420] [<ffffffff81081c70>] ? kmsg_dump+0xb3/0xb9
[ 27.804079] [<ffffffff8100577f>] oops_end+0x7c/0x81
[ 27.806686] [<ffffffff81005ad1>] die+0x55/0x5e
[ 27.809243] [<ffffffff810029d3>] do_trap+0x64/0x11b
[ 27.811749] [<ffffffff81002b98>] do_error_trap+0xbe/0xcd
[ 27.814137] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 27.816491] [<ffffffff810d6212>] ? time_hardirqs_off+0x1b/0x2f
[ 27.818796] [<ffffffff81680883>] ? error_sti+0x5/0x6
[ 27.821004] [<ffffffff8107734d>] ? trace_hardirqs_off_caller+0x1f/0xb9
[ 27.823176] [<ffffffff8127c96a>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 27.825242] [<ffffffff810035e1>] do_invalid_op+0x1b/0x1d
[ 27.827264] [<ffffffff816803b8>] invalid_op+0x18/0x20
[ 27.829268] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 27.831262] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 27.833285] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 27.835329] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 27.837253] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 27.839142] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 27.841022] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 27.842867] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 27.844680] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 27.846475] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 27.848252] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 27.850005] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 27.851755] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 27.853481] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 27.855180] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 27.856901] ---[ end trace 5bdcfa6254e32467 ]---
[ 29.288222] ------------[ cut here ]------------
[ 29.289487] kernel BUG at fs/direct-io.c:747!
[ 29.290728] invalid opcode: 0000 [#3] PREEMPT SMP
[ 29.291979] Modules linked in:
[ 29.293217] CPU: 1 PID: 421 Comm: systemd-cryptse Tainted: G D W 3.16.0-rc4-next-20140707 #247
[ 29.294496] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 29.295799] task: ffff88022245c310 ti: ffff8802226d4000 task.ti: ffff8802226d4000
[ 29.297087] RIP: 0010:[<ffffffff8116bee5>] [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 29.298398] RSP: 0018:ffff8802226d7aa0 EFLAGS: 00010202
[ 29.299709] RAX: 0000000000000001 RBX: ffff8802226d7c01 RCX: 0000000000000000
[ 29.301029] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81d13cf0
[ 29.302355] RBP: ffff8802226d7ac8 R08: 0000000000000000 R09: 0000000000000001
[ 29.303685] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880222bee040
[ 29.304968] R13: ffff8802226d7bc0 R14: 000000000000007a R15: 000000000000007c
[ 29.306194] FS: 00007f09fd985840(0000) GS:ffff88022dc80000(0000) knlGS:0000000000000000
[ 29.307436] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 29.308722] CR2: 00007f0f8b743148 CR3: 0000000222b38000 CR4: 00000000001407e0
[ 29.310080] Stack:
[ 29.311307] 0000000100000000 ffff880222bee040 ffffea00000511d8 0000000000000800
[ 29.312562] ffff8802226d7c28 ffff8802226d7b08 ffffffff8116bfa2 0000000022110780
[ 29.313805] ffff880222bee040 ffffea00000511d8 0000000000000800 0000000000000001
[ 29.315061] Call Trace:
[ 29.316271] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 29.317495] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 29.318712] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 29.319938] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 29.321162] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 29.322366] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 29.323587] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 29.324789] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 29.325989] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 29.327217] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 29.328421] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 29.329626] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 29.330873] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 29.332076] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 29.333302] Code: fe ff ff 48 89 df e8 40 fe ff ff 48 c7 c7 f0 3c d1 81 85 c0 89 45 dc 0f 95 c3 31 d2 0f b6 f3 e8 4f ad f6 ff 84 db 8b 45 dc 74 02 <0f> 0b 5a 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 41 57 4d 89 cf
[ 29.334775] RIP [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 29.336131] RSP <ffff8802226d7aa0>
[ 29.337472] ---[ end trace 5bdcfa6254e32468 ]---
[ 29.497496] ------------[ cut here ]------------
[ 29.500042] WARNING: CPU: 3 PID: 421 at kernel/exit.c:669 do_exit+0x7c/0xc0c()
[ 29.502559] Modules linked in:
[ 29.505067] CPU: 3 PID: 421 Comm: systemd-cryptse Tainted: G D W 3.16.0-rc4-next-20140707 #247
[ 29.507634] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 29.510200] 0000000000000000 ffff8802226d77c0 ffffffff816737c4 0000000000000000
[ 29.512660] 0000000000000009 ffff8802226d77f8 ffffffff8103d49f ffffffff8103e22a
[ 29.514888] ffff88022245c310 000000000000000b 0000000000000001 0000000000000000
[ 29.516872] Call Trace:
[ 29.518841] [<ffffffff816737c4>] dump_stack+0x51/0xaa
[ 29.520813] [<ffffffff8103d49f>] warn_slowpath_common+0x7a/0x93
[ 29.522807] [<ffffffff8103e22a>] ? do_exit+0x7c/0xc0c
[ 29.524785] [<ffffffff8103d55c>] warn_slowpath_null+0x15/0x17
[ 29.526753] [<ffffffff8103e22a>] do_exit+0x7c/0xc0c
[ 29.528670] [<ffffffff81087e47>] ? __rcu_read_unlock+0xf2/0xf9
[ 29.530619] [<ffffffff81081c70>] ? kmsg_dump+0xb3/0xb9
[ 29.532539] [<ffffffff8100577f>] oops_end+0x7c/0x81
[ 29.534452] [<ffffffff81005ad1>] die+0x55/0x5e
[ 29.536351] [<ffffffff810029d3>] do_trap+0x64/0x11b
[ 29.538246] [<ffffffff81002b98>] do_error_trap+0xbe/0xcd
[ 29.540126] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 29.541961] [<ffffffff810d6212>] ? time_hardirqs_off+0x1b/0x2f
[ 29.543689] [<ffffffff81680883>] ? error_sti+0x5/0x6
[ 29.545359] [<ffffffff8107734d>] ? trace_hardirqs_off_caller+0x1f/0xb9
[ 29.546999] [<ffffffff8127c96a>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 29.548594] [<ffffffff810035e1>] do_invalid_op+0x1b/0x1d
[ 29.550181] [<ffffffff816803b8>] invalid_op+0x18/0x20
[ 29.551750] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 29.553333] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 29.554912] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 29.556483] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 29.558014] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 29.559513] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 29.561033] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 29.562483] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 29.563926] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 29.565354] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 29.566785] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 29.568208] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 29.569629] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 29.571044] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 29.572418] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 29.573781] ---[ end trace 5bdcfa6254e32469 ]---
[ 31.004909] ------------[ cut here ]------------
[ 31.006170] kernel BUG at fs/direct-io.c:747!
[ 31.007406] invalid opcode: 0000 [#4] PREEMPT SMP
[ 31.008909] Modules linked in:
[ 31.010468] CPU: 0 PID: 466 Comm: systemd-cryptse Tainted: G D W 3.16.0-rc4-next-20140707 #247
[ 31.011924] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 31.013227] task: ffff880222698590 ti: ffff8800c6f8c000 task.ti: ffff8800c6f8c000
[ 31.015102] RIP: 0010:[<ffffffff8116bee5>] [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 31.017030] RSP: 0018:ffff8800c6f8faa0 EFLAGS: 00010202
[ 31.018772] RAX: 0000000000000001 RBX: ffff8800c6f8fc01 RCX: 0000000000000000
[ 31.020549] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81d13cf0
[ 31.022231] RBP: ffff8800c6f8fac8 R08: 0000000000000000 R09: 0000000000000001
[ 31.024144] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800c6e8c080
[ 31.026066] R13: ffff8800c6f8fbc0 R14: 000000000000007a R15: 000000000000007c
[ 31.027749] FS: 00007fc2b4bca840(0000) GS:ffff88022dc00000(0000) knlGS:0000000000000000
[ 31.029323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 31.031043] CR2: 00007fb36a91a148 CR3: 00000000c6ef4000 CR4: 00000000001407f0
[ 31.032810] Stack:
[ 31.034113] 0000000100000000 ffff8800c6e8c080 ffffea0007826578 0000000000000800
[ 31.035319] ffff8800c6f8fc28 ffff8800c6f8fb08 ffffffff8116bfa2 0000000022110780
[ 31.036493] ffff8800c6e8c080 ffffea0007826578 0000000000000800 0000000000000001
[ 31.037686] Call Trace:
[ 31.038848] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 31.040006] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 31.041184] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 31.042321] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 31.043459] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 31.044615] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 31.045773] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 31.046906] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 31.048055] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 31.049220] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 31.050376] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 31.051513] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 31.052649] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 31.053810] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 31.054949] Code: fe ff ff 48 89 df e8 40 fe ff ff 48 c7 c7 f0 3c d1 81 85 c0 89 45 dc 0f 95 c3 31 d2 0f b6 f3 e8 4f ad f6 ff 84 db 8b 45 dc 74 02 <0f> 0b 5a 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 41 57 4d 89 cf
[ 31.056357] RIP [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 31.057627] RSP <ffff8800c6f8faa0>
[ 31.059350] ---[ end trace 5bdcfa6254e3246a ]---
[ 34.326846] Call Trace:
[ 34.328808] [<ffffffff816737c4>] dump_stack+0x51/0xaa
[ 34.330793] [<ffffffff8103d49f>] warn_slowpath_common+0x7a/0x93
[ 34.332772] [<ffffffff8103e22a>] ? do_exit+0x7c/0xc0c
[ 34.334755] [<ffffffff8103d55c>] warn_slowpath_null+0x15/0x17
[ 34.336732] [<ffffffff8103e22a>] do_exit+0x7c/0xc0c
[ 34.338688] [<ffffffff81087e47>] ? __rcu_read_unlock+0xf2/0xf9
[ 34.340606] [<ffffffff81081c70>] ? kmsg_dump+0xb3/0xb9
[ 34.342598] [<ffffffff8100577f>] oops_end+0x7c/0x81
[ 34.344531] [<ffffffff81005ad1>] die+0x55/0x5e
[ 34.346459] [<ffffffff810029d3>] do_trap+0x64/0x11b
[ 34.348365] [<ffffffff81002b98>] do_error_trap+0xbe/0xcd
[ 34.350251] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 34.352107] [<ffffffff810d6212>] ? time_hardirqs_off+0x1b/0x2f
[ 34.353884] [<ffffffff81680883>] ? error_sti+0x5/0x6
[ 34.355565] [<ffffffff8107734d>] ? trace_hardirqs_off_caller+0x1f/0xb9
[ 34.357209] [<ffffffff8127c96a>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 34.358803] [<ffffffff810035e1>] do_invalid_op+0x1b/0x1d
[ 34.360410] [<ffffffff816803b8>] invalid_op+0x18/0x20
[ 34.361988] [<ffffffff8116bee5>] ? dio_send_cur_page+0xd7/0xe3
[ 34.363557] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 34.365135] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 34.366719] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 34.368233] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 34.369732] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 34.371205] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 34.372634] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 34.374047] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 34.375456] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 34.376903] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 34.378344] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 34.379743] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 34.381117] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 34.382475] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 34.383869] ---[ end trace 5bdcfa6254e3246b ]---
[ 34.391634] systemd-cryptse (466) used greatest stack depth: 11824 bytes left
[ 35.807507] ------------[ cut here ]------------
[ 35.808859] kernel BUG at fs/direct-io.c:747!
[ 35.810240] invalid opcode: 0000 [#5] PREEMPT SMP
[ 35.811614] Modules linked in:
[ 35.812933] CPU: 2 PID: 512 Comm: systemd-cryptse Tainted: G D W 3.16.0-rc4-next-20140707 #247
[ 35.814323] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 35.815759] task: ffff880221424990 ti: ffff8800c6e70000 task.ti: ffff8800c6e70000
[ 35.817199] RIP: 0010:[<ffffffff8116bee5>] [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 35.818617] RSP: 0018:ffff8800c6e73aa0 EFLAGS: 00010202
[ 35.820242] RAX: 0000000000000001 RBX: ffff8800c6e73c01 RCX: 0000000000000000
[ 35.821984] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81d13cf0
[ 35.823716] RBP: ffff8800c6e73ac8 R08: 0000000000000000 R09: 0000000000000001
[ 35.825338] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880222bef640
[ 35.826616] R13: ffff8800c6e73bc0 R14: 000000000000007a R15: 000000000000007c
[ 35.827901] FS: 00007fbf8b763840(0000) GS:ffff88022dd00000(0000) knlGS:0000000000000000
[ 35.829187] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 35.830483] CR2: 00000000006ecf18 CR3: 00000000c68be000 CR4: 00000000001407e0
[ 35.831823] Stack:
[ 35.833595] 0000000100000000 ffff880222bef640 ffffea0007829aa0 0000000000000800
[ 35.836180] ffff8800c6e73c28 ffff8800c6e73b08 ffffffff8116bfa2 0000000022110780
[ 35.838734] ffff880222bef640 ffffea0007829aa0 0000000000000800 0000000000000001
[ 35.841297] Call Trace:
[ 35.843832] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 35.846382] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 35.848917] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 35.851419] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 35.853944] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 35.856494] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 35.858997] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 35.861523] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 35.864076] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 35.866600] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 35.869150] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 35.871701] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 35.874223] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 35.876750] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 35.879271] Code: fe ff ff 48 89 df e8 40 fe ff ff 48 c7 c7 f0 3c d1 81 85 c0 89 45 dc 0f 95 c3 31 d2 0f b6 f3 e8 4f ad f6 ff 84 db 8b 45 dc 74 02 <0f> 0b 5a 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 41 57 4d 89 cf
[ 35.882360] RIP [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 35.885128] RSP <ffff8800c6e73aa0>
[ 35.887972] ---[ end trace 5bdcfa6254e3246c ]---
[-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: next-20140707 - crash during cryptsetup.
2014-07-08 16:00 next-20140707 - crash during cryptsetup Valdis Kletnieks
@ 2014-07-14 19:20 ` Valdis Kletnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis Kletnieks @ 2014-07-14 19:20 UTC (permalink / raw)
To: Maurizio Lombardi, Ming Lei
Cc: linux-kernel, Al Viro, Christoph Hellwig, Kent Overstreet,
Jens Axboe, Andrew Morton
[-- Attachment #1: Type: text/plain, Size: 3879 bytes --]
System died a horrid death when cryptsetup was trying to get an encrypted
disk up and running.
Bisected down to this commit, and vanilla next-20140714 crashes the same way,
but boots fine with this single commit reverted:
commit 254c4407cb84a6dec90336054615b0f0e996bb7c
Author: Maurizio Lombardi <mlombard@redhat.com>
Date: Tue Jul 1 10:55:15 2014 -0600
bio: modify __bio_add_page() to accept pages that don't start a new segment
The original behaviour is to refuse to add a new page if the maximum
number of segments has been reached, regardless of the fact the page we
are going to add can be merged into the last segment or not.
Unfortunately, when the system runs under heavy memory fragmentation
conditions, a driver may try to add multiple pages to the last segment.
The original code won't accept them and EBUSY will be reported to
userspace.
This patch modifies the function so it refuses to add a page only in case
the latter starts a new segment and the maximum number of segments has
already been reached.
[ 25.929846] ------------[ cut here ]------------
[ 25.929873] kernel BUG at fs/direct-io.c:747!
[ 25.929893] invalid opcode: 0000 [#1] PREEMPT SMP
[ 25.929922] Modules linked in:
[ 25.929940] CPU: 3 PID: 308 Comm: systemd-cryptse Not tainted 3.16.0-rc4-next-20140707 #247
[ 25.929974] Hardware name: Dell Inc. Latitude E6530/07Y85M, BIOS A14 01/13/2014
[ 25.930004] task: ffff880222609e50 ti: ffff8802225b4000 task.ti: ffff8802225b4000
[ 25.930034] RIP: 0010:[<ffffffff8116bee5>] [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 25.930074] RSP: 0018:ffff8802225b7aa0 EFLAGS: 00010202
[ 25.930096] RAX: 0000000000000001 RBX: ffff8802225b7c01 RCX: 0000000000000000
[ 25.930126] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff81d13cf0
[ 25.930155] RBP: ffff8802225b7ac8 R08: 0000000000000000 R09: 0000000000000001
[ 25.930184] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800c6e8dc00
[ 25.930213] R13: ffff8802225b7bc0 R14: 000000000000007a R15: 000000000000007c
[ 25.930243] FS: 00007f5908c49840(0000) GS:ffff88022dd80000(0000) knlGS:0000000000000000
[ 25.930276] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 25.930300] CR2: 00000000006ecf18 CR3: 0000000222bb1000 CR4: 00000000001407e0
[ 25.930329] Stack:
[ 25.930339] 0000000100000000 ffff8800c6e8dc00 ffffea0002ba9d68 0000000000000800
[ 25.930380] ffff8802225b7c28 ffff8802225b7b08 ffffffff8116bfa2 0000000022110780
[ 25.930419] ffff8800c6e8dc00 ffffea0002ba9d68 0000000000000800 0000000000000001
[ 25.930458] Call Trace:
[ 25.930473] [<ffffffff8116bfa2>] submit_page_section+0xb1/0x114
[ 25.930499] [<ffffffff8116cad6>] do_blockdev_direct_IO+0xa28/0xd1f
[ 25.930527] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 25.930549] [<ffffffff8116cdfc>] __blockdev_direct_IO+0x2f/0x31
[ 25.930575] [<ffffffff8116cdfc>] ? __blockdev_direct_IO+0x2f/0x31
[ 25.930601] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 25.930622] [<ffffffff811698e2>] blkdev_direct_IO+0x2e/0x30
[ 25.930647] [<ffffffff81169558>] ? I_BDEV+0xd/0xd
[ 25.930669] [<ffffffff810f314c>] generic_file_read_iter+0x93/0x5c8
[ 25.930697] [<ffffffff81169c8a>] blkdev_read_iter+0x35/0x37
[ 25.930722] [<ffffffff81139725>] new_sync_read+0x74/0x98
[ 25.930746] [<ffffffff81139e0c>] vfs_read+0xce/0x124
[ 25.930768] [<ffffffff8113a665>] SyS_read+0x4b/0x79
[ 25.930791] [<ffffffff8167ea92>] system_call_fastpath+0x16/0x1b
[ 25.930816] Code: fe ff ff 48 89 df e8 40 fe ff ff 48 c7 c7 f0 3c d1 81 85 c0 89 45 dc 0f 95 c3 31 d2 0f b6 f3 e8 4f ad f6 ff 84 db 8b 45 dc 74 02 <0f> 0b 5a 5b 41 5c 41 5d 41 5e 5d c3 55 48 89 e5 41 57 4d 89 cf
[ 25.931060] RIP [<ffffffff8116bee5>] dio_send_cur_page+0xd7/0xe3
[ 25.931088] RSP <ffff8802225b7aa0>
[ 25.931132] ---[ end trace 5bdcfa6254e32464 ]---
[-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-14 19:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-08 16:00 next-20140707 - crash during cryptsetup Valdis Kletnieks
2014-07-14 19:20 ` Valdis Kletnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®