A problem with an apparent solution, and a problem. Latter not critical, but these might help others running an environment like mine.
I’m running Leap 15, 4.12.14-lp150.12.45-default #1 SMP, on a Raspberry Pi-3B+. I boot off a µSD or off an SSD drive connected via USB3.
I haven’t been working with this system since about September. When I came back to it and did an update (“zypper -vvv -t patch --no-recommends”), it became unstable (don’t recall which kernel it updated from, but may have been 12.28). The system would hang under any substantial load; the console error message reported a CPU timeout and mentioned “swapper”). I rebuilt swap partition multiple times and even tried a swap file, but the problem persisted. I wasn’t consistent in looking at error logs, but today checked “journalctl” and found the following entry:
Jan 19 16:32:32 Pi-7 kernel: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:0]
The problem was worse if I was running in XFCE, but even if I booted to command line, a loaded system would hang if I did anything intensive (that is, likely to invoke swapping).
Until today.
Today I did a “zypper up” and the resulting install included “udev” and some other packages. I’ve let the system run for 6 hours, did some memory intensive work, and checked “swapon -s” and found that it is, indeed, using swap space. So I think that problem was resolved with the latest update.
If you’re seeing hangs like this with Leap 15 on RPi-3B+, that update might fix it for you.
BUT …
In looking at the “journalctl” logs, I see MANY entries that look like this:
an 29 17:08:34 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04600021
Jan 29 17:09:09 Pi-6 kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is unknown
Jan 29 17:09:09 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04600021
Jan 29 17:09:15 Pi-6 kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is unknown
Jan 29 17:09:15 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04600021
Jan 29 17:09:18 Pi-6 kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
Jan 29 17:09:18 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x06600029
Jan 29 17:09:18 Pi-6 kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 4 - ChHltd set, but reason is unknown
Jan 29 17:09:18 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04600021
Jan 29 17:09:50 Pi-6 kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 1 - ChHltd set, but reason is unknown
Jan 29 17:09:50 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04600021
Jan 29 17:09:54 Pi-6 kernel: dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is unknown
Jan 29 17:09:54 Pi-6 kernel: dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04600021
Looking at other forums, I see that this issue was reported for Raspbian last year. It seems to be related to handling FIQ interrupts for the USB driver. A search pointed to
//dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_hcd_intr.c
as its origin.
Has anyone else seen this? If so, have you found a fix? System seems stable, but clearly not running optimally.