xfs
[Top] [All Lists]

Re: Again: xfsrestore assertion failure

To: Juergen Hasch <Hasch@xxxxxxxxxxx>
Subject: Re: Again: xfsrestore assertion failure
From: ivanr@xxxxxxx
Date: Tue, 20 Nov 2001 10:52:19 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <165snA-0htV2GC@fwd01.sul.t-online.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Mon, 19 Nov 2001, Juergen Hasch wrote:

> Hi,
>
> some people reported the following problem back in august :
> >   xfsrestore: examining media file 1
> >   xfsrestore: seeking past media file directory dump
> >   xfsrestore: drive_scsitape.c:1461: do_next_mark: Assertion
> >    `rechdrp->first_mark_offset - rechdrp->file_offset <= ( off64_t )
> >   ( contextp->dc_recsz )' failed.
> >   Aborted (core dumped)
>
> Steve Roseman gave the following fix for it:
>
> 523c523
> <       IXLATE(rh1, rh2, first_mark_offset);
> ---
> >       /*      IXLATE(rh1, rh2, first_mark_offset); */
> 532a533
> >       BXLATE(first_mark_offset);
>
>
> Today I ran into the same problem and after applying this fix, all seems to
> work well again. Any reason this fix hasn't been applied in the CVS code ?

This is not the correct fix.  That field should be endian converted.

I'm not sure what the correct fix would be at the moment.  I'll be able to
look into it further if someone could supply a core file.

Thanks,
Ivan

-- 
Ivan Rayner
ivanr@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>