Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp53822rdb; Thu, 7 Sep 2023 13:21:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHhX8xR5ivDrR7GNQBCDw2HRA17ohdJwj8Mv2jph5vnoM61vwCShttulKbrJEfLE+p1AGkj X-Received: by 2002:a50:fe8e:0:b0:52c:84c4:a0bf with SMTP id d14-20020a50fe8e000000b0052c84c4a0bfmr258477edt.30.1694118073951; Thu, 07 Sep 2023 13:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694118073; cv=none; d=google.com; s=arc-20160816; b=bCa+XxuOyzeK+sAIOqkZSXcb3XYTWCsdNzeGmbTfY1MsgP0leSJj+Rk9bCfQPfZu53 lDEwoil5DKARiIFEPaaAGVyOx2lJMY6qeoiLOYPGzp8T4p7Tq2YNw1C7sULz/Iaua4U/ ViOtVwy5LR/cgZD2JwnV+uYbABkHdB3mZXA1kflN6X7wJ7I41I9hXK+yscyPTzgK+0DX ApYu60q+p617fNjaxFzNFSPoZ20vPIE0TDom8DWQCw6N/NscqZiswXX+OqGBelPMPChW BsMAjvZ501LDWkJrkJv9x9Z9grFVjQfKXH3BONaKiN+/l0+HfTMVWRDe+yIWQzqF5oJm fRNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=jy/N12BGLZEW/MtM1jAe+ZBLZBxe5J1o0FX0Iy+pNQ4=; fh=60DAyHmXD5ufYQ6R77RXoNIWUq1oXnMuVCGGaiWlIaY=; b=jcLtbWs5HlR3iP14dIbPzN0jOza3L8AIgeASTFajepTMo8Huz5F4+3GQdrYZvtqEwQ dAQIV1w8nuUOwR8Dqt5cZVCMZ7uV5UKkZvlxvaNkc20Z2ZTzvTJ+MUbfJW2iL0dUujSs SJmYSsu/xQH4HJoXzaGBoLwwBElQgeR4DmgXYakwAKfMkRxyt4Z9NJhIZxQ71fwyG/ti PZj9lSXA7udbxl7MrVwy7l/PUkw2PhJe5ZskyELNSOObzTQudM8VBMoImUk1XHlgnqpV vwNBbLqBZzZCM1NNWpflhK5oPExhzkjQAU+6LsDDBnNW8mVuqTYR+5VeGEE+CznTpPBy GzuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20-20020aa7d754000000b0052a48148227si194180eds.361.2023.09.07.13.21.02; Thu, 07 Sep 2023 13:21:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241454AbjIGRKc (ORCPT + 33 others); Thu, 7 Sep 2023 13:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239295AbjIGRKc (ORCPT ); Thu, 7 Sep 2023 13:10:32 -0400 Received: from torres.zugschlus.de (torres.zugschlus.de [85.214.160.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CA251FCF for ; Thu, 7 Sep 2023 10:10:03 -0700 (PDT) Received: from mh by torres.zugschlus.de with local (Exim 4.96) (envelope-from ) id 1qeC1q-006qTE-1u; Thu, 07 Sep 2023 12:14:26 +0200 Date: Thu, 7 Sep 2023 12:14:26 +0200 From: Marc Haber To: Tony Lindgren Cc: Sean Christopherson , Bagas Sanjaya , linux-kernel@vger.kernel.org, Linux Regressions , Linux KVM , Paolo Bonzini Subject: Re: Linux 6.5 speed regression, boot VERY slow with anything systemd related Message-ID: References: <20230901122431.GU11676@atomide.com> <20230906152107.GD11676@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230906152107.GD11676@atomide.com> User-Agent: Mutt/2.2.9 (2022-11-12) X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 06, 2023 at 06:21:07PM +0300, Tony Lindgren wrote: > * Marc Haber [230906 14:41]: > > If I cannot see the host boot, I cannot debug, and if I cannot type into > > grub, I cannot find out whether removing the serial console from the > > kernel command line fixes the issue. I have removed the network > > interface to simplify things, so I need a working console. > > I use something like this for a serial console: > > -serial stdio -append "console=ttyS0 other kernel command line options" Looks like my problem was that I had "-S" on my qemu command line with didn't even start the VM after setting it up. Removing the -S makes VNC and the serial console work. The most basic reproducer I found is: /usr/bin/qemu-system-x86_64 \ -m 768 \ -machine pc-i440fx-2.1,accel=kvm,usb=off,dump-guest-core=off \ -nodefaults \ -drive file=/dev/prom/lasso2,format=raw,if=none,id=drive-virtio-disk0,cache=none,discard=unmap,aio=native \ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=on \ -serial stdio Simplifying the drive and device virtio-blk-pci lines prevents the initramfs of the VM from finding the disk and thus the system doesn't get as far to show the issue. If you want to see it work, add -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 \ -vnc :1 point a vncviewer to port 5901, remove the "serial=ttyS0" configuration and see the system run normally. What else can I do? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421