<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PSP 7.51, RHEL4 Update 3, and kernel source code? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825746#M24223</link>
    <description>SEP--The up2date method works for downloading the latest kernel source as well. It just puts the RPM file in the /var/spool/up2date directory. Red Hat has a new method for adding kernel source staring in RHEL4. You must build it yourself.&lt;BR /&gt;&lt;BR /&gt;So I should choose the default e1000 NIC drivers, rather than the ones HP provides?</description>
    <pubDate>Wed, 19 Jul 2006 14:47:22 GMT</pubDate>
    <dc:creator>Jeff Costa</dc:creator>
    <dc:date>2006-07-19T14:47:22Z</dc:date>
    <item>
      <title>PSP 7.51, RHEL4 Update 3, and kernel source code?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825744#M24221</link>
      <description>What is the correct procedure to prepare the kernel source code to install the PSP? I am running RHEL4 Update 3 on a DL385 G1, and getting an compile error on the build of the e1000 drivers:&lt;BR /&gt;&lt;BR /&gt;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"&lt;BR /&gt;Installation of this component FAILED.&lt;BR /&gt;&lt;BR /&gt;I then try to build just the e1000 driver manually, and get this error:&lt;BR /&gt;&lt;BR /&gt;make: Entering directory `/usr/src/redhat/BUILD/e1000-6.2.19b/src'&lt;BR /&gt;Makefile:97: *** Linux kernel source not configured - missing version.h.  Stop.&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;1) up2date -v --get-source kernel&lt;BR /&gt;2) rpm -Uvh /var/spool/up2date/kernel-2.6.9-34.0.2.EL.src.rpm&lt;BR /&gt;3) cd /usr/src/redhat/SPECS&lt;BR /&gt;4) rpmbuild -bp --target=x86_64 kernel-2.6.spec&lt;BR /&gt;&lt;BR /&gt;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-&lt;KERNEL-VERSION&gt; directory. Note that the README file for the e1000 driver says this:&lt;BR /&gt;&lt;BR /&gt;   If the /usr/src/linux-&lt;KERNEL-VERSION&gt; directory&lt;BR /&gt;   does not exist, install the kernel source code per&lt;BR /&gt;   Red Hat instructions. Once installed, follow the&lt;BR /&gt;   commands listed below to configure the kernel source  to match the running kernel.&lt;BR /&gt;&lt;BR /&gt;   # cd /usr/src/linux-&lt;KERNEL_VERSION&gt;&lt;BR /&gt;   # make mrproper&lt;BR /&gt;   # make -e KERNELRELEASE=`uname -r` oldconfig&lt;BR /&gt;   # make -e KERNELRELEASE=`uname -r` dep&lt;BR /&gt;&lt;BR /&gt;Since there is no source code in /usr/src/linux-&lt;KERNEL_VERSION&gt;, I can only do these steps in the  /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 directory. But that still does not put anything into the /usr/src/ directory (the normal location for source code).&lt;BR /&gt;&lt;BR /&gt;What steps am I missing here? What is the proper way to setup the source code?&lt;BR /&gt;&lt;BR /&gt;Jeff&lt;/KERNEL_VERSION&gt;&lt;/KERNEL_VERSION&gt;&lt;/KERNEL-VERSION&gt;&lt;/KERNEL-VERSION&gt;</description>
      <pubDate>Tue, 18 Jul 2006 13:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825744#M24221</guid>
      <dc:creator>Jeff Costa</dc:creator>
      <dc:date>2006-07-18T13:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: PSP 7.51, RHEL4 Update 3, and kernel source code?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825745#M24222</link>
      <description>Shalom Jeff,&lt;BR /&gt;&lt;BR /&gt;1) e1000 Intel NIC is already built into the kernel, no need to try and do that twice.&lt;BR /&gt;&lt;BR /&gt;2) Kernel source rpms should be downloaded directly then rpm -ivh &lt;FILENAME&gt;.  up2date should have worked but for some reason did not. After rpm install the source should be there. You may need to rebuild the rpm database, there may be a problem with it, the symptom being the up2date not working.&lt;BR /&gt;&lt;BR /&gt;The procedure looks reasonable.&lt;BR /&gt;&lt;BR /&gt;Try to do an rpm -Uvh or rpm -Fvh on the latest kernel, upgrade to that and then try compiling the source.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 18 Jul 2006 15:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825745#M24222</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-18T15:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: PSP 7.51, RHEL4 Update 3, and kernel source code?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825746#M24223</link>
      <description>SEP--The up2date method works for downloading the latest kernel source as well. It just puts the RPM file in the /var/spool/up2date directory. Red Hat has a new method for adding kernel source staring in RHEL4. You must build it yourself.&lt;BR /&gt;&lt;BR /&gt;So I should choose the default e1000 NIC drivers, rather than the ones HP provides?</description>
      <pubDate>Wed, 19 Jul 2006 14:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825746#M24223</guid>
      <dc:creator>Jeff Costa</dc:creator>
      <dc:date>2006-07-19T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: PSP 7.51, RHEL4 Update 3, and kernel source code?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825747#M24224</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you are using an HP server or any special software that HP provides, use their drivers.&lt;BR /&gt;&lt;BR /&gt;Otherwise the default redhat ones will work.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;For development servers, we do an everything install, which may explain the discrepency in our experiences.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 Jul 2006 15:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825747#M24224</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-19T15:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: PSP 7.51, RHEL4 Update 3, and kernel source code?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825748#M24225</link>
      <description>That might be it. We do a minimalist install to reduce the number of patches needed downstream (in the future) and to reduce the risk of malicious attack.</description>
      <pubDate>Wed, 19 Jul 2006 15:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825748#M24225</guid>
      <dc:creator>Jeff Costa</dc:creator>
      <dc:date>2006-07-19T15:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: PSP 7.51, RHEL4 Update 3, and kernel source code?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825749#M24226</link>
      <description>Jeff, article 5109 on the RedHat knowledge base (&lt;A href="http://kbase.redhat.com/faq/FAQ_85_5109.shtm)" target="_blank"&gt;http://kbase.redhat.com/faq/FAQ_85_5109.shtm)&lt;/A&gt; has step-by-step instructions on how to install the kernel source code since there is no longer any kernel-source package in RHEL4.  According to their instructions, think that all you're missing is these two commands:&lt;BR /&gt;&lt;BR /&gt;# cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src&lt;BR /&gt;&lt;BR /&gt;# ln -s /usr/src/linux-2.6.9 /usr/src/linux</description>
      <pubDate>Mon, 21 Aug 2006 16:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/psp-7-51-rhel4-update-3-and-kernel-source-code/m-p/3825749#M24226</guid>
      <dc:creator>David Mundy</dc:creator>
      <dc:date>2006-08-21T16:23:21Z</dc:date>
    </item>
  </channel>
</rss>

