- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- PSP 7.51, RHEL4 Update 3, and kernel source code?
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
07-18-2006 06:38 AM
07-18-2006 06:38 AM
PSP 7.51, RHEL4 Update 3, and kernel source code?
A command, "rpmbuild -bb --quiet --clean --rmsource ${RPMDIR}/SPECS/e1000.spec", necessary to complete the installation of this component failed with error code 1: "Operation not permitted"
Installation of this component FAILED.
I then try to build just the e1000 driver manually, and get this error:
make: Entering directory `/usr/src/redhat/BUILD/e1000-6.2.19b/src'
Makefile:97: *** Linux kernel source not configured - missing version.h. Stop.
This leads me to believe the kernel source is not setup properly in the /usr/src directory. Here is what I did to install kernel source:
1) up2date -v --get-source kernel
2) rpm -Uvh /var/spool/up2date/kernel-2.6.9-34.0.2.EL.src.rpm
3) cd /usr/src/redhat/SPECS
4) rpmbuild -bp --target=x86_64 kernel-2.6.spec
This builds a kernel tree in the /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 directory, but places nothing into the /usr/src/linux-
If the /usr/src/linux-
does not exist, install the kernel source code per
Red Hat instructions. Once installed, follow the
commands listed below to configure the kernel source to match the running kernel.
# cd /usr/src/linux-
# make mrproper
# make -e KERNELRELEASE=`uname -r` oldconfig
# make -e KERNELRELEASE=`uname -r` dep
Since there is no source code in /usr/src/linux-
What steps am I missing here? What is the proper way to setup the source code?
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:37 AM
07-18-2006 08:37 AM
Re: PSP 7.51, RHEL4 Update 3, and kernel source code?
1) e1000 Intel NIC is already built into the kernel, no need to try and do that twice.
2) Kernel source rpms should be downloaded directly then rpm -ivh
The procedure looks reasonable.
Try to do an rpm -Uvh or rpm -Fvh on the latest kernel, upgrade to that and then try compiling the source.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 07:47 AM
07-19-2006 07:47 AM
Re: PSP 7.51, RHEL4 Update 3, and kernel source code?
So I should choose the default e1000 NIC drivers, rather than the ones HP provides?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:18 AM
07-19-2006 08:18 AM
Re: PSP 7.51, RHEL4 Update 3, and kernel source code?
If you are using an HP server or any special software that HP provides, use their drivers.
Otherwise the default redhat ones will work.
I have not had to do anything to get source code onto the dozen or so RH 4 systems I've installed this year. Its just there after the RPM install.
For development servers, we do an everything install, which may explain the discrepency in our experiences.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2006 08:22 AM
07-19-2006 08:22 AM
Re: PSP 7.51, RHEL4 Update 3, and kernel source code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2006 09:23 AM
08-21-2006 09:23 AM
Re: PSP 7.51, RHEL4 Update 3, and kernel source code?
# cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src
# ln -s /usr/src/linux-2.6.9 /usr/src/linux