LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-13-2023, 04:18 PM   #1
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Rep: Reputation: 61
need nic driver for either intel 1225-V or realtek 8111-8168-8411


I bought a new motherboard (gigabyte z490 Vision G) that came with an on-board NIC. There is no driver in the kernel for the NIC and I'm not finding a linux driver for it. Never daunted, I bought a pcie ethernet card with a realtek chip: 8111 / 8168 / 8411. Again, no driver in the Kernel and what I can find on the net does not compile on -current. I checked SBo, but no luck.


So... anyone know of a decent pcie nic card or usb nic card that is more or less modern?
 
Old 12-13-2023, 04:24 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
I know the Intel I225-V is supported in 15.0 and beyond. I have an Intel I225-V on my system right now and it works fine. The module for the intel is "igc".
 
1 members found this post helpful.
Old 12-13-2023, 04:39 PM   #3
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 286

Original Poster
Rep: Reputation: 61
OK, I checked /boot/config, and IGC is a module. I was running 6.6.6 and the card did not work. I'm back to 6.1.66 and everything is AOK. Thanks for the help.
 
Old 12-14-2023, 01:44 PM   #4
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 934

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
About the Realtek nic, I also have a Gigabyte mobo with that same nic,
and when I built that machine I had to use the SBo 8168 driver because the
kernel driver 8169 wasn't working.

At some point, I don't know or remember why, the 8169 driver started working.
Maybe I ran enough 'modprobe 8169' and it got stuck
or it was just the kernel version that fixed it.

Code:
lspci -v|grep -A20 'Realtek.*8168'
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
        Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
        Flags: bus master, fast devsel, latency 0, IRQ 33, NUMA node 0, IOMMU group 15
        I/O ports at d000 [size=256]
        Memory at fe200000 (64-bit, non-prefetchable) [size=4K]
        Memory at d2100000 (64-bit, prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Kernel driver in use: r8169
        Kernel modules: r8169
 
Old 02-05-2024, 10:36 AM   #5
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
In Slackware 15.0, it appears there is still a problem with the r8169 kernel module and the Realtek RTL8111/8168/8411 chip, at least with revision "06".

For years I ran Slackware 14.2 on a Dell Dimension 540s, and it was great. Shortly after v15.0 came out I installed it on this 540s, and it was great. As far as I can tell the 540s was made in 2008, and in the last year I have from time to time heard what I think is bearing-noise in the processor fan. About a month ago I was given a Dell Optiplex 390 (had Windows installed, and everything worked). Last night I moved the hard-drive from the 540s to the 390, and booted the 390, applied all the Slackware updates (including kernel 5.15.145), and rebooted --> everything except the Ethernet appears to work just fine.

Running "lspci -v" tells me the Dell Optiplex 390 has the Realtek RTL8111/8168/8411 (rev 06) chip.

After the discovery of the Ethernet problem in the 390, and after a bit of diagnosis, I noticed a pattern: after the power is cycled, the green light of the network 'card' is <ON> until about 5.x seconds into the boot up. Looking in the dmesg output I see about 5.x seconds in is where the r8169 module comes alive. Trying several variations I found: the green light will not come <ON> after a warm-reboot, but will always come on for 5.x seconds after a cold-reboot --> I am guessing the r8169 module does something which locks-up the Realtek chip. I blacklisted the r8169 module, and found the green light will stay <ON> for as long as I want to let the 390 run; of course, the networking does not function, because there is no driver for the Realtek chip.

I read of Paulo2's experience with the Realtek RTL8111/8168/8411 chip, the r8169 module, and the SBO r8168 module. I am thinking my next steps will be to download the SBO r8168 module files, use a flash-drive to copy these files to the 390, compile the r8168 module package, and install the package.
 
Old 02-05-2024, 12:11 PM   #6
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
Well, fooey.

I compiled the SBO r8168 module, and installed it in Slackware 15.0 on the Optiplex 390, and rebooted. Now, the green light for the Ethernet port stays <ON>, but there is apparently also some other problem. Running ifconfig shows only the loopback interface. Running "lspci -v" shows the OS is seeing the Realtek chip, and it is using the r8168 driver --- however, the r8169 module is listed as being present somewhere in the system, even though I blacklisted r8169; I am wondering whether r8169 is compiled into the Slackware 15.0 generic kernel.
 
  


Reply



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] RTL8111/8168/8411 Realtek Ethernet controller not working overmach Linux - Networking 2 07-31-2023 09:40 AM
[SOLVED] Realtek RTL8111/8168/8411 Ethernet Controller - r8168 driver install, r8169 driver doesn't work pepperslq Linux - Hardware 4 11-12-2018 06:18 AM
Drivers for Ethernet Realtek RTL8111/8168/8411 (r8169) ehure Linux - Hardware 9 08-10-2016 10:45 AM
Realtek 8111/8168 LAN Driver will not install on RHEL 5 venkatachalam Linux - Newbie 1 02-15-2011 02:18 AM
Realtek 8111/8168 LAN Driver will not install on RHEL4.5 Astol Linux - Networking 6 05-08-2008 11:36 AM

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

All times are GMT -5. The time now is 03:58 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