The Ftape Installation and Usage Guide
Please read through the chapter `Installation
',
(see Installation) if you don't arrive at installing ftape with
this `Quick Installation
' chapter.
You don't need to install this version of ftape if you are running Linux version v2.2 or higher because ftape-4.04 is already included in the kernel source tree. The kernel configuration menu will give you on-line help while configuring the ftape driver. Maybe you still want to read some passages of the `Requirements
' section of the `Installation
' chapter. See Requirements. But otherwise you can ignore this chapter, as well as the next chapter (see Installation) get theftape-tools
package from the Ftape home page or from ftp://sunsite.unc.edu/pub/Linux/kernel/tapes/ and proceed directly to the chapter that deals with testing the driver (see Testing ftape).
You may also want to consult the
and the file [/usr/src/ftape-4.04/]BUGS of the ftape distribution if something went wrong.
If you are running a pre-2.0.0 Linux (2) then you are out of
luck. Please read the Chapter `Installation
'. See Installation.
Otherwise, try to proceed as follows:
FDC_OPT
' make variable. If you don't have a kernel
source tree installed (normally under `/usr/src/linux/
') then you
will need to set some other options manually. The options in question
start with `CONFIG_...
'. Please follow the instruction in the file
[/usr/src/ftape-4.04/]MCONFIG.
Almost all option settings in [/usr/src/ftape-4.04/]MCONFIG specify the default settings only and the corresponding options can be changed at module load time. See Inserting the ftape modules into the kernel.
If you do have a kernel source tree then please make sure that you have
configured it correctly. The configuration of the kernel sources should
match the configuration of the kernel you intend to use ftape
with. In this case ftape will use the configuration options of the
kernel and figure out the proper values of the `CONFIG_...
' options
itself.
make
in the top directory of the ftape source tree. By this, I mean:
Assume you have downloadedftape-4.04.tar.gz
into MYFUNNYDIRECTORY and do a
cd MYFUNNYDIRECTORY tar -xzf ftape-4.04.tar.gzthen you have to do
cd ftape-4.04 make
ftape_syms.c:60: macro `_basic_version' used with just one arg
during compilation then you have enabled the `CONFIG_MODVERSIONS
'
flag in the file
[/usr/src/ftape-4.04/]MCONFIG
and are using a kernel without support for so called `versioned symbols
'. This doesn't work. Edit MCONFIG and disable the
CONFIG_MODVERSIONS switch (see CONFIG_MODVERSIONS).
make install
You need to be `root
' for the latter (i.e. do `su ; make install
').
modprobe zftape modprobe ftape-internal modprobe trakker modprobe bpck-fdc
This will load the five modules `ftape.o
', `zftape.o
',
`ftape-internal.o
', `trakker.o
' and `bpck-fdc.o
'. You
can use some standard Un*x commands to test the driver (e.g. mt
or tar
, see Testing ftape).
If it isn't that easy, maybe because of a bug in the ftape driver ([/usr/src/ftape-4.04/]BUGS), then please have a look at the file [/usr/src/ftape-4.04/]modules/insert
modutils
'
package (see Requirements) or you are using a kernel of the 2.1.*
series configured to use `versioned symbols
' and didn't enable the
CONFIG_MODVERSIONS flag in the file
[/usr/src/ftape-4.04/]MCONFIG
(or vice versa). Check your kernel configuration and edit MCONFIG
appropriately.
.o
' files type in (at the shell prompt)
make clean
If you want to remove everything except the sources then you have to run
make realclean
make uninstall
However, this will not delete the device nodes in `/dev/
'.
(1) See http://www.correct.nl/~ftape for a more recent version.
(2) You can determine the version of the running kernel with the command `uname -r
' or by examining the file `/proc/version
'. The version of the kernel sources under `/usr/src/linux/
' can be determined by examining the file `/usr/src/linux/include/linux/version.h
'.
![]() |
Use these buttons to jump to the top menu |