For some reason, the kernel thinks the link of that NIC starts flapping. Unless we are dealing with a hardware failure (out of pure coincidence happening after upgrading to Core Update 170 ), this indeed sounds very much like a driver issue.
Unfortunately, there were no reports regarding such issues while C170 was still in the testing phase. Therefore, I guess this at least does not affect a significant portion of NICs out there, but is disappointing nevertheless.
While I doubt we have sufficient space in upcoming C171 left to ship a new kernel, I’ll investigate whether this relates to an issue already reported upstream.
The commit solved one problem but created another: It causes a
use-after-free in USB Ethernet drivers aqc111.c, asix_devices.c,
ax88179_178a.c, ch9200.c and smsc75xx.c:
* If the drivers receive a link change interrupt immediately before
disconnect, they raise EVENT_LINK_RESET in their (non-sleepable)
->status() callback and schedule usbnet_deferred_kevent().
* usbnet_deferred_kevent() invokes the driver's ->link_reset() callback,
which calls netif_carrier_{on,off}().
* That in turn schedules the work linkwatch_event().
Hi,
I think I can confirm having the same issue after updating to 170.
I’ve got two AX88179 Gigabit Ethernet (ax88179_178a) USB3-ethernet adapters. One for red and one for orange.
Just after the update all worked well, but a couple of hours later I first lost the connection on orange then a few minutes later red was also down. After a restart they worked - for about an hour. Restarted IPFire. Then it worked for a while and so on - until I pulled the IPFire 170 SDD out and reinstalled IPFire 169 from backup on another SSD.
Regards
Willy Sejr
I have the same issue with this hardware
{
“deviceclass”: “255/255/0”,
“driver”: “ax88179_178a”,
“model”: “4a00”,
“subsystem”: “usb”,
“vendor”: “2001”
},
I rollback to C169 and everything is fine.
Thank you
Tg92
I have reinstalled with my backup of 169, I have just one remark, networks were not setup to the right network cards. I have to login as admin in the console, run /usr/sbin/setup and redo the network configuration by doing what is describe here . wiki.ipfire.org - Step 5: Network Setup
I noticed the same when I restored from my 169 backup
I pretty much sure I used the right iso containing settings, because I was prompted if I wanted to install these during the process.
But upon reading the wiki guide on backup, I’m wondering if the network adapter setup is included
Apparently, that affected ASIX chipset is used quite a lot (but not in the USB-LAN-adaptors I use, otherwise, I would have noticed during testing ), and upcoming Core Update 171 is currently at 39 MBytes, I will definitely try to add the latest 5.15.x kernel, to have this resolved sooner rather than later.
If Ichange my usb network card ASIX to an usb network card RTL8153, it will work (see previous message). I just have to relaunch /usr/sbin/setup to map network to network card? Drivers are already available or I have to make a clean setup of ipfire and then apply a backup configuration?