找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 362|回复: 1

求助 lede 编译 wan插着网线不通讯故障

[复制链接]
入手一台 RM60 的路由模块。
官网给的SDK 版本是 LEDE 17.1 太老了。就想着自己编译个最新23版本看着舒服点。
经过几天的研究添加设备dts后编译
结果lan口都正常,唯独wan口插着网线不通讯。需要手动  down / up  wan口才正常通讯。这就奇怪了。

这是ttl日志。



U-Boot 2018.09 (Apr 04 2020 - 18:51:22 -0700)

CPU:   MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board
DRAM:  256 MiB
Loading Environment from SPI Flash... SF: Detected w25q128bv with page size 256 Bytes, erase size 64 KiB, total 16 MiB
OK
In:    uartlite0@1e000c00
Out:   uartlite0@1e000c00
Err:   uartlite0@1e000c00
Net:   
Warning: eth@1e100000 (eth0) using random MAC address - 06:31:72:11:ed:a0
eth0: eth@1e100000
Hit any key to stop autoboot:  0
  *** U-Boot Boot Menu ***  Press UP/DOWN to move, ENTER to select     1. Startup system (Default)     2. Upgrade firmware     3. Upgrade bootloader     4. Upgrade bootloader (advanced mode)     5. Load image     0. U-Boot console  Hit any key to stop autoboot:  3  2  1  0 ## Booting kernel from Legacy Image at bfc90000 ...
   Image Name:   MIPS OpenWrt Linux-5.4.247
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2563206 Bytes = 2.4 MiB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 5.4.247 (xysds@xysds) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r6070-8d33a6140)) #0 SMP Fri Jun 23 15:28:14 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is HiLink HLK-RM60
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26640 r8192 d22512 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00020321
[    0.000000] Readback ErrCtl register=00020321
[    0.000000] mem auto-init: stackff, heap allocff, heap freeff
[    0.000000] Memory: 250092K/262144K available (6197K kernel code, 278K rwdata, 1304K rodata, 1232K init, 234K bss, 12052K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007870] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.074030] pid_max: default: 32768 minimum: 301
[    0.078809] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.086008] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.096673] rcu: Hierarchical SRCU implementation.
[    0.102132] smp: Bringing up secondary CPUs ...
[    2.521676] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.521686] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.521698] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.521795] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.166876] Synchronize counters for CPU 1: done.
[    2.216418] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.216426] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.216434] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.216492] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.257730] Synchronize counters for CPU 2: done.
[    2.306197] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    2.306205] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    2.306213] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    2.306271] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.342917] Synchronize counters for CPU 3: done.
[    0.372780] smp: Brought up 1 node, 4 CPUs
[    0.381116] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.390892] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.397882] pinctrl core: initialized pinctrl subsystem
[    0.404993] NET: Registered protocol family 16
[    0.440959] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.452366] clocksource: Switched to clocksource GIC
[    0.458608] thermal_sys: Registered thermal governor 'step_wise'
[    0.459139] NET: Registered protocol family 2
[    0.469650] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.477695] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.486018] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.493628] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.500684] TCP: Hash tables configured (established 2048 bind 2048)
[    0.507135] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.513623] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.520798] NET: Registered protocol family 1
[    0.525114] PCI: CLS 0 bytes, default 32
[    0.762302] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.768817] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.786072] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.791817] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.804868] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.810661] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.816530] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.823026] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.830710] printk: console [ttyS0] disabled
[    0.835003] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.843982] printk: console [ttyS0] enabled
[    0.843982] printk: console [ttyS0] enabled
[    0.852221] printk: bootconsole [early0] disabled
[    0.852221] printk: bootconsole [early0] disabled
[    0.862393] 1e000e00.uartlite3: ttyS1 at MMIO 0x1e000e00 (irq = 20, base_baud = 3125000) is a 16550A
[    0.874309] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.880615] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.885741] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.892062] Creating 5 MTD partitions on "spi0.0":
[    0.896861] 0x000000000000-0x000000030000 : "Bootloader"
[    0.903710] 0x000000030000-0x000000040000 : "Config"
[    0.909950] 0x000000050000-0x000000090000 : "factory"
[    0.916428] 0x000000090000-0x000000ff0000 : "firmware"
[    0.945771] no rootfs found after FIT image in "firmware"
[    0.951321] 2 uimage-fw partitions found on MTD device firmware
[    0.957241] 0x000000090000-0x000000310000 : "kernel"
[    0.963634] 0x000000310000-0x000000ff0000 : "rootfs"
[    0.969724] mtd: device 5 (rootfs) set to be root filesystem
[    0.975508] 1 squashfs-split partitions found on MTD device rootfs
[    0.981671] 0x000000a50000-0x000000ff0000 : "rootfs_data"
[    0.988419] 0x000000ff0000-0x000001000000 : "userhn"
[    0.997947] [mtk_hw_init] reset_lock:0, force:0
[    1.002510] [mtk_hw_init] execute fe cold reset
[    1.018692] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.025064] mtk_soc_eth 1e100000.ethernet: generated random MAC address 86:b4:ce:16:e0:f2
[    1.034009] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 23
[    1.042378] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[    1.052107] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.060111] NET: Registered protocol family 10
[    1.066084] Segment Routing with IPv6
[    1.069840] NET: Registered protocol family 17
[    1.074418] Bridge firewalling registered
[    1.078649] 8021q: 802.1Q VLAN Support v1.8
[    1.086424] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.108643] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    1.119023] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    1.128793] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.139900] DSA: tree 0 setup
[    1.143224] rt2880-pinmux pinctrl: pcie is already enabled
[    1.148821] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.156417] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.163861] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.270988] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.276562] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.382019] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.388971] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.393839] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.398699] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.408138] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.414498] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.421342] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.428200] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.433714] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.439723] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.445985] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.452292] pci 0000:00:00.0: supports D1
[    1.456299] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.462442] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.468453] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.474712] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.481010] pci 0000:00:01.0: supports D1
[    1.485015] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.492098] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.500097] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.508315] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.514387] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.521591] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.528809] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.536133] pci 0000:01:00.0: supports D1 D2
[    1.540383] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.547016] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.562144] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.567377] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.573459] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.580217] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.587423] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.594237] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.600284] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.607510] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.614728] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.622039] pci 0000:02:00.0: supports D1 D2
[    1.626303] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.632934] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.648060] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.653292] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.659358] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.666130] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.673337] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.679967] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.686564] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.693510] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.700093] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.707045] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.713820] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.721009] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    1.727783] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[    1.734990] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    1.741751] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    1.748526] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.755300] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    1.762066] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.769803] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.777547] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.785282] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.790224] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.796996] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.803768] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.810967] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[    1.818703] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[    1.826442] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    1.834175] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.839116] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    1.845887] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.852659] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.860606] hctosys: unable to open rtc device (rtc0)
[    1.872772] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.877215] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.891381] Freeing unused kernel memory: 1232K
[    1.895939] This architecture does not have kernel memory protection.
[    1.902366] Run /sbin/init as init process
[    3.767117] init: Console is alive
[    3.770867] init: - watchdog -
[    6.305075] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.547346] usbcore: registered new interface driver usbfs
[    6.552947] usbcore: registered new interface driver hub
[    6.558329] usbcore: registered new device driver usb
[    6.568662] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.592759] init: - preinit -
[    9.798334] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    9.806707] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.815215] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.452103] random: jshn: uninitialized urandom read (4 bytes read)
[   10.528208] random: jshn: uninitialized urandom read (4 bytes read)
[   10.683321] random: jshn: uninitialized urandom read (4 bytes read)
[   10.924118] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   10.931098] 8021q: adding VLAN 0 to HW filter on device lan1
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   15.554567] jffs2: notice: (604) jffs2_build_xattr_subsystem: complete building xattr subsystem, 19 of xdatum (10 unchecked, 1 orphan) and 28 of xref (1 dead, 0 orphan) found.
[   15.572779] mount_root: switching to jffs2 overlay
[   15.587436] overlayfs: upper fs does not support tmpfile.
[   15.611806] urandom-seed: Seeding with /etc/urandom.seed
[   15.668799] procd: - early -
[   15.671905] procd: - watchdog -
[   16.442603] procd: - watchdog -
[   16.448016] procd: - ubus -
[   16.879189] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.887642] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.894541] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.904020] procd: - init -
Please press Enter to activate this console.
[   17.899197] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.016501] random: jsonfilter: uninitialized urandom read (4 bytes read)
[   18.314933] urngd: v1.0.2 started.
[   18.327107] NET: Registered protocol family 38
[   18.342532] tun: Universal TUN/TAP device driver, 1.6
[   18.372463] random: crng init done
[   18.375876] random: 27 urandom warning(s) missed due to ratelimiting
[   18.391652] cryptodev: driver 1.12 loaded.
[   18.401041] mediatek_soc_hnat 1e100000.hnat: wan = wan
[   18.406226] mediatek_soc_hnat 1e100000.hnat: lan = lan
[   18.411346] mediatek_soc_hnat 1e100000.hnat: ppd = eth0
[   18.416624] mediatek_soc_hnat 1e100000.hnat: gmac num = 1
[   18.421999] mediatek_soc_hnat 1e100000.hnat: ppe num = 1
[   18.427633] mediatek_soc_hnat 1e100000.hnat: ext devices = ra0
[   18.433453] mediatek_soc_hnat 1e100000.hnat: ext devices = rai0
[   18.439341] mediatek_soc_hnat 1e100000.hnat: ext devices = rax0
[   18.445247] mediatek_soc_hnat 1e100000.hnat: ext devices = apcli0
[   18.451311] mediatek_soc_hnat 1e100000.hnat: ext devices = apclii0
[   18.457477] mediatek_soc_hnat 1e100000.hnat: ext devices = apclix0
[   18.468043] mediatek_soc_hnat 1e100000.hnat: PPE0 entry number = 16384
[   18.487099] mediatek_soc_hnat 1e100000.hnat: PPE0 hwnat start
[   18.492942] hnat roaming work enable
[   18.505718] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   18.513234] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   18.560187] xt_time: kernel timezone is -0000
[   18.648018] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=24
[   18.653477] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   18.659131] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[   18.666066] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=25
[   18.671500] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   18.677185] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[   18.845040] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[   18.845040]
[   19.363543] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[   19.397071] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[   24.899894] PPP generic driver version 2.4.2
[   24.905676] PPP MPPE Compression module registered
[   24.911893] NET: Registered protocol family 24
[   24.932543] batman_adv: B.A.T.M.A.N. advanced 2022.3-openwrt-1 (compatibility version 15) loaded
[   24.946823] kmodloader: done loading kernel modules from /etc/modules.d/*
[   26.333094] mtk_soc_eth 1e100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[   26.344643] mtk_soc_eth 1e100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[   35.371951] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   35.407862] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   35.416062] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   35.419231] device eth0 entered promiscuous mode
[   35.431818] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   35.439218] 8021q: adding VLAN 0 to HW filter on device lan1
[   35.447744] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.454791] br-lan: port 1(lan1) entered blocking state
[   35.460053] br-lan: port 1(lan1) entered disabled state
[   35.466334] device lan1 entered promiscuous mode
[   35.498738] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   35.506250] 8021q: adding VLAN 0 to HW filter on device wan
[   38.673034] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[   38.680716] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   39.109988] br-lan: port 2(wlan0) entered blocking state
[   39.115394] br-lan: port 2(wlan0) entered disabled state
[   39.121403] device wlan0 entered promiscuous mode
[   39.126687] br-lan: port 2(wlan0) entered blocking state
[   39.132065] br-lan: port 2(wlan0) entered forwarding state
[   39.137999] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   39.209616] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   39.526380] br-lan: port 3(wlan1) entered blocking state
[   39.531747] br-lan: port 3(wlan1) entered disabled state
[   39.538049] device wlan1 entered promiscuous mode
[   39.543257] br-lan: port 3(wlan1) entered blocking state
[   39.548631] br-lan: port 3(wlan1) entered forwarding state
[   39.685638] br-lan: port 3(wlan1) entered disabled state
[   39.712798] mt7530 mdio-bus:1f wan: Link is Down
[   40.078786] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   40.085621] br-lan: port 3(wlan1) entered blocking state
[   40.091040] br-lan: port 3(wlan1) entered forwarding state
[   41.792960] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[   42.833155] mt7530 mdio-bus:1f wan: Link is Down
[   45.952873] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[   46.992831] mt7530 mdio-bus:1f wan: Link is Down
[   65.712888] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[   66.752845] mt7530 mdio-bus:1f wan: Link is Down
[   75.072876] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[   76.112868] mt7530 mdio-bus:1f wan: Link is Down
[  126.032884] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  127.072875] mt7530 mdio-bus:1f wan: Link is Down
[  147.872885] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  148.912843] mt7530 mdio-bus:1f wan: Link is Down
[  175.952887] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  176.992814] mt7530 mdio-bus:1f wan: Link is Down
[  180.112950] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  181.152901] mt7530 mdio-bus:1f wan: Link is Down
[  185.312886] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  186.352880] mt7530 mdio-bus:1f wan: Link is Down
[  189.472895] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  190.512843] mt7530 mdio-bus:1f wan: Link is Down
[  201.952887] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  202.992855] mt7530 mdio-bus:1f wan: Link is Down
[  205.072897] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  206.112915] mt7530 mdio-bus:1f wan: Link is Down
[  209.232885] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  210.272901] mt7530 mdio-bus:1f wan: Link is Down
[  212.352900] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  213.392904] mt7530 mdio-bus:1f wan: Link is Down
[  223.792896] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  224.832856] mt7530 mdio-bus:1f wan: Link is Down
[  227.952889] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  228.992833] mt7530 mdio-bus:1f wan: Link is Down
[  240.432884] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  241.472907] mt7530 mdio-bus:1f wan: Link is Down
[  243.552906] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  244.592859] mt7530 mdio-bus:1f wan: Link is Down
[  247.712894] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  248.752876] mt7530 mdio-bus:1f wan: Link is Down
[  250.832895] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  251.872929] mt7530 mdio-bus:1f wan: Link is Down
[  253.952945] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  254.992899] mt7530 mdio-bus:1f wan: Link is Down
[  272.672900] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  273.713024] mt7530 mdio-bus:1f wan: Link is Down
[  282.032897] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  283.072881] mt7530 mdio-bus:1f wan: Link is Down
[  308.032903] mt7530 mdio-bus:1f wan: Link is Up - 100Mbps/Full - flow control rx/tx
[  309.072950] mt7530 mdio-bus:1f wan: Link is Down



拔插网线不行。
拔掉网线,开机后再查wan口网线则正常。



root@Route:/# ifconfig wan down
root@Route:/#
root@Route:/# ifconfig wan up


wan口DHCP就能正常获取到IP了。

在线求助大神。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
看来是没人知道啊!最新发现 ,将wan6 删掉。就正常了。奇怪
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 16:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表