Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2008
    Thanked 0 Times in 0 Posts

    Default lin_tape on SLES 11 does not build


    The latest lin_tape driver (1.27) does not build on SLES 11. It appears that the developers expect there to be a debug kernel installed as the following output from "rpmbuild --rebuild lin_tape-1.27...." shows:

    + make KERNEL= PROC=x86_64 driver
    make -C /lib/modules/ SUBDIRS=/usr/src/packages/BUILD/lin_tape-1.27.0 PWD=/usr/src/packages/BUILD/lin_tape-1.27.0 clean
    make[1]: Entering directory `/usr/src/linux-'
    make -C ../../../linux- O=/usr/src/linux- clean
    make[1]: Leaving directory `/usr/src/linux-'
    mkdir bldtmp
    make KERNEL= compileclean lin_tape.ko
    make[1]: Entering directory `/usr/src/packages/BUILD/lin_tape-1.27.0'
    export PWD
    make -C /lib/modules/ SUBDIRS=/usr/src/packages/BUILD/lin_tape-1.27.0 PWD=/usr/src/packages/BUILD/lin_tape-1.27.0 modules
    make: Entering an unknown directory
    make: *** /lib/modules/ No such file or directory. Stop.
    make: Leaving an unknown directory
    make[1]: *** [lin_tape.ko] Error 2
    make[1]: Leaving directory `/usr/src/packages/BUILD/lin_tape-1.27.0'
    make: *** [bldtmp/lin_tape-] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.79641 (%build)

    RPM build errors:
    user iot does not exist - using root
    user iot does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.79641 (%build)

    It should be using the directory "" which it found and used earlier in the build process. But at the highlighted points it uses the -debug directory. But nothing exists in that directory. It looks to me like the devs hardcoded the -debug directory into the source rpm...

    Now I'm no programmer/developer so I could be way off base. No matter because the real point is that the lin_tape driver is not building on SLES 11 and I am rather dead in the water until this can be fixed.

    So anyone know how to get this resolved?



    PS uname -a produces : " #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux"

  2. #2
    Join Date
    Apr 2008
    Thanked 0 Times in 0 Posts


    Fixed it. My server had almost all of the build environment needed - it was missing just one thing: kernel symbols. Installed those and the build ran just fine. Sigh. Sorry for the false alarm.


Similar Threads

  1. Linux/Lin_Tape/Sandiscovery
    By janecb in forum TSM Installation, Upgrade and Configuration
    Replies: 2
    Last Post: 02-14-2013, 04:42 AM
  2. SLES installation
    By Drewidian in forum TSM Server
    Replies: 3
    Last Post: 11-02-2007, 12:49 PM
  3. client on OES/SLES 9
    By jellyfish in forum TSM Client
    Replies: 2
    Last Post: 10-09-2007, 11:34 AM
  4. Client installation on SLES 10
    By VincentVega in forum TSM Client
    Replies: 2
    Last Post: 06-28-2007, 09:07 AM
  5. Openpower/sles
    By friske in forum TSM Server
    Replies: 0
    Last Post: 10-26-2005, 09:25 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts