Received: by 10.213.65.68 with SMTP id h4csp816758imn; Sat, 7 Apr 2018 10:12:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx48qyIpOa+BtH/T4eEmeqtkQHJIjnkbMNaPPONOK8FRppSIWoPvKsWtKKaxCswZo41HC2doo X-Received: by 10.99.178.88 with SMTP id t24mr21158323pgo.212.1523121135908; Sat, 07 Apr 2018 10:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523121135; cv=none; d=google.com; s=arc-20160816; b=SFNBbb/mumSpjuMAAPrbELMqkxc1PhIjLv83g566gXxJq6d363pDeX30fIaFWfxrlT y9i/NZp2nsZYmVoIcsYAibhFmOg7r3Z5HmXd+H9OmTntJx2k2qF0WVk8EfAD32aAiv5H cabLurrkLFAypuISUvaxAg0Ma1RY75vRzGpFJhHqLjSl71rElVJE9np5JHl9hjPA4NQZ +PQ2va7iHDkk9z/F8iuxkYlun2Hu8ba1tc7QYwG53wJMBTJTgLYnGBRnYCLhHf7f9v/3 hfG95pgad6MOGqxVPuh++gJyAPCy/hw36+jSxMCjTtW2GNCjp+eyr8l8M02eqRNpcit6 BU5Q== 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=R4YFUcdB7A6ueBT6n0oD6VZfRp4ZbLSl23qR77bripA=; b=KjT2NYzh4OePmC8RFg9ZL24Q8tQ2SyWVQG0LG0edSXhO6m5nLyHY+z9yOodlJdiPNT LVPxXu/I01TMknTc37N2LKKy8MW1X2g5mXWgZE/E0CXyrUm5T9y2r4Z9mCVSuKGijyAd 2Hh7EHm5KEFR2o6MfC2aSJnzgBsrUj0DkDconc7Zqypmtx1RDpWqqjegd5kcqtfzs1Eo 1t7wVkgCFze4j6k3imV+3cqCmO49HoRuZ/HU/jMFWIThJqPP4euhwfhPeVW3RUPWnzx8 Bxw1hQWzowa2JKLQgdo0FaZwhiTF70jgaWiHc+51PKYA9N7xHFPofVgnOE7SOUNT0aQV l/iA== 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 m11-v6si10845366pln.350.2018.04.07.10.11.39; Sat, 07 Apr 2018 10:12:15 -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 S1752230AbeDGRIo (ORCPT + 99 others); Sat, 7 Apr 2018 13:08:44 -0400 Received: from tn-76-7-174-50.sta.embarqhsd.net ([76.7.174.50]:56452 "EHLO animx.eu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751681AbeDGRIm (ORCPT ); Sat, 7 Apr 2018 13:08:42 -0400 Received: from wakko by animx.eu.org with local (Exim 4.87 #3 (Debian Bug? What bug /\oo/\)) id 1f4rKS-0001Mi-VI; Sat, 07 Apr 2018 13:08:41 -0400 Date: Sat, 7 Apr 2018 13:08:40 -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: <20180407170840.GB2515@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> <20180407165335.GA2515@animx.eu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180407165335.GA2515@animx.eu.org> 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 Wakko Warner wrote: > 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): > > After doing 3 successful compiles with good/bad, I got this error and was > not able to compile any more kernels: > CC scripts/mod/devicetable-offsets.s > scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode > /* empty file to figure out endianness / word size */ > > scripts/mod/devicetable-offsets.c:1:0: error: code model kernel does not support PIC mode > #include > > scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed > > I don't think it found the bad commit. I forgot to mention my gcc version. gcc (Debian 6.2.1-7) 6.2.1 20161215 -- Microsoft has beaten Volkswagen's world record. Volkswagen only created 22 million bugs.