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

    Default lin_tape on SLES 11 does not build

    Hi,

    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=2.6.27.29-0.1-default PROC=x86_64 driver
    make -C /lib/modules/2.6.27.29-0.1-default/build 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-2.6.27.29-0.1-obj/x86_64/default'
    make -C ../../../linux-2.6.27.29-0.1 O=/usr/src/linux-2.6.27.29-0.1-obj/x86_64/default/. clean
    make[1]: Leaving directory `/usr/src/linux-2.6.27.29-0.1-obj/x86_64/default'
    mkdir bldtmp
    make KERNEL=2.6.27.29-0.1-debug compileclean lin_tape.ko
    make[1]: Entering directory `/usr/src/packages/BUILD/lin_tape-1.27.0'
    export PWD
    make -C /lib/modules/2.6.27.29-0.1-debug/build 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/2.6.27.29-0.1-debug/build: 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-2.6.27.29-0.1-debug.ko] 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 "2.6.27.29-0.1-default" 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?

    Thanks,

    Ron

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

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

    Default

    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.

    Ron

Similar Threads

  1. Linux/Lin_Tape/Sandiscovery
    By janecb in forum TSM Installation, Upgrade and Configuration
    Replies: 2
    Last Post: 02-14-2013, 03:42 AM
  2. SLES installation
    By Drewidian in forum TSM Server
    Replies: 3
    Last Post: 11-02-2007, 11:49 AM
  3. 5.4.0.0 client on OES/SLES 9
    By jellyfish in forum TSM Client
    Replies: 2
    Last Post: 10-09-2007, 10:34 AM
  4. Client installation on SLES 10
    By VincentVega in forum TSM Client
    Replies: 2
    Last Post: 06-28-2007, 08:07 AM
  5. Openpower/sles
    By friske in forum TSM Server
    Replies: 0
    Last Post: 10-26-2005, 08: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
  •