[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
This bug was fixed in the package rr - 5.5.0-1ubuntu0.1 --- rr (5.5.0-1ubuntu0.1) jammy; urgency=medium * debian/patches: Add support for AMD Phoenix Zen 4 CPU (LP: #2065141) -- Marco Trevisan (Treviño) Wed, 08 May 2024 09:02:10 +0200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
This bug was fixed in the package rr - 5.6.0-4ubuntu0.1 --- rr (5.6.0-4ubuntu0.1) mantic; urgency=medium * debian/patches: Add support for AMD Phoenix Zen 4 CPU (LP: #2065141) -- Marco Trevisan (Treviño) Wed, 08 May 2024 09:02:10 +0200 ** Changed in: rr (Ubuntu Mantic) Status: Fix Committed => Fix Released ** Changed in: rr (Ubuntu Jammy) 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/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
This bug was fixed in the package rr - 5.7.0-2ubuntu0.24.04.1 --- rr (5.7.0-2ubuntu0.24.04.1) noble; urgency=medium * debian/patches: Add support for AMD Phoenix Zen 4 CPU (LP: #2065141) -- Marco Trevisan (Treviño) Wed, 08 May 2024 09:02:10 +0200 ** Changed in: rr (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/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
> I'm wondering if the mantic and jammy patches aren't missing the change to src/counters-test/counters.c When doing the patch I did grep on those trees for similar contents, and there's not. The file was added on 5.6.0 (https://github.com/rr- debugger/rr/commit/de389f73cecaedb9e3f8f593bec00db80183993f) so not in jammy for sure, while it was present in mantic (I had missed the rename there it seems), but as the file states it's just a standalone test that was nice to have but not fully required to get the fix landed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
I'm wondering if the mantic and jammy patches aren't missing the change to src/counters-test/counters.c. Note that this file was renamed to counters.cc in noble, so maybe the change was missed because of that rename? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
❯ apt-cache policy rr rr: Installato: 5.7.0-2ubuntu0.24.04.1 Candidato: 5.7.0-2ubuntu0.24.04.1 Tabella versione: *** 5.7.0-2ubuntu0.24.04.1 400 400 http://archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages 100 /var/lib/dpkg/status 5.7.0-2build1 400 400 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages ❯ rr --version rr version 5.7.0 ❯ rr record true rr: Saving execution to trace directory `/tmp/rr-traces/true-0'. On Zen CPUs, rr will not work reliably unless you disable the hardware SpecLockMap optimization. For instructions on how to do this, see https://github.com/rr-debugger/rr/wiki/Zen ❯ wget https://raw.githubusercontent.com/rr-debugger/rr/master/scripts/zen_workaround.py -q -O- | \ sudo python3 - Zen workaround in place ❯ rr record true rr: Saving execution to trace directory `/tmp/rr-traces/true-1'. ** Tags removed: verification-needed-noble ** Tags added: verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
❯ apt-cache policy rr rr: Installato: 5.5.0-1ubuntu0.1 Candidato: 5.5.0-1ubuntu0.1 Tabella versione: *** 5.5.0-1ubuntu0.1 400 400 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 Packages 100 /var/lib/dpkg/status 5.5.0-1build1 500 500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages ❯ rr --version rr version 5.5.0 ❯ rr record true rr: Saving execution to trace directory `/tmp/rr-traces/true-0'. On Zen CPUs, rr will not work reliably unless you disable the hardware SpecLockMap optimization. For instructions on how to do this, see https://github.com/rr-debugger/rr/wiki/Zen ❯ wget https://raw.githubusercontent.com/rr-debugger/rr/master/scripts/zen_workaround.py -q -O- | \ sudo python3 - Zen workaround in place ❯ rr record true rr: Saving execution to trace directory `/tmp/rr-traces/true-2'. ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
❯ apt-cache policy rr rr: Installato: 5.6.0-4ubuntu0.1 Candidato: 5.6.0-4 Tabella versione: *** 5.6.0-4ubuntu0.1 100 100 http://archive.ubuntu.com/ubuntu mantic-proposed/universe amd64 Packages 100 /var/lib/dpkg/status 5.6.0-4 500 500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages ❯ rr --version rr version 5.6.0 ❯ rr record true rr: Saving execution to trace directory `/tmp/rr-traces/true-0'. On Zen CPUs, rr will not work reliably unless you disable the hardware SpecLockMap optimization. For instructions on how to do this, see https://github.com/rr-debugger/rr/wiki/Zen ❯ wget https://raw.githubusercontent.com/rr-debugger/rr/master/scripts/zen_workaround.py -q -O- | \ sudo python3 - Zen workaround in place ❯ rr record true rr: Saving execution to trace directory `/tmp/rr-traces/true-1' ** Tags removed: verification-needed-mantic ** Tags added: verification-done-mantic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
Hello Marco, or anyone else affected, Accepted rr into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/rr/5.7.0-2ubuntu0.24.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, what testing has been performed on the package and change the tag from verification-needed- noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-noble. 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. ** Tags added: verification-needed verification-needed-noble ** Tags added: verification-needed-mantic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
This bug was fixed in the package rr - 5.7.0-2ubuntu1 --- rr (5.7.0-2ubuntu1) oracular; urgency=medium * debian/patches: Add support for AMD Phoenix Zen 4 CPU (LP: #2065141) -- Marco Trevisan (Treviño) Wed, 08 May 2024 09:02:10 +0200 ** Changed in: rr (Ubuntu) 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/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Changed in: rr (Ubuntu Noble) Status: In Progress => Fix Committed ** Changed in: rr (Ubuntu) Status: In Progress => Fix Committed ** Changed in: rr (Ubuntu Mantic) Status: In Progress => Fix Committed ** Changed in: rr (Ubuntu Jammy) 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/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** 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/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Patch added: "mantic debdiff" https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+attachment/5776200/+files/rr-phoenix-fix-mantic.debdiff ** Changed in: rr (Ubuntu Jammy) Status: Triaged => In Progress ** Changed in: rr (Ubuntu Noble) Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Also affects: rr (Ubuntu Mantic) Importance: Undecided Status: New ** Changed in: rr (Ubuntu Mantic) Status: New => In Progress ** Changed in: rr (Ubuntu Mantic) Importance: Undecided => Medium ** Changed in: rr (Ubuntu Mantic) Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0) ** Patch added: "mantic debdiff" https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+attachment/5776186/+files/rr-phoenix-fix-mantic.debdiff ** Description changed: [ Impact ] Running rr in Phonenix AMD APU (Ryzen 7840U) as in latest generation of AMD ThinkPad fails with [FATAL ./src/PerfCounters_x86.h:121:compute_cpu_microarch()] AMD CPU type 0x70f40 (ext family 0xa) unknown It was fixed upstream via https://github.com/rr-debugger/rr/pull/3645 (related issue https://github.com/rr-debugger/rr/issues/3715) [ Test case ] With a such CPU run: rr record true - It should record the process execution as expected + It should record the process execution as expected, in case it may + mention that some further tuning is required for Zen CPUs: + + On Zen CPUs, rr will not work reliably unless you disable the hardware + SpecLockMap optimization. + For instructions on how to do this, see + https://github.com/rr-debugger/rr/wiki/Zen [ Regression Potential ] Not really known since it's just adding a case for the CPU family. In theory it may make other CPUs of the same family not work in the same way. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Patch added: "Oracular debdiff" https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+attachment/5776181/+files/rr-phoenix-fix-oracular.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Patch added: "noble debdiff" https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+attachment/5776182/+files/rr-phoenix-fix-noble.debdiff ** Changed in: rr (Ubuntu) Status: Triaged => In Progress ** Changed in: rr (Ubuntu Noble) Status: Triaged => 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/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2065141] Re: AMD CPU type 0x70f40 (ext family 0xa) unknown
** Description changed: [ Impact ] - Running rr in Phonenix AMD APU (Ryzen 7840U) fails with + Running rr in Phonenix AMD APU (Ryzen 7840U) as in latest generation of + AMD ThinkPad fails with [FATAL ./src/PerfCounters_x86.h:121:compute_cpu_microarch()] AMD CPU type 0x70f40 (ext family 0xa) unknown It was fixed upstream via https://github.com/rr-debugger/rr/pull/3645 (related issue https://github.com/rr-debugger/rr/issues/3715) [ Test case ] With a such CPU run: - rr record true + rr record true It should record the process execution as expected [ Regression Potential ] Not really known since it's just adding a case for the CPU family. In theory it may make other CPUs of the same family not work in the same way. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065141 Title: AMD CPU type 0x70f40 (ext family 0xa) unknown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rr/+bug/2065141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs