Hi!

Trying to kill the keyboard, [EMAIL PROTECTED] produced:
> NT, I can do a successful backup and restore.  I have ftape compiled in
> with linux kernel 2.2.5.  Whenever I try a ftformat, I get the following
> in my /var/log/messages file:

> Apr  2 22:32:11 meteu kernel: [013]     ftape-io.c (ftape_report_error) - errorcode: 
>26.

According to FTAPE/include/linux/qic117.h that is "Power On
Reset Occurred", 0 (i.e. non-fatal).

> Apr  2 22:46:36 meteu kernel: [019]        ftape-read.c 
>(ftape_decode_header_segment) - wrong signature in header segment.

in FTAPE/ftape/lowlevel/ftape-read.c (Version 3.04 i.e.  OLD(!),
but still may be the same code), the function

ftape_decode_header_segment

tests first if it's a Ditto 2GB (encrypted the bad sector map)
by checking the Magic Number (which would be 0x82288228).

If it's not a Ditto 2GB Magic Number, then it should be
the normal magic number for a floppy tape (0xaa55aa55) (see
FTAPE/include/linux/ftape-header-segment.h).

Your Magic Number is not a "Ditto 2GB" and not a normal Magic
Number, in other words, your header (on this tape) is so badly
damaged that it cannot be interpreted with any security ---
it may well be line noise for all we know, so we die with an
error message.


> isr statistics:
> Apr  2 22:46:38 meteu kernel:  data_am_errors   : 230

This is a bit high ...

> Apr  2 22:46:38 meteu kernel:  crc_errors       :  32

... and so is this ...

Maybe you should reformat the tape[1] ... oh you said, you had
troubles doing just this?  Try getting the newest ftformat etc.
you can get and recompile it.  That may or may not help.
(Or use some DOS/Win tools)

-Wolfgang

[1] so the bad sector map gets updated (and the crc-errors
    (which are corrected, BTW) should become a bit more seldom).
    Anyway this is a (very slow) way to generate new headers ...
    a 1.6/3.4 GB tape can easily take half a day ... and maybe
    more if your controller does not manage 2000Kbps (yours
    does not!).  And then some cheap tape drives cannot reformat
    (Ditto 2GB, for example).

-- 
             PGP 2 welcome: Mail me, subject "send PGP-key". 
      Unsolicited Bulk E-Mails: *You* pay for ads you never wanted.
   How to dominate the Internet/WWW/etc?  Destroy the protocols!  See:
                 http://www.opensource.org/halloween.html

Reply via email to