HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- nc510f and rhel 5 driver problem
Operating System - Linux
1829103
Members
2226
Online
109986
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
Forums
Discussions
Discussions
Discussions
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
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
01-16-2008 08:46 AM
01-16-2008 08:46 AM
nc510f and rhel 5 driver problem
hi,
I am attempting to get the drivers for an NC510F to compile on my DL360 G5. I performed a fresh install of Redhat Enterprise linux 5. This OS is listed as supported by the driver notes for the nic card.
After the os is installed I make sure that I have gcc, kernel-devel, and rpm-build installed.
Next I install the nx_nic-3.4.263-5.src.rpm but it fails with the following error.
[root@ip-96-166 ~]# rpm -ivh nx_nic-3.4.263-5.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
So, I mkdir /usr/src/redhat/SOURCES. After that the rpm installed fine.
I follow the next step in the install docs, goto to /usr/src/redhat and then rpmbuild -bb SPECS/nx_nic-3.4.263.spec.
That shows me the following error
[root@ip-96-166 redhat]# rpmbuild -bb SPECS/nx_nic-3.4.263.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.28869
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf nx_nic-3.4.263
+ /bin/gzip -dc /usr/src/redhat/SOURCES/nx_nic-3.4.263.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nx_nic-3.4.263
++ /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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28869
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nx_nic-3.4.263
+ make rpm_build=1
set -e; \
if [ -d pegnet ]; then \
make -C /lib/modules/2.6.18-53.el5PAE/source SUBDIRS=`pwd` ; \
else \
cd driver; make -C /lib/modules/2.6.18-53.el5PAE/source SUBDIRS=/usr/src/redhat/BUILD/nx_nic-3.4.263/driver modules ; \
fi
make: *** /lib/modules/2.6.18-53.el5PAE/source: No such file or directory. Stop.
make: *** [driver] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.28869 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.28869 (%build)
This is where I am stuck. I'm not familiar enough with make to fix this myself. I believe I have hardware/software that is all supported by HP.
thanks,
Andy
I am attempting to get the drivers for an NC510F to compile on my DL360 G5. I performed a fresh install of Redhat Enterprise linux 5. This OS is listed as supported by the driver notes for the nic card.
After the os is installed I make sure that I have gcc, kernel-devel, and rpm-build installed.
Next I install the nx_nic-3.4.263-5.src.rpm but it fails with the following error.
[root@ip-96-166 ~]# rpm -ivh nx_nic-3.4.263-5.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
So, I mkdir /usr/src/redhat/SOURCES. After that the rpm installed fine.
I follow the next step in the install docs, goto to /usr/src/redhat and then rpmbuild -bb SPECS/nx_nic-3.4.263.spec.
That shows me the following error
[root@ip-96-166 redhat]# rpmbuild -bb SPECS/nx_nic-3.4.263.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.28869
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf nx_nic-3.4.263
+ /bin/gzip -dc /usr/src/redhat/SOURCES/nx_nic-3.4.263.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nx_nic-3.4.263
++ /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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28869
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nx_nic-3.4.263
+ make rpm_build=1
set -e; \
if [ -d pegnet ]; then \
make -C /lib/modules/2.6.18-53.el5PAE/source SUBDIRS=`pwd` ; \
else \
cd driver; make -C /lib/modules/2.6.18-53.el5PAE/source SUBDIRS=/usr/src/redhat/BUILD/nx_nic-3.4.263/driver modules ; \
fi
make: *** /lib/modules/2.6.18-53.el5PAE/source: No such file or directory. Stop.
make: *** [driver] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.28869 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.28869 (%build)
This is where I am stuck. I'm not familiar enough with make to fix this myself. I believe I have hardware/software that is all supported by HP.
thanks,
Andy
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP