On Thu, 18 Oct 2007, Jeff Garzik wrote: > > Is this a sata_mv box? If so, could you try this patch? That could explain it: if the SG allocation is simply too small, the scatter-gather code will run off the end of the SG list, and encounter random uninitialized entries, and if any of those have the low bit set, they will be considered to be "link" entries, and the SG list goes wild. That SG code is really pretty fragile. I don't see it *ever* checking that the SG allocation is large enough when it fills it in. And these things take the sizes from different places (ie "cmd->use_sg" bs "req->nr_phys_segments" vs God knows what else..) Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [bug] ata subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: FUJITA Tomonori <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: David Miller <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Mark Lord <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Linus Torvalds <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Mark Lord <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Mark Lord <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- From: Jeff Garzik <[email protected]>
- Re: [bug] ata subsystem related crash with latest -git
- Prev by Date: Re: [PATCH 5/5] IB/ehca: Enable large page MRs by default
- Next by Date: Re: [bug] ata subsystem related crash with latest -git
- Previous by thread: Re: [bug] ata subsystem related crash with latest -git
- Next by thread: Re: [bug] ata subsystem related crash with latest -git
- Index(es):