[DRBD-user] Kernel oopses with DRBD

Lars Ellenberg lars.ellenberg at linbit.com
Tue Aug 18 18:40:53 CEST 2015

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Fri, Aug 14, 2015 at 12:32:48PM +0200, Ben Siemerink wrote:
> Hello,
> 
> 
> Lately we have experienced five kernel oopses in our DRBD setup. The
> stack trace is very similar every time.
> 
> If you need more information, please let me know. Thank you in advance.
> 
> 
> Kind regards,
> Ben.
> 
> ----------
> 
> 2015-05-05T09:31:02.759829+00:00 uk3 kern.info kernel Linux version 4.0.1-x86_64-linode55 (maker at build) (gcc version 4.7.2 (Debian 4.7.2-5) ) #3 SMP Wed Apr 29 11:10:11 EDT 2015
> 2015-05-05T09:31:02.760314+00:00 uk3 kern.info kernel drbd: initialized. Version: 8.4.5 (api:1/proto:86-101)

reproduce with kernel.org kernel, and resolve the symbols to line numbers.
preferably even reproduce with drbd 8.4 from git,
and still resolve line numbers.

> 2015-05-13T14:14:58.163337+00:00 uk3 kern.alert kernel BUG: unable to handle kernel NULL pointer dereference at 0000000000000003
> 2015-05-13T14:14:58.163365+00:00 uk3 kern.alert kernel IP: [<ffffffff8157804f>] copy_from_iter+0x140/0x24e
> 2015-05-13T14:14:58.163369+00:00 uk3 kern.warning kernel PGD 759f7067 PUD 77777067 PMD 0
> 2015-05-13T14:14:58.163372+00:00 uk3 kern.warning kernel Oops: 0000 [#1] SMP
> 2015-05-13T14:14:58.163374+00:00 uk3 kern.warning kernel Modules linked in:
> 2015-05-13T14:14:58.163390+00:00 uk3 kern.warning kernel CPU: 0 PID: 3606 Comm: drbd_w_db Not tainted 4.0.1-x86_64-linode55 #3
> 2015-05-13T14:14:58.163392+00:00 uk3 kern.warning kernel task: ffff88007c5071c0 ti: ffff880075bd0000 task.ti: ffff880075bd0000
> 2015-05-13T14:14:58.163395+00:00 uk3 kern.warning kernel RIP: e030:[<ffffffff8157804f>]  [<ffffffff8157804f>] copy_from_iter+0x140/0x24e
> 2015-05-13T14:14:58.163397+00:00 uk3 kern.warning kernel RSP: e02b:ffff880075bd3ae0  EFLAGS: 00010286
> 2015-05-13T14:14:58.163399+00:00 uk3 kern.warning kernel RAX: 0000000000000440 RBX: 0000000000000440 RCX: 0000000000000440
> 2015-05-13T14:14:58.163401+00:00 uk3 kern.warning kernel RDX: ffff880075bd3c88 RSI: 0000000000000003 RDI: ffff880005f25088
> 2015-05-13T14:14:58.163403+00:00 uk3 kern.warning kernel RBP: ffff880075bd3c88 R08: 0000000000000000 R09: ffff880005f254c8
> 2015-05-13T14:14:58.163409+00:00 uk3 kern.warning kernel R10: ffff880005f25088 R11: ffff88007d2149c0 R12: 0000000000000a10
> 2015-05-13T14:14:58.163411+00:00 uk3 kern.warning kernel R13: ffff8800720f3000 R14: ffff88007c507978 R15: ffff880075ab57c0
> 2015-05-13T14:14:58.163413+00:00 uk3 kern.warning kernel FS:  0000000000000000(0000) GS:ffff88007d200000(0000) knlGS:ffff880179b40000
> 2015-05-13T14:14:58.163415+00:00 uk3 kern.warning kernel CS:  e033 DS: 0000 ES: 0000 CR0: 0000000080050033
> 2015-05-13T14:14:58.163417+00:00 uk3 kern.warning kernel CR2: 0000000000000003 CR3: 00000000771e1000 CR4: 0000000000042660
> 2015-05-13T14:14:58.163419+00:00 uk3 kern.warning kernel Stack:
> 2015-05-13T14:14:58.163421+00:00 uk3 kern.warning kernel 00000000000005f0 ffff88002d75f200 0000000000000a10 ffff880075bd3c78
> 2015-05-13T14:14:58.163422+00:00 uk3 kern.warning kernel 00000000000005f0 ffff8800720f3000 ffff88007c507978 ffff880075ab57c0
> 2015-05-13T14:14:58.163429+00:00 uk3 kern.warning kernel ffffffff817d0f76 000040000000fa20 ffff880075bd3c88 0000000000000a10
> 2015-05-13T14:14:58.163430+00:00 uk3 kern.warning kernel Call Trace:
> 2015-05-13T14:14:58.163432+00:00 uk3 kern.warning kernel [<ffffffff817d0f76>] ? tcp_sendmsg+0x610/0x9b7
> 2015-05-13T14:14:58.163434+00:00 uk3 kern.warning kernel [<ffffffff816f8787>] ? sock_sendmsg+0x59/0x73
> 2015-05-13T14:14:58.163436+00:00 uk3 kern.warning kernel [<ffffffff816f87ee>] ? kernel_sendmsg+0x4d/0x5d
> 2015-05-13T14:14:58.163441+00:00 uk3 kern.warning kernel [<ffffffff81645a3f>] ? drbd_send+0xa2/0x16d
> 2015-05-13T14:14:58.163473+00:00 uk3 kern.warning kernel [<ffffffff81645b18>] ? drbd_send_all+0xe/0x23
> 2015-05-13T14:14:58.163481+00:00 uk3 kern.warning kernel [<ffffffff81647099>] ? _drbd_no_send_page+0x47/0x5d
> 2015-05-13T14:14:58.163483+00:00 uk3 kern.warning kernel [<ffffffff81647671>] ? drbd_send_dblock+0x2e1/0x4ab
> 2015-05-13T14:14:58.163485+00:00 uk3 kern.warning kernel [<ffffffff8163de54>] ? mod_rq_state+0x463/0x4e1
> 2015-05-13T14:14:58.163487+00:00 uk3 kern.warning kernel [<ffffffff818f8229>] ? _raw_spin_lock_irq+0xc/0x65
> 2015-05-13T14:14:58.163503+00:00 uk3 kern.warning kernel [<ffffffff8162c72b>] ? dequeue_work_batch+0x63/0x7d
> 2015-05-13T14:14:58.163507+00:00 uk3 kern.warning kernel [<ffffffff8162cab6>] ? wait_for_work+0x59/0x2e0
> 2015-05-13T14:14:58.163509+00:00 uk3 kern.warning kernel [<ffffffff8163044b>] ? w_send_dblock+0xd3/0x139
> 2015-05-13T14:14:58.163511+00:00 uk3 kern.warning kernel [<ffffffff816315a6>] ? drbd_worker+0x124/0x302
> 2015-05-13T14:14:58.163524+00:00 uk3 kern.warning kernel [<ffffffff81644d53>] ? w_complete+0x13/0x13
> 2015-05-13T14:14:58.163526+00:00 uk3 kern.warning kernel [<ffffffff81644d9a>] ? drbd_thread_setup+0x47/0x10c
> 2015-05-13T14:14:58.163528+00:00 uk3 kern.warning kernel [<ffffffff81644d53>] ? w_complete+0x13/0x13
> 2015-05-13T14:14:58.163530+00:00 uk3 kern.warning kernel [<ffffffff810ecfb0>] ? kthread+0xca/0xd2
> 2015-05-13T14:14:58.163532+00:00 uk3 kern.warning kernel [<ffffffff810ecee6>] ? kthread_freezable_should_stop+0x40/0x40
> 2015-05-13T14:14:58.163534+00:00 uk3 kern.warning kernel [<ffffffff818f86d8>] ? ret_from_fork+0x58/0x90
> 2015-05-13T14:14:58.163536+00:00 uk3 kern.warning kernel [<ffffffff810ecee6>] ? kthread_freezable_should_stop+0x40/0x40
> 2015-05-13T14:14:58.163547+00:00 uk3 kern.warning kernel Code: eb 2b 4c 39 42 08 4c 89 c0 48 0f 46 42 08 48 85 c0 74 1a 49 01 c1 48 8b 32 48 89 c1 4d 89 ca 49 29 c0 48 89 c3 49 29 c2 4c 89 d7 <f3> a4 48 83 c2 10 4d 85 c0 48 8d 42 f0 75 c8 48 3b 58 08 75 05
> 2015-05-13T14:14:58.163551+00:00 uk3 kern.alert kernel RIP  [<ffffffff8157804f>] copy_from_iter+0x140/0x24e
> 2015-05-13T14:14:58.163553+00:00 uk3 kern.warning kernel RSP <ffff880075bd3ae0>
> 2015-05-13T14:14:58.163555+00:00 uk3 kern.warning kernel CR2: 0000000000000003
> 2015-05-13T14:14:58.163557+00:00 uk3 kern.warning kernel ---[ end trace 74bd7ba7a08a9e0b ]---



More information about the drbd-user mailing list