From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F1EB63C for ; Wed, 30 Mar 2022 13:55:02 +0000 (UTC) Received: by mail-yb1-f178.google.com with SMTP id g9so34462583ybf.1 for ; Wed, 30 Mar 2022 06:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q91+udaPfkikoXVsmrkPYxbQ6mQZheByBkLR51EBLso=; b=QlKoswTnuWcy0GKiy459UIMZAEil7yMBJAPk3UUCoOZZ3ynW5YzHrKnf0PsG9TiWqj zg2BGpmbZxbEorRIE3OGkmJWmkxrm4XX9TX2G3pL2tavv8gYQTDLlIGaAiaP/FlXMkyJ 7lzBIQYBJy8Id/lRNy4lIEW3RinLniERxKfM2lWEwh5F1bXTZweVL8+HepwydIIaKLIf Xu6THxqoocaydEKFo7sp8soJPmIo3s7objjk8Uko6JMY/62lPjizNu+kJhUloAGD+ZHK aqTM0FKPvZj3mHDnN0/qmN0PsRRbM05GtcmAe74nSVzsoimN0EYNUIhstvkdEzGCAPQa 7ePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q91+udaPfkikoXVsmrkPYxbQ6mQZheByBkLR51EBLso=; b=wZ1xaUo+O6Gi3AmqeXp0HcXJGD6k3ItfyxcjFo2Oaj211u0oHcaaYGFUBHBf5Z0HCX ai1rkshtIe6/7ieOoD3Z/rHESKCaLsdwLrWVs4gDcYYnFnAvIkphlNZtCTnDDhyAFdJv FZOy5kwnKhTK/RVStAHZTrYY0BPUa01VRtS12qOrWyYQksdeaWkjGBCJNh1a38K5MfWG cYdRw9FbaOH72ygtMEjTKCZ5hV17ANAN3smoP1yxgz8LX9xVbuCst8DGIONAUDTOw1D1 1cjF3OkmoPz7NAVAHaZ+Im2aKtibmANTFabUXRVRcuV484ADgmIfhPZDrgljNxwdJEPP vBog== X-Gm-Message-State: AOAM5330KEQ3Z9XF7A5VcxuOHrt+BVaw2Otb6Kipf7KdC3XJe2tcgHuc m3wb38wEpmXyyxvnfoUs67pS9bxkwymnKIuh2rESJw== X-Google-Smtp-Source: ABdhPJyqnWcakti9oK8dCIkF3XFE6/D1gUZjFvowPmRBx0Zr0pP1x4y+gBIXnWZwlirsMlRE1F4tkx0flJ8w9wn072g= X-Received: by 2002:a25:a0c5:0:b0:633:63da:5ead with SMTP id i5-20020a25a0c5000000b0063363da5eadmr33457010ybm.412.1648648501392; Wed, 30 Mar 2022 06:55:01 -0700 (PDT) Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Wed, 30 Mar 2022 19:24:50 +0530 Message-ID: Subject: Re: mainline: qemu_arm64 boot failed - Failed to start Hostname Service - Stopped Serial Getty on ttyAMA0 To: Greg Kroah-Hartman Cc: open list , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Linux ARM , Jiri Slaby , Krzysztof Kozlowski , Vincent Whitchurch , Anders Roxell Content-Type: text/plain; charset="UTF-8" On Wed, 30 Mar 2022 at 13:54, Greg Kroah-Hartman wrote: > > > That's a lot of userspace logs, any kernel logs showing that anything > > > failed? > > > > I do not see kernel logs failures here. > > Great, then the kernel is working just fine! :) > > Seriously, without some sort of hint, it's going to be impossible for us > to know what to do here... Ander is bisecting this problem. OTOH, I am looking into test history and found the head commit is booting pass. The problem report I have sent is a head-1 test report. This means that, current Linus master boot pass. Do you see any relation of top fix commit vs the report I sent. BAD: 965181d7ef7e (head -1 ) GOOD: d888c83fcec75194a8 ( head) git log 965181d7ef7e..d888c83fcec75194a8 commit d888c83fcec75194a8a48ccd283953bdba7b2550 (HEAD -> linux-master, linux/master) Author: Linus Torvalds Date: Tue Mar 29 23:29:18 2022 -0700 fs: fix fd table size alignment properly Jason Donenfeld reports that my commit 1c24a186398f ("fs: fd tables have to be multiples of BITS_PER_LONG") doesn't work, and the reason is an embarrassing brown-paper-bag bug. Yes, we want to align the number of fds to BITS_PER_LONG, and yes, the reason they might not be aligned is because the incoming 'max_fd' argument might not be aligned. But aligining the argument - while simple - will cause a "infinitely big" maxfd (eg NR_OPEN_MAX) to just overflow to zero. Which most definitely isn't what we want either. The obvious fix was always just to do the alignment last, but I had moved it earlier just to make the patch smaller and the code look simpler. Duh. It certainly made _me_ look simple. Fixes: 1c24a186398f ("fs: fd tables have to be multiples of BITS_PER_LONG") Reported-and-tested-by: Jason A. Donenfeld Cc: Fedor Pchelkin Cc: Alexey Khoroshilov Cc: Christian Brauner Signed-off-by: Linus Torvalds - Naresh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B48BC433EF for ; Wed, 30 Mar 2022 13:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IW/RotOZXhg83k63Cw6WxTerDsr9QhpoJuGkbT2u+O8=; b=hVq4llByKpt5Zf 6jfStBJSLTOoOzqz1D2bOgKevZfQOzvAINpj7rjO1zeLowE8pfRtas1jWCwk99Qjw/X6N421yLP4k IrKUYd8h270HD3eMJSN2ZtWZgr6N5QdL33bMNm5FqZPJpYEQWOrghIEaNCRZCdg8QXabd98JeTH6E Si6fVkWmpBsSExUIZKVwswjndwaEOUm8ME5NAMT/8n2UgHAWjQRoxV1FV+i1yzVbxb5WZj0r1bS82 ByHNXGNOudd7nV+GaU9dPDPqAmxo0eAQ2LVJM/B/zcxBHgQImE1O+cCZCK9TRop3S/GztXVPZRaIo I57GRVKJI+6Xnl5B3h0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZYmw-00GAwG-Tn; Wed, 30 Mar 2022 13:55:07 +0000 Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZYmt-00GAvO-2L for linux-arm-kernel@lists.infradead.org; Wed, 30 Mar 2022 13:55:04 +0000 Received: by mail-yb1-xb2c.google.com with SMTP id o5so36916095ybe.2 for ; Wed, 30 Mar 2022 06:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q91+udaPfkikoXVsmrkPYxbQ6mQZheByBkLR51EBLso=; b=QlKoswTnuWcy0GKiy459UIMZAEil7yMBJAPk3UUCoOZZ3ynW5YzHrKnf0PsG9TiWqj zg2BGpmbZxbEorRIE3OGkmJWmkxrm4XX9TX2G3pL2tavv8gYQTDLlIGaAiaP/FlXMkyJ 7lzBIQYBJy8Id/lRNy4lIEW3RinLniERxKfM2lWEwh5F1bXTZweVL8+HepwydIIaKLIf Xu6THxqoocaydEKFo7sp8soJPmIo3s7objjk8Uko6JMY/62lPjizNu+kJhUloAGD+ZHK aqTM0FKPvZj3mHDnN0/qmN0PsRRbM05GtcmAe74nSVzsoimN0EYNUIhstvkdEzGCAPQa 7ePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q91+udaPfkikoXVsmrkPYxbQ6mQZheByBkLR51EBLso=; b=pzQdLgfuQF8vU7wZ+O5TUkIMS1ZxJRaI2/+XvXxc+8HmGBbSEVQfX1w/ok8ts6qgSR xHPiOpA4xOyYjSbsBu4yyMc03IZ8KLdZ3eRiB49dOy+J5JAILDajEFk2xwtRp8qLsNKc lQSNe2nPL/8oMNBCRur5DmLiLs7HQNuaUuahwInazrSwzzmhrkwf6RCT08dQpaaAGqPb 18K+6OTNfG7Z/h3AEIsu41E3kRlWk8t5vZg6eEu8rGKPI6WOYrctrL2xQIJNfB1zXPbZ p6m7cAebZf6ivl5KGi7NBfQrb13x6JzDHf1gDoOoxE0XOnU1dkhXc52emz9w1NrhLPH0 V71A== X-Gm-Message-State: AOAM531LDPjYMJg8i1ZZTS/mPZn1mzoLo2uCID4CeRz4lYdMeF8siYnP HVX6nvpp+bD5c3F3/H7CeGyctlkMizHh6nlgswtnKA== X-Google-Smtp-Source: ABdhPJyqnWcakti9oK8dCIkF3XFE6/D1gUZjFvowPmRBx0Zr0pP1x4y+gBIXnWZwlirsMlRE1F4tkx0flJ8w9wn072g= X-Received: by 2002:a25:a0c5:0:b0:633:63da:5ead with SMTP id i5-20020a25a0c5000000b0063363da5eadmr33457010ybm.412.1648648501392; Wed, 30 Mar 2022 06:55:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Wed, 30 Mar 2022 19:24:50 +0530 Message-ID: Subject: Re: mainline: qemu_arm64 boot failed - Failed to start Hostname Service - Stopped Serial Getty on ttyAMA0 To: Greg Kroah-Hartman Cc: open list , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Linux ARM , Jiri Slaby , Krzysztof Kozlowski , Vincent Whitchurch , Anders Roxell X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220330_065503_170972_6519BDD8 X-CRM114-Status: GOOD ( 17.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 30 Mar 2022 at 13:54, Greg Kroah-Hartman wrote: > > > That's a lot of userspace logs, any kernel logs showing that anything > > > failed? > > > > I do not see kernel logs failures here. > > Great, then the kernel is working just fine! :) > > Seriously, without some sort of hint, it's going to be impossible for us > to know what to do here... Ander is bisecting this problem. OTOH, I am looking into test history and found the head commit is booting pass. The problem report I have sent is a head-1 test report. This means that, current Linus master boot pass. Do you see any relation of top fix commit vs the report I sent. BAD: 965181d7ef7e (head -1 ) GOOD: d888c83fcec75194a8 ( head) git log 965181d7ef7e..d888c83fcec75194a8 commit d888c83fcec75194a8a48ccd283953bdba7b2550 (HEAD -> linux-master, linux/master) Author: Linus Torvalds Date: Tue Mar 29 23:29:18 2022 -0700 fs: fix fd table size alignment properly Jason Donenfeld reports that my commit 1c24a186398f ("fs: fd tables have to be multiples of BITS_PER_LONG") doesn't work, and the reason is an embarrassing brown-paper-bag bug. Yes, we want to align the number of fds to BITS_PER_LONG, and yes, the reason they might not be aligned is because the incoming 'max_fd' argument might not be aligned. But aligining the argument - while simple - will cause a "infinitely big" maxfd (eg NR_OPEN_MAX) to just overflow to zero. Which most definitely isn't what we want either. The obvious fix was always just to do the alignment last, but I had moved it earlier just to make the patch smaller and the code look simpler. Duh. It certainly made _me_ look simple. Fixes: 1c24a186398f ("fs: fd tables have to be multiples of BITS_PER_LONG") Reported-and-tested-by: Jason A. Donenfeld Cc: Fedor Pchelkin Cc: Alexey Khoroshilov Cc: Christian Brauner Signed-off-by: Linus Torvalds - Naresh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel