You are not logged in.

#26 2021-11-15 08:14:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,220

Re: [Solved] Couldn't detect ethernet interface

On manjaro you're running TLP, there's a 7s delay between the usb2 and usb3 adapter, the default usb suspend timeout is 5 seconds… it'just a hunch but install TLP (and use the same config as on your manjaro system)

Online

#27 2021-11-15 08:45:58

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

Well, I just installed tlp but nothing changed. sad I have systemctl enabled it and made sure it's running after reboot. I have also checked "dmesg -w" and "lsusb -tv" everything is still the same.

Offline

#28 2021-11-16 08:59:36

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

Anyone still interested in the problem? I couldn't find the solution on my own.

Offline

#29 2021-11-16 16:52:17

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

I ran "dmesg | grep ax88179":

[   12.823781] ax88179_178a: loading out-of-tree module taints kernel.
[   12.823805] ax88179_178a: module verification failed: signature and/or required key missing - tainting kernel
[   12.824180] usbcore: registered new interface driver ax88179_178a

While on manjaro, no such error was found.

Last edited by Benasd (2021-11-16 17:43:29)

Offline

#30 2021-11-16 17:48:38

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [Solved] Couldn't detect ethernet interface

According to your logs Manjaro still uses kernel 5.13.x, so try to install a similar version on arch linux? Possibly with an older package from the arch linux archive. (The kernel is one of the few exceptions where you should be able to use an old package, but keep linux-lts as a fallback installed)
Maybe kernel 5.14+ broke partially broke usb for your pc as well: https://bbs.archlinux.org/viewtopic.php?id=270795
You already tried lts, but I maybe 5.10.x was still missing support for your usb controller. (Did you verify that you booted linux-lts and not the default kernel?)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#31 2021-11-16 18:18:10

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

progandy wrote:

(Did you verify that you booted linux-lts and not the default kernel?)

uname -r:

5.10.79-1-lts

Do I need to downgrade my linux kernel to 5.13.X?

In this wiki page https://wiki.archlinux.org/title/downgr … cman_cache
suggest to use pacman cache to downgrade the kernel, but I could find 5.13.X, only 5.10.X-lts and 5.15.X.
In this case, how to downgrade it?

Offline

#32 2021-11-16 18:37:54

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [Solved] Couldn't detect ethernet interface

Benasd wrote:
5.10.79-1-lts

Alright. Too bad that 5.10 really doesn't work.

Do I need to downgrade my linux kernel to 5.13.X?

It is something you can try. There is an archive of older packages mentioned as the third option in that downgrade article.

Last edited by progandy (2021-11-16 18:40:28)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#33 2021-11-16 18:43:47

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

Idk, I tried switching kernel to 5.10 and 5.15 on manjaro, they both worked perfectly fine. Maybe manjaro have patched it.

Offline

#34 2021-11-16 19:30:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,220

Re: [Solved] Couldn't detect ethernet interface

While on manjaro, no such error was found.

The tainting itself is not a problem (just means you're running an out-of-tree module) => "lsmod" on manjaro?

Maybe manjaro have patched it.

The poblem is that the second usb device doesn't show up at all - maybe a "cleaner" event on manjaro (not during bootup) might shed some light.
Remove the adpter, run "dmesg -w", add it again and post the tail (you know the drill, but this time on manjaro)

Online

#35 2021-11-17 04:42:43

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

seth wrote:

run "dmesg -w", add it again and post the tail (you know the drill, but this time on manjaro)

[   59.131176] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[   59.150606] usb 2-1: New USB device found, idVendor=05e3, idProduct=0617, bcdDevice=44.26
[   59.150695] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   59.150696] usb 2-1: Product: USB3.0 Hub
[   59.150697] usb 2-1: Manufacturer: GenesysLogic
[   59.153982] hub 2-1:1.0: USB hub found
[   59.154259] hub 2-1:1.0: 4 ports detected
[   59.164386] usb 3-3: new high-speed USB device number 4 using xhci_hcd
[   59.312200] usb 3-3: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=44.26
[   59.312204] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   59.312205] usb 3-3: Product: USB2.0 Hub
[   59.312206] usb 3-3: Manufacturer: GenesysLogic
[   59.313143] hub 3-3:1.0: USB hub found
[   59.314101] hub 3-3:1.0: 4 ports detected
[   59.434726] usb 2-1.4: new SuperSpeed USB device number 3 using xhci_hcd
[   59.461814] usb 2-1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 1.00
[   59.461818] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   59.461819] usb 2-1.4: Product: AX88179
[   59.461820] usb 2-1.4: Manufacturer: ASIX Elec.
[   59.461821] usb 2-1.4: SerialNumber: 0000051BD2DBA6
[   60.596693] ax88179_178a 2-1.4:1.0 eth0: register 'ax88179_178a' at usb-0000:00:0d.0-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[   60.598565] usbcore: registered new interface driver ax88179_178a
[   60.622991] ax88179_178a 2-1.4:1.0 enp0s13f0u1u4: renamed from eth0

Last edited by Benasd (2021-11-17 04:43:05)

Offline

#36 2021-11-17 07:58:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,220

Re: [Solved] Couldn't detect ethernet interface

There's still some delay but only 120ms and no further activity.

You can try to play w/ "usbcore.old_scheme_first=1", https://raw.githubusercontent.com/torva … meters.txt and as last resort downgrade the kernel to some 5.13 version but it's really just that on one system the hub knocks as 2 devices (the super-speed one first) and on the other one, only the high-speed version (usb 2) shows up…
You could also try to disable https://wiki.archlinux.org/title/Power_ … utosuspend (if you've tlp installed, deactivate it there) but we're deep deep in voodoo territory here.

Online

#37 2021-11-17 09:42:33

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

seth wrote:

(if you've tlp installed, deactivate it there)

After trying out all of the options, it has FINALLY worked (after disabling usb autosuspend in tlp.conf) big_smile

But why? I checked again, manjaro has autosuspend enable but the ethernet is working fine.

Edit:
        And then I re-enable it, ethernet still work, how?

Last edited by Benasd (2021-11-17 10:13:53)

Offline

#38 2021-11-17 12:43:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,220

Re: [Solved] Couldn't detect ethernet interface

Did you reboot after re-enabling it?
Maybe the (internal) hub just really doesn't like being powered down.

As for manjaro, did you check the usbcore module settings ("systool -vm usbcore") against the ones in arch?
Did you check the autosuspend values for the specific device?

Online

#39 2021-11-17 13:53:50

Benasd
Member
Registered: 2021-11-13
Posts: 21

Re: [Solved] Couldn't detect ethernet interface

seth wrote:

As for manjaro, did you check the usbcore module settings ("systool -vm usbcore") against the ones in arch?

it says autosuspend=2 on manjaro and autosuspend=-1 on arch.

Thanks for helping me smile, I've learned a lot!

Offline

#40 2021-11-17 13:55:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,220

Re: [Solved] Couldn't detect ethernet interface

manjaro is the default value and on arch it's disabled - so no new news sad

Online

Board footer

Powered by FluxBB