[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-03-28 Thread Launchpad Bug Tracker
This bug was fixed in the package irqbalance - 1.9.3-2ubuntu4

---
irqbalance (1.9.3-2ubuntu4) noble; urgency=medium

  * d/p/lp2054872-fix-irq-io-error.patch: fix IO errors during IRQ affinity
change (LP: #2054872)

 -- Robert Malz   Thu, 14 Mar 2024 17:02:44
+0100

** Changed in: irqbalance (Ubuntu Noble)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-03-20 Thread Athos Ribeiro
Thanks for verifying this.

This should land in the noble release pocket as the ongoing time_t
transition progresses and should be released soon :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-03-20 Thread Robert Malz
irqbalance 1.9.3-2ubuntu4 verified on 6.8.0-11-generic
Issue no longer reproduces.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-03-14 Thread Ubuntu Foundations Team Bug Bot
The attachment "noble.debdiff" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-03-14 Thread Athos Ribeiro
Hi Robert,

Thanks for the patch!

Everything LGTM.

As we discussed offline, you do not need to file the SRU paperwork if
you do not need to update a stable release (such as mantic or jammy at
the moment).

I am sponsoring this one on your behalf.

Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading irqbalance_1.9.3-2ubuntu4.dsc: done.
  Uploading irqbalance_1.9.3-2ubuntu4.debian.tar.xz: done.  
  Uploading irqbalance_1.9.3-2ubuntu4_source.buildinfo: done.
  Uploading irqbalance_1.9.3-2ubuntu4_source.changes: done.
Successfully uploaded packages.

** Changed in: irqbalance (Ubuntu Noble)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-03-14 Thread Robert Malz
debdiff with patch for noble

** Description changed:

+ [ Impact ]
+ 
+  * irqbalance during runtime changes smp_affinity by writing to 
/proc/irq//smp_affinity file.
+Previous upstream implementation was closing file just after writing to it 
which could cause random IO erorrs.
+  * Due to this issue, irqbalance could mark IRQs as unmigratable
+  * Issue is visible in v1.9.3 irqbalance packges because additional check 
logic has been added (470a64b190628574c28a266bdcf8960291463191)
+  * Before v1.9.3 irqbalancer could still fail on fclose but that was not 
leading to marking IRQ as unmigratable
+ 
+ [ Test Plan ]
+ 
+  * Install and run irqbalance in v1.9.3
+  * Whenever irqbalance will decide to change IRQ affinity following error can 
occur:
+ Mar 14 11:59:55 pre-noble irqbalance[1536]: Cannot change IRQ 27 affinity: 
Input/output error
+ Mar 14 11:59:55 pre-noble irqbalance[1536]: IRQ 27 affinity is now unmanaged
+ 
+ [ Where problems could occur ]
+ 
+  * Issue is fixed by adding fflush before closing the file to make sure write 
operation is finished before closing
+  * During local tests I have not observed any issues after adding file 
flushing
+  
+ [ Other Info ]
+  
+  * Fix for the issue is already merged into the upstream: 
https://github.com/Irqbalance/irqbalance/pull/302
+  * Original description of the case below:
+ 
  Hello Ubuntu Team,
  
  I notice this today when using Ubuntu 24.04 Noble.
  These messages appear quite often in the systemd journal.
  
  My kernel is: 6.8.0-rc4-realtime-rt4
  
  # journalctl -b --no-pager --no-hostname | grep irqbalance
  Feb 24 13:21:02 systemd[1]: Started irqbalance.service - irqbalance daemon.
  Feb 24 13:21:02 (qbalance)[1209]: irqbalance.service: Referenced but unset 
environment variable evaluates to an empty string: IRQBALANCE_ARGS
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 73 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 73 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 63 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 63 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 71 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 71 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 61 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 61 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 68 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 68 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 58 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 58 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 66 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 66 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 64 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 64 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 72 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 72 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 62 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 62 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 70 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 70 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 60 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 60 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 69 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 69 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 59 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 59 affinity is now unmanaged
  Feb 24 13:21:12 irqbalance[1209]: Cannot change IRQ 67 affinity: Input/output 
error
  Feb 24 13:21:12 irqbalance[1209]: IRQ 67 affinity is now unmanaged
  Feb 24 13:22:22 irqbalance[1209]: Cannot change IRQ 65 affinity: Input/output 
error
  Feb 24 13:22:22 irqbalance[1209]: IRQ 65 affinity is now unmanaged
  Feb 24 13:40:36 irqbalance[1209]: Cannot change IRQ 73 affinity: Input/output 
error
  Feb 24 13:40:36 irqbalance[1209]: IRQ 73 affinity is now unmanaged
  Feb 24 13:40:36 irqbalance[1209]: Cannot change IRQ 63 affinity: Input/output 
error
  Feb 24 13:40:36 irqbalance[1209]: IRQ 63 affinity is now unmanaged
  Feb 24 13:40:36 irqbalance[1209]: Cannot change IRQ 61 affinity: Input/output 
error
  Feb 24 13:40:36 irqbalance[1209]: IRQ 61 affinity is now unmanaged
  Feb 24 13:40:36 irqbalance[1209]: Cannot change IRQ 68 affinity: Input/output 
error
  Feb 24 13:40:36 irqbalance[1209]: IRQ 68 affinity is now unmanaged
  Feb 24 13:40:36 irqbalance[1209]: Cannot change 

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-02-26 Thread Athos Ribeiro
Hi,

Thank you for taking the time to report bugs and help make Ubuntu
better.

To act on this report, We'll need some more information, specifically:

What impact this bug is having on users (is this just the logging spam?)
Specific, minimal steps to reproduce it (are you able to isolate what is 
causing the log entries to be recorded?)
Specific configuration

Please add a comment with the extra information, and then set the bug
status back to "New".

** Changed in: irqbalance (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2054872] Re: Cannot change IRQ 70 affinity: Input/output error

2024-02-25 Thread Ionut Nechita
** Attachment added: "amd ryzen9 5900hs with samsung nvme - irq's table"
   
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+attachment/5748931/+files/amd-ryzen9-interrupts.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054872

Title:
  Cannot change IRQ 70 affinity: Input/output error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/2054872/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs