r8169는 잠시 후 작동을 멈춥니다.

r8169는 잠시 후 작동을 멈춥니다.

이 문제는 CentOS 설치 후에 발생합니다. SSH 또는 SMB 프로토콜을 통해 서버를 완전히 사용할 수 없게 됩니다. 정확한 패턴 없이 무작위로 발생합니다. 이는 언제든지 발생할 수 있으며 서버 로드나 커널 버전에 의존하지 않습니다(지난 달에 다르게 시도함). 그래서 첫 번째 조사 후에 네트워크와 관련이 있다는 것을 알게 되었습니다. 이 "중단"을 발견했을 때 사무실 네트워크에서 서버로 또는 서버에서 사무실에 있는 컴퓨터로 서버를 핑할 수는 없지만 로컬 호스트에서는 핑할 수 있다는 것을 발견했습니다. 또한 마더보드 뒷면의 네트워크 녹색 LED는 항상 켜져 있고 깜박이지 않으며 주황색 LED는 전혀 켜지지 않습니다. 그래서 내가 할 때systemctl 네트워크 다시 시작모든 것이 서버에서 로컬로 잘 작동합니다.

마지막 발생 시간: 2016년 10월 14일 16:05 (작성자: MSK TZ)

확인된 dmesq

[2016-11-13 01:00:32]  md: using 128k window, over a total of 487313408k.
    [2016-11-13 02:54:57]  md: md127: data-check done.
    [2016-11-13 04:52:32]  md: md1: data-check done.
    [2016-11-14 16:36:57]  usb 4-2: new low-speed USB device number 2 using uhci_hcd
    [2016-11-14 16:36:58]  usb 4-2: New USB device found, idVendor=1a2c, idProduct=0c23
    [2016-11-14 16:36:58]  usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [2016-11-14 16:36:58]  usb 4-2: Product: USB Keyboard
    [2016-11-14 16:36:58]  usb 4-2: Manufacturer: USB
    [2016-11-14 16:36:58]  input: USB USB Keyboard as /devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/input/input15
    [2016-11-14 16:36:58]  hid-generic 0003:1A2C:0C23.0001: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-0000:00:1a.1-2/input0
    [2016-11-14 16:36:58]  input: USB USB Keyboard as /devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.1/input/input16
    [2016-11-14 16:36:58]  hid-generic 0003:1A2C:0C23.0002: input,hidraw1: USB HID v1.10 Device [USB USB Keyboard] on usb-0000:00:1a.1-2/input1
    [root@london stats]#

우리가 볼 수 있듯이 -아무것도 없다

확인됨/var/log/메시지

Nov 14 15:01:01 london systemd: Removed slice user-0.slice.
Nov 14 15:01:01 london systemd: Stopping user-0.slice.
Nov 14 16:01:01 london systemd: Created slice user-0.slice.
Nov 14 16:01:01 london systemd: Starting user-0.slice.
Nov 14 16:01:01 london systemd: Started Session 171 of user root.
Nov 14 16:01:01 london systemd: Starting Session 171 of user root.
Nov 14 16:01:01 london systemd: Removed slice user-0.slice.
Nov 14 16:01:01 london systemd: Stopping user-0.slice.
Nov 14 16:05:24 london smbd[6249]: [2016/11/14 16:05:24.098079,  0] ../source3/smbd/oplock.c:700(oplock_timeout_handler)
Nov 14 16:05:24 london smbd[6249]:  Oplock break failed for file Z_Drive/BackUp/...... DC.lnk -- replying anyway
Nov 14 16:05:54 london smbd[6249]: [2016/11/14 16:05:54.133612,  0] ../source3/smbd/oplock.c:700(oplock_timeout_handler)
Nov 14 16:05:54 london smbd[6249]:  Oplock break failed for file Z_Drive/BackUp/..... X8.lnk -- replying anyway
.
.
.
.
Nov 14 16:36:57 london kernel: usb 4-2: new low-speed USB device number 2 using uhci_hcd
Nov 14 16:36:57 london kernel: usb 4-2: New USB device found, idVendor=1a2c, idProduct=0c23
Nov 14 16:36:57 london kernel: usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 14 16:36:57 london kernel: usb 4-2: Product: USB Keyboard
Nov 14 16:36:57 london kernel: usb 4-2: Manufacturer: USB

보시다시피 여기에도 아무것도 없습니다. 실패 소식이 많네요smbddemon끊어진 연결에 대해. 그러나 나는 그것이 우리를 위한 것이라고 생각하지 않습니다.

시스템 제어우리에게 말해주세요회로망좋아요또한. 10월 14일 기사가 없습니다.

   ● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: active (exited) since Tue 2016-11-08 01:53:35 MSK; 6 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 925 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)

Nov 08 01:53:32 london.local systemd[1]: Starting LSB: Bring up/down networking...
Nov 08 01:53:32 london.local network[925]: Bringing up loopback interface:  Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 08 01:53:33 london.local network[925]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 08 01:53:33 london.local network[925]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 08 01:53:33 london.local network[925]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
Nov 08 01:53:33 london.local network[925]: [  OK  ]
Nov 08 01:53:35 london.local network[925]: Bringing up interface enp2s0:  [  OK  ]
Nov 08 01:53:35 london.local systemd[1]: Started LSB: Bring up/down networking.

설문조사에 대한 추가 데이터는 다음과 같습니다.

커널 정보

3.10.0-327.36.3.el7.x86_64

운영 체제 정보

CentOS Linux release 7.2.1511 (Core)

인터넷 정보

dmesg | grep -i '이더넷'

[root@london /]# dmesg | grep -i 'Ethernet'
[    1.327135] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.327619] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[root@london /]#

모드인포 r8169

[root@london /]# modinfo r8169
filename:       /lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/r8169.ko
firmware:       rtl_nic/rtl8107e-2.fw
firmware:       rtl_nic/rtl8107e-1.fw
firmware:       rtl_nic/rtl8168h-2.fw
firmware:       rtl_nic/rtl8168h-1.fw
firmware:       rtl_nic/rtl8168g-3.fw
firmware:       rtl_nic/rtl8168g-2.fw
firmware:       rtl_nic/rtl8106e-2.fw
firmware:       rtl_nic/rtl8106e-1.fw
firmware:       rtl_nic/rtl8411-2.fw
firmware:       rtl_nic/rtl8411-1.fw
firmware:       rtl_nic/rtl8402-1.fw
firmware:       rtl_nic/rtl8168f-2.fw
firmware:       rtl_nic/rtl8168f-1.fw
firmware:       rtl_nic/rtl8105e-1.fw
firmware:       rtl_nic/rtl8168e-3.fw
firmware:       rtl_nic/rtl8168e-2.fw
firmware:       rtl_nic/rtl8168e-1.fw
firmware:       rtl_nic/rtl8168d-2.fw
firmware:       rtl_nic/rtl8168d-1.fw
version:        2.3LK-NAPI
license:        GPL
description:    RealTek RTL-8169 Gigabit Ethernet driver
author:         Realtek and the Linux r8169 crew <[email protected]>
rhelversion:    7.2
srcversion:     17C11305BF371984CB1A920
alias:          pci:v00000001d00008168sv*sd00002410bc*sc*i*
alias:          pci:v00001737d00001032sv*sd00000024bc*sc*i*
alias:          pci:v000016ECd00000116sv*sd*bc*sc*i*
alias:          pci:v00001259d0000C107sv*sd*bc*sc*i*
alias:          pci:v00001186d00004302sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv00001186sd00004B10bc*sc*i*
alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
depends:        mii
intree:         Y
vermagic:       3.10.0-327.36.3.el7.x86_64 SMP mod_unload modversions
signer:         CentOS Linux kernel signing key
sig_key:        DD:8A:C3:DE:FE:A6:07:A6:13:C9:58:35:D0:37:19:40:E7:75:43:CF
sig_hashalgo:   sha256
parm:           use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)
[root@london /]#

LSPCI | grep 네트워크

[root@london /]# lspci | grep net
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
[root@london /]#

lshw 레벨 네트워크

[root@london av]# lshw -class net
  *-network:0 UNCLAIMED
       description: Ethernet controller
       product: RTL-8110SC/8169SC Gigabit Ethernet
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 10
       width: 32 bits
       clock: 66MHz
       capabilities: pm cap_list
       configuration: latency=32 maxlatency=64 mingnt=32
       resources: ioport:ce00(size=256) memory:fddff000-fddff0ff memory:fdd00000-fdd1ffff
  *-network:1 UNCLAIMED
       description: Ethernet controller
       product: RTL-8110SC/8169SC Gigabit Ethernet
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 1
       bus info: pci@0000:02:01.0
       version: 10
       width: 32 bits
       clock: 66MHz
       capabilities: pm cap_list
       configuration: latency=64 maxlatency=64 mingnt=32
       resources: ioport:cc00(size=256) memory:fddfe000-fddfe0ff memory:fdd20000-fdd3ffff
  *-network:2
       description: Ethernet interface
       product: SMC2-1211TX
       vendor: Accton Technology Corporation
       physical id: 3
       bus info: pci@0000:02:03.0
       logical name: enp2s3
       version: 10
       serial: 00:10:b5:c0:43:bb
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.1.4 latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
       resources: irq:22 ioport:ca00(size=256) memory:fddfc000-fddfc0ff
[root@london av]#

ethtool enp2s0

[root@london /]# ethtool enp2s0
Settings for enp2s0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes
[root@london /]#

인터페이스 구성

root@london stats]# cat /etc/sysconfig/network-scripts/ifcfg-enp2s0
TYPE="Ethernet"
BOOTPROTO="none"
IPADDR="192.168.1.4"
NETMASK="255.255.255.0"
GATEWAY="192.168.1.101"
DNS1="192.168.1.101"
DNS2="8.8.8.8"
IPV4_FAILURE_FATAL="no"
NAME="enp2s0"
UUID="d9ca6b87-aa3c-4581-bfa8-4fcbebd78e06"
DEVICE="enp2s0"
ONBOOT="yes"
NM_CONTROLLED="no"


[root@london stats]#

서버 역할은삼바 공유 IPTable이 없으며 SELinux가 꺼져 있습니다.

질문은 다음과 같습니다.

  1. 이 문제의 근본 원인은 무엇입니까?
  2. 이 문제를 해결하려면 어떻게 해야 합니까?
  3. 내가 따라야 하나?이 단계문제를 해결할 것인지

추가 정보가 필요하면 알려주시기 바랍니다. 모든 제안을 환영합니다. 도와주세요. 미리 감사드립니다.

관련 정보