System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Build error with HP TG3 on SLES 11 SP1

 
Wallacetth
Occasional Visitor

Build error with HP TG3 on SLES 11 SP1

Hi, I've tried to rebuild the HP 331FLR Broadcom 5719 NIC drivers for SLES 11 SP1 installed on HP DL360 Gen9, the source rpm is downloaded from HP support site for the server and the OS have two kernels installed, a normal kernel 2.6.32.12-0.7 and a real time kernel 2.6.33.7-rt29.

 

The build went well for the normal kernel but when compiling for the real time kernel it shows and build error and exit.

 

Any guru can shine some insight what I could have missed or done to resolve it? 

 

linux:~/Desktop # rpmbuild --rebuild hp-tg3-3.125g-2.src.rpm
Installing hp-tg3-3.125g-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8824
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf hp-tg3-3.125g
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/hp-tg3-3.125g.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root         0 2012-10-16 11:11 hp-tg3-3.125g/
-rw-r--r-- root/root      2168 2012-10-16 11:07 hp-tg3-3.125g/esx_ioctl.h
-rw-r--r-- root/root     12876 2012-10-16 11:08 hp-tg3-3.125g/makeflags.sh
-rw-r--r-- root/root     33818 2012-10-16 11:07 hp-tg3-3.125g/tg3_vmware.c
-rw-r--r-- root/root      4027 2012-10-16 11:07 hp-tg3-3.125g/tg3.4
-rw-r--r-- root/root      3620 2012-10-16 11:07 hp-tg3-3.125g/tg3_vmware.h
-rw-r--r-- root/root      4064 2012-10-16 11:07 hp-tg3-3.125g/Makefile
-rw-r--r-- root/root     44980 2012-10-16 11:07 hp-tg3-3.125g/tg3_firmware.h
-rw-r--r-- root/root    128880 2012-10-16 11:07 hp-tg3-3.125g/tg3.h
-rw-r--r-- root/root     11326 2012-10-16 11:07 hp-tg3-3.125g/tg3_compat2.h
-rw-r--r-- root/root     12652 2012-10-16 11:10 hp-tg3-3.125g/README.TXT
-rw-r--r-- root/root     44339 2012-10-16 11:07 hp-tg3-3.125g/tg3_compat.h
-rw-r--r-- root/root     15153 2012-10-16 11:07 hp-tg3-3.125g/LICENSE
-rw-r--r-- root/root    493430 2012-10-16 11:11 hp-tg3-3.125g/tg3.c
-rw-r--r-- root/root    524442 2012-10-16 11:07 hp-tg3-3.125g/ChangeLog
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hp-tg3-3.125g
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ set -- ChangeLog esx_ioctl.h LICENSE Makefile makeflags.sh README.TXT tg3.4 tg3.c tg3_compat2.h tg3_compat.h tg3_firmware.h tg3.h tg3_vmware.c tg3_vmware.h
+ mkdir source
+ mv ChangeLog esx_ioctl.h LICENSE Makefile makeflags.sh README.TXT tg3.4 tg3.c tg3_compat2.h tg3_compat.h tg3_firmware.h tg3.h tg3_vmware.c tg3_vmware.h source/
+ mkdir obj
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8824
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/hp-tg3-buildroot
++ dirname /var/tmp/hp-tg3-buildroot
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/hp-tg3-buildroot
+ cd hp-tg3-3.125g
+ export KVER=2.6.33.7-rt29
+ KVER=2.6.33.7-rt29
+ export KABIRPM=1
+ KABIRPM=1
+ export 'EXTRA_CFLAGS=-DVERSION=\"3.125g\"'
+ EXTRA_CFLAGS='-DVERSION=\"3.125g\"'
+ for flavor in default
+ rm -rf obj/default
+ cp -r source obj/default
+ export LINUXsrc=/usr/src/linux-obj/x86_64/default
+ LINUXsrc=/usr/src/linux-obj/x86_64/default
+ '[' suse == redhat ']'
+ '[' suse == suse ']'
+ kernel_flavor=2.6.33.7-rt29-default
+ make -C obj/default KVER=2.6.33.7-rt29-default
make: Entering directory `/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default'
sh makeflags.sh /usr/src/linux  > tg3_flags.h
make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default modules
make[1]: Entering directory `/usr/src/linux-2.6.32.12-0.7'
  CC [M]  /usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.o
/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.c: In function ‘tg3_init_one’:
/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.c:18324: warning: ‘print_mac’ is deprecated (declared at include/linux/if_ether.h:142)
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "_spin_unlock" [/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.ko] undefined!
  CC      /usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.mod.o
  LD [M]  /usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.ko
make[1]: Leaving directory `/usr/src/linux-2.6.32.12-0.7'
make: Leaving directory `/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.42191
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd hp-tg3-3.125g
+ export KVER=2.6.33.7-rt29
+ KVER=2.6.33.7-rt29
+ export KABIRPM=1
+ KABIRPM=1
+ export 'EXTRA_CFLAGS=-DVERSION=\"3.125g\"'
+ EXTRA_CFLAGS='-DVERSION=\"3.125g\"'
+ for flavor in default
+ export LINUXsrc=/usr/src/linux-obj/x86_64/default
+ LINUXsrc=/usr/src/linux-obj/x86_64/default
+ '[' suse == redhat ']'
+ '[' suse == suse ']'
+ kernel_flavor=2.6.33.7-rt29-default
+ dest_dir=/var/tmp/hp-tg3-buildroot/lib/modules/2.6.33.7-rt29-default/updates/hp-tg3
+ mkdir -p /var/tmp/hp-tg3-buildroot/lib/modules/2.6.33.7-rt29-default/updates/hp-tg3
+ install -m 444 obj/default/tg3.ko /var/tmp/hp-tg3-buildroot/lib/modules/2.6.33.7-rt29-default/updates/hp-tg3
+ man_dir=/var/tmp/hp-tg3-buildroot/usr/share/man/man4
+ mkdir -p /var/tmp/hp-tg3-buildroot/usr/share/man/man4
+ gzip -c source/tg3.4
+ /usr/lib/rpm/brp-lib64-linux
sf@suse.de: if you find problems with this script, drop me a note
+ RPM_BUILD_ROOT=/var/tmp/hp-tg3-buildroot
+ export RPM_BUILD_ROOT
+ test -x /usr/sbin/Check -a 0 = 0 -o -x /usr/sbin/Check -a '!' -z /var/tmp/hp-tg3-buildroot
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
Processing files: hp-tg3-kmp-default-3.125g_2.6.32.12_0.7-2
error: File not found: /var/tmp/hp-tg3-buildroot/lib/modules/2.6.32.12-0.7-default
Processing files: hp-tg3-doc-3.125g-2
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.42191
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd hp-tg3-3.125g
+ DOCDIR=/var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ export DOCDIR
+ rm -rf /var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ /bin/mkdir -p /var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ cp -pr source/README.TXT /var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ exit 0
Finding  Provides: /usr/lib/rpm/find-provides hp-tg3
Finding  Requires: /usr/src/packages/SOURCES/find-requires.ksyms
Finding  Supplements: /usr/lib/rpm/find-supplements hp-tg3
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/hp-tg3-buildroot
error: Installed (but unpackaged) file(s) found:
   /lib/modules/2.6.33.7-rt29-default/updates/hp-tg3/tg3.ko


RPM build errors:
    File not found: /var/tmp/hp-tg3-buildroot/lib/modules/2.6.32.12-0.7-default
    Installed (but unpackaged) file(s) found:
   /lib/modules/2.6.33.7-rt29-default/updates/hp-tg3/tg3.ko
linux:~/Desktop # rpmbuild --rebuild hp-tg3-3.125g-2.src.rpm
Installing hp-tg3-3.125g-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8824
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf hp-tg3-3.125g
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/hp-tg3-3.125g.tar.gz
+ tar -xvvf -
drwxr-xr-x root/root         0 2012-10-16 11:11 hp-tg3-3.125g/
-rw-r--r-- root/root      2168 2012-10-16 11:07 hp-tg3-3.125g/esx_ioctl.h
-rw-r--r-- root/root     12876 2012-10-16 11:08 hp-tg3-3.125g/makeflags.sh
-rw-r--r-- root/root     33818 2012-10-16 11:07 hp-tg3-3.125g/tg3_vmware.c
-rw-r--r-- root/root      4027 2012-10-16 11:07 hp-tg3-3.125g/tg3.4
-rw-r--r-- root/root      3620 2012-10-16 11:07 hp-tg3-3.125g/tg3_vmware.h
-rw-r--r-- root/root      4064 2012-10-16 11:07 hp-tg3-3.125g/Makefile
-rw-r--r-- root/root     44980 2012-10-16 11:07 hp-tg3-3.125g/tg3_firmware.h
-rw-r--r-- root/root    128880 2012-10-16 11:07 hp-tg3-3.125g/tg3.h
-rw-r--r-- root/root     11326 2012-10-16 11:07 hp-tg3-3.125g/tg3_compat2.h
-rw-r--r-- root/root     12652 2012-10-16 11:10 hp-tg3-3.125g/README.TXT
-rw-r--r-- root/root     44339 2012-10-16 11:07 hp-tg3-3.125g/tg3_compat.h
-rw-r--r-- root/root     15153 2012-10-16 11:07 hp-tg3-3.125g/LICENSE
-rw-r--r-- root/root    493430 2012-10-16 11:11 hp-tg3-3.125g/tg3.c
-rw-r--r-- root/root    524442 2012-10-16 11:07 hp-tg3-3.125g/ChangeLog
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hp-tg3-3.125g
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ set -- ChangeLog esx_ioctl.h LICENSE Makefile makeflags.sh README.TXT tg3.4 tg3.c tg3_compat2.h tg3_compat.h tg3_firmware.h tg3.h tg3_vmware.c tg3_vmware.h
+ mkdir source
+ mv ChangeLog esx_ioctl.h LICENSE Makefile makeflags.sh README.TXT tg3.4 tg3.c tg3_compat2.h tg3_compat.h tg3_firmware.h tg3.h tg3_vmware.c tg3_vmware.h source/
+ mkdir obj
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8824
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/hp-tg3-buildroot
++ dirname /var/tmp/hp-tg3-buildroot
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/hp-tg3-buildroot
+ cd hp-tg3-3.125g
+ export KVER=2.6.33.7-rt29
+ KVER=2.6.33.7-rt29
+ export KABIRPM=1
+ KABIRPM=1
+ export 'EXTRA_CFLAGS=-DVERSION=\"3.125g\"'
+ EXTRA_CFLAGS='-DVERSION=\"3.125g\"'
+ for flavor in default
+ rm -rf obj/default
+ cp -r source obj/default
+ export LINUXsrc=/usr/src/linux-obj/x86_64/default
+ LINUXsrc=/usr/src/linux-obj/x86_64/default
+ '[' suse == redhat ']'
+ '[' suse == suse ']'
+ kernel_flavor=2.6.33.7-rt29-default
+ make -C obj/default KVER=2.6.33.7-rt29-default
make: Entering directory `/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default'
sh makeflags.sh /usr/src/linux  > tg3_flags.h
make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default modules
make[1]: Entering directory `/usr/src/linux-2.6.32.12-0.7'
  CC [M]  /usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.o
/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.c: In function ‘tg3_init_one’:
/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.c:18324: warning: ‘print_mac’ is deprecated (declared at include/linux/if_ether.h:142)
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "_spin_unlock" [/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.ko] undefined!
  CC      /usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.mod.o
  LD [M]  /usr/src/packages/BUILD/hp-tg3-3.125g/obj/default/tg3.ko
make[1]: Leaving directory `/usr/src/linux-2.6.32.12-0.7'
make: Leaving directory `/usr/src/packages/BUILD/hp-tg3-3.125g/obj/default'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.42191
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd hp-tg3-3.125g
+ export KVER=2.6.33.7-rt29
+ KVER=2.6.33.7-rt29
+ export KABIRPM=1
+ KABIRPM=1
+ export 'EXTRA_CFLAGS=-DVERSION=\"3.125g\"'
+ EXTRA_CFLAGS='-DVERSION=\"3.125g\"'
+ for flavor in default
+ export LINUXsrc=/usr/src/linux-obj/x86_64/default
+ LINUXsrc=/usr/src/linux-obj/x86_64/default
+ '[' suse == redhat ']'
+ '[' suse == suse ']'
+ kernel_flavor=2.6.33.7-rt29-default
+ dest_dir=/var/tmp/hp-tg3-buildroot/lib/modules/2.6.33.7-rt29-default/updates/hp-tg3
+ mkdir -p /var/tmp/hp-tg3-buildroot/lib/modules/2.6.33.7-rt29-default/updates/hp-tg3
+ install -m 444 obj/default/tg3.ko /var/tmp/hp-tg3-buildroot/lib/modules/2.6.33.7-rt29-default/updates/hp-tg3
+ man_dir=/var/tmp/hp-tg3-buildroot/usr/share/man/man4
+ mkdir -p /var/tmp/hp-tg3-buildroot/usr/share/man/man4
+ gzip -c source/tg3.4
+ /usr/lib/rpm/brp-lib64-linux
sf@suse.de: if you find problems with this script, drop me a note
+ RPM_BUILD_ROOT=/var/tmp/hp-tg3-buildroot
+ export RPM_BUILD_ROOT
+ test -x /usr/sbin/Check -a 0 = 0 -o -x /usr/sbin/Check -a '!' -z /var/tmp/hp-tg3-buildroot
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
Processing files: hp-tg3-kmp-default-3.125g_2.6.32.12_0.7-2
error: File not found: /var/tmp/hp-tg3-buildroot/lib/modules/2.6.32.12-0.7-default
Processing files: hp-tg3-doc-3.125g-2
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.42191
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd hp-tg3-3.125g
+ DOCDIR=/var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ export DOCDIR
+ rm -rf /var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ /bin/mkdir -p /var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ cp -pr source/README.TXT /var/tmp/hp-tg3-buildroot/usr/share/doc/packages/hp-tg3-doc
+ exit 0
Finding  Provides: /usr/lib/rpm/find-provides hp-tg3
Finding  Requires: /usr/src/packages/SOURCES/find-requires.ksyms
Finding  Supplements: /usr/lib/rpm/find-supplements hp-tg3
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/hp-tg3-buildroot
error: Installed (but unpackaged) file(s) found:
   /lib/modules/2.6.33.7-rt29-default/updates/hp-tg3/tg3.ko


RPM build errors:
    File not found: /var/tmp/hp-tg3-buildroot/lib/modules/2.6.32.12-0.7-default
    Installed (but unpackaged) file(s) found:
   /lib/modules/2.6.33.7-rt29-default/updates/hp-tg3/tg3.ko
linux:~/Desktop # 
1 REPLY
Jimmy Vance
HPE Pro

Re: Build error with HP TG3 on SLES 11 SP1

I don't have an answer for your build error, but the Minimum supported version of SLES 11 on Gen9 is SP3

 using the kISO image

 

 

http://h17007.www1.hp.com/us/en/enterprise/servers/supportmatrix/exceptions/sles_exceptions.aspx#.VXhSFrEo7vU

 

 

 

DL360 Gen9

 

  • SLES12
  • SLES11 SP31

1This system requires a SLES 11 SP3 kISO to provide new processor, chipset and driver support. Please click here to download the kISO.




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!