Package Details: asix-ax88179-dkms 3.4.0-1

Git Clone URL: https://aur.archlinux.org/asix-ax88179-dkms.git (read-only, click to copy)
Package Base: asix-ax88179-dkms
Description: A kernel module for ASIX AX88179B USB network adapters
Upstream URL: https://www.asix.com.tw/en/product/USBEthernet/Super-Speed_USB_Ethernet/AX88179B
Licenses: GPL2
Submitter: mlq
Maintainer: mmoya
Last Packager: mmoya
Votes: 24
Popularity: 0.013240
First Submitted: 2013-11-17 21:44 (UTC)
Last Updated: 2024-12-08 21:01 (UTC)

Dependencies (1)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

mmoya commented on 2024-02-07 12:31 (UTC)

I'm seeing similar oops both in 6.6 and 6.7 on x86_64 but the system remains functional.

$ journalctl --since '-5day' | grep -E 'Linux version |Expected addr: '
Feb 03 16:43:42 itotele kernel: Linux version 6.7.2-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Fri, 26 Jan 2024 19:10:20 +0000
Feb 03 16:43:48 itotele kernel: ax_usb_nic 10-1.1:1.0 enp100s0f4u1u1: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 03 17:07:58 itotele kernel: ax_usb_nic 10-1.1:1.0 enp100s0f4u1u1 (unregistered): Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 04 18:39:48 itotele kernel: Linux version 6.7.3-arch1-2 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:03:55 +0000
Feb 05 09:13:51 itotele kernel: Linux version 6.6.15-2-lts (linux-lts@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:04:24 +0000
Feb 05 09:13:54 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 05 09:19:15 itotele kernel: Linux version 6.6.15-2-lts (linux-lts@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:04:24 +0000
Feb 05 09:19:18 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 05 09:25:57 itotele kernel: Linux version 6.7.3-arch1-2 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:03:55 +0000
Feb 05 09:26:00 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 05 09:27:59 itotele kernel: Linux version 6.6.15-2-lts (linux-lts@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 02 Feb 2024 17:04:24 +0000
Feb 05 09:28:02 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 06 08:48:46 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0 (unregistered): Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 06 10:07:09 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 06 21:26:10 itotele kernel: Linux version 6.7.4-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:49 +0000
Feb 06 21:26:13 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Feb 06 21:28:14 itotele kernel: Linux version 6.7.4-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:49 +0000
Feb 06 21:28:17 itotele kernel: ax_usb_nic 8-1.2:1.0 eth0: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

alllexx88 commented on 2024-02-07 11:10 (UTC)

@BuSteR it is probably either Raspberry Pi 4 specific, or architecture (arm/aarch64) specific, since it works for me now on amd64 on 6.7.x kernel, and I believe it worked on 6.6.x kernel before too.

BuSteR commented on 2024-02-07 08:18 (UTC) (edited on 2024-02-07 08:23 (UTC) by BuSteR)

It seems that there is a problem with kernel 6.6.X with the driver:

[   10.200488] ax_usb_nic 2-1:1.0 net1: Current addr:  20 7b d2 72 de d5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   10.214595] ax_usb_nic 2-1:1.0 net1: Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   10.227920] ------------[ cut here ]------------
[   10.232570] netdevice: net1: Incorrect netdev->dev_addr
[   10.237918] WARNING: CPU: 0 PID: 439 at net/core/dev_addr_lists.c:519 dev_addr_check+0xac/0x148
[   10.246635] Modules linked in: nft_meta_bridge bridge nft_chain_nat nf_nat nft_ct zstd zram zsmalloc nf_tables cfg80211 8021q garp stp llc btusb btrtl btintel btbcm bluetooth bcm2835_v4l2(C) bcm2835_codec(C) rpivid_hevc(C) bcm2835_isp(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev ecdh_generic ecc rfkill libaes videobuf2_common raspberrypi_hwmon raspberrypi_gpiomem mc i2c_bcm2835 vc_sm_cma(C) nvmem_rmem uio_pdrv_genirq uio ax88179_178a sch_cake tcp_bbr i2c_bcm2708 i2c_dev snd_bcm2835(C) snd_pcm snd_timer snd nf_conntrack_pptp nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ax_usb_nic(O) drm tun fuse drm_panel_orientation_quirks backlight dm_mod nfnetlink ip_tables x_tables ipv6
[   10.312521] CPU: 0 PID: 439 Comm: ip Tainted: G         C O       6.6.14-1-rpi #1
[   10.320000] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
[   10.325825] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   10.332780] pc : dev_addr_check+0xac/0x148
[   10.336871] lr : dev_addr_check+0xac/0x148
[   10.340960] sp : ffffffc08077b510
[   10.344265] x29: ffffffc08077b510 x28: 0000000000000000 x27: 0000000000000000
[   10.351399] x26: ffffffde8d3274a0 x25: ffffff8101e72f90 x24: 0000000000000101
[   10.358531] x23: ffffff8102548268 x22: 0000000000001002 x21: ffffffde8d3274a0
[   10.365663] x20: ffffff8102548000 x19: ffffff8102548000 x18: 0000000000000006
[   10.372795] x17: 000000000000ffff x16: ffffff810cebfa40 x15: ffffffc08077af70
[   10.379927] x14: 0000000000000000 x13: 000000006b49d200 x12: ffffffdeaabad8c8
[   10.387059] x11: 0000000000000001 x10: 0000000000001a20 x9 : ffffffdea94ce800
[   10.394191] x8 : ffffff810d84d780 x7 : 0000000000000004 x6 : 00000000000000d0
[   10.401323] x5 : 00000000410fd080 x4 : 0000000000f0000f x3 : 0000000000000003
[   10.408455] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff810d84bd00
[   10.415587] Call trace:
[   10.418026]  dev_addr_check+0xac/0x148
[   10.421768]  __dev_open+0x48/0x218
[   10.425166]  __dev_change_flags+0x194/0x218
[   10.429344]  dev_change_flags+0x2c/0x80
[   10.433175]  do_setlink+0x28c/0xef8
[   10.436659]  __rtnl_newlink+0x520/0x898
[   10.440489]  rtnl_newlink+0x58/0x90
[   10.443973]  rtnetlink_rcv_msg+0x134/0x390
[   10.448063]  netlink_rcv_skb+0x64/0x138
[   10.451895]  rtnetlink_rcv+0x20/0x38
[   10.455464]  netlink_unicast+0x300/0x370
[   10.459381]  netlink_sendmsg+0x1c4/0x448
[   10.463298]  __sock_sendmsg+0x64/0xc0
[   10.466955]  ____sys_sendmsg+0x260/0x298
[   10.470872]  ___sys_sendmsg+0xb4/0x110
[   10.474613]  __sys_sendmsg+0x8c/0xf0
[   10.478181]  __arm64_sys_sendmsg+0x2c/0x40
[   10.482271]  invoke_syscall+0x50/0x128
[   10.486016]  el0_svc_common.constprop.0+0x48/0xf0
[   10.490715]  do_el0_svc+0x24/0x38
[   10.494023]  el0_svc+0x40/0xe8
[   10.497073]  el0t_64_sync_handler+0x100/0x130
[   10.501423]  el0t_64_sync+0x190/0x198
[   10.505079] ---[ end trace 0000000000000000 ]---

mmoya commented on 2024-01-21 20:59 (UTC)

Fixed. Thanks.

alllexx88 commented on 2024-01-18 09:18 (UTC)

Hi, there's a small typo, here's the fix:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,5 +20,5 @@ package() {
     sed -e "s/@PKGVER@/${pkgver}/" -i "${pkgdir}/usr/src/${_pkgname}-${pkgver}/dkms.conf"
     mkdir -p "${pkgdir}/usr/lib/modprobe.d"
     echo "blacklist ax88179_178a" > "${pkgdir}/usr/lib/modprobe.d/ax-usb-nic.conf"
-    echo "blacklist cdc_ncm" > "${pkgdir}/usr/lib/modprobe.d/ax-usb-nic.conf"
+    echo "blacklist cdc_ncm" >> "${pkgdir}/usr/lib/modprobe.d/ax-usb-nic.conf"
 }

Because of this typo, ax88179_178a isn't blacklisted:

$ cat /usr/lib/modprobe.d/ax-usb-nic.conf 
blacklist cdc_ncm

Thanks

alllexx88 commented on 2024-01-11 12:07 (UTC)

Thank you for your effort. Sadly, no version of the driver available on the internet works with my Razer Core X Chroma. As a notice, the latest driver from https://www.asix.com.tw/en/support/download (ax-usb-nic v3.0.0) is available on AUR as a dkms module too: https://aur.archlinux.org/packages/ax-usb-nic-dkms. Doesn't work for me, but maybe it would for somebody else.

kostafun commented on 2023-11-14 20:54 (UTC)

v3.0.0 is out. pkgver=3.0.0 source=("${_archivename}.tar.bz2::https://www.asix.com.tw/en/support/download/file/1550") sha256sums=('6f81ecdc6589780d00cc3972d1ecabda96267d26e1cfd7c6a5e062f147778216')

maderios commented on 2023-09-23 11:38 (UTC)

I got errors. What I did:

makepkg -sicC
==> Making package: asix-ax88179-dkms 1.20.0-2 (Sat 23 Sep 2023 01:35:17 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 120
  -> Found asix-ax88179-dkms.conf
  -> Found 0001-No-date-time.patch
  -> Found 0002-b2b128.patch
  -> Found 0003-kernel-5-11.patch
==> Validating source files with sha512sums...
    120 ... FAILED
    asix-ax88179-dkms.conf ... Passed
    0001-No-date-time.patch ... Passed
    0002-b2b128.patch ... Passed
    0003-kernel-5-11.patch ... Passed
==> ERROR: One or more files did not pass the validity check!

 % updpkgsums
==> Retrieving sources...
  -> Found 120
  -> Found asix-ax88179-dkms.conf
  -> Found 0001-No-date-time.patch
  -> Found 0002-b2b128.patch
  -> Found 0003-kernel-5-11.patch
==> Generating checksums for source files...

makepkg -sicC
==> Making package: asix-ax88179-dkms 1.20.0-2 (Sat 23 Sep 2023 01:36:55 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 120
  -> Found asix-ax88179-dkms.conf
  -> Found 0001-No-date-time.patch
  -> Found 0002-b2b128.patch
  -> Found 0003-kernel-5-11.patch
==> Validating source files with sha512sums...
    120 ... Passed
    asix-ax88179-dkms.conf ... Passed
    0001-No-date-time.patch ... Passed
    0002-b2b128.patch ... Passed
    0003-kernel-5-11.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
/home/fre/ARCH-AUR/asix-ax88179-dkms/PKGBUILD: line 38: cd: /home/fre/ARCH-AUR/asix-ax88179-dkms/src/AX88179_178A_Linux_Driver_v1.20.0_source: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

tonyseek commented on 2022-11-21 07:35 (UTC)

There is a third-party patch which claims the boot problem has been fixed: https://github.com/nothingstopsme/AX88179_178A_Linux_Driver

vnoel commented on 2022-11-07 17:31 (UTC)

Hi,

It seems there was a new driver released by asix that seems more stable and that should support also ax88179. See https://bugzilla.kernel.org/show_bug.cgi?id=212731#c10 for details (and a patch to improve it apparently…).

Is there any way to update this package to use it? or maybe make another package? I tried but failed ^^

Thanks!