LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2020, 03:48 AM   #16
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled

Quote:
Originally Posted by bayer
Code:
bash-5.0# lspci -k | grep -iA3 net
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
        Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
        Kernel modules: r8169

Not exactly your use case (I run Slackware64-14.2 and the 4.4 kernel), but my network hardware looks similar in lspci:

Code:
lspci -k | grep Eth
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
I could not make it work with stock r8169 driver until I was suggested in this forum to use r8168 from SBo. I don't know if this works in -current with a newer kernel, hopefully a -current user can provide more feedback, because this will be relevant for 15.0.
 
1 members found this post helpful.
Old 04-11-2020, 06:34 AM   #17
bayer
LQ Newbie
 
Registered: Apr 2020
Location: Bayern/Bavaria
Distribution: Slackware current
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Based on this, r8169 is already loaded. If it needs realtek loaded beforehand, you'd need to first rmmod r8169, then modprobe realtek and r8169. This should be able to be done in rc.modules.local
i've testet this and it doesn't work.

Quote:
Originally Posted by Mobile1 View Post
I found the following in DMESG:

realtek.ko not loaded, maybe it needs to be added to initramfs?

Probe failed with error -49

I should also mention that I'm running 5.4.31 Kernel
Yes. Same messages here.

I'll test some things later.
 
Old 04-11-2020, 01:06 PM   #18
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
Modinfo for both realtek & r8169 - to me everything looks normal, but LAN (eth0) device not found....I'm out of my depth here

bash-5.0# modinfo realtek
filename: /lib/modules/5.4.31/kernel/drivers/net/phy/realtek.ko
license: GPL
author: Johnson Leung
description: Realtek PHY driver
alias: mdio:0000000000011100110010??????????
depends: libphy
retpoline: Y
intree: Y
name: realtek
vermagic: 5.4.31 SMP mod_unload


bash-5.0# modinfo r8169
filename: /lib/modules/5.4.31/kernel/drivers/net/ethernet/realtek/r8169.ko
firmware: rtl_nic/rtl8125a-3.fw
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
license: GPL
softdep: pre: realtek
description: RealTek RTL-8169 Gigabit Ethernet driver
author: Realtek and the Linux r8169 crew <netdev@vger.kernel.org>
alias: pci:v000010ECd00003000sv*sd*bc*sc*i*
alias: pci:v000010ECd00008125sv*sd*bc*sc*i*
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:v000010FFd00008168sv*sd*bc*sc*i*
alias: pci:v000010ECd00008168sv*sd*bc*sc*i*
alias: pci:v000010ECd00008167sv*sd*bc*sc*i*
alias: pci:v000010ECd00008161sv*sd*bc*sc*i*
alias: pci:v000010ECd00008136sv*sd*bc*sc*i*
alias: pci:v000010ECd00008129sv*sd*bc*sc*i*
alias: pci:v000010ECd00002600sv*sd*bc*sc*i*
alias: pci:v000010ECd00002502sv*sd*bc*sc*i*
depends: libphy
retpoline: Y
intree: Y
name: r8169
vermagic: 5.4.31 SMP mod_unload
parm: debugebug verbosity level (0=none, ..., 16=all) (int)
 
Old 04-11-2020, 01:37 PM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Can you post the output of the following? (Please use [code][/code] tags for proper spacing)

Code:
lspci -k | grep -iA3 net
ifconfig -a
 
Old 04-11-2020, 03:03 PM   #20
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
bash-5.0# lspci -k | grep -iA3 net
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
DeviceName: Realtek PCIe FE Family Controller
Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
Kernel modules: r8169
06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
DeviceName: Qualcomm Atheros QCA9565 802.11bgn WiFi Adapter
Subsystem: Hewlett-Packard Company QCA9565 / AR9565 Wireless Network Adapter
Kernel driver in use: ath9k
Kernel modules: ath9k


bash-5.0# ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1 bytes 197 (197.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1 bytes 197 (197.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.71 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::5f3c:9915:5d2b:1b53 prefixlen 64 scopeid 0x20<link>
inet6 2001:569:7e17:7200:d188:fbd5:a221:4380 prefixlen 64 scopeid 0x0<global>
ether 28:e3:47:18:10:94 txqueuelen 1000 (Ethernet)
RX packets 2396651 bytes 3511384220 (3.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 693317 bytes 75949142 (72.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
 
Old 04-11-2020, 03:04 PM   #21
bayer
LQ Newbie
 
Registered: Apr 2020
Location: Bayern/Bavaria
Distribution: Slackware current
Posts: 8

Rep: Reputation: Disabled
Ok. I found the problem.

It's this commit in 5.4.29
https://git.kernel.org/pub/scm/linux...d869c6cfad2023

I reverted this commit and made a new kernel 5.4.31 with the Slackware config[1] and now eth0 works again out of the box.


[1] ftp://ftp.slackware.com/pub/slackwar...ernels/huge.s/



PS: In an earlier post i said, i upgraded from 5.4.29 to 5.4.31, but is was from 5.4.27.
 
1 members found this post helpful.
Old 04-11-2020, 03:29 PM   #22
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
That's all Greek to me : )
 
Old 04-13-2020, 09:41 AM   #23
OutSiderBR
Member
 
Registered: Jan 2015
Location: São Paulo-SP-Brazil
Distribution: Slackware
Posts: 69

Rep: Reputation: Disabled
I had the same problem. A have Dell notebook with

Code:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
I found a solution in:

https://askubuntu.com/questions/1195...ealtek-rtl8111

And it works pretty much OK. I will avoid updating the kernel in current until this is all fixed.
 
Old 04-14-2020, 01:56 PM   #24
bayer
LQ Newbie
 
Registered: Apr 2020
Location: Bayern/Bavaria
Distribution: Slackware current
Posts: 8

Rep: Reputation: Disabled
5.4.32 no change.

What's the easiest way to report this problem?
 
1 members found this post helpful.
Old 04-14-2020, 03:19 PM   #25
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
Quote:
Originally Posted by bayer View Post
5.4.32 no change.

What's the easiest way to report this problem?
5.4.32 fixed the Wired issue, but eth0 can not be found - eth1 works now - so I'm not sure what to make of that.

Weird eh?
 
Old 04-15-2020, 01:00 AM   #26
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by Mobile1 View Post
5.4.32 fixed the Wired issue, but eth0 can not be found - eth1 works now - so I'm not sure what to make of that.

Weird eh?
Hi, you can try to remove /etc/udev/rules.d/70-persistent-net.rules then reboot. Your ethernet card should be eth0.
 
2 members found this post helpful.
Old 04-15-2020, 10:19 AM   #27
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
Quote:
Originally Posted by Thom1b View Post
Hi, you can try to remove /etc/udev/rules.d/70-persistent-net.rules then reboot. Your ethernet card should be eth0.
BOOM! Thank you, do you know how that file gets created?
 
Old 04-15-2020, 11:43 AM   #28
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 485

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by Mobile1 View Post
BOOM! Thank you, do you know how that file gets created?
This file is created by evdev when booting slackware.
I delete this file in my rc.local.
 
Old 04-15-2020, 11:47 AM   #29
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
Quote:
Originally Posted by Thom1b View Post
This file is created by evdev when booting slackware.
I delete this file in my rc.local.
Thanks, seems like an odd instruction to me. I'll assume it's and "if this" "do this" kind of thing.
 
Old 04-15-2020, 11:48 AM   #30
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Thom1b View Post
This file is created by evdev when booting slackware.
I delete this file in my rc.local.
It should probably be noted that you should only need to setup automatic deleting if you notice it is continually screwing up your device names.

The purpose of the file is to ensure if you have multiple network devices that they will always remain the same. It saves the hardware/MAC address of the device and is supposed to make sure that the same device gets the same designation (eth0, eth1, wlan0, etc) next time you boot up. For most people, this file works great, but there are probably people who might have problems with it.
 
  


Reply

Tags
5.4.30, current, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
How to fix:UDP packet send through vlan(eth0.4092), reaching at both eth0 and eth0.4092 arjuncr Linux - Networking 1 02-19-2019 02:37 PM
[SOLVED] Slackware 14.2 glibc-2.23 vs Slackware Current glibc-2.24 and the Current 4.4.17 Kernel kjhambrick Slackware 10 08-13-2016 01:00 AM
Directory not found; -xzvf not found; Makefile not found RealGomer Linux - Software 4 09-20-2010 10:02 AM
vnStat - if pointed to eth0 will it aggregate eth0 and eth0:1 alias stardotstar Linux - Networking 0 07-20-2010 07:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration