Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp51697lfv; Tue, 12 Apr 2022 16:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3WGPDrYbY+UT76D4ndn9PSJARFB+hLn33ELefNgKKa2eTwseduSwwBOPo/JJsAA7h5wyl X-Received: by 2002:a63:6286:0:b0:39d:94b2:fbc0 with SMTP id w128-20020a636286000000b0039d94b2fbc0mr4719721pgb.439.1649807820940; Tue, 12 Apr 2022 16:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649807820; cv=none; d=google.com; s=arc-20160816; b=AeXlLi89onAIMreqEXdlgzkNUd58J06AJRIvUAk7XzHKYuTT6FB2mwMlSWI2XeQnYo 6n8CCAg4PA/ik9T3cU+81a9JM7TvTb3GocgwHzUYLdCD2m4MudqkfC3JxgxIEsm0WRab 5KD+loyMTM8A3D8BHG2+LBQOtwe/m0LGO4dc18AM7kVJef2goY6u2Le42JZES/fYSu3I nBxUsz3OKtew4SRZav6NCayrVPgbASuECqHtzpXtitGPPzlh00MbolP2mALRqP+N1ksm 0ZBuBUZ66hnO8I65y1qw4ola0TcAjp2uhJjcQkleZW7kre8ujMdFhfWlxBLvLvscKB3v DGPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date; bh=+wVW9ZE+/mlV0zQh4w9i/B7cAyM/857WegqzFuK7jPY=; b=b36r7qQuYeUa2o0AIeB88K9XrWXFsbC+608kdjZl72xTehdXJqxb3YURTM1rECnSXG bsGlmK6vzFxmoYln5qdKMnRPsRhLknMapsAGjNJGXi7V2WzC/1sJmDIT+GP835emeS3w wGLcsd+YsX17kfDwOCgFAAVd7zlUtaER6f6NadiS3ldxr9oTIEi2xcaIklNZSvMnsiod xAw0+KNTSiA4mJZy3IctnQpWL0zoP8/ANk4yEUMDL6IQ9HLIQTzmNHINbAMuLoTF1Q5h Y6T2eVxYi5oZkC64AwtHIeF5rks6sMGtIiDH+htQWYcJUjtI8/0IwONR/kZHyRr6AQcZ FtYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y7-20020a17090322c700b00153b2d165e8si5210120plg.496.2022.04.12.16.57.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 85CF915AAE9; Tue, 12 Apr 2022 14:52:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349214AbiDKSrs convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Apr 2022 14:47:48 -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== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 ----- 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