From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) (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 469231840 for ; Mon, 11 Apr 2022 18:45:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 8331860F6B61; Mon, 11 Apr 2022 20:45:25 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2Hw1TfcMpRAi; Mon, 11 Apr 2022 20:45:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 21C2960F6B73; Mon, 11 Apr 2022 20:45:25 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id c5DjqaO2bHEL; Mon, 11 Apr 2022 20:45:25 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id E091060F6B61; Mon, 11 Apr 2022 20:45:24 +0200 (CEST) Date: Mon, 11 Apr 2022 20:45:24 +0200 (CEST) From: Richard Weinberger To: Nathan Chancellor Cc: Thorsten Leemhuis , Zhen Lei , Jeff Dike , anton ivanov , Andrew Morton , Eduard-Gabriel Munteanu , linux-um , linux-kernel , Nick Desaulniers , regressions Message-ID: <1287561645.244713.1649702724736.JavaMail.zimbra@nod.at> In-Reply-To: References: <20210508032239.2177-1-thunder.leizhen@huawei.com> <1b03d888-cea3-3e6f-087f-daeb5642a975@leemhuis.info> <1087614384.239493.1649583213699.JavaMail.zimbra@nod.at> Subject: Re: [PATCH 1/1] um: fix error return code in winch_tramp() Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: fix error return code in winch_tramp() Thread-Index: U06xC3VNSbJwBqt91Rla1kwYc9mhWA== ----- Urspr=C3=BCngliche 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. Thanks, //richard From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lithops.sigma-star.at ([195.201.40.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndz2f-00AEJI-RN for linux-um@lists.infradead.org; Mon, 11 Apr 2022 18:45:39 +0000 Date: Mon, 11 Apr 2022 20:45:24 +0200 (CEST) From: Richard Weinberger Message-ID: <1287561645.244713.1649702724736.JavaMail.zimbra@nod.at> In-Reply-To: References: <20210508032239.2177-1-thunder.leizhen@huawei.com> <1b03d888-cea3-3e6f-087f-daeb5642a975@leemhuis.info> <1087614384.239493.1649583213699.JavaMail.zimbra@nod.at> Subject: Re: [PATCH 1/1] um: fix error return code in winch_tramp() MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Nathan Chancellor Cc: Thorsten Leemhuis , Zhen Lei , Jeff Dike , anton ivanov , Andrew Morton , Eduard-Gabriel Munteanu , linux-um , linux-kernel , Nick Desaulniers , regressions LS0tLS0gVXJzcHLDvG5nbGljaGUgTWFpbCAtLS0tLQo+IFZvbjogIk5hdGhhbiBDaGFuY2VsbG9y IiA8bmF0aGFuQGtlcm5lbC5vcmc+Cj4gSSBhdHRlbXB0ZWQgdG8gcHJpbnQgb3V0IHRoZSBlcnJv ciBjb2RlIGJ1dCBpdCBzZWVtcyBsaWtlIHRoZXJlIGlzIG5vCj4gb3V0cHV0IGluIHRoZSBjb25z b2xlIGFmdGVyICJyZWJvb3Q6IFN5c3RlbSBoYWx0ZWQiLiBJZiBJIGFkZCBhbgo+IHVuY29uZGl0 aW9uYWwgcHJpbnQgcmlnaHQgYmVmb3JlIHRoZSBjYWxsIHRvIG9zX3NldF9mZF9ibG9jaygpLCBJ IHNlZSBpdAo+IGR1cmluZyBzdGFydCB1cCBidXQgSSBkbyBub3Qgc2VlIGl0IGR1cmluZyBzaHV0 ZG93bi4gSXMgdGhlcmUgc29tZSB3YXkKPiB0byBzZWUgdGhhdCBjb25zb2xlIG91dHB1dCBkdXJp bmcgc2h1dGRvd24/CgpJIHRoaW5rIGluIHRoaXMgY2FzZSB0aGUgZWFzaWVzdCB3YXkgaXMgYXR0 YWNoaW5nIGdkYiB3aXRoIGEgYnJlYWtwb2ludC4KClRoYW5rcywKLy9yaWNoYXJkCgpfX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpsaW51eC11bSBtYWlsaW5n IGxpc3QKbGludXgtdW1AbGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFk Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4LXVtCg==