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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57BEAC433F5 for ; Mon, 11 Apr 2022 18:45:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349233AbiDKSru convert rfc822-to-8bit (ORCPT ); Mon, 11 Apr 2022 14:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347867AbiDKSro (ORCPT ); Mon, 11 Apr 2022 14:47:44 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47ABDDF5C for ; Mon, 11 Apr 2022 11:45:28 -0700 (PDT) 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() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT 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== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- 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. Thanks, //richard