Getting 'BUG: soft lockup - CPU#0 stuck for Xs!' in /var/log/messages

Solution Verified - Updated -

Issue

  • Any message in /var/log/messages referencing soft lockups like these:
kernel: BUG: soft lockup - CPU#0 stuck for 10s! [bond1:3307]
  • or
kernel: BUG: soft lockup - CPU#0 stuck for 67s! [bond1:3307]
  • Not necessarily specific to CPU#0 or process bond1
  • The system does not boot up (or just very slowly), I only see many messages "BUG: soft lockup". Booting the system with maxcpus=1 or disabling the slots for fiberHBA cards in BIOS makes the system boot.
  • modprobe qla2xxx causes infinite loop with softlockups.
  • I just freshly installed a new server and loaded the qla2xxx module with modprobe to activate the HBA in the system. For building this system the qla2xxx module was blacklisted as it blocked the system at intallation time already. Loading the module now leads to the soft lockups.
  • After discovering new SAN LUNs, the system locks up.

Environment

  • Red Hat Enterprise Linux 5, 6 ,7, 8, 9

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