<?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 NIC enumeration issues in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/415#M26200</link>
    <description>A customer has reported an issue with SystemImager on the BL480c, where NIC1 is enabled for PXE by default, and SystemImager boots, but then it discovers NIC3 as "eth0".  This breaks the SystemImager installation because (1) NIC3's MAC address is different from NIC1, and (2) NIC3 may not be connected to the PXE network.  Here is the solution I proposed:    This is not a simple issue to explain, but, in the end, it is a Linux kernel issue.  Server hardware designers have always relied on PCI (Bus/Device/Function) as the mechanism to order the NICs.  Current Linux kernels use various methods to enumerate the NICs, some of them breadth-first and some depth-first.  Neither method is â€œcorrectâ€� according to the way modern servers are designed (at least those with multiple NICs).    RHEL4 Update 5 will contain a workaround, and you can get a test kernel here:    http://people.redhat.com/~jbaron/rhel4/    The workaround will discover the NICs in the proper order (NIC1, NIC2, NIC3, NIC4) by sorting them using their PCI Bus, Device, and Function numbers.     So basically, you have three options â€“    1) Enable PXE only on NIC3, then this will match â€œeth0â€� as enumerated by the SystemImager kernel.  2) Modify the SystemImager kernel to name NIC1 as â€œeth0â€�, perhaps using a script that can detect the PXE MAC address and then use that to dynamically determine which NIC is NIC1.  3) Use RHEL4 Update 5â€™s kernel for SystemImager.</description>
    <pubDate>Mon, 12 Mar 2007 23:01:00 GMT</pubDate>
    <dc:creator>John Cagle</dc:creator>
    <dc:date>2007-03-12T23:01:00Z</dc:date>
    <item>
      <title>NIC enumeration issues</title>
      <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/414#M26199</link>
      <description>This topic is to discuss problems with various Linux kernels and the way they number the NICs (eth0, eth1, eth2, etc.).</description>
      <pubDate>Mon, 12 Mar 2007 22:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/414#M26199</guid>
      <dc:creator>John Cagle</dc:creator>
      <dc:date>2007-03-12T22:57:00Z</dc:date>
    </item>
    <item>
      <title>NIC enumeration issues</title>
      <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/415#M26200</link>
      <description>A customer has reported an issue with SystemImager on the BL480c, where NIC1 is enabled for PXE by default, and SystemImager boots, but then it discovers NIC3 as "eth0".  This breaks the SystemImager installation because (1) NIC3's MAC address is different from NIC1, and (2) NIC3 may not be connected to the PXE network.  Here is the solution I proposed:    This is not a simple issue to explain, but, in the end, it is a Linux kernel issue.  Server hardware designers have always relied on PCI (Bus/Device/Function) as the mechanism to order the NICs.  Current Linux kernels use various methods to enumerate the NICs, some of them breadth-first and some depth-first.  Neither method is â€œcorrectâ€� according to the way modern servers are designed (at least those with multiple NICs).    RHEL4 Update 5 will contain a workaround, and you can get a test kernel here:    http://people.redhat.com/~jbaron/rhel4/    The workaround will discover the NICs in the proper order (NIC1, NIC2, NIC3, NIC4) by sorting them using their PCI Bus, Device, and Function numbers.     So basically, you have three options â€“    1) Enable PXE only on NIC3, then this will match â€œeth0â€� as enumerated by the SystemImager kernel.  2) Modify the SystemImager kernel to name NIC1 as â€œeth0â€�, perhaps using a script that can detect the PXE MAC address and then use that to dynamically determine which NIC is NIC1.  3) Use RHEL4 Update 5â€™s kernel for SystemImager.</description>
      <pubDate>Mon, 12 Mar 2007 23:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/415#M26200</guid>
      <dc:creator>John Cagle</dc:creator>
      <dc:date>2007-03-12T23:01:00Z</dc:date>
    </item>
    <item>
      <title>NIC enumeration issues</title>
      <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/416#M26201</link>
      <description>We saw this issue as well, essentially with all HP hardware (and only HP hardware so far).    We've found that using "ksdevice=MAC_ADDR" on the kernel boot line solves the problem for us.  For example:  KERNEL vmlinuz-rhel5-64  APPEND initrd=initrd-rhel5-64.img ks=nfs:w.x.y.z:/vol/ks.cfg ksdevice=00:1a:4b:dd:cd:d8 ip=w.x.y.z netmask=255.255.255.128 gateway=w.x.y.z dns=w.x.y.z    Not sure if this will help SystemImager, but it works well for standard kickstart.</description>
      <pubDate>Thu, 12 Apr 2007 15:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/416#M26201</guid>
      <dc:creator>Frank Sorenson</dc:creator>
      <dc:date>2007-04-12T15:43:00Z</dc:date>
    </item>
    <item>
      <title>NIC enumeration issues</title>
      <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/417#M26202</link>
      <description>Thanks for the tip!  I'm sure it will help someone else.    Also, RHEL4 Update 5 has the fixes for HP BladeSystem products, so "eth0" should now correspond to NIC1 (the default PXE NIC) as long as you use an Update 5 kernel.    By the way, this issue is not HP-specific.  It happens on other brands too.</description>
      <pubDate>Tue, 22 May 2007 22:20:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/417#M26202</guid>
      <dc:creator>John Cagle</dc:creator>
      <dc:date>2007-05-22T22:20:00Z</dc:date>
    </item>
    <item>
      <title>NIC enumeration issues</title>
      <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/418#M26203</link>
      <description>Has anyone seen a fix for SLES10 or SLES10SP1?  I'll chase this with Novell too.    Thanks  Simon.</description>
      <pubDate>Fri, 27 Jul 2007 16:03:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/418#M26203</guid>
      <dc:creator>violetlight</dc:creator>
      <dc:date>2007-07-27T16:03:00Z</dc:date>
    </item>
    <item>
      <title>NIC enumeration issues</title>
      <link>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/419#M26204</link>
      <description>We shared this patch with Novell, but they chose to not include it in their kernels.  If you feel that it's necessary in SLES kernels, please send your feedback to Novell.</description>
      <pubDate>Fri, 01 Feb 2008 04:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/nic-enumeration-issues/m-p/419#M26204</guid>
      <dc:creator>John Cagle</dc:creator>
      <dc:date>2008-02-01T04:57:00Z</dc:date>
    </item>
  </channel>
</rss>

