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
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.