[Bug 222916] [bhyve] Debian guest kernel panics with message "CPU#0 stuck for Xs!"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 10 21:06:15 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222916

            Bug ID: 222916
           Summary: [bhyve] Debian guest kernel panics with message "CPU#0
                    stuck for Xs!"
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: karihre at gmail.com

Created attachment 187061
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187061&action=edit
Syslog output of Debian guest leading up to hanging

Dear all,

I've been having a fair amount of crashes on a Debian 9 (kernel 4.9.0) guest
running under the bhyve hypervisor on FreeBSD 11.1-RELEASE-p1 (GENERIC). The
general pattern is that the guest stays up for 2-6 days before completely
hanging, at which point it must be hard restarted.

This appears to happen under some load (often following the start of some cron
jobs) and be preceded some hours of kernel warnings on the guest side. I find
nothing out of the ordinary on the host side with logs not appearing to reveal
much of anything.

CPU is Intel Xeon E3-1275 v6 Kaby Lake and motherboard is Supermicro
MBD-X11SSH-LN4F-O. Bhyve startup command line is:
  bhyve -AHP \
    -s 0:0,hostbridge \
    -s 1:0,lpc \
    -s 2:0,virtio-net,tap0 \
    -s 3:0,virtio-net,tap1 \
    -s 4:0,virtio-blk,/dev/zvol/tank/vms/strokkur-root \
    -s 5:0,virtio-blk,/dev/zvol/tank/vms/strokkur-scratch \
    -s 6:0,virtio-blk,/dev/zvol/tank/vms/strokkur-temp \
    -s 29,fbuf,tcp=127.0.0.1:5900,w=800,h=600 \
    -l com1,stdio \
    -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
    -c 4 \
    -m 32G strokkur

A logged in user will see "NMI watchdog: BUG: soft lockup - CPU#0 stuck for
23s! [apache2:18004]" or a similar message, however this message is not logged
to syslog.
The relevant Debian syslog entries leading up to the most recent crash are
attached. In total, each crash produges roughly 600MB of log entries, so I've
cut out a lot. 

If I can provide any more information please let me know.

Thank you,
Kari Hreinsson

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list