Re: A new ide warning message

Jens Axboe (axboe@suse.de)
Fri, 2 Aug 2002 13:47:14 +0200


On Fri, Aug 02 2002, Stephen Lord wrote:
>
> In 2.5.30 I started getting these warning messages out ide during
> the mount of an XFS filesystem:
>
> ide-dma: received 1 phys segments, build 2
>
> Can anyone translate that into English please.

Well I added that message when switching to the 2.5 style request
mapping functions, and I think the message is perfectly clear :-). Never
the less, it means that a segment that came into the ide layer with an
advertised size of 1 segment was returned from blk_rq_map_sg() as having
_two_. This can be a problem with dynamically allocated sg table (not
that ide uses those, but still).

It's a bug and usually a critical one when this happens. I'd be inclined
to think that Adam's changes in this path are to blame for this error.

Oh, and I'd be _really_ careful if you have trusted data on that drive
(surely not when running 2.5 ide on it :-)

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/