Received: by 10.213.65.68 with SMTP id h4csp154873imn; Fri, 6 Apr 2018 18:10:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx49YFoEMHjSCAJBhAp1tSrXPVGdl5+ANI7C/3fpliu5TdnQTpm8dTr4WQURmAk0pLTTeHHOm X-Received: by 2002:a17:902:ab98:: with SMTP id f24-v6mr28935721plr.331.1523063434433; Fri, 06 Apr 2018 18:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523063434; cv=none; d=google.com; s=arc-20160816; b=QVfWYSmYkDZgU6irvPJzghBwGPdrYWu/rWJdWVoRhVtOg4bVOUpe1hzv9kyQqHpykm VQ5HQLXTjtqRcglB7RGzrlQ3PAs8whsNNn/esVVnKugZurxqFFgvYE8NbMV8oX4vNvVi U4V4L4IZqZD//vrrLPUs5DJkNkhE4rBFMfqKgcEVMkp/g+Y4s79lccI+b/s8aIjmqEos /PSN0kXAZtCkNst4cWHnaFQblEGcM6Bu7o5aDvequJttPWoFPGVgLfvNnVTkPzCMnLHz SD4BT/NYJoBaV02rXPV/OfeGpNH8oXgN3eso100hzls5UEQdaMhZgCmufBOWHK5S0uwL KNVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=+GvyluhE4b+kMWx8m7rz8ktciVRdrO55ZcBNkuRelB8=; b=pZ9OjzB7b9HwZZ+PnCRLDGRARHWjQUPLHunhSuKWwPvts6SZos17CmZmrVwKGn1c5x +DRbypuOmlsAy5vOMoepVh9yTzwmNS/XBKlfzVVGX9aeKrRBeOFGNtgMlfz9nZZ2SF7R X7wLtLDXkFViCMPdtEYqtIWW5z0R7roSNP0WdoqilCZpbaWP4Qn0IeZbxwkAI7s52qEC UkRWE39ZmJQ0CcPMrfxwbuQHDkVKjKTc77xb8kpJO+Q3Tn+5L898AlF0e0I/Y2wpFQxG U6QvBBfkBhnT9ENxCcuZ1EORs4fnj5AL9Jks5W4Mqo0bTqvPBXxEX6A5FHg+XTMnkfJ/ 2Y1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si7700208pgv.822.2018.04.06.18.09.57; Fri, 06 Apr 2018 18:10:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752463AbeDGBDj (ORCPT + 99 others); Fri, 6 Apr 2018 21:03:39 -0400 Received: from tn-76-7-174-50.sta.embarqhsd.net ([76.7.174.50]:55823 "EHLO animx.eu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751488AbeDGBDh (ORCPT ); Fri, 6 Apr 2018 21:03:37 -0400 Received: from wakko by animx.eu.org with local (Exim 4.87 #3 (Debian Bug? What bug /\oo/\)) id 1f4cGU-0002xv-TC; Fri, 06 Apr 2018 21:03:35 -0400 Date: Fri, 6 Apr 2018 21:03:34 -0400 From: Wakko Warner To: Bart Van Assche Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "richard.weinberger@gmail.com" , "linux-block@vger.kernel.org" Subject: Re: 4.15.14 crash with iscsi target and dvd Message-ID: <20180407010334.GA11092@animx.eu.org> References: <20180331221252.GA25573@animx.eu.org> <20180401113721.GA8471@animx.eu.org> <20180401163604.GB25011@animx.eu.org> <20180401182723.GA31755@animx.eu.org> <595a10cfb387e6b2ab4d2053b84fed9b3da9e079.camel@wdc.com> <20180406014644.GA16112@animx.eu.org> <20180406020651.GB16112@animx.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bart Van Assche wrote: > On Thu, 2018-04-05 at 22:06 -0400, Wakko Warner wrote: > > I know now why scsi_print_command isn't doing anything. cmd->cmnd is null. > > I added a dev_printk in scsi_print_command where the 2 if statements return. > > Logs: > > [ 29.866415] sr 3:0:0:0: cmd->cmnd is NULL > > That's something that should never happen. As one can see in > scsi_setup_scsi_cmnd() and scsi_setup_fs_cmnd() both functions initialize > that pointer. Since I have not yet been able to reproduce myself what you > reported, would it be possible for you to bisect this issue? You will need > to follow something like the following procedure (see also > https://git-scm.com/docs/git-bisect): > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git bisect start > git bisect bad v4.10 > git bisect good v4.9 > > and then build the kernel, install it, boot the kernel and test it. > Depending on the result, run either git bisect bad or git bisect good and > keep going until git bisect comes to a conclusion. This can take an hour or > more. I have 1 question. Should make clean be done between tests? My box compiles the whole kernel in 2 minutes. -- Microsoft has beaten Volkswagen's world record. Volkswagen only created 22 million bugs.