Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2772511rdh; Mon, 30 Oct 2023 07:20:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IES99bl3etMH42JQqBqyN7wfRD67bAuYZ8IWOs6nndRok6mkB9M7WScTQtZEyIaN8Se3BmP X-Received: by 2002:a17:903:2807:b0:1cc:43a9:5ce9 with SMTP id kp7-20020a170903280700b001cc43a95ce9mr2342468plb.58.1698675605636; Mon, 30 Oct 2023 07:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698675605; cv=none; d=google.com; s=arc-20160816; b=WD31yREef8jn9vrNy5i1YBgmOSuAn4ulYFF990y2Z5hsK598RsfLLL6NyCG0XhhC+v 6EiwPP9Z/rR899s25Kyn9jPSZhji+lCSblK7NrrGoAW0gpH9QG6CrcoFeoEH1KJ2hy69 RnMvIJ8DRpHFHN+kFGtJaUSVfT0PO4UMvHUbKciPvh0r4HUYIj+/IQY5fn/eKh0fsTJz EK6GlZ52ytfFZoePbEv52wQYvZThsoAaZ2J+oQmk3SsodwzsQWUW0nATDvtiWlcb2rC2 mePtP5iaI4FCu525WCY8S/kvuTf8rxRtMUfSp+seeTw5onHOEE6HTkvO9BqmpUFczec0 qEhA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=DYjkZp3rISZuLeb5FkqvUXDjq1dfpSEOm5IN/Zzx9Hc=; fh=baBhhL6bT97cxU4q3FSsd/hoJiPfkCI3knkjtsO5Upc=; b=J7izuo8nrwfbozjtexhRJULS4yY04X4UCo5N5fWd4/IwiO2zHJxGsO9MD5V5/Damai AyKRXWrh9jtfB0GtLvs6f2lAOXapgw/kw16G4b8t2F31iSRNXeyDMk+mwHJeVF3Xo+ae VjlR958SIKfYDefQJHmNz3VrFwUSVlosDvRW5sPejq5nF0ZdcxmAIrtsybPGYCxRnZrO vHnbkzETwAzxafeLDdyobZWRFh6eu2GAmeQQwqnwFasyvH9O9EjtHqL7QrJZPIaVPkY9 /k9vOQPdlXQ9ZPyJxZZK254NWMPfWojqwqaZ/1N0mxUeqIIvRCEAPQeAdDeJSWovUMjo MsAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e17-20020a170902f1d100b0019c354055d0si4963324plc.304.2023.10.30.07.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 07:20:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D2AB3805F979; Mon, 30 Oct 2023 07:20:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233512AbjJ3OUB (ORCPT + 99 others); Mon, 30 Oct 2023 10:20:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233469AbjJ3OUA (ORCPT ); Mon, 30 Oct 2023 10:20:00 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 09AE0C0 for ; Mon, 30 Oct 2023 07:19:55 -0700 (PDT) Received: (qmail 672852 invoked by uid 1000); 30 Oct 2023 10:19:54 -0400 Date: Mon, 30 Oct 2023 10:19:54 -0400 From: Alan Stern To: Greg KH Cc: ariel marcovitch , johan@kernel.org, linux-usb@vger.kernel.org, Linux Kernel Mailing List Subject: Re: Gaps in logs while using usb-serial as a console Message-ID: <968c62ca-0ef2-4bf1-a17b-a6d88d5e2e20@rowland.harvard.edu> References: <2023103052-unpeeled-calibrate-ae48@gregkh> <2023103003-defection-recess-cf49@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023103003-defection-recess-cf49@gregkh> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_PASS,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 07:20:04 -0700 (PDT) On Mon, Oct 30, 2023 at 09:30:15AM +0100, Greg KH wrote: > On Mon, Oct 30, 2023 at 10:15:30AM +0200, ariel marcovitch wrote: > > > Please realize that usb-serial console was the result of me loosing a > > > drunken bet. It's amazing it works at all. For "fake" devices like > > LOL your drunken bet was quite helpful to some people > > Because modern PCs come without a serial port, I wanted to use it to > > see early logs on my crashing kernel without having to use printk > > delay and things like that. > > I'm curious as to how kernel people debug PCs in general... > > We use a usb debug port connection (it's a special cable). Sometimes people use netconsole (see Documentation/networking/netconsole.rst). I don't know how common it is nowadays, and it may not be quite as reliable as a debug port device, but it should still work. And it doesn't require special hardware. Alan Stern