Hi,

Can somebody help me installing Ftape 4.02 in redhat 6.0 ?

According to Ftape-HOWTO, I have

(1) downloaded the following files from

    http://www.math1.rwth-aachen.de/%7Eheine/ftape/

    and untared them.

    ftape-4.02-1.i386.rpm
    ftape-tools-1.07-1.i386.rpm

    ftape-4.02.tar.gz
    ftape-4.x-doc-1.03.tar.tz
    zftape-1.06.tar.gz

(2) tried installing ftape-4.02-1.i386.rpm using rpm

    The package install some files in /lib/modules/2.0.35/misc and
append

       alias char-major-27       zftape
       options ftape ft_fdc_driver=ftape-internal,none,none,none
       options ftape-internal ft_fdc_base=0x180 ft_fdc_irq=9
ft_fdc_dma=3
       #pre-install ftape-internal /sbin/swapout 15

    to /etc/conf.modules.

    Because the kernel running in my linux box is 2.2.5-22, I copy
    bpck-fdc.o, trakker.o, and ftape-internal.o to
/lib/modules/2.2.5-22/misc.

    After rebooting the system, /var/log/messages contains the following
message
============================================================
Dec 28 19:52:50 redhat60 depmod: /lib/modules/2.2.5-22/misc/bpck-fdc.o:
unresolved symbol(s)
Dec 28 19:52:50 redhat60 depmod: /lib/modules/2.2.5-22/misc/trakker.o:
unresolved symbol(s)
Dec 28 19:52:50 redhat60 depmod:
/lib/modules/2.2.5-22/misc/ftape-internal.o: unresolved symbol(s)
============================================================

    When running lsmod, I got
============================================================
Module             Size  Used   by
ne                      6512     1      (autoclean)
8390                  5920     0      (autoclean) [ne]
============================================================

    When running modprobe zftape, I got
============================================================
/lib/modules/2.2.5-22/misc/ftape.o: invalid parameter ft_fdc_driver
ftape: No such file or directory
============================================================

    When running mt -f /dev/ftape retension, I got
============================================================
/dev/ftape: No such device
============================================================

  Thus, I had no choice but to give up.

(3) and tried to recompile Ftape-4.02

    After make, I got
============================================================
for i in ftape ; do make -C $i all ; done
make[1]: Entering directory `/home/michael/ftape/ftape-4.02/ftape'
for i in setup  lowlevel internal parport zftape compressor; \
do \
  make -C $i NODEP=true versions; \
done
make[2]: Entering directory `/home/michael/ftape/ftape-4.02/ftape/setup'

make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/home/michael/ftape/ftape-4.02/ftape/setup'
make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/lowlevel'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory
`/home/michael/ftape/ftape-4.02/ftape/lowlevel'
make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/internal'
Makefile:1: *** missing separator.  Stop.  <== error
make[2]: Leaving directory
`/home/michael/ftape/ftape-4.02/ftape/internal'
make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/parport'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory
`/home/michael/ftape/ftape-4.02/ftape/parport'
make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/zftape'
make[2]: Nothing to be done for `versions'.
make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/zftape'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory `/home/michael/ftape/ftape-4.02/ftape/zftape'

make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/compressor'
make[2]: Nothing to be done for `versions'.
make[2]: Leaving directory
`/home/michael/ftape/ftape-4.02/ftape/compressor'
set -e; for i in setup  lowlevel internal parport zftape compressor; do
make -C $i modules; done
make[2]: Entering directory `/home/michael/ftape/ftape-4.02/ftape/setup'

make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/home/michael/ftape/ftape-4.02/ftape/setup'
make[2]: Entering directory
`/home/michael/ftape/ftape-4.02/ftape/lowlevel'
gcc -Wall -Wstrict-prototypes -O2  -fomit-frame-pointer
-fno-strength-reduce
-DTHE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
-DBROKEN_FLOPPY_DRIVER -DCONFIG_FT_PROC_FS  -DCONFIG_FT_STD_FDC_0
-DCONFIG_FT_INT_0=1   -DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE
-DCONFIG_FT_TRAKKER_MODULE -DCONFIG_FT_BPCK_MODULE
-DCONFIG_ZFTAPE_MODULE -DCONFIG_ZFT_COMPRESSOR_MODULE -DMODULE
-D__KERNEL__ -I. -I../../include -I/usr/src/linux/include -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
-DTHE_FTAPE_MAINTAINER=\"[EMAIL PROTECTED]\"
-DBROKEN_FLOPPY_DRIVER -DCONFIG_FT_PROC_FS  -DCONFIG_FT_STD_FDC_0
-DCONFIG_FT_INT_0=1   -DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE
-DCONFIG_FT_TRAKKER_MODULE -DCONFIG_FT_BPCK_MODULE
-DCONFIG_ZFTAPE_MODULE -DCONFIG_ZFT_COMPRESSOR_MODULE -DMODULE
-D__KERNEL__ -I. -I../../include -I/usr/src/linux/include -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586   -c
fdc-io.c -o fdc-io.o
fdc-io.c: In function `fdc_interrupt_wait':  <=== error
fdc-io.c:433: structure has no member named `timeout'  <=== error
fdc-io.c:454: structure has no member named `timeout'  <=== error
make[2]: *** [fdc-io.o] Error 1  <=== error
make[2]: Leaving directory
`/home/michael/ftape/ftape-4.02/ftape/lowlevel'
make[1]: *** [modules] Error 2  <=== error
make[1]: Leaving directory `/home/michael/ftape/ftape-4.02/ftape'
make: *** [all] Error 2  <=== error
============================================================

    After some 'adjustment', error message

       structure has no member named `timeout' (caused by structure
'current')

    can also be generated by ftape-buffer.c and ftape-io.c

So, it does not seem possible to compile Ftape-4.02 in redhat6.0 with
linux
kernel 2.2.5-22.

Any comment, suggestion and help would be highly appreciated.
Thanks in advance.

Michael

Reply via email to