{"id":1702,"date":"2012-09-22T20:43:52","date_gmt":"2012-09-23T03:43:52","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=1702"},"modified":"2012-09-23T05:16:47","modified_gmt":"2012-09-23T12:16:47","slug":"howto-use-intel-pro-1000-pcie-bypass-cards-in-debian-linux","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=1702","title":{"rendered":"Howto use Intel PRO 1000 PCIe &#8220;Bypass&#8221; cards in Debian Linux"},"content":{"rendered":"<p>For some time Intel has been marketing these &#8220;Bypass&#8221; Ethernet cards which have a different PCI Device ID which means that the official Intel open-source (Linux, FreeBSD etc) drivers don&#8217;t recognise these cards, and I came to find one in the 2nd hard market.<\/p>\n<p>A Intel Driver patch and recompile is req&#8217;d to give your Linux (Debian &#8220;Squeeze&#8221; in my case &#038; as listed below) the ability to load the &#8220;e1000e&#8221; driver for these cards.<\/p>\n<p>The process was:<\/p>\n<p>1) Download the latest official Intel PRO 1000 Drivers from Sourceforge, currently <code>http:\/\/sourceforge.net\/projects\/e1000\/files\/e1000e%20stable\/2.1.4\/e1000e-2.1.4.tar.gz\/download<\/code><\/p>\n<p>2) Find the PCI Device ID information from the installed (but unrecognised) Intel PRO 1000 PCIe card, which in my case was found with the lspci command, being:<\/p>\n<blockquote><p>Ethernet controller [0200]: Intel Corporation 82571EB PRO\/1000 AT Quad Port Bypass Adapter [8086:10a0] (rev 06)<br \/>\n\tSubsystem: Intel Corporation 82571EB PRO\/1000 AT Quad Port Bypass Adapter [8086:10a0]<\/p><\/blockquote>\n<p>It&#8217;s the &#8220;[8086:10a0]&#8221; text there that provides you with the information you need to load this device into the Driver code.<\/p>\n<p>3) Add a #define to the &#8216;hw.h&#8217; file in the src directory within the downloaded Driver distribution. The value that&#8217;s relevent here is the &#8220;10A0&#8221; from the card&#8217;s Device ID found above via lspci output.<\/p>\n<p><code>tar xzf e1000e-2.1.4.tar.gz<br \/>\ncd e1000e-2.1.4\/src<br \/>\ncp -p hw.h hw.h-ORIG<br \/>\necho \"#define E1000_DEV_ID_82571EB_QUAD_COPPER\t0x10A0\" >>hw.h<br \/>\n# or add that #define line after the initial definition of E1000_DEV_ID_82571EB_QUAD_COPPER<\/code><\/p>\n<p>4) Then make and install the driver, which in Debian 6 \/ &#8220;Squeeze&#8221; needs the following &#8216;make&#8217; command:<\/p>\n<p><code>make CFLAGS_EXTRA=-DDISABLE_PM install<\/code><\/p>\n<p>With the above done, the new driver is installed to \/lib\/modules\/[your-kernel-version]\/kernel\/drivers\/net\/ethernet\/intel\/e1000e\/e1000e.ko<br \/>\nand loaded with &#8220;modprobe e1000e&#8221; and the new ethernet devices can be seen with &#8220;ifconfig -a&#8221; and the output in \/var\/log\/messages<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some time Intel has been marketing these &#8220;Bypass&#8221; Ethernet cards which have a different PCI Device ID which means that the official Intel open-source (Linux, FreeBSD etc) drivers don&#8217;t recognise these cards, and I came to find one in &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=1702\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[18,35,78],"class_list":["post-1702","post","type-post","status-publish","format-standard","hentry","category-rich","tag-linux","tag-open-source","tag-sysadmin"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/1702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1702"}],"version-history":[{"count":10,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/1702\/revisions"}],"predecessor-version":[{"id":1712,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/1702\/revisions\/1712"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1702"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}