2014-11-29 10:51:53

by Simon Danner

[permalink] [raw]
Subject: Crash when copying from broken external hdd

Hello,
i get the following crash after i try to copy files from a broken
external hdd to another external hdd.
It happens after a few minutes, with latest git and 3.17.4 from Arch.
Attached screenshot is from latest mainline git.

i hope this can be fixed somehow,
Regards Simon Danner


Attachments:
new.jpg (210.31 kB)

2014-11-30 11:11:59

by Richard Weinberger

[permalink] [raw]
Subject: Re: Crash when copying from broken external hdd

On Sat, Nov 29, 2014 at 11:52 AM, Simon Danner <[email protected]> wrote:
> Hello,
> i get the following crash after i try to copy files from a broken
> external hdd to another external hdd.
> It happens after a few minutes, with latest git and 3.17.4 from Arch.
> Attached screenshot is from latest mainline git.
>
> i hope this can be fixed somehow,
> Regards Simon Danner

Can you decode scsi_requed_end+0x122?
CC'ing block and scsi folks.

--
Thanks,
//richard

2014-11-30 15:58:29

by Laurence Oberman

[permalink] [raw]
Subject: Re: Crash when copying from broken external hdd

I need more of the stack if you have it, the screenshot is not attached.
Thanks
Laurence

On Sun, Nov 30, 2014 at 6:11 AM, Richard Weinberger
<[email protected]> wrote:
> On Sat, Nov 29, 2014 at 11:52 AM, Simon Danner <[email protected]> wrote:
>> Hello,
>> i get the following crash after i try to copy files from a broken
>> external hdd to another external hdd.
>> It happens after a few minutes, with latest git and 3.17.4 from Arch.
>> Attached screenshot is from latest mainline git.
>>
>> i hope this can be fixed somehow,
>> Regards Simon Danner
>
> Can you decode scsi_requed_end+0x122?
> CC'ing block and scsi folks.
>
> --
> Thanks,
> //richard
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2014-11-30 16:42:34

by Richard Weinberger

[permalink] [raw]
Subject: Re: Crash when copying from broken external hdd

Am 30.11.2014 um 17:36 schrieb Simon Danner:
> Hi,
> here the two screenshots i could take, from 3.17.4 and 3.18 git.

You're hitting BUG_ON(blk_queued_rq(req)); in blk_finish_request()

Thanks,
//richard

> Thanks
> Simon
>
> On Sun, 2014-11-30 at 10:58 -0500, Laurence Oberman wrote:
>> I need more of the stack if you have it, the screenshot is not attached.
>> Thanks
>> Laurence
>>
>> On Sun, Nov 30, 2014 at 6:11 AM, Richard Weinberger
>> <[email protected]> wrote:
>>> On Sat, Nov 29, 2014 at 11:52 AM, Simon Danner <[email protected]> wrote:
>>>> Hello,
>>>> i get the following crash after i try to copy files from a broken
>>>> external hdd to another external hdd.
>>>> It happens after a few minutes, with latest git and 3.17.4 from Arch.
>>>> Attached screenshot is from latest mainline git.
>>>>
>>>> i hope this can be fixed somehow,
>>>> Regards Simon Danner
>>>
>>> Can you decode scsi_requed_end+0x122?
>>> CC'ing block and scsi folks.
>>>
>>> --
>>> Thanks,
>>> //richard
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>>> the body of a message to [email protected]
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

2014-11-30 20:55:08

by Laurence Oberman

[permalink] [raw]
Subject: Re: Crash when copying from broken external hdd

The BUG_ON is taken because
blk_queued_rq(req)) returns true which means the request->queuelist is
empty, i.e no more entries by the time the request is dereferenced

Can I get the messages file entries (last 100 lines) just prior to the
panic, not the whole file.
If its large attach .gz and email to me.

Thanks

On Sun, Nov 30, 2014 at 11:42 AM, Richard Weinberger <[email protected]> wrote:
> Am 30.11.2014 um 17:36 schrieb Simon Danner:
>> Hi,
>> here the two screenshots i could take, from 3.17.4 and 3.18 git.
>
> You're hitting BUG_ON(blk_queued_rq(req)); in blk_finish_request()
>
> Thanks,
> //richard
>
>> Thanks
>> Simon
>>
>> On Sun, 2014-11-30 at 10:58 -0500, Laurence Oberman wrote:
>>> I need more of the stack if you have it, the screenshot is not attached.
>>> Thanks
>>> Laurence
>>>
>>> On Sun, Nov 30, 2014 at 6:11 AM, Richard Weinberger
>>> <[email protected]> wrote:
>>>> On Sat, Nov 29, 2014 at 11:52 AM, Simon Danner <[email protected]> wrote:
>>>>> Hello,
>>>>> i get the following crash after i try to copy files from a broken
>>>>> external hdd to another external hdd.
>>>>> It happens after a few minutes, with latest git and 3.17.4 from Arch.
>>>>> Attached screenshot is from latest mainline git.
>>>>>
>>>>> i hope this can be fixed somehow,
>>>>> Regards Simon Danner
>>>>
>>>> Can you decode scsi_requed_end+0x122?
>>>> CC'ing block and scsi folks.
>>>>
>>>> --
>>>> Thanks,
>>>> //richard
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>>>> the body of a message to [email protected]
>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>

2014-12-01 08:38:52

by Simon Danner

[permalink] [raw]
Subject: Re: Crash when copying from broken external hdd

Here is the log,
apparently i wasn't using 3.17.4 at that time, but since i got the same
crash with 3.18-git i think it shouldn't matter.


Thanks
Simon
On Sun, 2014-11-30 at 15:55 -0500, Laurence Oberman wrote:
> The BUG_ON is taken because
> blk_queued_rq(req)) returns true which means the request->queuelist is
> empty, i.e no more entries by the time the request is dereferenced
>
> Can I get the messages file entries (last 100 lines) just prior to the
> panic, not the whole file.
> If its large attach .gz and email to me.
>
> Thanks
>
> On Sun, Nov 30, 2014 at 11:42 AM, Richard Weinberger <[email protected]> wrote:
> > Am 30.11.2014 um 17:36 schrieb Simon Danner:
> >> Hi,
> >> here the two screenshots i could take, from 3.17.4 and 3.18 git.
> >
> > You're hitting BUG_ON(blk_queued_rq(req)); in blk_finish_request()
> >
> > Thanks,
> > //richard
> >
> >> Thanks
> >> Simon
> >>
> >> On Sun, 2014-11-30 at 10:58 -0500, Laurence Oberman wrote:
> >>> I need more of the stack if you have it, the screenshot is not attached.
> >>> Thanks
> >>> Laurence
> >>>
> >>> On Sun, Nov 30, 2014 at 6:11 AM, Richard Weinberger
> >>> <[email protected]> wrote:
> >>>> On Sat, Nov 29, 2014 at 11:52 AM, Simon Danner <[email protected]> wrote:
> >>>>> Hello,
> >>>>> i get the following crash after i try to copy files from a broken
> >>>>> external hdd to another external hdd.
> >>>>> It happens after a few minutes, with latest git and 3.17.4 from Arch.
> >>>>> Attached screenshot is from latest mainline git.
> >>>>>
> >>>>> i hope this can be fixed somehow,
> >>>>> Regards Simon Danner
> >>>>
> >>>> Can you decode scsi_requed_end+0x122?
> >>>> CC'ing block and scsi folks.
> >>>>
> >>>> --
> >>>> Thanks,
> >>>> //richard
> >>>> --
> >>>> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> >>>> the body of a message to [email protected]
> >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >>


Attachments:
crash.log (201.33 kB)