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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B8D5C31E43 for ; Mon, 10 Jun 2019 16:20:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6A23A2085A for ; Mon, 10 Jun 2019 16:20:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404128AbfFJQUs (ORCPT ); Mon, 10 Jun 2019 12:20:48 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:35368 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S2388996AbfFJQUs (ORCPT ); Mon, 10 Jun 2019 12:20:48 -0400 Received: (qmail 5253 invoked by uid 2102); 10 Jun 2019 12:20:47 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Jun 2019 12:20:47 -0400 Date: Mon, 10 Jun 2019 12:20:47 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Andrea Vai cc: Greg KH , Subject: Re: Slow I/O on USB media In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Mon, 10 Jun 2019, Andrea Vai wrote: > Il giorno lun, 10/06/2019 alle 10.40 -0400, Alan Stern ha scritto: > > > > > > [...] > > Thank you Alan and Greg for your patience and answer. I will carefully > consider all the advice you gave me, but one in particular stands out > to me first: > > > Not setting up the .config file properly for each build. > > How should I set up the .config file properly for each build? What I > did so far was > > cp -v /boot/config-$(uname -r) .config > > (when I was using a "working kernel", maybe the Fedora one) before the > first build, then never touched the .config dir again during the > bisection. In theory, the best approach is to always start from a single, fixed configuration, such as the one your Fedora kernel came with. In practice it may not matter very much. > (Also, I use to press ENTER to accept all default choices when > compiling, is that correct?) As long as the resulting kernel runs okay and includes the drivers you need, it's okay. Just try to minimize the differences among the various kernels you build. Alan Stern