JiaY-shi / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
132 stars 110 forks source link

The wired network card Intel i225-V cannot connect to the router based on IPQ6018 #9

Closed JiaY-shi closed 1 year ago

JiaY-shi commented 1 year ago

Describe the bug

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[    0.000000] Linux version 6.1.41 (shi@5b149db012ef) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23460-53a0f21fa6) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Fri Jul 28 13:53:07 2023
[    0.000000] Machine model: GL Technologies, Inc. AX1800
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000040ffffff]
[    0.000000]   node   0: [mem 0x0000000041000000-0x000000004a5fffff]
[    0.000000]   node   0: [mem 0x000000004a600000-0x000000004e3fffff]
[    0.000000]   node   0: [mem 0x000000004e400000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 17 pages/cpu s31080 r8192 d30360 u69632
[    0.000000] pcpu-alloc: s31080 r8192 d30360 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait root=/dev/ubiblock0_1
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 935836K/1048576K available (7744K kernel code, 856K rwdata, 2220K rodata, 1280K init, 275K bss, 112740K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 24.00MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000094] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000107] pid_max: default: 32768 minimum: 301
[    0.000593] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000609] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002468] cblist_init_generic: Setting adjustable number of callback queues.
[    0.002480] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.002679] rcu: Hierarchical SRCU implementation.
[    0.002683] rcu:     Max phase no-delay instances is 1000.
[    0.003361] smp: Bringing up secondary CPUs ...
[    0.004014] Detected VIPT I-cache on CPU1
[    0.004149] CPU1: Booted secondary processor 0x0000000001 [0x51af8014]
[    0.004823] Detected VIPT I-cache on CPU2
[    0.004921] CPU2: Booted secondary processor 0x0000000002 [0x51af8014]
[    0.005550] Detected VIPT I-cache on CPU3
[    0.005646] CPU3: Booted secondary processor 0x0000000003 [0x51af8014]
[    0.005713] smp: Brought up 1 node, 4 CPUs
[    0.005721] SMP: Total of 4 processors activated.
[    0.005726] CPU features: detected: 32-bit EL0 Support
[    0.005730] CPU features: detected: CRC32 instructions
[    0.005793] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005799] CPU: All CPU(s) started at EL1
[    0.005802] alternatives: applying system-wide alternatives
[    0.014111] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014138] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.014380] pinctrl core: initialized pinctrl subsystem
[    0.015541] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.016124] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.016164] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.016199] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.016599] thermal_sys: Registered thermal governor 'step_wise'
[    0.016812] cpuidle: using governor menu
[    0.017147] ASID allocator initialised with 65536 entries
[    0.071696] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.080246] SCSI subsystem initialized
[    0.080435] usbcore: registered new interface driver usbfs
[    0.080499] usbcore: registered new interface driver hub
[    0.080545] usbcore: registered new device driver usb
[    0.080827] qcom_scm: convention: smc arm 64
[    0.081271] qcom_glink_rpm rpm-glink: RPM TOC has invalid magic
[    0.081279] qcom_glink_rpm: probe of rpm-glink failed with error -22
[    0.082280] clocksource: Switched to clocksource arch_sys_counter
[    0.083342] NET: Registered PF_INET protocol family
[    0.083502] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.084829] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.084853] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.084869] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.084957] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.085236] TCP: Hash tables configured (established 8192 bind 8192)
[    0.085352] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.085390] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.085598] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.085633] PCI: CLS 0 bytes, default 64
[    0.086990] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.092015] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.092026] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.094802] qcom-qmp-usb-phy 78000.ssphy: supply vdda-phy not found, using dummy regulator
[    0.094947] qcom-qmp-usb-phy 78000.ssphy: supply vdda-pll not found, using dummy regulator
[    0.096593] qcom-qusb2-phy 59000.qusb: supply vdd not found, using dummy regulator
[    0.096716] qcom-qusb2-phy 59000.qusb: supply vdda-pll not found, using dummy regulator
[    0.096776] qcom-qusb2-phy 59000.qusb: supply vdda-phy-dpdm not found, using dummy regulator
[    0.096934] qcom-qusb2-phy 59000.qusb: Registered Qcom-QUSB2 phy
[    0.097159] qcom-qusb2-phy 79000.qusb: supply vdd not found, using dummy regulator
[    0.097284] qcom-qusb2-phy 79000.qusb: supply vdda-pll not found, using dummy regulator
[    0.097324] qcom-qusb2-phy 79000.qusb: supply vdda-phy-dpdm not found, using dummy regulator
[    0.097529] qcom-qusb2-phy 79000.qusb: Registered Qcom-QUSB2 phy
[    0.102016] bam-dma-engine 704000.dma-controller: num-channels unspecified in dt
[    0.102031] bam-dma-engine 704000.dma-controller: num-ees unspecified in dt
[    0.107325] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.108004] msm_serial 78b1000.serial: msm_serial: detected port #0
[    0.108040] msm_serial 78b1000.serial: uartclk = 1843200
[    0.108142] 78b1000.serial: ttyMSM0 at MMIO 0x78b1000 (irq = 21, base_baud = 115200) is a MSM
[    0.108172] msm_serial: console setup on port #0
[    0.814004] printk: console [ttyMSM0] enabled
[    0.819174] msm_serial: driver initialized
[    0.828199] loop: module loaded
[    0.829675] nand: device found, Manufacturer ID: 0xf8, Chip ID: 0xa1
[    0.830157] nand: Unknown FMND1G08S3D
[    0.836776] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.854740] i2c_dev: i2c /dev entries driver
[    0.859882] sdhci: Secure Digital Host Controller Interface driver
[    0.859927] sdhci: Copyright(c) Pierre Ossman
[    0.864994] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.872021] remoteproc remoteproc0: releasing cd00000.remoteproc
[    0.877419] NET: Registered PF_INET6 protocol family
[    0.882166] Segment Routing with IPv6
[    0.886122] In-situ OAM (IOAM) with IPv6
[    0.889678] NET: Registered PF_PACKET protocol family
[    0.893694] 8021q: 802.1Q VLAN Support v1.8
[    0.922332] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    0.924262] nand: device found, Manufacturer ID: 0xf8, Chip ID: 0xa1
[    0.928459] nand: Unknown FMND1G08S3D
[    0.935096] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.938922] 11 qcomsmem partitions found on MTD device qcom_nand.0
[    0.946097] Creating 11 MTD partitions on "qcom_nand.0":
[    0.952243] 0x000000000000-0x000000180000 : "0:sbl1"
[    0.959677] 0x000000180000-0x000000280000 : "0:mibib"
[    0.964086] 0x000000280000-0x000000600000 : "0:qsee"
[    0.971287] 0x000000600000-0x000000680000 : "0:devcfg"
[    0.973672] 0x000000680000-0x000000700000 : "0:rpm"
[    0.978550] 0x000000700000-0x000000780000 : "0:cdt"
[    0.983322] 0x000000780000-0x000000800000 : "0:appsblenv"
[    0.988193] 0x000000800000-0x000000980000 : "0:appsbl"
[    0.994666] 0x000000980000-0x000000a00000 : "0:art"
[    0.998774] 0x000000a00000-0x000007d00000 : "rootfs"
[    1.109296] mtd: setting mtd9 (rootfs) as root device
[    1.109662] mtdsplit: no squashfs found in "rootfs"
[    1.113405] 0x000007d00000-0x000007d80000 : "0:ethphyfw"
[    1.125228] remoteproc remoteproc0: cd00000.remoteproc is available
[    1.125725] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    1.130929] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    1.138110] ubi0: attaching mtd9
[    1.814014] ubi0: scanning is finished
[    1.822324] ubi0: attached mtd9 (name "rootfs", size 115 MiB)
[    1.822365] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.827058] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.833841] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.840686] ubi0: good PEBs: 920, bad PEBs: 0, corrupted PEBs: 0
[    1.847472] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    1.853716] ubi0: max/mean erase counter: 8/4, WL threshold: 4096, image sequence number: 1685108417
[    1.860744] ubi0: available PEBs: 0, total reserved PEBs: 920, PEBs reserved for bad PEB handling: 20
[    1.870053] ubi0: background thread "ubi_bgt0d" started, PID 386
[    1.871093] block ubiblock0_1: created from ubi0:1(rootfs)
[    1.890228] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    1.890965] Freeing unused kernel memory: 1280K
[    1.922453] Run /sbin/init as init process
[    1.922478]   with arguments:
[    1.922481]     /sbin/init
[    1.922485]   with environment:
[    1.922489]     HOME=/
[    1.922492]     TERM=linux
[    2.190705] init: Console is alive
[    2.190949] init: - watchdog -
[    2.862302] random: crng init done
[    3.308807] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.342636] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    3.514338] malibu_phy_api_ops_init[2854]:INFO:qca probe malibu phy driver succeeded!
[    3.872701] __adpt_hppe_uniphy_psgmii_mode_set[1115]:INFO:uniphy 0 psgmii channel selection
[    4.097636] regi_init[3989]:INFO:Initializing HPPE Done!!
[    4.097775] regi_init[4049]:INFO:qca-ssdk module init succeeded!
[    4.105245] EDMA ver 1 hw init
[    4.108326] EDMA HW Reset completed succesfully
[    4.110976] Num rings - TxDesc:1 (23-23) TxCmpl:1 (23-23)
[    4.115403] RxDesc:1 (15-15) RxFill:1 (7-7)
[    4.121846] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.124136] GMAC3(ffffff800448b900) Invalid MAC@ - using b6:2e:a3:68:34:59
[    4.125423] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.133499] GMAC4(ffffff80039b5900) Invalid MAC@ - using 4a:ec:52:30:e8:cf
[    4.139768] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.147614] GMAC5(ffffff80039b6900) Invalid MAC@ - using de:e3:14:e9:c8:5f
[    4.153935] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.161677] **********************************************************
[    4.168021] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.174690] * NSS Data Plane driver
[    4.188472] **********************************************************
[    4.201277] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.201279] clk: couldn't set gcc_usb0_mock_utmi_clk clk rate to 20000000 (-22), current rate: 24000000
[    4.208282] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.217477] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.225790] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    4.231372] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    4.237119] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
[    4.244501] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010010
[    4.250767] xhci-hcd xhci-hcd.1.auto: irq 35, io mem 0x07000000
[    4.260605] hub 1-0:1.0: USB hub found
[    4.265781] hub 1-0:1.0: 1 port detected
[    4.269987] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.270078] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    4.280679] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[    4.287149] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010010
[    4.293840] xhci-hcd xhci-hcd.2.auto: irq 36, io mem 0x08a00000
[    4.303305] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[    4.309054] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[    4.314624] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[    4.322776] hub 2-0:1.0: USB hub found
[    4.328797] hub 2-0:1.0: 1 port detected
[    4.332807] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.333005] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.337028] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.344152] hub 3-0:1.0: USB hub found
[    4.359011] hub 3-0:1.0: 1 port detected
[    4.363213] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.367365] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.374524] usbcore: registered new interface driver usb-storage
[    4.374540] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[    4.381559] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.404414] init: - preinit -
[    7.352561] nss-dp 3a001200.dp eth1: PHY Link up speed: 1000
[    7.352644] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    7.453384] mount_root: loading kmods from internal overlay
[    7.470852] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    7.473044] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    7.525044] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    7.629553] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    7.629707] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 620
[    7.668631] UBIFS (ubi0:2): recovery needed
[    7.762117] UBIFS (ubi0:2): recovery completed
[    7.762229] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    7.765475] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.773372] UBIFS (ubi0:2): FS size: 82026496 bytes (78 MiB, 646 LEBs), max 657 LEBs, journal size 4063232 bytes (3 MiB, 32 LEBs)
[    7.783268] UBIFS (ubi0:2): reserved for root: 3874313 bytes (3783 KiB)
[    7.794888] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 8C3A2BEF-C593-4723-BAE1-342D269594AC, small LPT model
[    7.803135] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    7.818313] block: extroot: not configured
[    7.819685] UBIFS (ubi0:2): un-mount UBI device 0
[    7.823733] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops
[    7.832079] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    7.834695] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 623
[    7.917516] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    7.917555] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.924353] UBIFS (ubi0:2): FS size: 82026496 bytes (78 MiB, 646 LEBs), max 657 LEBs, journal size 4063232 bytes (3 MiB, 32 LEBs)
[    7.934243] UBIFS (ubi0:2): reserved for root: 3874313 bytes (3783 KiB)
[    7.945867] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 8C3A2BEF-C593-4723-BAE1-342D269594AC, small LPT model
[    7.955877] mount_root: loading kmods from internal overlay
[    7.980030] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.981550] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.993875] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.034480] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    8.038249] block: extroot: not configured
[    8.042795] mount_root: switching to ubifs overlay
[    8.051148] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.055594] urandom-seed: Seeding with /etc/urandom.seed
[    8.102333] nss-dp 3a001200.dp eth1: PHY Link is down
[    8.107243] procd: - early -
[    8.107381] procd: - watchdog -
[    8.198145] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.254857] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.311069] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.367753] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.424791] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.481230] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.537853] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.594879] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.651187] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.665544] procd: - watchdog -
[    8.679157] procd: - ubus -
[    8.716246] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.778289] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.836890] procd: - init -
[    8.844459] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    8.920278] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.032090] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.104923] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.163558] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.224314] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.289191] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.294350] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.348338] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.383879] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[    9.410332] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[    9.428661] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    9.428706] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    9.468968] NET: Registered PF_QIPCRTR protocol family
[    9.477314] xt_time: kernel timezone is -0000
[    9.526570] PPP generic driver version 2.4.2
[    9.527712] NET: Registered PF_PPPOX protocol family
[    9.532283] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    9.534866] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    9.555814] ath11k c000000.wifi: ipq6018 hw1.0
[    9.555854] ath11k c000000.wifi: FW memory mode: 1
[    9.559492] remoteproc remoteproc0: powering up cd00000.remoteproc
[    9.564535] remoteproc remoteproc0: Booting fw image IPQ6018/q6_fw.mdt, size 7340
[    9.717387] urngd: v1.0.2 started.
[   10.880683] remoteproc remoteproc0: remote processor cd00000.remoteproc is now up
[   10.881536] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[   10.887797] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[   10.895000] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[   10.895280] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[   10.902221] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.908059] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[   10.921983] ath11k c000000.wifi: fw_version 0x250a04b8 fw_build_timestamp 2021-12-20 07:20 fw_build_id WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
[   11.428337] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[   15.491748] br-lan: port 1(eth1) entered blocking state
[   15.491799] br-lan: port 1(eth1) entered disabled state
[   15.496186] device eth1 entered promiscuous mode
[   15.510081] nss-dp 3a001400.dp eth2: PHY Link up speed: 100
[   15.510983] br-lan: port 2(eth2) entered blocking state
[   15.514605] br-lan: port 2(eth2) entered disabled state
[   15.520222] device eth2 entered promiscuous mode
[   15.530968] br-lan: port 3(eth3) entered blocking state
[   15.531022] br-lan: port 3(eth3) entered disabled state
[   15.535475] device eth3 entered promiscuous mode
[   15.545364] br-lan: port 4(eth4) entered blocking state
[   15.545411] br-lan: port 4(eth4) entered disabled state
[   15.550294] device eth4 entered promiscuous mode
[   15.562328] nss-dp 3a001000.dp eth0: PHY Link up speed: 1000
[   16.286861] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[   16.562568] br-lan: port 2(eth2) entered blocking state
[   16.562624] br-lan: port 2(eth2) entered forwarding state
[   16.567054] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.576589] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   16.660947] br-lan: port 5(phy0-ap0) entered blocking state
[   16.660999] br-lan: port 5(phy0-ap0) entered disabled state
[   16.665776] device phy0-ap0 entered promiscuous mode
[   16.671094] br-lan: port 5(phy0-ap0) entered blocking state
[   16.676161] br-lan: port 5(phy0-ap0) entered forwarding state
[   16.703966] br-lan: port 6(phy1-ap0) entered blocking state
[   16.704024] br-lan: port 6(phy1-ap0) entered disabled state
[   16.708822] device phy1-ap0 entered promiscuous mode
[   16.714298] br-lan: port 6(phy1-ap0) entered blocking state
[   16.719135] br-lan: port 6(phy1-ap0) entered forwarding state
[   17.440789] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[   17.610148] br-lan: port 6(phy1-ap0) entered disabled state
[   18.632872] nss-dp 3a001800.dp eth4: PHY Link up speed: 1000
[   18.632982] br-lan: port 4(eth4) entered blocking state
[   18.637617] br-lan: port 4(eth4) entered forwarding state
[   18.643459] nss-dp 3a001200.dp eth1: PHY Link up speed: 1000
[   18.648179] br-lan: port 1(eth1) entered blocking state
[   18.653912] br-lan: port 1(eth1) entered forwarding state
[   18.883482] ------------[ cut here ]------------
[   18.883523] nss_port5_rx_clk_src: rcg didn't update its configuration.
[   18.883551] WARNING: CPU: 3 PID: 171 at update_config+0xac/0xc0
[   18.893512] Modules linked in: pppoe ppp_async iptable_nat ath11k_ahb ath11k xt_nat xt_REDIRECT xt_MASQUERADE wireguard pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mac80211 libchacha20poly1305 ipt_REJECT chacha_neon cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TPROXY xt_TCPMSS xt_LOG slhc qrtr_smd qrtr qmi_helpers poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net
[   18.893837]  ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6_udp_tunnel udp_tunnel ntfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 sha512_generic seqiv jitterentropy_rng drbg michael_mic hmac cmac usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd qca_nss_dp qca_ssdk gpio_button_hotplug vfat fat ext4 mbcache jbd2 exfat crc32c_generic
[   19.013384] CPU: 3 PID: 171 Comm: kworker/3:3 Not tainted 6.1.41 #0
[   19.035611] Hardware name: GL Technologies, Inc. AX1800 (DT)
[   19.041603] Workqueue: events qca_mac_sw_sync_work_task [qca_ssdk]
[   19.047506] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   19.053494] pc : update_config+0xac/0xc0
[   19.060347] lr : update_config+0xac/0xc0
[   19.064513] sp : ffffffc009503ad0
[   19.068417] x29: ffffffc009503ad0 x28: 0000000000418958 x27: 0000000000000001
[   19.071636] x26: 000000000000000a x25: 0000000000000001 x24: 0000000000000001
[   19.078755] x23: ffffff800311db00 x22: 00000000017d7840 x21: ffffffc00894bc38
[   19.085872] x20: ffffffc008bc8780 x19: 0000000000000000 x18: 000000000000015f
[   19.092990] x17: 0000000000000000 x16: ffffffc008850ce8 x15: ffffffc008b37218
[   19.100119] x14: 000000000000041d x13: 000000000000015f x12: 00000000ffffffea
[   19.107227] x11: 00000000ffffefff x10: ffffffc008b8f218 x9 : ffffffc008b371c0
[   19.114345] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001
[   19.121465] x5 : ffffff803fdd1708 x4 : 0000000000000000 x3 : 0000000000000027
[   19.128581] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 000000000000003a
[   19.135700] Call trace:
[   19.142810]  update_config+0xac/0xc0
[   19.145072]  clk_rcg2_configure+0x84/0x94
[   19.148890]  clk_rcg2_set_rate_and_parent+0x64/0x80
[   19.152797]  clk_change_rate+0x7c/0x2b4
[   19.157481]  clk_core_set_rate_nolock+0x150/0x25c
[   19.161303]  clk_set_rate+0x38/0x150
[   19.166163]  ssdk_uniphy_clock_rate_set+0x8c/0x100 [qca_ssdk]
[   19.169814]  ssdk_port_speed_clock_set+0x134/0x184 [qca_ssdk]
[   19.175456]  adpt_hppe_port_promisc_mode_set+0x17c/0x370 [qca_ssdk]
[   19.181186]  adpt_hppe_gcc_port_speed_clock_set+0xc8/0x1e4 [qca_ssdk]
[   19.187269]  qca_hppe_mac_sw_sync_task+0x488/0x9dc [qca_ssdk]
[   19.193861]  qca_mac_sw_sync_work_task+0x44/0x4e0 [qca_ssdk]
[   19.199589]  process_one_work+0x218/0x3b0
[   19.205313]  worker_thread+0x74/0x4b4
[   19.209218]  kthread+0xd8/0xe4
[   19.212862]  ret_from_fork+0x10/0x20
[   19.215817] ---[ end trace 0000000000000000 ]---
[   19.220577] ------------[ cut here ]------------
[   19.224165] nss_port5_tx_clk_src: rcg didn't update its configuration.
[   19.224195] WARNING: CPU: 3 PID: 171 at update_config+0xac/0xc0
[   19.235092] Modules linked in: pppoe ppp_async iptable_nat ath11k_ahb ath11k xt_nat xt_REDIRECT xt_MASQUERADE wireguard pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mac80211 libchacha20poly1305 ipt_REJECT chacha_neon cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TPROXY xt_TCPMSS xt_LOG slhc qrtr_smd qrtr qmi_helpers poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net
[   19.235404]  ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6_udp_tunnel udp_tunnel ntfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 sha512_generic seqiv jitterentropy_rng drbg michael_mic hmac cmac usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd qca_nss_dp qca_ssdk gpio_button_hotplug vfat fat ext4 mbcache jbd2 exfat crc32c_generic
[   19.354964] CPU: 3 PID: 171 Comm: kworker/3:3 Tainted: G        W          6.1.41 #0
[   19.377200] Hardware name: GL Technologies, Inc. AX1800 (DT)
[   19.384926] Workqueue: events qca_mac_sw_sync_work_task [qca_ssdk]
[   19.390560] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   19.396549] pc : update_config+0xac/0xc0
[   19.403402] lr : update_config+0xac/0xc0
[   19.407569] sp : ffffffc009503ad0
[   19.411474] x29: ffffffc009503ad0 x28: 0000000000418958 x27: 0000000000000001
[   19.414693] x26: 000000000000000a x25: 0000000000000001 x24: 0000000000000001
[   19.421810] x23: ffffff800311d200 x22: 00000000017d7840 x21: ffffffc00894bbf0
[   19.428929] x20: ffffffc008bc86f8 x19: 0000000000000000 x18: 0000000000000187
[   19.436055] x17: 0000000000000000 x16: ffffffc008850ce8 x15: ffffffc008b37218
[   19.443165] x14: 0000000000000495 x13: 0000000000000187 x12: 00000000ffffffea
[   19.450282] x11: 00000000ffffefff x10: ffffffc008b8f218 x9 : ffffffc008b371c0
[   19.457400] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001
[   19.464519] x5 : ffffff803fdd1708 x4 : 0000000000000000 x3 : 0000000000000027
[   19.471636] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 000000000000003a
[   19.478756] Call trace:
[   19.485873]  update_config+0xac/0xc0
[   19.488124]  clk_rcg2_configure+0x84/0x94
[   19.491945]  clk_rcg2_set_rate_and_parent+0x64/0x80
[   19.495851]  clk_change_rate+0x7c/0x2b4
[   19.500538]  clk_core_set_rate_nolock+0x150/0x25c
[   19.504358]  clk_set_rate+0x38/0x150
[   19.509217]  ssdk_uniphy_clock_rate_set+0x8c/0x100 [qca_ssdk]
[   19.512870]  ssdk_port_speed_clock_set+0x144/0x184 [qca_ssdk]
[   19.518517]  adpt_hppe_port_promisc_mode_set+0x17c/0x370 [qca_ssdk]
[   19.524241]  adpt_hppe_gcc_port_speed_clock_set+0xc8/0x1e4 [qca_ssdk]
[   19.530319]  qca_hppe_mac_sw_sync_task+0x488/0x9dc [qca_ssdk]
[   19.536913]  qca_mac_sw_sync_work_task+0x44/0x4e0 [qca_ssdk]
[   19.542644]  process_one_work+0x218/0x3b0
[   19.548374]  worker_thread+0x74/0x4b4
[   19.552273]  kthread+0xd8/0xe4
[   19.555917]  ret_from_fork+0x10/0x20
[   19.558872] ---[ end trace 0000000000000000 ]---
[   20.952647] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[   20.953043] platform cpufreq-dt: deferred probe pending
[   20.958771] platform b018000.cpr4-ctrl: deferred probe pending
[   29.229133] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   29.229375] br-lan: port 6(phy1-ap0) entered blocking state
[   29.234597] br-lan: port 6(phy1-ap0) entered forwarding state

Hello, @robimarko can you give me some help? Thanks. Recently I have this error on my gl-ax1800 (based on IPQ6018), the previous compiled versions are all normal, without this error, this error will cause my computer to not be able to make a wired connection.The wifi connection is all normal. I also have a microserver gen8 and the wired connection is also fine. PS: The wired network card of the computer is: Intel i225-V

robimarko commented 1 year ago

I dont really have an idea, no time for IPQ60xx currently

JiaY-shi commented 1 year ago

I dont really have an idea, no time for IPQ60xx currently

Thank you for your reply. Well, I hope that you can put some energy on the IPQ60xx platform when you are free soon.

JiaY-shi commented 1 year ago

Learn from the patch of ipq807x and fix it.

--- a/drivers/clk/qcom/gcc-ipq6018.c
+++ b/drivers/clk/qcom/gcc-ipq6018.c
@@ -544,13 +544,22 @@ static struct clk_rcg2 apss_ahb_clk_src = {
    },
 };

+
+static const struct freq_conf ftbl_nss_port5_rx_clk_src_25[] = {
+   C(P_UNIPHY1_RX, 12.5, 0, 0),
+   C(P_UNIPHY0_RX, 5, 0, 0),
+};
+
+static const struct freq_conf ftbl_nss_port5_rx_clk_src_125[] = {
+   C(P_UNIPHY1_RX, 2.5, 0, 0),
+   C(P_UNIPHY0_RX, 1, 0, 0),
+};
+
 static const struct freq_tbl ftbl_nss_port5_rx_clk_src[] = {
    F(24000000, P_XO, 1, 0, 0),
-   F(25000000, P_UNIPHY1_RX, 12.5, 0, 0),
-   F(25000000, P_UNIPHY0_RX, 5, 0, 0),
+   FM(25000000, ftbl_nss_port5_rx_clk_src_25),
    F(78125000, P_UNIPHY1_RX, 4, 0, 0),
-   F(125000000, P_UNIPHY1_RX, 2.5, 0, 0),
-   F(125000000, P_UNIPHY0_RX, 1, 0, 0),
+   FM(125000000, ftbl_nss_port5_rx_clk_src_125),
    F(156250000, P_UNIPHY1_RX, 2, 0, 0),
    F(312500000, P_UNIPHY1_RX, 1, 0, 0),
    { }
@@ -591,13 +600,22 @@ static struct clk_rcg2 nss_port5_rx_clk_src = {
    },
 };

+
+static struct freq_conf ftbl_nss_port5_tx_clk_src_25[] = {
+   C(P_UNIPHY1_TX, 12.5, 0, 0),
+   C(P_UNIPHY0_TX, 5, 0, 0),
+};
+
+static struct freq_conf ftbl_nss_port5_tx_clk_src_125[] = {
+   C(P_UNIPHY1_TX, 2.5, 0, 0),
+   C(P_UNIPHY0_TX, 1, 0, 0),
+};
+
 static const struct freq_tbl ftbl_nss_port5_tx_clk_src[] = {
    F(24000000, P_XO, 1, 0, 0),
-   F(25000000, P_UNIPHY1_TX, 12.5, 0, 0),
-   F(25000000, P_UNIPHY0_TX, 5, 0, 0),
+   FM(25000000, ftbl_nss_port5_tx_clk_src_25),
    F(78125000, P_UNIPHY1_TX, 4, 0, 0),
-   F(125000000, P_UNIPHY1_TX, 2.5, 0, 0),
-   F(125000000, P_UNIPHY0_TX, 1, 0, 0),
+   FM(125000000, ftbl_nss_port5_tx_clk_src_125),
    F(156250000, P_UNIPHY1_TX, 2, 0, 0),
    F(312500000, P_UNIPHY1_TX, 1, 0, 0),
    { }
--