Path: csiph.com!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!reader02.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" Newsgroups: linux.debian.kernel Subject: Bug#983923: marked as done (linux-image-4.19.0-13-cloud-amd64: Please add CONFIG_MAXSMP to the linux-image-cloud-amd64 kernel) Date: Fri, 05 Mar 2021 13:40:01 +0100 Message-ID: References: X-Original-To: Salvatore Bonaccorso X-Mailbox-Line: From debian-kernel-request@lists.debian.org Fri Mar 5 12:39:24 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.26 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MONEY=0.5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_MED=-2.3, STOCKLIKE=1, YOURMESSAGEBOD=2.5] autolearn=no autolearn_force=no Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bugs.debian.org; s=smtpauto.buxtehude; h=Content-Type:Date:Reply-To: References:Message-ID:Subject:To:From:MIME-Version:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To; bh=oq6Bk+ZcwZycR41x1C/QlK5d4M+7IfzxWqo9LJ6MKPE=; b=cYr6QtbGLqZKgiYwXqUIa4hSYE 7ng96BZUfvU4Ctt/bFz3t62UMYN605F3XDFHuT16SnyvzvoEkxxSo01dchEHrNeoAjUNCT9vYXkU2 Weyd1JHohWXFfwmMFJf1Vyqyz+l/iZcc0C4fgLO1j3UFLwb2CdenkAGP5Lyc7ipMxOtsu+jtYSZiv 5cIBzFlEmjqDKl48D0lQgi2RDZ8tVK3idXWY2JrCCMWM2SdojhIdfBcD1j7ZZdho4OHzDzEQYbH5O UBmgExmn22La0qx1UwOhbsIsP9xNlg5AnPP5IEvo9983Eew2SlOq/XtsewteJeyaE1vOht0/toQDv +mYVurfA==; MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Debian-Pr-Message: closed 983923 X-Debian-Pr-Package: src:linux X-Debian-Pr-Source: linux Reply-To: 983923@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1614947945-18586-0" X-Mailing-List: archive/latest/127107 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/handler.983923.D983923.161494786817354.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 698 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 05 Mar 2021 12:39:05 +0000 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.kernel:69704 This is a multi-part message in MIME format... ------------=_1614947945-18586-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Fri, 5 Mar 2021 13:37:43 +0100 with message-id and subject line Re: Bug#983923: linux-image-4.19.0-13-cloud-amd64: Please = add CONFIG_MAXSMP to the linux-image-cloud-amd64 kernel has caused the Debian Bug report #983923, regarding linux-image-4.19.0-13-cloud-amd64: Please add CONFIG_MAXSMP to th= e linux-image-cloud-amd64 kernel to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) --=20 983923: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D983923 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1614947945-18586-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 3 Mar 2021 13:54:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02 (2018-09-13) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=4.0 tests=BAYES_00,DIGITS_LETTERS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA, FVGT_m_MULTI_ODD,HAS_PACKAGE,MD5_SHA1_SUM,MONEY,MURPHY_DRUGS_REL8, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,STOCKLIKE autolearn=ham autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 322; hammy, 150; neutral, 1028; spammy, 0. spammytokens: hammytokens:0.000-+--cutf8, 0.000-+--CUTF8, 0.000-+--UD:C.UTF-8, 0.000-+--C.UTF-8, 0.000-+--c.utf-8 Return-path: Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:51122) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lHRxH-0007m1-Fx for submit@bugs.debian.org; Wed, 03 Mar 2021 13:54:24 +0000 Received: by mail-wm1-x334.google.com with SMTP id i9so5269407wml.0 for ; Wed, 03 Mar 2021 05:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scaleway.com; s=google; h=subject:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=SocMVhGQ5vZF1LOstM5MJAGe4rPmO7kcdi928IJZdE4=; b=c2mSW/g225AgmO72C1Ayo1rvN9CngHbPbwHrDBSQLz3oi7tVPVuAbo6Ptn+FSDu4PQ ipGh2ycbghqusIeHEWdiZ2pyjnsdFCO98vC8y2tghwT1s8CM6fuvkrmuCnrYvW2G9bWZ C9xyFkdGcid2yF37K+zmngM/A3KksZ2XbVO795BPtVYtor413QnQqcnqqKwmLJ2XuG57 feOJkSqGVWFgyuge9OJ0mK3d60i/htYDfuGkyB5SQ3IdtIp0PB7WZ1cHEgh7ABggkHsz m/iNczjbWtE2/Df0cXw7iOxDHQlWDsBb9VuTTtlm5IAi+UFA6DjaQrJt/NCprS6cS5Yl wwiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:from:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=SocMVhGQ5vZF1LOstM5MJAGe4rPmO7kcdi928IJZdE4=; b=JiNh39z58+oRQ/GBxxtZPZjYL+wvAVKFzQRtrBAGW2xbzPMrIT+kbPPEPkZRzNYSIt QvIIiMRrGzQo2pwMncRzTJzY4OpmaR75lE20lj3uWcZeV8FvDFL7aOALc83BF8vCH9OL ESGhSGPq3XHrZ8cwizX3EjP0/NMFurThecv1JqNmrtzG/OLsyqxslThS2eVax0ztKuOv wJbhe7yXQ5vCJ1cf1JOLJ9MqGMrmrbKM7IFgxH78WnPjBzsJ6bJMGGPPVWExjMEwjFiF hkQGAH86G2dTg3Bt/nGDYtqYhRgrSj9sU1lSHxfuX/8Ko3KaZs6R5rjEXUSpwa1tGFyd Qd3Q== X-Gm-Message-State: AOAM5304z/JGnn+XcacZTSZUH4qoXxPvNbFUCsBYdCL8I48HWWWvOdhq lTZQQSWj4wjwN86UleOAFp87FtBIxqZnvg== X-Google-Smtp-Source: ABdhPJwz8ecGVfaUxh95OaXCPRmTvoNb/b9Cs4NG0e8vq/1Ytg9QFThDICtgdHIIenxPSwJqt5yWPw== X-Received: by 2002:a05:600c:409:: with SMTP id q9mr9407824wmb.105.1614779659821; Wed, 03 Mar 2021 05:54:19 -0800 (PST) Received: from [10.33.116.114] ([195.154.229.35]) by smtp.gmail.com with ESMTPSA id j12sm4330777wrx.59.2021.03.03.05.54.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Mar 2021 05:54:19 -0800 (PST) Subject: linux-image-4.19.0-13-cloud-amd64: Please add CONFIG_MAXSMP to the linux-image-cloud-amd64 kernel To: submit@bugs.debian.org From: Louis Bouchard X-Forwarded-Message-Id: Message-ID: Date: Wed, 3 Mar 2021 14:54:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Delivered-To: submit@bugs.debian.org Package: src:linux Version: 4.19.160-2 Severity: important Dear maintainer, Please enable the MAXSMP kernel config parameter for the linux-image-cloud-amd64 kernel image. This is the configuration currently used in kernel 5.10 package. When being used on a server with the latest AMD EPYC 7543 processors (Milan), starting a QEMU VM with more than 64 processors will trigger a kernel panic in the VM. This has been tested on a Ubuntu Bionic host with QEMU versions 1.2.11 as well as 4.2.3 (sorry but all of our QEMU hosts use Ubuntu) Here is an example of the situation : ### Host configuration # dmidecode -s processor-version AMD EPYC 7543 32-Core Processor # nproc 128 # wget # http://cloud.debian.org/images/cloud/buster/daily/20210303-565/debian-10-genericcloud-amd64-daily-20210303-565.qcow2 # qemu-img create -F qcow2 -f qcow2 -b # debian-10-genericcloud-amd64-daily-20210303-565.qcow2 buster.qcow2 10G # cat startit cp /usr/share/OVMF/OVMF_CODE.fd /tmp cp /usr/share/OVMF/OVMF_VARS.fd /tmp /usr/bin/qemu-system-x86_64 \ -enable-kvm \ -display none \ -monitor none \ -nodefaults \ -nographic \ -serial mon:stdio \ -cpu host \ -smp $2 \ -m 8G \ -drive if=pflash,format=raw,readonly,file=/tmp/OVMF_CODE.fd \ -drive if=pflash,format=raw,file=/tmp/OVMF_VARS.fd \ -drive file=./$1,if=none,id=disk0 \ -device virtio-blk-pci,drive=disk0,id=virblk0,bootindex=1 \ -netdev user,id=n1 \ -device virtio-net-pci,netdev=n1 ### Proof that the script is working as expected # ./startit buster.qcow2 64 ... Debian GNU/Linux 10 debian ttyS0 debian login: root password: root@debian:~# nproc 64 ### Example of the kernel panic situation with more dans 64 CPUS $ ./startit buster.qcow2 66 [ 0.007858] RSP: 0000:ffffaf5d40ebfea0 EFLAGS: 00010202 [ 0.007858] RAX: ffffffffa57bd440 RBX: 00000000000001ed RCX: 0000000000000002 [ 0.007858] RDX: ffff9bf33643c7b0 RSI: ffffaf5d40ebfec8 RDI: 00000000000001ed [ 0.007858] RBP: ffffaf5d40ebff38 R08: ffff9bf336412000 R09: ffff9bf3360006d8 [ 0.007858] R10: ffff9bf336000700 R11: 0000000000000000 R12: ffffaf5d40ebfec8 [ 0.007858] R13: ffffffffa423e706 R14: 0000000000000000 R15: 0000000000000000 [ 0.007858] ? start_secondary+0x156/0x200 [ 0.007858] ? start_secondary+0x156/0x200 [ 0.007858] _get_random_bytes+0x7d/0x1b0 [ 0.007858] ? rcu_cpu_starting+0x136/0x150 [ 0.007858] ? cpumask_next+0x16/0x20 [ 0.007858] ? speculative_store_bypass_ht_init+0x6d/0xb0 [ 0.007858] start_secondary+0x156/0x200 [ 0.007858] secondary_startup_64+0xa4/0xb0 [ 0.007858] Modules linked in: [ 0.007858] CR2: 000000000000022d [ 0.007858] BUG: unable to handle kernel NULL pointer dereference at 000000000000022d [ 0.007858] PGD 0 P4D 0 [ 0.007858] Oops: 0000 [#26] SMP NOPTI [ 0.007858] CPU: 64 PID: 0 Comm: swapper/64 Tainted: G D 4.19.0-14-cloud-amd64 #1 Debian 4.19.171-2 [ 0.007858] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 ### Example with a locally compiled kernel using the documentation at https://wiki.debian.org/DebianKernel/GitBisect with MAXCPU enabled : $ ./startit buster.qcow2 128 ... Debian GNU/Linux 10 debian ttyS0 debian login: root password: root@debian:~# nproc 128 root@debian:~# uname -a Linux debian 4.19.171-maxcpu #88 SMP Wed Mar 3 10:43:25 UTC 2021 x86_64 GNU/Linux root@debian:~# egrep "NR_CPUS|MAXSMP" /boot/config-4.19.171-maxcpu CONFIG_MAXSMP=y CONFIG_NR_CPUS_RANGE_BEGIN=8192 CONFIG_NR_CPUS_RANGE_END=8192 CONFIG_NR_CPUS_DEFAULT=8192 CONFIG_NR_CPUS=8192 Please be aware that the same test done on an older version of the AMD EPYC CPU (namely AMD EPYC 7401P 24-Core Processor) will not trigger this problem. -- Package-specific info: ** Version: Linux version 4.19.0-13-cloud-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.160-2 (2020-11-28) ** Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-13-cloud-amd64 root=UUID=daf85f0d-98b3-4a1c-870f-cd2b3cd58684 ro console=tty0 console=ttyS0,115200 earlyprintk=ttyS0,115200 scsi_mod.use_blk_mq=Y ** Not tainted ** Kernel log: ** Model information [ 0.717177] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.718238] PCI: CLS 0 bytes, default 64 [ 0.718336] Unpacking initramfs... [ 1.129371] Freeing initrd memory: 12788K [ 1.131669] Initialise system trusted keyrings [ 1.132620] Key type blacklist registered [ 1.134165] workingset: timestamp_bits=40 max_order=19 bucket_order=0 [ 1.138488] zbud: loaded [ 1.328162] Key type asymmetric registered [ 1.333078] Asymmetric key parser 'x509' registered [ 1.333768] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 1.334783] io scheduler noop registered (default) [ 1.335519] io scheduler deadline registered [ 1.336409] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.359657] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 1.361880] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 1.363695] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.364301] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.365594] mousedev: PS/2 mouse device common for all mice [ 1.366956] rtc_cmos 00:00: RTC can wake from S4 [ 1.369809] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 1.371193] rtc_cmos 00:00: registered as rtc0 [ 1.371807] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs [ 1.373543] NET: Registered protocol family 10 [ 1.387199] Segment Routing with IPv6 [ 1.387915] mip6: Mobile IPv6 [ 1.388446] NET: Registered protocol family 17 [ 1.389619] mpls_gso: MPLS GSO support [ 1.390365] sched_clock: Marking stable (1380063413, 9532741)->(1405923239, -16327085) [ 1.392299] registered taskstats version 1 [ 1.393317] Loading compiled-in X.509 certificates [ 1.438484] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1' [ 1.439866] Loaded X.509 cert 'Debian Secure Boot Signer 2020: 00b55eb3b9' [ 1.441296] AppArmor: AppArmor sha1 policy hashing enabled [ 1.442664] rtc_cmos 00:00: setting system clock to 2021-03-03 13:18:02 UTC (1614777482) [ 1.447643] Freeing unused kernel image memory: 1476K [ 1.461328] Write protecting the kernel read-only data: 16384k [ 1.465783] Freeing unused kernel image memory: 2028K [ 1.468555] Freeing unused kernel image memory: 1340K [ 1.470112] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 1.471715] Run /init as init process [ 1.552150] cryptd: max_cpu_qlen set to 1000 [ 1.556847] SCSI subsystem initialized [ 1.563239] AVX2 version of gcm_enc/dec engaged. [ 1.563923] AES CTR mode by8 optimization enabled [ 1.585243] libata version 3.00 loaded. [ 1.587012] ata_piix 0000:00:01.1: version 2.13 [ 1.590667] PCI Interrupt Link [LNKB] enabled at IRQ 11 [ 1.601236] scsi host0: ata_piix [ 1.617256] scsi host1: ata_piix [ 1.618007] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14 [ 1.619083] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15 [ 1.621574] ata1: port disabled--ignoring [ 1.621737] ata2: port disabled--ignoring [ 1.622379] PCI Interrupt Link [LNKC] enabled at IRQ 10 [ 1.656281] PCI Interrupt Link [LNKD] enabled at IRQ 10 [ 1.664813] virtio_blk virtio2: [vda] 39062500 512-byte logical blocks (20.0 GB/18.6 GiB) [ 1.670353] scsi host2: Virtio SCSI HBA [ 1.685505] virtio_net virtio0 ens2: renamed from eth0 [ 1.687573] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 1.689664] GPT:19531249 != 39062499 [ 1.690683] GPT:Alternate GPT header not at the end of the disk. [ 1.692325] GPT:19531249 != 39062499 [ 1.693429] GPT: Use GNU Parted to correct GPT errors. [ 1.694393] vda: vda1 vda14 vda15 [ 1.819269] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) [ 2.233670] vda: vda1 vda14 vda15 [ 2.303780] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) [ 2.462096] systemd[1]: Inserted module 'autofs4' [ 2.504107] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 2.508210] systemd[1]: Detected virtualization kvm. [ 2.509468] systemd[1]: Detected architecture x86-64. [ 2.522989] systemd[1]: Set hostname to . [ 2.525304] systemd[1]: Initializing machine ID from KVM UUID. [ 2.526224] systemd[1]: Installed transient /etc/machine-id file. [ 2.747923] systemd[1]: Reached target Swap. [ 2.750773] systemd[1]: Reached target Remote File Systems. [ 2.755331] systemd[1]: Created slice User and Session Slice. [ 2.758412] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 2.832187] EXT4-fs (vda1): re-mounted. Opts: discard,errors=remount-ro [ 2.927054] EXT4-fs (vda1): resizing filesystem from 491515 to 4850040 blocks [ 2.928598] EXT4-fs (vda1): resizing filesystem from 491515 to 4849664 blocks [ 3.012134] systemd-journald[259]: Received request to flush runtime journal from PID 1 [ 3.451080] EXT4-fs (vda1): resized filesystem to 4849664 [ 4.079689] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 4.081046] ACPI: Power Button [PWRF] [ 4.104903] EFI Variables Facility v0.08 2004-May-17 [ 4.113739] pstore: Using compression: deflate [ 4.114669] pstore: Registered efi as persistent store backend [ 4.331588] kvm: Nested Virtualization enabled [ 4.332281] kvm: Nested Paging enabled [ 4.627829] audit: type=1400 audit(1614777485.680:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/chronyd" pid=351 comm="apparmor_parser" [ 4.635721] audit: type=1400 audit(1614777485.688:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=350 comm="apparmor_parser" [ 4.638012] audit: type=1400 audit(1614777485.688:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=350 comm="apparmor_parser" [ 4.796470] audit: type=1400 audit(1614777485.848:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=354 comm="apparmor_parser" [ 4.799586] audit: type=1400 audit(1614777485.852:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=354 comm="apparmor_parser" [ 4.803262] audit: type=1400 audit(1614777485.856:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=354 comm="apparmor_parser" [ 4.809261] audit: type=1400 audit(1614777485.860:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=353 comm="apparmor_parser" [ 8.538753] EXT4-fs (vda1): resizing filesystem from 4849664 to 4850040 blocks [ 8.540528] EXT4-fs (vda1): resizing filesystem from 4849664 to 4849664 blocks sys_vendor: Scaleway product_name: SCW-DEV1-S product_version: pc-i440fx-bionic chassis_vendor: QEMU chassis_version: pc-i440fx-bionic bios_vendor: EFI Development Kit II / OVMF bios_version: 0.0.0 ** Loaded modules: nls_ascii nls_cp437 kvm_amd vfat fat kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel evdev serio_raw efi_pstore efivars qemu_fw_cfg button efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb virtio_net net_failover failover virtio_blk virtio_scsi crc32c_intel ata_generic ata_piix libata aesni_intel aes_x86_64 crypto_simd cryptd scsi_mod glue_helper virtio_pci virtio_ring virtio ** PCI devices: 00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02) Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Kernel driver in use: virtio-pci Kernel modules: virtio_pci 00:03.0 SCSI storage controller [0100]: Red Hat, Inc Virtio SCSI [1af4:1004] Subsystem: Red Hat, Inc Virtio SCSI [1af4:0008] Physical Slot: 3 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: virtio-pci Kernel modules: virtio_pci 00:04.0 SCSI storage controller [0100]: Red Hat, Inc Virtio block device [1af4:1001] Subsystem: Red Hat, Inc Virtio block device [1af4:0002] Physical Slot: 4 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: virtio-pci Kernel modules: virtio_pci ** USB devices: not available -- System Information: Debian Release: 10.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-13-cloud-amd64 (SMP w/2 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-image-4.19.0-13-cloud-amd64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.133+deb10u1 ii kmod 26-1 ii linux-base 4.6 Versions of packages linux-image-4.19.0-13-cloud-amd64 recommends: ii apparmor 2.13.2-10 pn firmware-linux-free Versions of packages linux-image-4.19.0-13-cloud-amd64 suggests: pn debian-kernel-handbook pn grub-pc | grub-efi-amd64 | extlinux pn linux-doc-4.19 Versions of packages linux-image-4.19.0-13-cloud-amd64 is related to: pn firmware-amd-graphics pn firmware-atheros pn firmware-bnx2 pn firmware-bnx2x pn firmware-brcm80211 pn firmware-cavium pn firmware-intel-sound pn firmware-intelwimax pn firmware-ipw2x00 pn firmware-ivtv pn firmware-iwlwifi pn firmware-libertas pn firmware-linux-nonfree pn firmware-misc-nonfree pn firmware-myricom pn firmware-netxen pn firmware-qlogic pn firmware-realtek pn firmware-samsung pn firmware-siano pn firmware-ti-connectivity pn xen-hypervisor -- no debconf information ------------=_1614947945-18586-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 983923-done) by bugs.debian.org; 5 Mar 2021 12:37:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02 (2018-09-13) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=4.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROMDEVELOPER,HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 129; neutral, 38; spammy, 1. spammytokens:0.919-+--offer hammytokens:0.000-+--H*F:U*carnil, 0.000-+--Hx-spam-relays-external:eldamar, 0.000-+--Hx-spam-relays-external:sk:80-218-, 0.000-+--H*rp:U*salvatore.bonaccorso, 0.000-+--Hx-spam-relays-external:sk:salvato Return-path: Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:38824) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lI9iF-0004Vc-V5; Fri, 05 Mar 2021 12:37:48 +0000 Received: by mail-ej1-x62d.google.com with SMTP id mj10so3154467ejb.5; Fri, 05 Mar 2021 04:37:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=PkmcaRsMLd/+dhSw9cCo7aZuEv9KRf45ncILb1bHyqk=; b=EgDrhuO6c53IFLUm8hfrXSMFVf+XdbUCms7KN/qPHbhnUAlFGluilUmKJPDrxvruLg Y/HrKy3a5NIpoQQ9sAwUAvjV2FsHz5MWTtWZPctqRk7HCk76pb1gGzlE5DvvUEToanih ZQ3ejjf8GZ6SU9BkGTEvr07C8wi/xo3CVXSrXztzxOkNQE1E2dHJkUYz5u/uMhL+9ofA GBe4bvbj5taQLbF70P8UEDzwWd7iv+lodg3qDYOlSMoblPP85ogMh4Mir/6Y/WM02UVT sUPmh8jnvNx8DxItMpZ5r8/UJItWLL+c/dTHNpjGQvH//nz4HSDjpj44mv4w2tJOXfHm aLbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=PkmcaRsMLd/+dhSw9cCo7aZuEv9KRf45ncILb1bHyqk=; b=MpCMZIE1QHoaKl1PL2HrKBrHb2ppzOy5vHZFHK0RTj/3K7RQl6RmhvqZxVODzogb8i lnFZ09ILUJQqmM4PRCkShjK9693r9fqts9BJs5PQnCy3BtR05DxoXVkHAquc8l/pyX74 Iz2sihFKHQBqfssiAGDUCTg71fiMRMWaAtQqQRK+ITvvufYdRqED2Q8v7QPfpoJlyFua jpeKL2YOA7cWvfeH3I7GiOXAOrmYjTQs2mLLixqX+Ht036NgbMNr8IJV/w8oPmskLmxh SgC4E8AJ8jdlv6SYgaEYVHZkbHBxCc2PRJ19E1tzKElITAk9P30cOx21/Wqk/S50fKAR GYUw== X-Gm-Message-State: AOAM533jgmTphWd1SpAnOWpC6r2xmXXyNClehscC4C6lDkrt8aSgTzDR otUyprubzZxt7BjSQmTHMTL2DPISysfQew== X-Google-Smtp-Source: ABdhPJzcMe5YFBxOhkhXDatlfJ9GFldaI+4gBroPTzfHuxRzpQHj2oPT4Atop3mULYU/mrDTuNJGNw== X-Received: by 2002:a17:906:f2d2:: with SMTP id gz18mr2022658ejb.454.1614947865420; Fri, 05 Mar 2021 04:37:45 -0800 (PST) Received: from eldamar (80-218-24-251.dclient.hispeed.ch. [80.218.24.251]) by smtp.gmail.com with ESMTPSA id r17sm1354097ejz.109.2021.03.05.04.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Mar 2021 04:37:44 -0800 (PST) Sender: Salvatore Bonaccorso Date: Fri, 5 Mar 2021 13:37:43 +0100 From: Salvatore Bonaccorso To: Louis Bouchard , 983923@bugs.debian.org Cc: Noah Meyerhans , 983923-done@bugs.debian.org Subject: Re: Bug#983923: linux-image-4.19.0-13-cloud-amd64: Please add CONFIG_MAXSMP to the linux-image-cloud-amd64 kernel Message-ID: References: <9e3a1da5-6618-5b5d-02aa-e9a27bc9d3f0@scaleway.com> <5191c502-2cb3-6c7d-1965-91e7d30fa5f9@scaleway.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5191c502-2cb3-6c7d-1965-91e7d30fa5f9@scaleway.com> Hi Louis, Noah, On Thu, Mar 04, 2021 at 12:52:28PM +0100, Louis Bouchard wrote: > Hello, > > > > > Do any of the cloud providers supported by the cloud kernel build > > (primarily AWS and Azure) offer VMs with >64 physical cores? > > > > noah > > > > After doing more research, it appears that the use of the -smp 96 option > without any other precision creates a VM with one core and 96 sockets. > > When using the option --smp cores=96 the VM is created with 96 cores and one > socket and the 4.19.0-13 boots correctly. > > So the addition of MAXSMP is not required to have a VM correctly started > with more than 64 cpus. > > Thanks for you attention, Thanks for the further turnarounds and clarifications. So I think we can close this bug now. Regards, Salvatore ------------=_1614947945-18586-0--