- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: build error with tg3 on SLES 10
Operating System - Linux
1756301
Members
2635
Online
108844
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2010 09:13 AM
тАО10-05-2010 09:13 AM
build error with tg3 on SLES 10
Hi,
I tried to rebuild the network driver
after having installed a fresh kernel.
I used an older version 3.99h-1 before,
which I deinstalled before I installed
the new version from PSP 8.50:
rpm -ivh hp-tg3-3.99p-9.src.rpm
Next steps like described for SLES in the readme file:
hp-tg3-3.99p-9.src.txt
Required Packages as listed in section "Build Environment Setup" are installed:
# rpm -qa |grep -i kernel
kernel-smp-2.6.16.60-0.69.1
kernel-syms-2.6.16.60-0.69.1
kernel-source-2.6.16.60-0.69.1
cd /usr/src/packages;
rpmbuild -bb SPECS/hp-tg3.spec
Output is:
------ snip ------
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.67031
drwxr-xr-x 2397/305 0 2009-10-16 23:29:31 hp-tg3-3.99p/
-rwxr--r-- 2397/305 5801 2009-10-07 05:31:56 hp-tg3-3.99p/makeflags.sh
-rw-r--r-- 2397/305 3445 2009-01-09 20:41:43 hp-tg3-3.99p/tg3.4
-rw-r--r-- 2397/305 3424 2009-04-22 01:43:11 hp-tg3-3.99p/Makefile
-rw-r--r-- 2397/305 43881 2009-02-28 02:05:28 hp-tg3-3.99p/tg3_firmware.h
-rw-r--r-- 2397/305 107622 2009-10-16 23:28:44 hp-tg3-3.99p/tg3.h
-rw-r--r-- 2397/305 4280 2009-09-15 20:19:28 hp-tg3-3.99p/tg3_compat2.h
-rw-r--r-- 2397/305 10485 2009-10-16 23:29:30 hp-tg3-3.99p/README.TXT
-rw-r--r-- 2397/305 26786 2009-10-07 05:29:21 hp-tg3-3.99p/tg3_compat.h
-rw-r--r-- 2397/305 15153 2009-01-09 20:41:43 hp-tg3-3.99p/LICENSE
-rw-r--r-- 2397/305 396663 2009-10-16 23:29:14 hp-tg3-3.99p/tg3.c
-rw-r--r-- 2397/305 258454 2009-04-22 01:29:22 hp-tg3-3.99p/ChangeLog
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.67031
make: Entering directory `/usr/src/packages/BUILD/hp-tg3-3.99p/obj/default'
sh makeflags.sh /usr/src/linux > tg3_flags.h
make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/hp-tg3-3.99p/obj/default modules
make[1]: Entering directory `/usr/src/linux-2.6.16.60-0.69.1'
WARNING: Symbol version dump /usr/src/linux-2.6.16.60-0.69.1/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
make[1]: Leaving directory `/usr/src/linux-2.6.16.60-0.69.1'
make: Leaving directory `/usr/src/packages/BUILD/hp-tg3-3.99p/obj/default'
RPM build errors:
------ snip ------
Error output is:
------ snip ------
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf hp-tg3-3.99p
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/hp-tg3-3.99p.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hp-tg3-3.99p
++ /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 LICENSE Makefile README.TXT makeflags.sh tg3.4 tg3.c tg3.h tg3_compat.h tg3_compat2.h tg3_firmware.h
+ mkdir source
+ mv ChangeLog LICENSE Makefile README.TXT makeflags.sh tg3.4 tg3.c tg3.h tg3_compat.h tg3_compat2.h tg3_firmware.h source/
+ mkdir obj
+ exit 0
+ 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.99p
+ export KVER=2.6.16.60-0.54.5
+ KVER=2.6.16.60-0.54.5
+ export KABIRPM=1
+ KABIRPM=1
+ export 'EXTRA_CFLAGS=-DVERSION=\"3.99p\"'
+ EXTRA_CFLAGS='-DVERSION=\"3.99p\"'
+ for flavor in default smp xen
+ 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.16.60-0.54.5-default
+ make -C obj/default KVER=2.6.16.60-0.54.5-default
Makefile:452: .config: No such file or directory
/usr/src/linux-2.6.16.60-0.69.1/scripts/Makefile.modpost:38: .config: No such file or directory
make[2]: *** No rule to make target `.config'. Stop.
make[1]: *** [modules] Error 2
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67031 (%build)
Bad exit status from /var/tmp/rpm-tmp.67031 (%build)
------ snip ------
How can I address the new kernel in the build prodecure?
Thanks in advance,
BfN
I tried to rebuild the network driver
after having installed a fresh kernel.
I used an older version 3.99h-1 before,
which I deinstalled before I installed
the new version from PSP 8.50:
rpm -ivh hp-tg3-3.99p-9.src.rpm
Next steps like described for SLES in the readme file:
hp-tg3-3.99p-9.src.txt
Required Packages as listed in section "Build Environment Setup" are installed:
# rpm -qa |grep -i kernel
kernel-smp-2.6.16.60-0.69.1
kernel-syms-2.6.16.60-0.69.1
kernel-source-2.6.16.60-0.69.1
cd /usr/src/packages;
rpmbuild -bb SPECS/hp-tg3.spec
Output is:
------ snip ------
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.67031
drwxr-xr-x 2397/305 0 2009-10-16 23:29:31 hp-tg3-3.99p/
-rwxr--r-- 2397/305 5801 2009-10-07 05:31:56 hp-tg3-3.99p/makeflags.sh
-rw-r--r-- 2397/305 3445 2009-01-09 20:41:43 hp-tg3-3.99p/tg3.4
-rw-r--r-- 2397/305 3424 2009-04-22 01:43:11 hp-tg3-3.99p/Makefile
-rw-r--r-- 2397/305 43881 2009-02-28 02:05:28 hp-tg3-3.99p/tg3_firmware.h
-rw-r--r-- 2397/305 107622 2009-10-16 23:28:44 hp-tg3-3.99p/tg3.h
-rw-r--r-- 2397/305 4280 2009-09-15 20:19:28 hp-tg3-3.99p/tg3_compat2.h
-rw-r--r-- 2397/305 10485 2009-10-16 23:29:30 hp-tg3-3.99p/README.TXT
-rw-r--r-- 2397/305 26786 2009-10-07 05:29:21 hp-tg3-3.99p/tg3_compat.h
-rw-r--r-- 2397/305 15153 2009-01-09 20:41:43 hp-tg3-3.99p/LICENSE
-rw-r--r-- 2397/305 396663 2009-10-16 23:29:14 hp-tg3-3.99p/tg3.c
-rw-r--r-- 2397/305 258454 2009-04-22 01:29:22 hp-tg3-3.99p/ChangeLog
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.67031
make: Entering directory `/usr/src/packages/BUILD/hp-tg3-3.99p/obj/default'
sh makeflags.sh /usr/src/linux > tg3_flags.h
make -C /usr/src/linux SUBDIRS=/usr/src/packages/BUILD/hp-tg3-3.99p/obj/default modules
make[1]: Entering directory `/usr/src/linux-2.6.16.60-0.69.1'
WARNING: Symbol version dump /usr/src/linux-2.6.16.60-0.69.1/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
make[1]: Leaving directory `/usr/src/linux-2.6.16.60-0.69.1'
make: Leaving directory `/usr/src/packages/BUILD/hp-tg3-3.99p/obj/default'
RPM build errors:
------ snip ------
Error output is:
------ snip ------
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf hp-tg3-3.99p
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/hp-tg3-3.99p.tar.gz
+ tar -xvvf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hp-tg3-3.99p
++ /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 LICENSE Makefile README.TXT makeflags.sh tg3.4 tg3.c tg3.h tg3_compat.h tg3_compat2.h tg3_firmware.h
+ mkdir source
+ mv ChangeLog LICENSE Makefile README.TXT makeflags.sh tg3.4 tg3.c tg3.h tg3_compat.h tg3_compat2.h tg3_firmware.h source/
+ mkdir obj
+ exit 0
+ 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.99p
+ export KVER=2.6.16.60-0.54.5
+ KVER=2.6.16.60-0.54.5
+ export KABIRPM=1
+ KABIRPM=1
+ export 'EXTRA_CFLAGS=-DVERSION=\"3.99p\"'
+ EXTRA_CFLAGS='-DVERSION=\"3.99p\"'
+ for flavor in default smp xen
+ 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.16.60-0.54.5-default
+ make -C obj/default KVER=2.6.16.60-0.54.5-default
Makefile:452: .config: No such file or directory
/usr/src/linux-2.6.16.60-0.69.1/scripts/Makefile.modpost:38: .config: No such file or directory
make[2]: *** No rule to make target `.config'. Stop.
make[1]: *** [modules] Error 2
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.67031 (%build)
Bad exit status from /var/tmp/rpm-tmp.67031 (%build)
------ snip ------
How can I address the new kernel in the build prodecure?
Thanks in advance,
BfN
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2010 08:15 AM
тАО10-06-2010 08:15 AM
Re: build error with tg3 on SLES 10
Which version of SLES 10.x are you referring to? I seem to remember an issue with the tg3 driver in 10.0...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2010 08:18 AM
тАО10-06-2010 08:18 AM
Re: build error with tg3 on SLES 10
Sorry for the noise, I found the info via internet search and then also in the Readme-file.. ;)
rpmbuild -bb SPECS/hp-tg3.spec --define "KVER 2.6.16.60-0.69.1-smp"
rpmbuild -bb SPECS/hp-tg3.spec --define "KVER 2.6.16.60-0.69.1-smp"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2010 08:54 AM
тАО10-06-2010 08:54 AM
Re: build error with tg3 on SLES 10
see last comment. found the missing instruction in readme file.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP