Hello,
I'm having some problems getting my floppy tape drive to work.
I was hoping to get some help here.
I've RTFM (mostly) and I'm stumped.
I'm running RedHat 6.2 2.2.14-5.0 kernel on a AMD K6-233 box with an internal
Pertec MyTape 800.
>From what I've read RH 6.1 comes with ftape-4.02 support built into the kernel.
According to the Ftape Installation and Usage Guide, I need ftape.o, zftape.o
and ftape-internal.o in /lib/moules/2.2.14-5.0/misc/
ftape.o and zftape.o are there but not ftape-internal.o 
So here's where I'm at and what I do.....
modprobe ftape
modprobe zftape

mt -f /dev/nqft0 status reports........
qic-117 drive type = 0x00481 (that's right for the MyTape800)
file number = -1, block number = -1
mt_resid: 0, mt_erreg: 0x0
mt_dsreg: 0xb29865,  mt_gstat: 0x41000000
General status bits on (41000000);
BOT ONLINE

mt -f /dev/nqft0 retension works fine

mt -f / dev/nqft0 asf
tar -cf  /dev/nqft0
and just about every other operation results in this messages in
/var/log/messages....
May 28 14:06:18 mango kernel: [104]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - Tape parameters inconsistency, please 
report. 
May 28 14:06:18 mango kernel: [105]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - reported = 4/377/36/53/254/128. 
May 28 14:06:18 mango kernel: [106]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - required = 4/377/36/13/254/128. 
May 28 14:06:18 mango kernel: [107]      zftape-read.c (zft_read_header_segments) - 
ftape_read_header_segment_Ra2b14b3c(zft_hseg_buf) failed: -5. 
May 28 14:06:18 mango kernel: [108]   ftape-ctl.c (ftape_disable_R7b52f04b) - == 
Non-fatal errors this run: ==. 
May 28 14:06:18 mango kernel: [109]   ftape-ctl.c (ftape_disable_R7b52f04b) - fdc isr 
statistics: 
May 28 14:06:18 mango kernel:  id_am_errors     :   0 
May 28 14:06:18 mango kernel:  id_crc_errors    :   0 
May 28 14:06:18 mango kernel:  data_am_errors   :   0 
May 28 14:06:18 mango kernel:  data_crc_errors  :   0 
May 28 14:06:18 mango kernel:  overrun_errors   :   0 
May 28 14:06:18 mango kernel:  no_data_errors   :   0 
May 28 14:06:18 mango kernel:  retries          :   1. 
May 28 14:06:18 mango kernel: [110]   ftape-ctl.c (ftape_disable_R7b52f04b) - ecc 
statistics: 
May 28 14:06:18 mango kernel:  crc_errors       :   0 
May 28 14:06:18 mango kernel:  crc_failures     :   0 
May 28 14:06:18 mango kernel:  ecc_failures     :   0 
May 28 14:06:18 mango kernel:  sectors corrected:   0. 
May 28 14:06:18 mango kernel: [111]   ftape-ctl.c (ftape_disable_R7b52f04b) - tape 
motion statistics: 
May 28 14:06:18 mango kernel: repositions       :   1. 
May 28 14:06:45 mango kernel: [112]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - Tape parameters inconsistency, please 
report. 
May 28 14:06:45 mango kernel: [113]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - reported = 4/377/36/53/254/128. 
May 28 14:06:45 mango kernel: [114]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - required = 4/377/36/13/254/128. 
May 28 14:06:45 mango kernel: [115]      zftape-read.c (zft_read_header_segments) - 
ftape_read_header_segment_Ra2b14b3c(zft_hseg_buf) failed: -5. 
May 28 14:06:45 mango kernel: [116]   ftape-ctl.c (ftape_disable_R7b52f04b) - == 
Non-fatal errors this run: ==. 
May 28 14:06:45 mango kernel: [117]   ftape-ctl.c (ftape_disable_R7b52f04b) - fdc isr 
statistics: 
May 28 14:06:45 mango kernel:  id_am_errors     :   0 
May 28 14:06:45 mango kernel:  id_crc_errors    :   0 
May 28 14:06:45 mango kernel:  data_am_errors   :   0 
May 28 14:06:45 mango kernel:  data_crc_errors  :   0 
May 28 14:06:45 mango kernel:  overrun_errors   :   0 
May 28 14:06:45 mango kernel:  no_data_errors   :   0 
May 28 14:06:45 mango kernel:  retries          :   1. 
May 28 14:06:45 mango kernel: [118]   ftape-ctl.c (ftape_disable_R7b52f04b) - ecc 
statistics: 
May 28 14:06:45 mango kernel:  crc_errors       :   0 
May 28 14:06:45 mango kernel:  crc_failures     :   0 
May 28 14:06:45 mango kernel:  ecc_failures     :   0 
May 28 14:06:45 mango kernel:  sectors corrected:   0. 
May 28 14:06:45 mango kernel: [119]   ftape-ctl.c (ftape_disable_R7b52f04b) - tape 
motion statistics: 
May 28 14:06:45 mango kernel: repositions       :   1.

Note that the following lines are consistent with every error.....
May 28 14:06:45 mango kernel: [113]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - reported = 4/377/36/53/254/128. 
May 28 14:06:45 mango kernel: [114]        ftape-read.c 
(ftape_decode_header_segment_R08b665ef) - required = 4/377/36/13/254/128. 

So next I download the ftape and ftape-tools rpm and install.
The ftape-tools rpm seems to work.
Using ftmt commands and the gui result in the same errors.

The ftape rpm modifies /etc/conf.modules so that when I modprobe ftape I get an
error.
It also installs ftape.o, zftape.o and ftape-internal.o in
/lib/modules/2.0.35/misc (Redhat 5.1 ? )
If I copy ftape-internal.o to /lib/modules/2.2.14-5.0/misc, I get unresolved
dependecies.

So I guess my question is...
Do I have to recompile the kernel  and make ftape from source to get it to work
with Redhat 6.2?

TIA,
<<zank>>





Reply via email to