Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1667113pxm; Thu, 24 Feb 2022 07:17:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzIgburYvcdPO6S85lPn8adIiq1hOkMTptsNkAI5kNn7Vk2E9UosBHKRa0B8q0J82aFuZs X-Received: by 2002:a63:e543:0:b0:373:efe3:6f46 with SMTP id z3-20020a63e543000000b00373efe36f46mr2690087pgj.183.1645715829587; Thu, 24 Feb 2022 07:17:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645715829; cv=none; d=google.com; s=arc-20160816; b=fdtENlN+k1XttnPR4IQPg72cDjzM04UZMOjFmhGdpbhZE/QyaUmW0lTAik23vzSh8U e3ifwQNWGi1ufB+xjOl8ASWlWqLRuhlLNDgay85YO6NU0q8+Sho+j1nt7V+ButcIOi6q YkTHQzngNXj4J3gBdVYTiaSJxHatdOWuu+MUYRZyYGzIIR5QmNzHJmcsyaBH/kF+B5nG Uptkoz4ukzYaq8vDr0pV2Vq4/cLwp2Zp3MH3rOA9JDoCpjkf9sZwnVf0IYSSrKDVRMdQ dQ1AHlSGoOYwPdGy5zBPykcHodTJ9+drykWdPdghBq+9KZMmETfN08GiGQMW9w9y0FtO 9/Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version:dkim-signature; bh=U1Serj9HWMW/oXYgmC1Rsp6t8gZrl/v31HBeiGDPdW4=; b=NxjX5bL+WlNjEf0abyE9ysiqmBSjrxndZ71rUOrVycVx1JPV8v342UPEYZWEuCF0mx adWypr0mHJWAh6kvVFB2kiCVesld7Qr3r125y0udSxl+8T0wKK/COtBN+bpDW7HnR1EE B5bz4VrVVaAKvOaCGJtQZJEo4U/esq91jiP2/gIteawmip5234stCEGQ7miRGGcrowul qpU/exzRqXy/lwMWk1oaLvd65zZv4VDjbsxKxFGicme9nF1DBoF/SG8yHqR6liZRVzG/ 3QzjDscZy1uavh8vADKk4M0LxRn6aVW+b9ZoeUlP8raMEFY0jrCmYpmtXdf8VMFV0u46 Pjwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@matoro.tk header.s=20220111215046 header.b=OYghG0ZP; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=matoro.tk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18si2990164plg.397.2022.02.24.07.16.47; Thu, 24 Feb 2022 07:17:09 -0800 (PST) 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; dkim=pass header.i=@matoro.tk header.s=20220111215046 header.b=OYghG0ZP; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=matoro.tk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235578AbiBXOiV (ORCPT + 99 others); Thu, 24 Feb 2022 09:38:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235570AbiBXOiS (ORCPT ); Thu, 24 Feb 2022 09:38:18 -0500 X-Greylist: delayed 909 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 24 Feb 2022 06:37:44 PST Received: from matoro.tk (unknown [IPv6:2600:1700:4b10:9d80::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 137329D0C2; Thu, 24 Feb 2022 06:37:42 -0800 (PST) DKIM-Signature: a=rsa-sha256; bh=U1Serj9HWMW/oXYgmC1Rsp6t8gZrl/v31HBeiGDPdW4=; c=relaxed/relaxed; d=matoro.tk; h=Subject:Subject:Sender:To:To:Cc:Cc:From:From:Date:Date:MIME-Version:MIME-Version:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Reply-To:In-Reply-To:In-Reply-To:Message-Id:Message-Id:References:References:Autocrypt:Openpgp; i=@matoro.tk; s=20220111215046; t=1645712524; v=1; x=1646144524; b=OYghG0ZP+iuW2kkTQeOuixHFPq878+wQ3HhdKX/+sGY09GTDTQFDIubVowj2KCUAMa6hGg5z emJxwo7k7iwM+JXu+3yE3DQsx9HG4ZBJFjS7BSFq9MSKfoo49MhkWqwuAJEne4d1p2n+MK3w3H8 nhuIW5JuvEJLWhiNLUwOESPgCTRpscLtEwNsfWc0aDp2LixMpHlSmIO3VnR7RTqooKC9CJ452ta UM/qxfqM6Nlt5xE5jAS8lL/ueEDBCRO0qXA1nFOqZlgmtbsnnC34+1V9rWsHe+kOSZvMMUBiJFB K4HJAmTDISfkfJWq4HoGTEVo0ctw8pdW/tc5RR+gFhe9y5izzW0GcfFP8gvPREsJRbIYTHEZveH NJIUWtL5448BOMyUyVZJd8eXKj7O6wIfQYM5zT+W6lbbIGrxx6rNVZYEZmPnkite3l2zZVqeykW dCiw9yfIpH+X2yA4GZY9Gcn3xQzZozeYYlW/Q97jERXi6XkljbaZD4a3xtRGCiHv3oNAuM+Dq7w wbitZLVe9+B/0pgWjr3tva2lqhvnaBM4DX13iSpzOlTQPjc59ofE0WA1pB734Psd/WzIez+xhhJ 5uI3scCkVBLSXtxRDzqLthxm5AUzUYmDZ28l+DVLASRcTR9KsEqNWlrE/Qss9Etj2UT9EQdVjTg RrbyoJjcB0U= Received: by matoro.tk (envelope-sender ) with ESMTPS id f168343e; Thu, 24 Feb 2022 09:22:04 -0500 MIME-Version: 1.0 Date: Thu, 24 Feb 2022 09:22:04 -0500 From: matoro To: John Paul Adrian Glaubitz Cc: Kees Cook , Thorsten Leemhuis , Anthony Yznaga , matoro_bugzilla_kernel@matoro.tk, Andrew Morton , regressions@lists.linux.dev, linux-ia64@vger.kernel.org, Linux-fsdevel , Linux Kernel Mailing List , Alexander Viro Subject: Re: regression: Bug 215601 - gcc segv at startup on ia64 In-Reply-To: <7e3a93e7-1300-8460-30fb-789180a745eb@physik.fu-berlin.de> References: <823f70be-7661-0195-7c97-65673dc7c12a@leemhuis.info> <03497313-A472-4152-BD28-41C35E4E824E@chromium.org> <94c3be49-0262-c613-e5f5-49b536985dde@physik.fu-berlin.de> <9A1F30F8-3DE2-4075-B103-81D891773246@chromium.org> <4e42e754-d87e-5f6b-90db-39b4700ee0f1@physik.fu-berlin.de> <202202232030.B408F0E895@keescook> <7e3a93e7-1300-8460-30fb-789180a745eb@physik.fu-berlin.de> Message-ID: <65ed8ab4fad779fadf572fb737dfb789@matoro.tk> X-Sender: matoro_mailinglist_kernel@matoro.tk Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Kees, I can provide live ssh access to my system exhibiting the issue. My system is a lot more stable due to using openrc rather than systemd, for me GCC seems to be the only binary affected. Would that be helpful? On 2022-02-24 04:33, John Paul Adrian Glaubitz wrote: > Hi Kees! > > On 2/24/22 06:16, Kees Cook wrote: >>> You should be able to extract the binaries from this initrd image and >>> the "mount" command, >>> for example, should be one of the affected binaries. >> >> In dmesg, do you see any of these reports? >> >> pr_info("%d (%s): Uhuuh, elf segment at %px requested >> but the memory is mapped already\n", >> task_pid_nr(current), current->comm, (void >> *)addr); > > I'll check that. > >> I don't see anything out of order in the "mount" binary from the above >> initrd. What does "readelf -lW" show for the GCC you're seeing >> failures >> on? > > I'm not 100% sure whether it's the mount binary that is affected. What > happens is that once init takes over, > I'm seeing multiple "Segmentation Fault" message on the console until > I'm dropped to the initrd shell. > > I can check what dmesg says. > > Adrian