Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp2176917lfo; Fri, 20 May 2022 16:34:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqKoGBTx+BwXplgkcxHnNE1QqQR7BMxFgT21qQcT1cecwwFiWa1JDCff+96WYhUgoV560G X-Received: by 2002:a17:906:dc89:b0:6f4:d3a9:34ed with SMTP id cs9-20020a170906dc8900b006f4d3a934edmr10809410ejc.459.1653089669728; Fri, 20 May 2022 16:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653089669; cv=none; d=google.com; s=arc-20160816; b=oBrue4u/M3sI3BjPBG+KYNGLZxbHMmq5TPK/MAWRq/9CNRYV+tyYdqJ53//tz8XmuN hi8XLjWwGTHMyv9kegfWfXo/Fjf4dWTuBeETKEZ2KRp4FFLRfP6kUhuGliqk7sWEulym WNia2odBueoDUNaDEMvV5xBt1VTQ52/vLpn3GSsEn9EzvmRNZsMLBgsHnG69VlOSQAci PwzOyQ/HZvEpiqyZ8KGu1gtDjHwb1K90Qm0sH3/kQAdqBwFW+AwsDmSC3s+FmYsbC61c hX3QWHABzwZVcsqTajiWvGmnKK8aofMUhKmVGaly9fsGmyh9slsXJ/uqKy8xz/ExD+9W kHtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3r6xU5JTPCOr/Xl+WYo0n4o/qgIIddrRiY6qZXLLWlU=; b=ozme2M/T1racpxdR9ttLWlV+p38Qsffsmz0ocOmhLdZeDq71BgoVD0ij/OjbvZNw1b 7EWrHsA2X0PROWyfVBtKnUyq1jsLHTuGfqSCpNxZ/GBhW/71fnzHqAKKTmoNY5MjnggK nMKjaUVFllXsY2IosVYxKJPyQGyllv3QDqeERNvC1BMJQXJqDOXl+8GGlNfC8MZDVcSR K/P7gxobboppbOBTjE+yyGUMnuHCu4WAWbTu6EV4ozpCCgQTKeUATEGpKZvyF+/93X2T 77JKqhM3JBXBEhbD6erfLdjF/YkS8ZagZXFQpOo+hqVJ2+7uTI9iJHzl9so7BzTpfAfJ tMkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mUn13IFY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv11-20020a170906b1cb00b006f42f3c3042si132628ejb.905.2022.05.20.16.34.03; Fri, 20 May 2022 16:34:29 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mUn13IFY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351195AbiETPzw (ORCPT + 99 others); Fri, 20 May 2022 11:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351181AbiETPzu (ORCPT ); Fri, 20 May 2022 11:55:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5FF6179C03 for ; Fri, 20 May 2022 08:55:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 369AA61DFE for ; Fri, 20 May 2022 15:55:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB2DCC385A9; Fri, 20 May 2022 15:55:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653062142; bh=y9dpjav6sCxityEiLHu4znk3I6mt/w3EcVr5TOkLl4M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mUn13IFYqIQZrsqcfmmrUty0l1WNYH4LdMIbm8VHBOAAP7OuvyO+zQy0aWwOCi9lZ QhMgN8xDdIcFz21cNVhLqZST1w78QABA6BCuNN/OcAmrURLaLuqEnOSAmVrU55DMS/ 164DvQ99TmKoHz6uZD9qzUXfsWOXp6Lig4pPAbZEO4s2DUFbnquhy1ZxryFV6rjjHG K4zW8T/91v6Iyy06oCHdTyaBkA6JwA4FbLas2tUIY6q36fewjMvu9l8SRyVsK7TQVd Y87DdaM4wsUs3Y+kI83G/dspOWaZ9rPhT1yVsVs5W00xt4Fqc+pV03K4cspUj9edyH LfEl6agC/I7tA== Date: Fri, 20 May 2022 08:55:40 -0700 From: Nathan Chancellor To: Thorsten Leemhuis Cc: Richard Weinberger , Zhen Lei , Jeff Dike , anton ivanov , Andrew Morton , Eduard-Gabriel Munteanu , linux-um , linux-kernel , Nick Desaulniers , regressions Subject: Re: [PATCH 1/1] um: fix error return code in winch_tramp() Message-ID: References: <20210508032239.2177-1-thunder.leizhen@huawei.com> <1b03d888-cea3-3e6f-087f-daeb5642a975@leemhuis.info> <1087614384.239493.1649583213699.JavaMail.zimbra@nod.at> <1287561645.244713.1649702724736.JavaMail.zimbra@nod.at> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Fri, May 20, 2022 at 08:08:01AM +0200, Thorsten Leemhuis wrote: > On 11.04.22 20:45, Richard Weinberger wrote: > > ----- Urspr?ngliche Mail ----- > >> Von: "Nathan Chancellor" > >> I attempted to print out the error code but it seems like there is no > >> output in the console after "reboot: System halted". If I add an > >> unconditional print right before the call to os_set_fd_block(), I see it > >> during start up but I do not see it during shutdown. Is there some way > >> to see that console output during shutdown? > > > > I think in this case the easiest way is attaching gdb with a breakpoint. > > I noticed this in my list of open regressions. It seems there wasn't any > progress to get this regression fixed (please let me know in case I > missed something), but I guess nobody considered it urgent which is > likely not that much of a problem in this case. Yes, sorry, I tried to get gdb to reveal something but I couldn't get it to work then I had to move onto other work. We have worked around this for the time being but it would still be nice to figure out what is going on here; I am just not sure when I am going to have time to participate in that process. Cheers, Nathan