TP-LINK TG-3468 network card not recognized correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| linux (Ubuntu) |
Medium
|
Anthony Wong |
Bug Description
A few days ago purchased a couple of TP-LINK TG-3468 network cards (reviewed by Phoronix here: https:/
After DuckDuckGoing for a while I found this kernel bud report for FreeBSD: https:/
IMHO is the same issue but I'm using Ubuntu 16.04.5 server i686. I wanted to report this so it can be fixed, please let me know wich logs/data should I provide.
When ran lspci -nv this is shown for the correct nic:
03:00.0 0200: 10ec:8168 (rev 06)
Subsystem: 7470:3468
Flags: bus master, fast devsel, latency 0, IRQ 27
I/O ports at e800 [size=256]
Memory at febff000 (64-bit, non-prefetchable) [size=4K]
Memory at fdffc000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
And this for the incorrect one:
01:00.0 0200: 10ff:8168 (rev 06)
Subsystem: 7470:3468
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at c800 [size=256]
Memory at fe9ff000 (64-bit, non-prefetchable) [size=4K]
Memory at fdefc000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
1) lsb_release -rd
Description: Ubuntu 16.04.5 LTS
Release: 16.04
2) In regard to the package I think this is related to the kernel itself?
3) Both cards should be identified as "Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)" and the r8169 driver should be used.
4) The network card was erroneously detected as a different one and the driver was not loaded by the kernel.
Best regards.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.4.0-133-generic.
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/hwC0D0', '/dev/snd/
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-12-06 (260 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release i386 (20160420.3)
IwConfig: Error: [Errno 2] No such file or directory
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.157.20
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-133-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/27/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0702
dmi.board.
dmi.board.name: P5KPL-CM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
tags: | added: xenial |
apport information
tags: | added: apport-collected |
description: | updated |
dienteperro (dienteperro1207) wrote : CRDA.txt | #3 |
apport information
apport information
apport information
dienteperro (dienteperro1207) wrote : Lspci.txt | #6 |
apport information
dienteperro (dienteperro1207) wrote : Lsusb.txt | #7 |
apport information
apport information
apport information
apport information
apport information
apport information
apport information
apport information
apport information
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Joseph Salisbury (jsalisbury) wrote : | #16 |
Would it be possible for you to test the latest upstream kernel? Refer to https:/
If this bug is fixed in the mainline kernel, please add the following tag 'kernel-
If the mainline kernel does not fix this bug, please add the tag: 'kernel-
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Incomplete |
tags: | added: kernel-da-key |
dienteperro (dienteperro1207) wrote : | #17 |
Tried kernel 4.18.3, but it panicked. I'll try other 4.18 and see if any luck arises.
dienteperro (dienteperro1207) wrote : | #18 |
Tested bionic 18.04 amd64 with standards kernels 4.15.0-29 and 4.15.0-33 and upstream kernels: 4.18.3 and 4.18.5 and both didn't identify correctly the pci-e nic.
tags: | added: bionic kernel-bug-exists-upstream |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Anthony Wong (anthonywong) wrote : | #19 |
I built two kernels for your issue and hope one of them would work for you. Could you install the packages in https:/
dienteperro (dienteperro1207) wrote : | #20 |
Installed files from folder 1. Card is recognized, module r8169 loaded, and is operational! I made some speed tests and all appears to be okay.
Also to note. I didn't have installed the linux-tools and linux-cloud-tools packages (from repositories, not yours). So I needed to install linux-tools-generic and linux-cloud-
After that I installed files from folder 2. Not all went fine, after issuing command "sudo dpkg -i linux-image-
Selecting previously unselected package linux-image-
dpkg: regarding linux-image-
linux-
linux-
dpkg: error processing archive linux-image-
conflicting packages - not installing linux-image-
Errors were encountered while processing:
linux-
I rebooted with a different kernel 4.15.0-29 and removed all files related to 4.15.0-33, after that rebooted and reinstalled all "folder 2" files, after reboot (again) the nic is sort-of detected but no operational, issuing command lspci -vv outputs the card with "Kernel modules: r8169" but no sign of "Kernel driver in use", this line of disappeared.
I'll try again tomorrow installing folder 2 files over folder 1. Fortunately I made an image prior to deployment of files.
Thanks a lot!
Anthony Wong (anthonywong) wrote : | #21 |
You testing is good, the first kernel should work fine. I will build one more kernel soon and need your help to verify that. If the test result is again positive, I will send the fix to upstream.
Changed in linux (Ubuntu): | |
assignee: | nobody → Anthony Wong (anthonywong) |
status: | Confirmed → In Progress |
Anthony Wong (anthonywong) wrote : | #22 |
Please download the 4.19rc1 kernel packages from https:/
dienteperro (dienteperro1207) wrote : | #23 |
Good news! I didn't have tried again "folder 2" files, went straight to 4.19rc1, and it worked fine! Nic is detected and operational as it should be.
dienteperro (dienteperro1207) wrote : | #24 |
Is it possible to implement a fix available for xenial ubuntu official repositories? These kernels (4.15, 4.18 and 4.19) were tested just in bionic, xenial crashed and dependencies were not satisfied (I can provide further details if needed).
Anthony Wong (anthonywong) wrote : | #25 |
Xenial will be fixed, but that will take some time.
Changed in linux (Ubuntu): | |
status: | In Progress → Confirmed |
dienteperro (dienteperro1207) wrote : | #26 |
Great, thanks a lot!
Anthony Wong (anthonywong) wrote : | #27 |
Patch submitted to upstream: https:/
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1788730
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.