Received: by 10.213.65.68 with SMTP id h4csp1342053imn; Wed, 4 Apr 2018 17:45:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/PF0TQjPCM4SZzB3S3Udqh9Elg+0MH0whK8t8mOmPOJvyhSnQ7wjkdXXYGKessrlBDfr/w X-Received: by 10.98.244.6 with SMTP id r6mr15310610pff.242.1522889113706; Wed, 04 Apr 2018 17:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522889113; cv=none; d=google.com; s=arc-20160816; b=vAjw2WGkPjQ6JBRaYGLImb7cOOkiXC6p6joADEmCH4V/a2rZIZh5sY4Nq5R+Aa4g2h HPnQ/PSCVTO17Iz1xqFKP5+1UCL59Vrko21rxHaGak5AWgYrIl4l0E3Xv8vK9jLPMc+U 6EUteKR01EQ520LQNTFHnhoMWHzOo+BViylstDh1bXXvgptp89uKWwdpgYtky1jBWHeq tQszNwrsNTjlrsOdnLSigWzygd464hLXBQC7bgxMPGYo1kRF4wGI9p60LCZaXMtsftay a/0sH2PAybsoKIoC2/Nnj01t9NX5/Ye5rH8VDel2A/DKxR2amOZW4mzSI+4HKtRQ25S3 id1A== 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=x/NcZi0Y+vkuRpRrhA9lv1J/3DeN0aMSJHrzAfz6d+Q=; b=L9Cl0/091HhSwzpKyeFB1gMYDdQvR1Z7KALdAq1c7fdjnoc73iPCEiBq9pvpNFk7yr y2mRlVb2MaPPUmEGj+ad6Mo8cTdqATMBJYxJ/lDikp9xh7k+uaJO7+Aw4T7KugvKtpKt wC96R7RI04sgnrtB+S6wKqSZtckoXalehdRMCycZJJL1j1RAQt2reMwoKO9Jt6wxGqLW mLCgzxuSMNATCSkqm4kwz6w9L3eQYsOYoGLeXlWp3xuojh3U6gzuzWW+jb1tauH/YBeQ q6xCbVD4NiSjdZQDK+EZynUNKyGbq7YiWdDF9hM7tdDlyCPaYqTacnoaHNlydCrzTYlo BtXg== 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 r63-v6si2335378plb.365.2018.04.04.17.44.59; Wed, 04 Apr 2018 17:45:13 -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 S1752668AbeDEAnz (ORCPT + 99 others); Wed, 4 Apr 2018 20:43:55 -0400 Received: from tn-76-7-174-50.sta.embarqhsd.net ([76.7.174.50]:55339 "EHLO animx.eu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752582AbeDEAny (ORCPT ); Wed, 4 Apr 2018 20:43:54 -0400 X-Greylist: delayed 1065 seconds by postgrey-1.27 at vger.kernel.org; Wed, 04 Apr 2018 20:43:53 EDT Received: from wakko by animx.eu.org with local (Exim 4.87 #3 (Debian Bug? What bug /\oo/\)) id 1f3sj7-0006m7-Uk; Wed, 04 Apr 2018 20:26:06 -0400 Date: Wed, 4 Apr 2018 20:26:05 -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: <20180405002605.GC10487@animx.eu.org> References: <20180331015903.GA29398@animx.eu.org> <20180331221252.GA25573@animx.eu.org> <20180401113721.GA8471@animx.eu.org> <20180401163604.GB25011@animx.eu.org> <20180401182723.GA31755@animx.eu.org> <595a10cfb387e6b2ab4d2053b84fed9b3da9e079.camel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <595a10cfb387e6b2ab4d2053b84fed9b3da9e079.camel@wdc.com> 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 Sun, 2018-04-01 at 14:27 -0400, Wakko Warner wrote: > > Wakko Warner wrote: > > > Wakko Warner wrote: > > > > I tested 4.14.32 last night with the same oops. 4.9.91 works fine. > > > > From the initiator, if I do cat /dev/sr1 > /dev/null it works. If I mount > > > > /dev/sr1 and then do find -type f | xargs cat > /dev/null the target > > > > crashes. I'm using the builtin iscsi target with pscsi. I can burn from > > > > the initiator with out problems. I'll test other kernels between 4.9 and > > > > 4.14. > > > > > > So I've tested 4.x.y where x one of 10 11 12 14 15 and y is the latest patch > > > (except for 4.15 which was 1 behind) > > > Each of these kernels crash within seconds or immediate of doing find -type > > > f | xargs cat > /dev/null from the initiator. > > > > I tried 4.10.0. It doesn't completely lockup the system, but the device > > that was used hangs. So from the initiator, it's /dev/sr1 and from the > > target it's /dev/sr0. Attempting to read /dev/sr0 after the oops causes the > > process to hang in D state. > > Hello Wakko, > > Thank you for having narrowed down this further. I think that you encountered > a regression either in the block layer core or in the SCSI core. Unfortunately > the number of changes between kernel versions v4.9 and v4.10 in these two > subsystems is huge. I see two possible ways forward: > - Either that you perform a bisect to identify the patch that introduced this > regression. However, I'm not sure whether you are familiar with the bisect > process. > - Or that you identify the command that triggers this crash such that others > can reproduce this issue without needing access to your setup. > > How about reproducing this crash with the below patch applied on top of > kernel v4.15.x? The additional output sent by this patch to the system log > should allow us to reproduce this issue by submitting the same SCSI command > with sg_raw. Sorry for not getting back in touch. My internet was down. I haven't tried the patch yet. I'll try to get to that tomorrow. The system with the issue is busy and I can't reboot it right now.