Bug 581654 - RTL-8169 Gigatit Ethernet network devices mac address changes after soft reboot.
Summary: RTL-8169 Gigatit Ethernet network devices mac address changes after soft reboot.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.5
Hardware: i686
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Ivan Vecera
QA Contact: Hangbin Liu
URL:
Whiteboard:
: 637440 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-12 21:10 UTC by Christian Robert
Modified: 2011-01-13 21:26 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-13 21:26:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0017 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.6 kernel security and bug fix update 2011-01-13 10:37:42 UTC

Description Christian Robert 2010-04-12 21:10:25 UTC
Description of problem: When I soft-reboot my RHEL 5.5 host, the mac addresses change, the first 4 Bytes of the 6 Bytes MAC becomes zeroes.



Version-Release number of selected component (if applicable): Kernel 2.6.18-194.el5

How reproducible: At each soft reboot (on demand) 

Steps to Reproduce:
1. Cold boot the machine, note the MAC address
2. Soft reboot the machine, note the new MAC address
3.
  
Actual results: 00:00:00:00:2e:01


Expected results: 00:0a:cd:19:2e:01


Additional info: 02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

It is the exact same bug as reported for fedora 12 about a month ago, see https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=573201

Comment 1 Ivan Vecera 2010-04-22 16:56:10 UTC
This issue should be fixed by this upstream commit:

78f1cd0 - r8169: fix broken register writes
[http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=78f1cd02457252e1ffbc6caa44a17424a45286b8]

I'm going to prepare test packages.

Comment 2 Ivan Vecera 2010-04-27 15:34:01 UTC
There are kernel packages for testing at http://people.redhat.com/ivecera/rhel-5-ivtest/. Could you please try them?

Comment 3 Christian Robert 2010-04-27 20:33:19 UTC
I confirm that this kernel fix my problem. The machine
successfully soft rebooted and kept the right MAC address.


# uptime
 16:30:58 up  1:01,  1 user,  load average: 0.00, 0.00, 0.00

# uname -a
Linux xxxx.polymtl.ca 2.6.18-197.el5.ivtest.1 #1 SMP Tue Apr 27 07:09:22 EDT 2010 i686 i686 i386 GNU/Linux

# ifconfig eth0 | fgrep HWaddr
eth0      Link encap:Ethernet  HWaddr 00:0A:CD:19:2E:01

                                        
Xtian.

Comment 4 RHEL Program Management 2010-05-20 12:47:55 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Ivan Vecera 2010-07-22 14:11:58 UTC
Patch sent for review.

http://post-office.corp.redhat.com/archives/rhkernel-list/2010-July/msg01147.html

Comment 7 Jarod Wilson 2010-07-28 14:28:16 UTC
in kernel-2.6.18-209.el5
You can download this test kernel from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 9 Ivan Vecera 2010-09-29 07:16:31 UTC
*** Bug 637440 has been marked as a duplicate of this bug. ***

Comment 10 Hangbin Liu 2010-12-13 09:41:16 UTC
No such device , use a RTL8111/8168B NIC with the same driver r8169 , but didn't reproduced

Code reviewed , linux-2.6-net-r8169-fix-for-broken-register-writes.patch is applied in kernel 2.6.18-236.el5 correctly .

Comment 12 errata-xmlrpc 2011-01-13 21:26:10 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0017.html


Note You need to log in before you can comment on or make changes to this bug.