Tons of spam in syslog from irqbalance on the raspi3

Bug #1811655 reported by Łukasz Zemczak on 2019-01-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
irqbalance (Ubuntu)
Medium
Dave Jones
Bionic
Medium
Unassigned
Cosmic
Low
Unassigned

Bug Description

[Impact]

The scanning code for /proc/interrupts has an issue whereby, if the system doesn't contain a pci bus, all other interrupts are skipped in their addition to the irq database. This means nothing gets balanced, and we constantly just rescan. This also causes constant spam appearing in the device's syslog.

[Test Case]

 * Flash a Raspberry Pi 3 device with the current beta image [1].
 * Boot it up and notice the irqbalance spam in the syslog
 * Update irqbalance from -proposed and reboot
 * Confirm no additional irqbalance spam appears in syslog

Please note that we do not intend to build raspi3 images for cosmic so validation of this bug on this platform cannot be performed. A sanity-check of the binaries needs to be sufficient for verification.

[Regression Potential]

Fix comes from upstream's 1.5 version so it have a relatively small regression potential (already in Debian and disco). But possible regressions can appear in the irq classification code, with interrupts not getting scanned.

Łukasz Zemczak (sil2100) wrote :

Fixed in 1.5.0. Also, uploading packages prepared by Dave for both bionic and disco - although we can only validate this on a bionic device. Disco synced for SRU consistency across upgrades.

Changed in irqbalance (Ubuntu):
status: In Progress → Fix Released
Changed in irqbalance (Ubuntu Bionic):
importance: Undecided → Medium
Changed in irqbalance (Ubuntu Cosmic):
importance: Undecided → Low

Hello Łukasz, or anyone else affected,

Accepted irqbalance into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/irqbalance/1.3.0-0.1ubuntu0.18.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in irqbalance (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Brian Murray (brian-murray) wrote :

Hello Łukasz, or anyone else affected,

Accepted irqbalance into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/irqbalance/1.3.0-0.1ubuntu0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in irqbalance (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Łukasz Zemczak (sil2100) wrote :

I took the latest bionic arm64 raspi3 daily image, confirmed that it contains the latest irqbalance (irqbalance 1.3.0-0.1ubuntu0.18.04.1), booted it up and investigated the syslog. No irqbalance spam was seen in the syslog.

tags: added: verification-done-bionic
removed: verification-needed-bionic
Łukasz Zemczak (sil2100) wrote :

I also took the old pre-alpha cosmic image, flashed it on my raspi3, booted it up, noticed a constant flow of 'GUESSING AARCH64 ...' messages in the syslog from irqbalance. I have then enabled proposed, upgraded irqbalance to 1.3.0-0.1ubuntu0.18.10.1 and confirmed that the irqbalance spam stopped.

tags: added: verification-done verification-done-cosmic
removed: verification-needed verification-needed-cosmic

The verification of the Stable Release Update for irqbalance has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package irqbalance - 1.3.0-0.1ubuntu0.18.04.1

---------------
irqbalance (1.3.0-0.1ubuntu0.18.04.1) bionic; urgency=medium

  * debian/patches:
    - Added aarch64-log-spam preventing syslog spam on small aarch64 systems
      which lack a PCI bus (e.g. rpi3b, rpi3b+) (LP: #1811655).

 -- Dave Jones <email address hidden> Wed, 09 Jan 2019 10:38:44 +0000

Changed in irqbalance (Ubuntu Bionic):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package irqbalance - 1.3.0-0.1ubuntu0.18.10.1

---------------
irqbalance (1.3.0-0.1ubuntu0.18.10.1) cosmic; urgency=medium

  * debian/patches:
    - Added aarch64-log-spam preventing syslog spam on small aarch64 systems
      which lack a PCI bus (e.g. rpi3b, rpi3b+) (LP: #1811655).

 -- Dave Jones <email address hidden> Wed, 09 Jan 2019 10:38:44 +0000

Changed in irqbalance (Ubuntu Cosmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers