System hangs with dequeue_work_batch in drbd after updating kernel

Solution Unverified - Updated -

Issue

  • System cannot boot with the following messasges after updating the kernel to version 4.18.0-425.3.1.el8 are shown.

    rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
    rcu:     6-...0: (0 ticks this GP) idle=0c2/1/0x4000000000000000 softirq=3559/3559 fqs=59641 
     (detected by 2, t=240018 jiffies, g=4089, q=102718)
    Sending NMI from CPU 2 to CPUs 6:
    NMI backtrace for cpu 6
    CPU: 6 PID: 1565 Comm: drbd_w_drbd0 Tainted: G        W  OEL   --------- -  - 4.18.0-425.3.1.el8.x86_64 #1
    Hardware name: Amazon EC2 m5.2xlarge/, BIOS 1.0 10/16/2017
    RIP: 0010:native_queued_spin_lock_slowpath+0x24/0x1c0
    Code: ff ff 0f 1f 40 00 0f 1f 44 00 00 0f 1f 44 00 00 ba 01 00 00 00 8b 07 85 c0 75 0d f0 0f b1 17 85 c0 75 f2 e9 6e b7 aa 00 
    f3 90 <eb> e9 81 fe 00 01 00 00 74 44 81 e6 00 ff ff ff 75 71 f0 0f ba 2f
    RSP: 0018:ffffbea444b53e18 EFLAGS: 00000002
    RAX: 0000000000000001 RBX: ffff9be70b02e320 RCX: ffffffffc086e8d0
    RDX: 0000000000000001 RSI: ffffbea444b53e68 RDI: ffff9be70b02e330
    RBP: ffffbea444b53e68 R08: 0000000000000c15 R09: ffff9be70b02e460
    R10: 00000000fffb8f5b R11: ffff9bee02da9c04 R12: ffff9be70b02e330
    R13: ffff9be70b02e350 R14: ffff9be70b02e458 R15: ffff9be70b02e460
    FS:  0000000000000000(0000) GS:ffff9bee02d80000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 000055766b82ad28 CR3: 00000002e6810003 CR4: 00000000007706e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    PKRU: 55555554
    Call Trace:
     dequeue_work_batch+0x4b/0x70 [drbd]
     drbd_worker+0x2fa/0x480 [drbd]
     ? __update_idle_core+0x55/0xa0
     ? __switch_to_asm+0x43/0x80
     ? __switch_to+0x10c/0x450
     ? __drbd_next_peer_device_ref+0x140/0x140 [drbd]
     drbd_thread_setup+0x5e/0x160 [drbd]
     ? __drbd_next_peer_device_ref+0x140/0x140 [drbd]
     kthread+0x10b/0x130
     ? set_kthread_struct+0x50/0x50
     ret_from_fork+0x35/0x40
    

Environment

  • Red Hat Enterprise Linux 8.6
  • drbd module (3rd party's module)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content