Asus h170m-e d3 problem with pci network card

Issues related to hardware problems
JohnK2020
Posts: 19
Joined: 2018/06/27 12:08:17

Asus h170m-e d3 problem with pci network card

Post by JohnK2020 » 2018/06/27 12:37:44

Hi!
When booting a message apeears "can't pci upodate bar". I didnt pay attention at first.
But after 100 tries to ifup enp2s0 and no traffic goes I remember that message.
Centos 7 detect this card, I can ifup and ifdown but no traffic flows
I tried a lot of cards issue was the same
PCI-E cards work good. But my aim is to make pci card work as secondary one.
What had been done:
- Bios update
- varios card test
- varios manipulations with options

No result. No traffic flows...
I suppose no correct support of this chipset. What ideas ?

User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Asus h170m-e d3 problem with pci network card

Post by TrevorH » 2018/06/27 12:50:44

What's the output from lspci -nn | grep -i net ?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

JohnK2020
Posts: 19
Joined: 2018/06/27 12:08:17

Re: Asus h170m-e d3 problem with pci network card

Post by JohnK2020 » 2018/06/27 13:49:16

Code: Select all

# lspci -nn | grep -i net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter [10ec:8139] (rev 10)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Gigabit is integrated NIC and works fine as enp3s0
But enp2s0 fails

User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Asus h170m-e d3 problem with pci network card

Post by TrevorH » 2018/06/27 13:57:23

The first card is using a different driver to the second. Might be worth trying with ELRepo's kmod-r8168 package installed and see if that works better.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

JohnK2020
Posts: 19
Joined: 2018/06/27 12:08:17

Re: Asus h170m-e d3 problem with pci network card

Post by JohnK2020 » 2018/06/27 14:25:18

I did:

Code: Select all

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum install kmod-r8168 -y
reboot
But nothing changed (

JohnK2020
Posts: 19
Joined: 2018/06/27 12:08:17

Re: Asus h170m-e d3 problem with pci network card

Post by JohnK2020 » 2018/06/27 14:29:56

Code: Select all

# lshw -C network
  *-network
       description: Ethernet interface
       product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 10
       serial: 00:1e:2c:5a:05:44
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
       resources: irq:18 ioport:2000(size=256) memory:c8010000-c80100ff memory:c8000000-c800ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 15
       serial: 70:8b:cd:7f:2e:11
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.045.08-NAPI duplex=full ip=192.168.10.210 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:124 ioport:e000(size=256) memory:f7004000-f7004fff memory:f7000000-f7003fff



JohnK2020
Posts: 19
Joined: 2018/06/27 12:08:17

Re: Asus h170m-e d3 problem with pci network card

Post by JohnK2020 » 2018/06/27 14:31:46

Code: Select all

# lsmod | grep 8168
r8168                 551771  0


User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Asus h170m-e d3 problem with pci network card

Post by TrevorH » 2018/06/27 14:57:55

Hmm, your lshw output seems to show that the device with the problem is the other one, not the r8168 device. There are multiple drivers for 8139 cards, perhaps try one of the others - 8139cp, 8139too and it's currently the 8139too one in use. You can test by using modprobe -r 8139too to remove it and then modprobe 8139cp and see if that's any better. If it is then you'll probably need to add a blacklist entry in /etc/modprobe.d and rebuild your initramfs using dracut afterwards. Try the modprobe tests first.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

JohnK2020
Posts: 19
Joined: 2018/06/27 12:08:17

Re: Asus h170m-e d3 problem with pci network card

Post by JohnK2020 » 2018/06/27 15:14:02

Yes, the problem is with enp2s0 (PCI card)
modprobe -r 8139cp
modprobe 8139too
all the same
modprobe -r 8139too
modprobe 8139cp
ifup enp2s0
Error: No suitable device found for this connection

User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Asus h170m-e d3 problem with pci network card

Post by TrevorH » 2018/06/27 15:19:50

After modprobing 8139cp, is there more info in the output from `dmesg`? Did the device name change perhaps?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply