[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hi Simon My apologies for the alarm, I will have the team that submitted this issue refresh the snap and re-run the test. VERSIONREVISION lxd 5.0.3-ffb17cf 27037 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Thanks for the reply, Simon. I was about to say exactly the same thing. To the extent of my knowledge, the issue has been (at least partially) addressed on LXD, so it should be possible to launch VMs with more than 288 vCPUs with it. Either way, this bug has been fixed in QEMU so I am going to set its status back to Fix Released. Thanks. ** Changed in: qemu (Ubuntu Jammy) Status: In Progress => 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
@Michael, could you provide which LXD version you are running? The LXD snap rev you are using (27037) doesn't seem to be the latest available and we, in theory, have fixed the issue in LXD 5.0/stable so maybe the fix is just a refresh away. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
We have a certification submission on Jammy that still hits this issue. In this case lxd virtual machines are hitting this bug. Version qemu-system-x86 1:6.2+dfsg-2ubuntu6.19 Chip is a dual socket Epyc 9734. 112 cores 224 threads, 448 https://certification.canonical.com/hardware/202403-33531/submission/367206/ ERROR:root:Command lxc start testbed returned a code of 1 ERROR:root: STDOUT: ERROR:root: STDERR: Error: Failed to run: forklimits limit=memlock:unlimited:unlimited fd=3 fd=4 -- /snap/lxd/27037/bin/qemu-system-x86_64 -S -name testbed -uuid b6e33a92-bd24-4217-80a8-f2971626c7b3 -daemonize -cpu host,hv_passthrough -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=deny -readconfig /var/snap/lxd/common/lxd/logs/testbed/qemu.conf -spice unix=on,disable-ticketing=on,addr=/var/snap/lxd/common/lxd/logs/testbed/qemu.spice -pidfile /var/snap/lxd/common/lxd/logs/testbed/qemu.pid -D /var/snap/lxd/common/lxd/logs/testbed/qemu.log -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas lxd: : exit status 1 Try `lxc info --show-log testbed` for more info ** Changed in: qemu (Ubuntu Jammy) Status: Fix Released => 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
This bug was fixed in the package qemu - 1:6.2+dfsg-2ubuntu6.19 --- qemu (1:6.2+dfsg-2ubuntu6.19) jammy; urgency=medium * d/p/u/lp2012763-maxcpus-too-low.patch: Bump max_cpus to 1024 on amd64. (LP: #2012763) -- Sergio Durigan Junior Mon, 18 Mar 2024 16:38:25 -0400 ** Changed in: qemu (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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Performing the verification on Jammy. First, verifying that we can reproduce the problem. # apt policy qemu-system-x86 qemu-system-x86: Installed: 1:6.2+dfsg-2ubuntu6.18 Candidate: 1:6.2+dfsg-2ubuntu6.18 Version table: *** 1:6.2+dfsg-2ubuntu6.18 500 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:6.2+dfsg-2ubuntu6.16 500 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 1:6.2+dfsg-2ubuntu6 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages # qemu-system-x86_64 -M pc-q35-jammy,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-jammy' is 288 Now, updating the package and verifying that the version from -proposed fixes the issue: # apt policy qemu-system-x86 qemu-system-x86: Installed: 1:6.2+dfsg-2ubuntu6.19 Candidate: 1:6.2+dfsg-2ubuntu6.19 Version table: *** 1:6.2+dfsg-2ubuntu6.19 500 500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:6.2+dfsg-2ubuntu6.18 500 500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 1:6.2+dfsg-2ubuntu6.16 500 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 1:6.2+dfsg-2ubuntu6 500 500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages # qemu-system-x86_64 -M pc-q35-jammy-maxcpus,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" ... This concludes the verification on Jammy. ** Tags removed: verification-needed verification-needed-jammy ** Tags added: verification-done 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hello Jeff, or anyone else affected, Accepted qemu into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/qemu/1:6.2+dfsg-2ubuntu6.19 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- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. 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: qemu (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags removed: verification-done ** Tags added: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
This bug was fixed in the package qemu - 1:8.0.4+dfsg-1ubuntu3.23.10.5 --- qemu (1:8.0.4+dfsg-1ubuntu3.23.10.5) mantic; urgency=medium * d/p/u/lp2012763-maxcpus-too-low.patch: Actually set the max_cpus property of the new Mantic machine types. (LP: #2012763) qemu (1:8.0.4+dfsg-1ubuntu3.23.10.4) mantic; urgency=medium * d/p/u/lp2012763-maxcpus-too-low.patch: Bump max_cpus to 1024 on amd64. (LP: #2012763) -- Sergio Durigan Junior Mon, 25 Mar 2024 14:54:06 -0400 ** Changed in: qemu (Ubuntu Mantic) 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2046439 was released. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Accepting this into jammy-proposed is pending verification of https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2046439 which is in jammy-proposed already. Either that, or you do a new upload to jammy- unapproved covering both bugs in the changes file, but that will require then a new verification of https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2046439 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Thank you, Andreas. I will wait for bug #2046439 to clear -proposed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
This bug was fixed in the package qemu - 1:8.2.1+ds-1ubuntu8 --- qemu (1:8.2.1+ds-1ubuntu8) noble; urgency=medium * d/p/u/lp2012763-maxcpus-too-low.patch: Actually set the max_cpus property of the new Mantic machine types. (LP: #2012763) -- Sergio Durigan Junior Mon, 25 Mar 2024 14:58:39 -0400 ** Changed in: qemu (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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Performing the verification on Mantic. First, verifying that we can reproduce the problem. # apt policy qemu-system-x86 qemu-system-x86: Installed: 1:8.0.4+dfsg-1ubuntu3.23.10.3 Candidate: 1:8.0.4+dfsg-1ubuntu3.23.10.3 Version table: *** 1:8.0.4+dfsg-1ubuntu3.23.10.3 500 500 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:8.0.4+dfsg-1ubuntu3.23.10.2 500 500 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages 1:8.0.4+dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages # qemu-system-x86_64 -M pc-q35-jammy,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-jammy' is 288 # qemu-system-x86_64 -M pc-q35-mantic,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-mantic' is 288 Now, updating the package and verifying that the version from -proposed fixes the issue: # apt policy qemu-system-x86 qemu-system-x86: Installed: 1:8.0.4+dfsg-1ubuntu3.23.10.5 Candidate: 1:8.0.4+dfsg-1ubuntu3.23.10.5 Version table: *** 1:8.0.4+dfsg-1ubuntu3.23.10.5 100 100 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:8.0.4+dfsg-1ubuntu3.23.10.3 500 500 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages 1:8.0.4+dfsg-1ubuntu3.23.10.2 500 500 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages 1:8.0.4+dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages # qemu-system-x86_64 -M pc-q35-jammy-maxcpus,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kern el /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: warning: Number of SMP cpus requested (300) exceeds the recommended cpus supported by KVM (12) qemu-system-x86_64: warning: Number of hotpluggable cpus requested (300) exceeds the recommended cpus supported by KVM (12) ... # qemu-system-x86_64 -M pc-q35-mantic-maxcpus,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kern el /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: warning: Number of SMP cpus requested (300) exceeds the recommended cpus supported by KVM (12) qemu-system-x86_64: warning: Number of hotpluggable cpus requested (300) exceeds the recommended cpus supported by KVM (12) ... This concludes the verification on Mantic. ** Tags removed: verification-needed verification-needed-mantic ** Tags added: verification-done 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hello Jeff, or anyone else affected, Accepted qemu into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/qemu/1:8.0.4+dfsg-1ubuntu3.23.10.5 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- mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-mantic. 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 removed: verification-failed-mantic ** Tags added: verification-needed 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Fixed package uploaded to Mantic: qemu_8.0.4+dfsg-1ubuntu3.23.10.5_source.changes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Performing the verification on Mantic. First, reproduce the problem. # apt policy qemu-system-x86 qemu-system-x86: Installed: 1:8.0.4+dfsg-1ubuntu3.23.10.3 Candidate: 1:8.0.4+dfsg-1ubuntu3.23.10.3 Version table: *** 1:8.0.4+dfsg-1ubuntu3.23.10.3 500 500 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1:8.0.4+dfsg-1ubuntu3.23.10.2 500 500 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages 1:8.0.4+dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages # qemu-system-x86_64 -M pc-q35-jammy,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-jammy' is 288 # qemu-system-x86_64 -M pc-q35-mantic,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-mantic' is 288 Now, verifying that the package from mantic-proposed fixes the issue: # apt policy qemu-system-x86 qemu-system-x86: Installed: 1:8.0.4+dfsg-1ubuntu3.23.10.4 Candidate: 1:8.0.4+dfsg-1ubuntu3.23.10.4 Version table: *** 1:8.0.4+dfsg-1ubuntu3.23.10.4 100 100 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1:8.0.4+dfsg-1ubuntu3.23.10.3 500 500 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages 1:8.0.4+dfsg-1ubuntu3.23.10.2 500 500 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages 1:8.0.4+dfsg-1ubuntu3 500 500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages # qemu-system-x86_64 -M pc-q35-jammy-maxcpus,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" < all worked as expected > # qemu-system-x86_64 -M pc-q35-mantic-maxcpus,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-mantic-maxcpus' is 288 As can be seen above, there is a problem with the new pc-q35-mantic- maxcpus machine type. As such, I am tagging this bug as verification- mantic-failed and will upload a fix for the issue. ** Tags removed: verification-needed verification-needed-mantic ** Tags added: verification-failed-mantic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hello Jeff, or anyone else affected, Accepted qemu into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/qemu/1:8.0.4+dfsg-1ubuntu3.23.10.4 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- mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-mantic. 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: qemu (Ubuntu Mantic) Status: In Progress => Fix Committed ** Tags added: verification-needed 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
** Changed in: qemu (Ubuntu Jammy) Status: New => In Progress ** Changed in: qemu (Ubuntu Mantic) Status: Confirmed => In Progress ** Changed in: qemu (Ubuntu Noble) Status: Confirmed => 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/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
So after we talked on MM, I think maybe you and Simon have been testing this instead, so for now is do I need to do this? Thanks Jeff On Tue, Mar 19, 2024 at 3:10 PM Sergio Durigan Junior < 2012...@bugs.launchpad.net> wrote: > Hi Jeff, > > Thanks for the offer. Actually there is! > > - If you could test Noble and double/triple check that we don't need to > do anything else there in order to support maxcpus, that'd be great. > Just use the "ubuntu" machine type and check if QEMU starts correct with > more than 288 vCPUs. > > - Once the Jammy/Mantic SRUs are accepted, we will need to perform a > verification for both uploads. I can do it my side, but it would be > very helpful if you could also verify the uploads on your side. > > Thanks. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2012763 > > Title: > qemu-system-amd64 max cpus is too low for latest processors > > Status in lxd package in Ubuntu: > New > Status in qemu package in Ubuntu: > Confirmed > Status in lxd source package in Jammy: > New > Status in qemu source package in Jammy: > New > Status in lxd source package in Lunar: > Invalid > Status in qemu source package in Lunar: > Invalid > Status in lxd source package in Mantic: > New > Status in qemu source package in Mantic: > Confirmed > Status in lxd source package in Noble: > New > Status in qemu source package in Noble: > Confirmed > > Bug description: > [ Impact ] > > QEMU users on Ubuntu Jammy/Mantic who try to spawn a VM with more than > 288 vCPUs will not be able to do so, because the machine types > available don't support such scenario. The following error will > happen: > > qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by > machine 'pc-q35-jammy' is 288 > > [ Test Plan ] > > Ideally, the test should be performed in a machine with more than 288 > physical CPUs available. However, due to the difficulty in finding > such systems, it is possible to emulate the usage of more than 288 > vCPUs. > > On a Jammy/Mantic machine, making sure to adjust the machine type > accordingly, you can do: > > $ sudo qemu-system-x86_64 -M pc-q35-jammy,accel=kvm,kernel- > irqchip=split -device intel-iommu,intremap=on -smp > cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel > /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 > -mon chardev=char0,mode=readline -serial chardev:char0 -append > "console=ttyS0" > > You will notice that the command will fail, as expected. > > The proposed fix is to create a new machine type on Jammy/Mantic, in > order to minimize the possibility of regressions in deployments using > the existing machine types. This new type is named > pc-{q35,i440fx}-{jammy,mantic}-maxcpus. When doing the test, make > sure to provide this new machine type (as part of the "-M" argument). > > [ Where problems could occur ] > > As explained above, a new machine type was created in order to > minimize the possibility of regressions. As such, the existing > "pc-{q35,i440fx}-{jammy,mantic}" machine types should continue to work > as before, without any change. > > [ Original Description ] > > During testing of an AMD Genoa CPU, it was discovered that qemu- > system-amd64 doesn't support enough cpus. > > The specific error the tester received was: > > qemu-system-x86_64: Invalid SMP CPUs 384. The max supported by machine > 'pc-q35-7.1' is 288 > > Looking at the sournce that seems to be an easy fix at first glance: > > https://github.com/qemu/qemu/blob/master/hw/i386/pc_q35.c > 372machine_class_allow_dynamic_sysbus_dev(m, TYPE_VMBUS_BRIDGE); > 373m->max_cpus = 288; > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions > > Launchpad-Notification-Type: bug > Launchpad-Bug: distribution=ubuntu; sourcepackage=lxd; component=universe; > status=New; importance=Undecided; assignee=None; > Launchpad-Bug: distribution=ubuntu; sourcepackage=qemu; component=main; > status=Confirmed; importance=Critical; assignee= > sergio.duri...@canonical.com; > Launchpad-Bug: distribution=ubuntu; distroseries=jammy; sourcepackage=lxd; > component=None; status=New; importance=Undecided; assignee=None; > Launchpad-Bug: distribution=ubuntu; distroseries=jammy; > sourcepackage=qemu; component=main; status=New; importance=Undecided; > assignee=sergio.duri...@canonical.com; > Launchpad-Bug: distribution=ubuntu; distroseries=lunar; sourcepackage=lxd; > component=None; status=Invalid; importance=Undecided; assignee=None; > Launchpad-Bug: distribution=ubuntu; distroseries=lunar; > sourcepackage=qemu; component=main; status=Invalid; importance=Undecided; > assignee=sergio.duri...@canonical.com; > Launchpad-Bug: distribution=ubuntu; distroseries=mantic; > sourcepackage=lxd; component=None; status=New;
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
** Tags added: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hi Jeff, Thanks for the offer. Actually there is! - If you could test Noble and double/triple check that we don't need to do anything else there in order to support maxcpus, that'd be great. Just use the "ubuntu" machine type and check if QEMU starts correct with more than 288 vCPUs. - Once the Jammy/Mantic SRUs are accepted, we will need to perform a verification for both uploads. I can do it my side, but it would be very helpful if you could also verify the uploads on your side. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hi Sergio, is there anything we can help with testing here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/qemu/+git/qemu/+merge/462643 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
** Description changed: [ Impact ] - QEMU users on Ubuntu Jammy who try to spawn a VM with more than 288 - vCPUs will not be able to do so, because the machine types available + QEMU users on Ubuntu Jammy/Mantic who try to spawn a VM with more than + 288 vCPUs will not be able to do so, because the machine types available don't support such scenario. The following error will happen: qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by machine 'pc-q35-jammy' is 288 [ Test Plan ] Ideally, the test should be performed in a machine with more than 288 physical CPUs available. However, due to the difficulty in finding such systems, it is possible to emulate the usage of more than 288 vCPUs. - On a Jammy machine, you can do: + On a Jammy/Mantic machine, making sure to adjust the machine type + accordingly, you can do: $ sudo qemu-system-x86_64 -M pc-q35-jammy,accel=kvm,kernel-irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" You will notice that the command will fail, as expected. - The proposed fix is to create a new machine type on Jammy, in order to - minimize the possibility of regressions in deployments using the - existing machine types. This new type is named pc-{q35,i440fx}-jammy- - maxcpus. When doing the test, make sure to provide this new machine - type (as part of the "-M" argument). + The proposed fix is to create a new machine type on Jammy/Mantic, in + order to minimize the possibility of regressions in deployments using + the existing machine types. This new type is named + pc-{q35,i440fx}-{jammy,mantic}-maxcpus. When doing the test, make sure + to provide this new machine type (as part of the "-M" argument). [ Where problems could occur ] As explained above, a new machine type was created in order to minimize the possibility of regressions. As such, the existing - "pc-{q35,i440fx}-jammy" machine types should continue to work as before, - without any change. + "pc-{q35,i440fx}-{jammy,mantic}" machine types should continue to work + as before, without any change. [ Original Description ] During testing of an AMD Genoa CPU, it was discovered that qemu-system- amd64 doesn't support enough cpus. The specific error the tester received was: qemu-system-x86_64: Invalid SMP CPUs 384. The max supported by machine 'pc-q35-7.1' is 288 Looking at the sournce that seems to be an easy fix at first glance: https://github.com/qemu/qemu/blob/master/hw/i386/pc_q35.c 372machine_class_allow_dynamic_sysbus_dev(m, TYPE_VMBUS_BRIDGE); 373m->max_cpus = 288; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
** Description changed: + [ Impact ] + + QEMU users on Ubuntu Jammy who try to spawn a VM with more than 288 + vCPUs will not be able to do so, because the machine types available + don't support such scenario. The following error will happen: + + qemu-system-x86_64: Invalid SMP CPUs 300. The max CPUs supported by + machine 'pc-q35-jammy' is 288 + + [ Test Plan ] + + Ideally, the test should be performed in a machine with more than 288 + physical CPUs available. However, due to the difficulty in finding such + systems, it is possible to emulate the usage of more than 288 vCPUs. + + On a Jammy machine, you can do: + + $ sudo qemu-system-x86_64 -M pc-q35-jammy,accel=kvm,kernel-irqchip=split + -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm + -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd + /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon + chardev=char0,mode=readline -serial chardev:char0 -append + "console=ttyS0" + + You will notice that the command will fail, as expected. + + The proposed fix is to create a new machine type on Jammy, in order to + minimize the possibility of regressions in deployments using the + existing machine types. This new type is named pc-{q35,i440fx}-jammy- + maxcpus. When doing the test, make sure to provide this new machine + type (as part of the "-M" argument). + + [ Where problems could occur ] + + As explained above, a new machine type was created in order to minimize + the possibility of regressions. As such, the existing + "pc-{q35,i440fx}-jammy" machine types should continue to work as before, + without any change. + + [ Original Description ] + During testing of an AMD Genoa CPU, it was discovered that qemu-system- amd64 doesn't support enough cpus. The specific error the tester received was: qemu-system-x86_64: Invalid SMP CPUs 384. The max supported by machine 'pc-q35-7.1' is 288 Looking at the sournce that seems to be an easy fix at first glance: https://github.com/qemu/qemu/blob/master/hw/i386/pc_q35.c 372machine_class_allow_dynamic_sysbus_dev(m, TYPE_VMBUS_BRIDGE); 373m->max_cpus = 288; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/qemu/+git/qemu/+merge/462630 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2012763] Re: qemu-system-amd64 max cpus is too low for latest processors
Hi there, I just wanted to give a quick update. I still have to perform a "real world" test using the server with more than 300 CPUs, but meanwhile I was able to test the Jammy QEMU from my PPA using a 12-core machine and it seems like we won't need to backport any patches there either. Here's the command line I used: $ sudo qemu-system-x86_64 -M pc-q35-jammy-maxcpus,accel=kvm,kernel- irqchip=split -device intel-iommu,intremap=on -smp cpus=300,maxcpus=300 -enable-kvm -net none -m 4096M -nographic -kernel /boot/vmlinuz -initrd /boot/initrd.img -chardev stdio,mux=on,id=char0 -mon chardev=char0,mode=readline -serial chardev:char0 -append "console=ttyS0" Upon booting and getting dropped into the initramfs shell, I did a "cat /proc/cpuinfo" and verified that the 300 vCPUs were correctly listed there. So yeah, good news :-). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2012763 Title: qemu-system-amd64 max cpus is too low for latest processors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/2012763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs