Results 1 to 5 of 5
Thread: IBM lin_tape source code
-
09-03-2007, 08:28 AM #1Newcomer
- Join Date
- Sep 2007
- Posts
- 1
- Thanks
- 0
- Thanked 0 Times in 0 Posts
IBM lin_tape source code
Hello all,
After some reading i came across with the information that there are two possible drivers available for managing IBM tape libraries under Linux. One is the IBMTape driver, which according to the docs is the most mature driver and is closed source, and then there is a new(er) one, called lin_tape which is supposed to be open-source.
Having to try an install on a non-supported distribution, i got very excited with these news, but unfortunatly i can't seem to find the source code for the lin_tape driver anywhere, so that i can compile against a non RH/SLES "factory" kernel.
Can anyone please point me out where i can find the source code for lin_tape?
Just for the record, the follwing text is from the IBM_Tape_Driver_IUG.pdf, available at ftp://ftp.software.ibm.com/storage/devdrvr/Doc.
"The lin_tape device driver is the new device driver for the Linux 2.6 kernels to replace the closed-source driver IBMtape."
It even has its own index entry in that document.
"Open Source Device Driver - lin_tape . . . . .118"
Kind regards,
Hugo Monteiro.Last edited by hmmm; 09-03-2007 at 08:43 AM.
-
09-03-2007, 11:26 PM #2Member
- Join Date
- Sep 2002
- Posts
- 116
- Thanks
- 0
- Thanked 0 Times in 0 Posts
From the lin_tape readme
I built my lin_tape from source and works well. There is a known issue where you will see dsmserv page allocation messages in /var/log/messages however as per IBM this is not an error.To build the lin_tape device driver from sources, first install the
source rpm package. Then, from the /usr/src/packages/SPEC or
/usr/src/redhat/SPEC directory, issue the following command:
rpmbuild -bb lin_tape.spec
The binary rpm will be in the RPMS directory of the parent directory.
When building the binary driver package, the closed-source daemon
for the current platform will be included in the binary rpm package.
Modified versions of the driver are not supported by IBM. The source
rpm package can be down loaded from this web site:
https://www14.software.ibm.com/webap...o?source=lstddRunning on z/Linux and z/OS
-
07-15-2008, 08:07 AM #3Member
- Join Date
- Jul 2007
- Location
- Basel
- Posts
- 56
- Thanks
- 0
- Thanked 0 Times in 0 Posts
build lin_tape driver from source ended with errors
build lin_tape on SLES10 :
rpmbuild -bb lin_tape.spec :
make KERNEL=2.6.16.46-0.12-default compileclean lin_tape.ko
make[1]: Entering directory `/usr/src/packages/BUILD/lin_tape-1.15.0'
rm -f *.o
export PWD
make -C /lib/modules/2.6.16.46-0.12-default/build SUBDIRS=/usr/src/packages/BUILD/lin_tape-1.15.0 PWD=/usr/src/packages/BUILD/lin_tape-1.15.0 modules
make: *** /lib/modules/2.6.16.46-0.12-default/build: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [lin_tape.ko] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/lin_tape-1.15.0'
make: *** [bldtmp/lin_tape-2.6.16.46-0.12-default.ko] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.9119 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.9119 (%build)
in /lib/modules/2.6.16.46-0.12-default there is only 1 subdir kernel
Must the subdir build be created manually before ?
-
07-15-2008, 08:39 AM #4Member
- Join Date
- Jul 2007
- Location
- Basel
- Posts
- 56
- Thanks
- 0
- Thanked 0 Times in 0 Posts
created the build subdir before the rpmbuild : ==> next error
make -C /lib/modules/2.6.16.46-0.12-default/build SUBDIRS=/usr/src/packages/BUILD/lin_tape-1.15.0 PWD=/usr/src/packages/BUILD/lin_tape-1.15.0 modules
make[2]: Entering directory `/lib/modules/2.6.16.46-0.12-default/build'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/lib/modules/2.6.16.46-0.12-default/build'
make[1]: *** [lin_tape.ko] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/lin_tape-1.15.0'
make: *** [bldtmp/lin_tape-2.6.16.46-0.12-default.ko] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67463 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.67463 (%build)
-
09-28-2009, 04:06 PM #5
Hi,
According to the documentation, type rpmbuild --rebuild <rpm package (latest 1.27)>
I have RHEL5 64 bit.. worked fine
Jane&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Jane Bamberger
Keybank
Similar Threads
-
IBM Product code details
By raj2989 in forum LicensingReplies: 4Last Post: 09-07-2007, 06:36 AM -
lin_tape Linux drivers for RHEL 4 don't work
By martin_crown in forum Tape / Media LibraryReplies: 2Last Post: 08-26-2007, 12:07 PM -
Open Source TSM Managment
By rowl in forum Administrative ClientReplies: 5Last Post: 06-14-2007, 09:10 AM -
NDMP restore fail due to the source file / directories corrupted
By tinchan in forum NDMPReplies: 0Last Post: 01-24-2007, 02:47 AM -
BackingUp "SAP DB" (Open Source Database) with TSM
By Slusarski in forum TDP/Application Layer BackupReplies: 1Last Post: 05-12-2004, 05:40 PM


Reply With Quote
