Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1240752rdb; Fri, 9 Feb 2024 15:13:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUEvcch/NkpV98y6QBj2XXYS2YSg8OWzEJOnV1gC2l8hxaZOMtx0+tzWHl4mIcyoSoELr0NZuIIPjZEDdSkz15lo8kpa8wr3ko0WrAGaw== X-Google-Smtp-Source: AGHT+IHp2DwfS42kwltwr5AvCFMTW/nCT1m6LstolEUN5TDBugwo92N/tdjll90XgXT7OSct3Mbi X-Received: by 2002:a17:906:4a15:b0:a37:1dee:a16f with SMTP id w21-20020a1709064a1500b00a371deea16fmr284412eju.71.1707520415007; Fri, 09 Feb 2024 15:13:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707520414; cv=pass; d=google.com; s=arc-20160816; b=0mK0QtFih/1+MhRfwzFkfaF/+VL7vT7X3j+8tonJKdovipOgj6QB2FPsdtRwpBAGOS /QIw69F1L/+STHzBwHY1VAPfk2IpF6puy/KsHS1Gmip1jOLefOPWRpsIoaqZ5vc1iyQL AP8WekzYgGchf7E75DHxls+21T74F8VzNscSHSTbfiJEGUifxd2EiGlCBCpXcQ4GbMhW G/8QW8rgl6V8K7fEufEHO6Uu0xB2IG8XjaFtetN87CTeStuOVgg11lis0CHU5QM/ruZy hhJdO3d3swwJmn78r5pHZAQaKDiw+BP8XlJRtFOcyWwU2HJqmMuwFKJDbk3n3YRUU0Aq zZ4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=f7VpLXkaZnyYw4ZAn+6l9WcMSrOCeJHNjRP6J5T3G+s=; fh=ChMIM1mCpXt005ACKlaLv4Xla4DLOynLbZlMjtEv/SI=; b=EdCxGKDlcqCwhEWiiz6sDFyugUVo2S3uU8rLuIJFPFAmlp/cyrwN2PRBkATplNWzUy UC5d/s2+fHCfseRdPrt2UdeNAs2gT80sv9eG/4jHc9QYRNFqgxj8AbDaAGtC/72EQOq1 347s/acfozngPrFhrZQ71W88fE6hOF/qdlNG0NYZAScoySDxD0wSqUxxGvGlR/kpcY2l ZcEp8M/M1tR/z1IwrtQug5qQR5df5KSedCYWHRcfKAxscu0VtQOKVGAdopAjKRZNxQej 20ETPhiZEssmfTx1RG0OFMmG2Dml3rzQ9Mskcp3M5l4AzBNgBJJYjIpLB1xb8mj+bYsR Y8ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=DTu7QvoC; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-60137-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60137-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCW8meXLkRSn6DZattOLIg4wDXB/HlNSOmF1Kk8MvZs01TS9jSXk60v4uCZXGUJ5wxWix6B+HYDvVcJ0ME6fyKagwqlShRPwy6g80bXytQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g11-20020a170906198b00b00a37a66bacccsi1316856ejd.369.2024.02.09.15.13.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 15:13:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60137-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=DTu7QvoC; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-60137-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60137-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B8DC11F25878 for ; Fri, 9 Feb 2024 23:13:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A236D38F9D; Fri, 9 Feb 2024 23:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DTu7QvoC" 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.subspace.kernel.org (Postfix) with ESMTPS id 10F2538392 for ; Fri, 9 Feb 2024 23:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707520394; cv=none; b=S73JT8u5yumIi4FQyShb3Ucvm5wiiNccd6Ki73rWHFEieod3xHTO3YmyWbPtH4WMdgHt2iXJW7TXTyqSg0Q48Dc9qbKaIFJPbQwJzhC8u4gDyvG92BT60BpmQkDipk2GEaUViSIIAE7NX+rZ1mdo8RhihY2taqMLKurN64ziLWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707520394; c=relaxed/simple; bh=uuEtxV5ALQgg4gSV6SbtQnnx2jogxdpn3fOeoMd9OM4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=d3qvoybpJL9CYnxvO4O5JjBWmcaXqxVNLUlBQq5UwkG2obodVcb08fFMM8KX4oE5WLYmmf4lH7lEfFqkU+kBOO4oDp0lPqBEV8UiGEyWrtxk/EB05+MVw7bGIPMaZTL8V2MG1pljhpWUdHXEp0ukQZQh+SYwaozEY2FBFEEs6Sk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=DTu7QvoC; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=f7VpLXkaZnyYw4ZAn+6l9WcMSrOCeJHNjRP6J5T3G+s=; b=DTu7QvoC0kGiSXt2VutNJetr1P /kFSFhX4twKqRTu9TlBBNfBdG5E6lUanYO2bjS+K6hci0feUcPrh5F/9DWKM7NSN6P/7kJ7/z82w1 z8tWUApRyGP2neRpNd95Cw2/9gmqP6ceqe6CZwDqW+gFOgfdoaJzDF83ERowTy9SoYWqvTodoMzv4 cID1af4QqcV0DNdF6r5eufZ9QxfvrD9RpUdJFRTy2RdbAiisEzRy++0arRRnXHrJf7W9b402ov0KW cEx8c0+2rBpdPuDoildGhmG2H/rYwQnAFZ2tn9z3dQKFKfGxTJOMb5b2D6dAV2eopQqtbuTsFTlci b+B2HEFQ==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYa3U-00000000qm4-1Wt2; Fri, 09 Feb 2024 23:13:12 +0000 Message-ID: Date: Fri, 9 Feb 2024 15:13:10 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] kernel: add boot param to disable stack dump on panic Content-Language: en-US To: Nir Lichtman , Bagas Sanjaya , linux-kernel@vger.kernel.org References: <20240206213902.GA1490631@lichtman.org> <20240208081425.GA1511946@lichtman.org> <81f2df0b-0780-458c-b432-5d61b78e8157@gmail.com> <20240209095049.GA1528371@lichtman.org> From: Randy Dunlap In-Reply-To: <20240209095049.GA1528371@lichtman.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/9/24 01:50, Nir Lichtman wrote: > On Fri, Feb 09, 2024 at 04:22:12PM +0700, Bagas Sanjaya wrote: >> On 2/8/24 15:14, Nir Lichtman wrote: >>> In a lot of cases when there is a kernel panic it obscures on the display the previous problem that caused it and the main >>> reason is that the call stack prints a lot of lines on the display - and there is no way to scroll back up. >>> What led me to make this patch is that I was working on running the kernel on my old computer and when I passed root=/dev/sda >>> to the kernel there was a panic and it could not start init, but since the call stack took almost all the space on the screen, >>> I couldn't see the available partitions the kernel does detects. >>> >>> After this patch, I could just pass in the new boot parameter I added here and then it would not print the call stack, >>> and I saw the line in which the kernel prints the available partitions. >>> >> >> Please don't top-post; reply inline with appropriate context instead. >> >> Thanks for the explanation. Now please send v2 with appropriate maintainers >> and lists Cc'ed (use scripts/get_maintainer.pl to find ones). Also read >> Documentation/process/submitting-patches.rst before sending. >> >> Ciao! >> >> -- >> An old man doll... just what I always wanted! - Clara >> > > Yah I read the docs about submitting patches and ran the get_maintainer script but it didn't find anything for the > changes I made (except documentation maintainers), I guess maybe the panic.c file has no main mantainer? True, it doesn't have a primary maintainer. You can use $ git log kernel/panic.c to see who has been merging patches for it. Examples: Andrew Morton Petr Mladek (printk or log buffer related) Ingo Molnar (preemption related) etc. If in doubt, Andrew Morton is usually a good guess. -- #Randy