how to recreate eth0 - Realtek 8169sc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

Our intranet's WAN interface just stopped working yesterday, and I
can't figure it out.

The machine has a Gigabyte motherboard, with on-board
RTL-8110SC/8169SC Gigabit Ethernet  and D-Link PCI NIC for the LAN
side. I can get into the LAN side without an issue, but can't see the
WAN side at all.

[root@intranet ~]# ifconfig eth0 up
eth0: unknown interface: No such device


lspci -v


01:01.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit
Ethernet Adapter (rev 10)
        Subsystem: D-Link System Inc DGE-528T Gigabit Ethernet Adapter
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 185
        I/O ports at a000 [size=256]
        Memory at e1000000 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 80000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
        Subsystem: Giga-byte Technology GA-MA69G-S3H Motherboard
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201
        I/O ports at a400 [size=256]
        Memory at e1001000 (32-bit, non-prefetchable) [size=256]
        [virtual] Expansion ROM at 80020000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2




scanpci -v

pci bus 0x0001 cardnum 0x01 function 0x00: vendor 0x1186 device 0x4300
 D-Link System Inc DGE-528T Gigabit Ethernet Adapter
  STATUS    0x02b0  COMMAND 0x0017
  CLASS     0x02 0x00 0x00  REVISION 0x10
  BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
  BASE0     0x0000a001  addr 0x0000a000  I/O
  BASE1     0xe1000000  addr 0xe1000000  MEM
  MAX_LAT   0x40  MIN_GNT 0x20  INT_PIN 0x01  INT_LINE 0x0b

pci bus 0x0001 cardnum 0x05 function 0x00: vendor 0x10ec device 0x8167
 Realtek Semiconductor Co., Ltd.  Device unknown
 CardVendor 0x1458 card 0xe000 (Card unknown)
  STATUS    0x02b0  COMMAND 0x0017
  CLASS     0x02 0x00 0x00  REVISION 0x10
  BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
  BASE0     0x0000a401  addr 0x0000a400  I/O
  BASE1     0xe1001000  addr 0xe1001000  MEM
  MAX_LAT   0x40  MIN_GNT 0x20  INT_PIN 0x01  INT_LINE 0x0a


[root@intranet ~]# lsmod | grep 8169
r8169                  77125  0
mii                    38849  1 r8169




So the driver is there, or so it seems. rmmod r8169 dropped both NIC's
and I had to reboot the (headless) server to get the D-Link working
again.
Removing, and re-adding the eth0 interface with system-config-network
doesn't actually re-create the NIC either.

So, how do I re-create it? Google search didn't reveal much, other
that using the r8169 module, which is already loaded.

No changes were made to the server in a long time, that I know of, and
it's running kernel 2.6.18-194.11.4.el5

[root@intranet ~]# uname -a
Linux intranet.lan 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT
2010 x86_64 x86_64 x86_64 GNU/Linux

[root@intranet ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)

Here's something interesting though:

[root@intranet ~]# ifconfig -a  | more
__tmp1613210867 Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2883 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2198 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:276073 (269.6 KiB)  TX bytes:315508 (308.1 KiB)
          Interrupt:201 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:1C:F0:6E:B8:B4
          inet addr:192.168.2.250  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:f0ff:fe6e:b8b4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2883 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2198 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:276073 (269.6 KiB)  TX bytes:315508 (308.1 KiB)
          Interrupt:185

lo        Link encap:Local Loopback




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux