Re: 4.15.14 crash with iscsi target and dvd

From: Wakko Warner
Date: Sun Apr 01 2018 - 07:38:14 EST


Bart Van Assche wrote:
> On Sat, 2018-03-31 at 18:12 -0400, Wakko Warner wrote:
> > Richard Weinberger wrote:
> > > On Sat, Mar 31, 2018 at 3:59 AM, Wakko Warner <wakko@xxxxxxxxxxxx> wrote:
> > > > I reported this before but noone responded.
> > >
> > > Because you're sending only to LKML.
> > > CC'ing storage folks.
> >
> > Thank you. I wasn't sure who I needed to send it to.
>
> Can you share the output of lsscsi? I would like to know whether or not you
> are using a (S)ATA CDROM.

>From the target:
[4:0:0:0] cd/dvd ATAPI iHAS224 B GL05 /dev/sr0
[5:0:0:0] cd/dvd ATAPI iHAS422 8 4L11 /dev/sr1
[6:0:0:0] cd/dvd PBDS DVD+-RW DH-16W1S 2D14 /dev/sr2

>From the initiator:
[19:0:0:0] cd/dvd ATAPI iHAS224 B GL05 /dev/sr1
[19:0:0:1] cd/dvd ATAPI iHAS422 8 4L11 /dev/sr2
[19:0:0:2] cd/dvd PBDS DVD+-RW DH-16W1S 2D14 /dev/sr3


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.