Re: [Bug 9370] v2.6.24-rc2-409-g9418d5d: attempt to access beyond end of device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 13, 2007 at 01:13:29PM -0800, bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:
> Probably caused by:
> 
> commit 6f5391c283d7fdcf24bf40786ea79061919d1e1d
> Author: Matthew Wilcox <matthew@xxxxxx>
> Date:   Tue Sep 25 12:42:04 2007 -0400
> 
>     [SCSI] Get rid of scsi_cmnd->done
> 
> http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6f5391c283d7fdcf24bf40786ea79061919d1e1d

Since the reporter says that reverting this commit fixes the problem, it
must have caused the problem.  For the benefit of those on linux-scsi
who are just tuning into this report, the original mail is at
http://lkml.org/lkml/2007/11/13/250 and the report that reverting this
commit fixes it is a followup to it.

I've stared at the patch, trying to figure out what's wrong.  The only
thing which makes any sense to me is that a request comes in, tagged as
REQ_TYPE_FS.  Later, it becomes REQ_TYPE_BLOCK_PC.  This would have
caused us to call sr_done() before the patch, and after the patch, we
would not call sr_done().  Further eyes are welcome.

James has suggested that the problem may be that ide-scsi does just this.
Thomas, can you confirm whether or not you were using ide-scsi?

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux