Results 1 to 2 of 2
-
10-13-2009, 07:20 PM #1Member
- Join Date
- Apr 2008
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
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"
-
10-14-2009, 05:54 PM #2Member
- Join Date
- Apr 2008
- Posts
- 5
- Thanks
- 0
- 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.
Ron
Similar Threads
-
Linux/Lin_Tape/Sandiscovery
By janecb in forum TSM Installation, Upgrade and ConfigurationReplies: 2Last Post: 02-14-2013, 03:42 AM -
SLES installation
By Drewidian in forum TSM ServerReplies: 3Last Post: 11-02-2007, 11:49 AM -
5.4.0.0 client on OES/SLES 9
By jellyfish in forum TSM ClientReplies: 2Last Post: 10-09-2007, 10:34 AM -
Client installation on SLES 10
By VincentVega in forum TSM ClientReplies: 2Last Post: 06-28-2007, 08:07 AM -
Openpower/sles
By friske in forum TSM ServerReplies: 0Last Post: 10-26-2005, 08:25 AM


Reply With Quote
