刚买的Rock pi s,系统运行的好好的,突然网络连不上了,一看网卡灯不亮了,重新插拔了网线没有反应,重启了一下系统,发现重启过程中网卡灯会闪几下,然后就灭了。换了网线什么的也不行,然后重新刷了系统,发现故障依旧,求解决。
Rock pi s网卡突然不能用了
你可以刷一个 Radxa ROCK Pi S 固件。
接个调试串口线或者是使用 adb 功能查看是否有网卡设备。
可使用命令 sudo ifconfig -a
,看是否有网卡 eth0 和分配到 IP。
如果没有 eth0,那就是网卡硬件有问题。
重新刷了固件故障依旧,ifconfig能看到eth0,但是没有IP,ip addr 看eth0的状态是down。已经换过网线,换过电源试过了,还是这样。
有 eth0 的话,
敲一下命令 sudo ifconfig eth0 up。然后发一下 sudo dmesg 的 log过来看一下
或敲入命令 dhclient eth0 后,如果能获取到 IP,说明可联网;如果无法获取到 IP,则电路有问题。
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.143-55-rockchip-g6b7accbc999b (root@431768422ca2) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Wed Jul 29 02:54:35 UTC 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd042]
[ 0.000000] Reserved memory: failed to reserve memory for node ‘drm-logo@00000000’: base 0x0000000000000000, size 0 MiB
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] DMA zone: 2040 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 130560 pages, LIFO batch:31
[ 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] PERCPU: Embedded 19 pages/cpu @ffffffc01ff56000 s40344 r8192 d29288 u77824
[ 0.000000] pcpu-alloc: s40344 r8192 d29288 u77824 alloc=19*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128520
[ 0.000000] Kernel command line: initrd=initrd.img-4.4.143-55-rockchip-g6b7accbc999b root=UUID=c3ff458b-8a32-4516-b183-fb695bb1fe88 rootwait rw rootfstype=ext4 console=tty1 console=ttyS0,1500000n8 panic=10 consoleblank=0 loglevel=7
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.000000] software IO TLB [mem 0x19e65000-0x1de65000] (64MB) mapped at [ffffffc019e65000-ffffffc01de64fff]
[ 0.000000] Memory: 428812K/522240K available (6910K kernel code, 558K rwdata, 2492K rodata, 384K init, 522K bss, 93428K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB)
.init : 0xffffff80089c0000 - 0xffffff8008a20000 ( 384 KB)
.text : 0xffffff8008080000 - 0xffffff8008740000 ( 6912 KB)
.rodata : 0xffffff8008740000 - 0xffffff80089c0000 ( 2560 KB)
.data : 0xffffff8008a20000 - 0xffffff8008aab808 ( 559 KB)
fixed : 0xffffffbffe7fd000 - 0xffffffbffec00000 ( 4108 KB)
PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB)
memory : 0xffffffc000200000 - 0xffffffc020000000 ( 510 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rockchip_mmc_get_phase: invalid clk rate
[ 0.000000] rockchip_mmc_get_phase: invalid clk rate
[ 0.000000] rockchip_mmc_get_phase: invalid clk rate
[ 0.000000] rockchip_mmc_get_phase: invalid clk rate
[ 0.000000] rockchip_mmc_get_phase: invalid clk rate
[ 0.000000] rockchip_mmc_get_phase: invalid clk rate
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001027] Console: colour dummy device 80x25
[ 0.002537] console [tty1] enabled
[ 0.002592] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=96000)
[ 0.002670] pid_max: default: 32768 minimum: 301
[ 0.002791] Security Framework initialized
[ 0.002839] AppArmor: AppArmor disabled by boot time parameter
[ 0.002939] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.002988] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.003831] Initializing cgroup subsys io
[ 0.003889] Initializing cgroup subsys memory
[ 0.003954] Initializing cgroup subsys devices
[ 0.004003] Initializing cgroup subsys freezer
[ 0.004049] Initializing cgroup subsys net_cls
[ 0.004094] Initializing cgroup subsys perf_event
[ 0.004141] Initializing cgroup subsys net_prio
[ 0.004195] Initializing cgroup subsys hugetlb
[ 0.004239] Initializing cgroup subsys pids
[ 0.004611] sched-energy: CPU device node has no sched-energy-costs
[ 0.004664] Invalid sched_group_energy for CPU0
[ 0.004701] CPU0: update cpu_capacity 1024
[ 0.004790] ASID allocator initialised with 65536 entries
[ 0.039874] Detected VIPT I-cache on CPU1
[ 0.039933] Invalid sched_group_energy for CPU1
[ 0.039937] CPU1: update cpu_capacity 1024
[ 0.039943] CPU1: Booted secondary processor [410fd042]
[ 0.051900] Detected VIPT I-cache on CPU2
[ 0.051940] Invalid sched_group_energy for CPU2
[ 0.051945] CPU2: update cpu_capacity 1024
[ 0.051949] CPU2: Booted secondary processor [410fd042]
[ 0.063944] Detected VIPT I-cache on CPU3
[ 0.063983] Invalid sched_group_energy for CPU3
[ 0.063988] CPU3: update cpu_capacity 1024
[ 0.063992] CPU3: Booted secondary processor [410fd042]
[ 0.064074] Brought up 4 CPUs
[ 0.064522] SMP: Total of 4 processors activated.
[ 0.064568] CPU: All CPU(s) started at EL2
[ 0.064753] Invalid sched_group_energy for CPU3
[ 0.064798] Invalid sched_group_energy for Cluster3
[ 0.064836] Invalid sched_group_energy for CPU2
[ 0.064875] Invalid sched_group_energy for Cluster2
[ 0.064912] Invalid sched_group_energy for CPU1
[ 0.064950] Invalid sched_group_energy for Cluster1
[ 0.064987] Invalid sched_group_energy for CPU0
[ 0.065025] Invalid sched_group_energy for Cluster0
[ 0.065692] devtmpfs: initialized
[ 0.083459] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.083565] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.084125] pinctrl core: initialized pinctrl subsystem
[ 0.085416] NET: Registered protocol family 16
[ 0.096102] cpuidle: using governor menu
[ 0.096179] Registered FIQ tty driver
[ 0.096539] vdso: 2 pages (1 code @ ffffff8008746000, 1 data @ ffffff8008a24000)
[ 0.096636] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.096903] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.099111] console [pstore-1] enabled
[ 0.099154] pstore: Registered ramoops as persistent store backend
[ 0.099201] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[ 0.106919] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0
[ 0.107043] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1
[ 0.107168] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2
[ 0.107280] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio3
[ 0.107404] gpiochip_add_data: registered GPIOs 128 to 159 on device: gpio4
[ 0.142686] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vdd-log[0]’
[ 0.143051] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vdd-1v0[0]’
[ 0.143376] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vcc-1v8[0]’
[ 0.143797] vcc_1v8: regulator get failed, ret=-517
[ 0.143962] of_get_named_gpiod_flags: parsed ‘gpio’ property of node ‘/vcc-sd[0]’ - status (0)
[ 0.144445] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vcc-1v8-codec[0]’
[ 0.144743] vcc_1v8_codec: regulator get failed, ret=-517
[ 0.144928] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vcc-ddr[0]’
[ 0.145321] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vcc-io[0]’
[ 0.145591] vcc_1v8: supplied by vcc_io
[ 0.145704] vcc_1v8_codec: supplied by vcc_io
[ 0.145848] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vccio-flash[0]’
[ 0.146182] of_get_named_gpiod_flags: can’t parse ‘gpio’ property of node ‘/vcc-phy-regulator[0]’
[ 0.146655] of_get_named_gpiod_flags: parsed ‘gpio’ property of node ‘/otg-vbus-regulator[0]’ - status (0)
[ 0.147270] of_get_named_gpiod_flags: can’t parse ‘enable-gpio’ property of node ‘/vccio-sd[0]’
[ 0.147997] SCSI subsystem initialized
[ 0.148349] libata version 3.00 loaded.
[ 0.148687] usbcore: registered new interface driver usbfs
[ 0.148804] usbcore: registered new interface driver hub
[ 0.148945] usbcore: registered new device driver usb
[ 0.149146] media: Linux media interface: v0.10
[ 0.149238] Linux video capture interface: v2.00
[ 0.149388] pps_core: LinuxPPS API ver. 1 registered
[ 0.149432] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.149527] PTP clock support registered
[ 0.150749] Advanced Linux Sound Architecture Driver Initialized.
[ 0.151524] Bluetooth: Core ver 2.21
[ 0.151613] NET: Registered protocol family 31
[ 0.151654] Bluetooth: HCI device and connection manager initialized
[ 0.151707] Bluetooth: HCI socket layer initialized
[ 0.151754] Bluetooth: L2CAP socket layer initialized
[ 0.151827] Bluetooth: SCO socket layer initialized
[ 0.152465] NetLabel: Initializing
[ 0.152516] NetLabel: domain hash size = 128
[ 0.152556] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.152681] NetLabel: unlabeled traffic allowed by default
[ 0.153349] rockchip-cpuinfo cpuinfo: Serial : 02b3047d2b7da5ec
[ 0.154061] clocksource: Switched to clocksource arch_sys_counter
[ 0.166321] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[ 0.166413] missing polling-delay-passive property
[ 0.166455] failed to build thermal zone soc_thermal: -22
[ 0.166857] NET: Registered protocol family 2
[ 0.167664] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.167785] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.167906] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.168037] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.168100] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.168390] NET: Registered protocol family 1
[ 0.169010] Trying to unpack rootfs image as initramfs…
[ 0.656473] Freeing initrd memory: 6324K
[ 0.657176] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.661129] audit: initializing netlink subsys (disabled)
[ 0.661257] audit: type=2000 audit(0.656:1): initialized
[ 0.662221] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.671783] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.672666] fuse init (API version 7.23)
[ 0.677441] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.677705] io scheduler noop registered
[ 0.677760] io scheduler deadline registered (default)
[ 0.678000] io scheduler cfq registered
[ 0.683834] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.683931] dma-pl330 ff2c0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 0.686389] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.686479] dma-pl330 ff2d0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.686914] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[ 0.687096] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[ 0.687702] pwm-regulator vdd-core: GPIO lookup for consumer enable
[ 0.687719] pwm-regulator vdd-core: using device tree for GPIO lookup
[ 0.687736] of_get_named_gpiod_flags: can’t parse ‘enable-gpios’ property of node ‘/vdd-core[0]’
[ 0.687750] of_get_named_gpiod_flags: can’t parse ‘enable-gpio’ property of node ‘/vdd-core[0]’
[ 0.687764] pwm-regulator vdd-core: using lookup tables for GPIO lookup
[ 0.687779] pwm-regulator vdd-core: lookup for GPIO enable failed
[ 0.688644] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 0.691016] console [ttyS0] disabled
[ 0.691141] ff0a0000.serial: ttyS0 at MMIO 0xff0a0000 (irq = 11, base_baud = 1500000) is a 16550A
[ 0.768537] console [ttyS0] enabled
[ 0.770099] ff0e0000.serial: ttyS4 at MMIO 0xff0e0000 (irq = 12, base_baud = 5078125) is a 16550A
[ 0.771983] [drm] Initialized drm 1.1.0 20060810
[ 0.774949] Unable to detect cache hierarchy for CPU 0
[ 0.776642] brd: module loaded
[ 0.784475] loop: module loaded
[ 0.785260] SCSI Media Changer driver v0.25
[ 0.787993] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (output).
[ 0.788688] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[ 0.789357] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[ 0.789935] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[ 0.790646] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10
[ 0.791231] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[ 0.797092] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[ 0.797733] stmmac - user ID: 0x10, Synopsys ID: 0x35
[ 0.798234] Ring mode enabled
[ 0.798539] DMA HW capability register supported
[ 0.798953] Normal descriptors
[ 0.799304] RX Checksum Offload Engine supported (type 2)
[ 0.799819] TX Checksum insertion supported
[ 0.800227] Wake-Up On Lan supported
[ 0.800642] Enable RX Mitigation via HW Watchdog Timer
[ 0.801291] of_get_named_gpiod_flags: parsed ‘snps,reset-gpio’ property of node ‘/ethernet@ff4e0000[0]’ - status (0)
[ 0.915548] brian phy in rtl8201f_probe
[ 0.920925] brian phy in rtl8201f_probe
[ 0.924119] libphy: stmmac: probed
[ 0.924463] eth%d: PHY ID 001cc816 at 0 IRQ POLL (stmmac-0:00) active
[ 0.925068] eth%d: PHY ID 001cc816 at 1 IRQ POLL (stmmac-0:01)
[ 0.926808] Rockchip WiFi SYS interface (V1.00) …
[ 0.927715] ff400000.usb supply vusb_d not found, using dummy regulator
[ 0.928418] ff400000.usb supply vusb_a not found, using dummy regulator
[ 1.154124] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 1.155387] dwc2 ff400000.usb: DWC OTG Controller
[ 1.155882] dwc2 ff400000.usb: new USB bus registered, assigned bus number 1
[ 1.156581] dwc2 ff400000.usb: irq 20, io mem 0xff400000
[ 1.157414] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.158111] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.158810] usb usb1: Product: DWC OTG Controller
[ 1.159265] usb usb1: Manufacturer: Linux 4.4.143-55-rockchip-g6b7accbc999b dwc2_hsotg
[ 1.160023] usb usb1: SerialNumber: ff400000.usb
[ 1.161268] hub 1-0:1.0: USB hub found
[ 1.161677] hub 1-0:1.0: 1 port detected
[ 1.385553] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_SDP_CHARGER
[ 1.386401] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.387030] ehci-platform: EHCI generic platform driver
[ 1.391370] ehci-platform ff440000.usb: EHCI Host Controller
[ 1.392167] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 2
[ 1.393059] ehci-platform ff440000.usb: irq 21, io mem 0xff440000
[ 1.402120] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[ 1.402913] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.403555] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.404252] usb usb2: Product: EHCI Host Controller
[ 1.404724] usb usb2: Manufacturer: Linux 4.4.143-55-rockchip-g6b7accbc999b ehci_hcd
[ 1.405467] usb usb2: SerialNumber: ff440000.usb
[ 1.406647] hub 2-0:1.0: USB hub found
[ 1.407058] hub 2-0:1.0: 1 port detected
[ 1.408033] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 1.408650] ohci-platform: OHCI generic platform driver
[ 1.409525] ohci-platform ff450000.usb: Generic Platform OHCI controller
[ 1.410458] ohci-platform ff450000.usb: new USB bus registered, assigned bus number 3
[ 1.411388] ohci-platform ff450000.usb: irq 22, io mem 0xff450000
[ 1.470298] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.470942] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.471641] usb usb3: Product: Generic Platform OHCI controller
[ 1.472203] usb usb3: Manufacturer: Linux 4.4.143-55-rockchip-g6b7accbc999b ohci_hcd
[ 1.472947] usb usb3: SerialNumber: ff450000.usb
[ 1.474142] hub 3-0:1.0: USB hub found
[ 1.474555] hub 3-0:1.0: 1 port detected
[ 1.477041] i2c /dev entries driver
[ 1.477874] usbcore: registered new interface driver uvcvideo
[ 1.478452] USB Video Class driver (1.1.1)
[ 1.481189] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[ 1.482367] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[ 1.484392] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 1.485229] Bluetooth: Virtual HCI driver ver 1.5
[ 1.486224] cpu cpu0: leakage=15
[ 1.486821] cpu cpu0: Failed to get pvtm
[ 1.488492] cpu cpu0: l=0 h=55000 hyst=5000 l_limit=1200000000 h_limit=1008000000
[ 1.490728] Synopsys Designware Multimedia Card Interface Driver
[ 1.492481] dwmmc_rockchip ff480000.dwmmc: IDMAC supports 32-bit address mode.
[ 1.493220] dwmmc_rockchip ff480000.dwmmc: Using internal DMA controller.
[ 1.493867] dwmmc_rockchip ff480000.dwmmc: Version ID is 270a
[ 1.494538] dwmmc_rockchip ff480000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
[ 1.495785] dwmmc_rockchip ff480000.dwmmc: GPIO lookup for consumer cd
[ 1.495801] dwmmc_rockchip ff480000.dwmmc: using device tree for GPIO lookup
[ 1.495819] of_get_named_gpiod_flags: can’t parse ‘cd-gpios’ property of node ‘/dwmmc@ff480000[0]’
[ 1.495834] of_get_named_gpiod_flags: can’t parse ‘cd-gpio’ property of node ‘/dwmmc@ff480000[0]’
[ 1.495848] dwmmc_rockchip ff480000.dwmmc: using lookup tables for GPIO lookup
[ 1.495864] dwmmc_rockchip ff480000.dwmmc: lookup for GPIO cd failed
[ 1.495883] dwmmc_rockchip ff480000.dwmmc: GPIO lookup for consumer wp
[ 1.495895] dwmmc_rockchip ff480000.dwmmc: using device tree for GPIO lookup
[ 1.495910] of_get_named_gpiod_flags: can’t parse ‘wp-gpios’ property of node ‘/dwmmc@ff480000[0]’
[ 1.495925] of_get_named_gpiod_flags: can’t parse ‘wp-gpio’ property of node ‘/dwmmc@ff480000[0]’
[ 1.495940] dwmmc_rockchip ff480000.dwmmc: using lookup tables for GPIO lookup
[ 1.495953] dwmmc_rockchip ff480000.dwmmc: lookup for GPIO wp failed
[ 1.510201] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.527262] dwmmc_rockchip ff480000.dwmmc: 1 slots initialized
[ 1.528122] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[ 1.528854] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[ 1.529503] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[ 1.530170] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 24,32 bit host data width,256 deep fifo
[ 1.531149] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[ 1.531733] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[ 1.532336] dwmmc_rockchip ff490000.dwmmc: GPIO lookup for consumer wp
[ 1.532352] dwmmc_rockchip ff490000.dwmmc: using device tree for GPIO lookup
[ 1.532369] of_get_named_gpiod_flags: can’t parse ‘wp-gpios’ property of node ‘/dwmmc@ff490000[0]’
[ 1.532387] of_get_named_gpiod_flags: can’t parse ‘wp-gpio’ property of node ‘/dwmmc@ff490000[0]’
[ 1.532400] dwmmc_rockchip ff490000.dwmmc: using lookup tables for GPIO lookup
[ 1.532416] dwmmc_rockchip ff490000.dwmmc: lookup for GPIO wp failed
[ 1.546246] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.563246] dwmmc_rockchip ff490000.dwmmc: 1 slots initialized
[ 1.566577] dwmmc_rockchip ff4a0000.dwmmc: num-slots property not found, assuming 1 slot is available
[ 1.568604] dwmmc_rockchip ff4a0000.dwmmc: IDMAC supports 32-bit address mode.
[ 1.571367] dwmmc_rockchip ff4a0000.dwmmc: Using internal DMA controller.
[ 1.572034] dwmmc_rockchip ff4a0000.dwmmc: Version ID is 270a
[ 1.572657] dwmmc_rockchip ff4a0000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[ 1.573650] dwmmc_rockchip ff4a0000.dwmmc: No vmmc regulator found
[ 1.574283] dwmmc_rockchip ff4a0000.dwmmc: No vqmmc regulator found
[ 1.574894] dwmmc_rockchip ff4a0000.dwmmc: GPIO lookup for consumer wp
[ 1.574908] dwmmc_rockchip ff4a0000.dwmmc: using device tree for GPIO lookup
[ 1.574925] of_get_named_gpiod_flags: can’t parse ‘wp-gpios’ property of node ‘/dwmmc@ff4a0000[0]’
[ 1.574940] of_get_named_gpiod_flags: can’t parse ‘wp-gpio’ property of node ‘/dwmmc@ff4a0000[0]’
[ 1.574953] dwmmc_rockchip ff4a0000.dwmmc: using lookup tables for GPIO lookup
[ 1.574967] dwmmc_rockchip ff4a0000.dwmmc: lookup for GPIO wp failed
[ 1.575207] platform sdio-pwrseq: GPIO lookup for consumer reset
[ 1.575221] platform sdio-pwrseq: using device tree for GPIO lookup
[ 1.575246] of_get_named_gpiod_flags: parsed ‘reset-gpios’ property of node ‘/sdio-pwrseq[0]’ - status (0)
[ 1.575306] dwmmc_rockchip ff4a0000.dwmmc: allocated mmc-pwrseq
[ 1.590275] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.606228] dwmmc_rockchip ff4a0000.dwmmc: 1 slots initialized
[ 1.607412] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/gpio-leds/green-led[0]’ - status (0)
[ 1.607668] of_get_named_gpiod_flags: parsed ‘gpios’ property of node ‘/gpio-leds/blue-led[0]’ - status (0)
[ 1.609167] hidraw: raw HID events driver © Jiri Kosina
[ 1.612186] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[ 1.612340] usbcore: registered new interface driver usbhid
[ 1.612342] usbhid: USB HID core driver
[ 1.612677] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[ 1.612923] dwmmc_rockchip ff4a0000.dwmmc: card claims to support voltages below defined range
[ 1.613088] rockchip-dmc dmc: Failed to get leakage
[ 1.613193] rockchip-dmc dmc: Failed to get pvtm
[ 1.613566] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[ 1.613574] rockchip-dmc dmc: failed to get vop pn to msch rl
[ 1.613581] rockchip-dmc dmc: don’t add devfreq feature
[ 1.616155] rknandc_base v1.1 2017-01-11
[ 1.616402] rksfc_base v1.1 2016-01-08
[ 1.619055] mmc1: new SDHC card at address 1388
[ 1.620720] mmcblk1: mmc1:1388 Stora 3.61 GiB
[ 1.622456] dummy_codec dummy-codec: Unable to get mclk
[ 1.623535] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.625704] mmc2: new high speed SDIO card at address 0001
[ 1.626670] rk3308-acodec ff560000.acodec: GPIO lookup for consumer hp-ctl
[ 1.626714] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[ 1.626752] of_get_named_gpiod_flags: can’t parse ‘hp-ctl-gpios’ property of node ‘/acodec@ff560000[0]’
[ 1.626767] of_get_named_gpiod_flags: can’t parse ‘hp-ctl-gpio’ property of node ‘/acodec@ff560000[0]’
[ 1.626778] rk3308-acodec ff560000.acodec: using lookup tables for GPIO lookup
[ 1.626791] rk3308-acodec ff560000.acodec: lookup for GPIO hp-ctl failed
[ 1.626804] rk3308-acodec ff560000.acodec: Don’t need hp-ctl gpio
[ 1.627385] rk3308-acodec ff560000.acodec: GPIO lookup for consumer spk-ctl
[ 1.627400] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[ 1.627413] of_get_named_gpiod_flags: can’t parse ‘spk-ctl-gpios’ property of node ‘/acodec@ff560000[0]’
[ 1.627423] of_get_named_gpiod_flags: can’t parse ‘spk-ctl-gpio’ property of node ‘/acodec@ff560000[0]’
[ 1.627435] rk3308-acodec ff560000.acodec: using lookup tables for GPIO lookup
[ 1.627446] rk3308-acodec ff560000.acodec: lookup for GPIO spk-ctl failed
[ 1.627459] rk3308-acodec ff560000.acodec: Don’t need spk-ctl gpio
[ 1.628035] rk3308-acodec ff560000.acodec: GPIO lookup for consumer pa-drv
[ 1.628047] rk3308-acodec ff560000.acodec: using device tree for GPIO lookup
[ 1.628059] of_get_named_gpiod_flags: can’t parse ‘pa-drv-gpios’ property of node ‘/acodec@ff560000[0]’
[ 1.628069] of_get_named_gpiod_flags: can’t parse ‘pa-drv-gpio’ property of node ‘/acodec@ff560000[0]’
[ 1.628080] rk3308-acodec ff560000.acodec: using lookup tables for GPIO lookup
[ 1.628091] rk3308-acodec ff560000.acodec: lookup for GPIO pa-drv failed
[ 1.628102] rk3308-acodec ff560000.acodec: Don’t need pa-drv gpio
[ 1.628668] rk3308-acodec ff560000.acodec: De-pop as much as possible
[ 1.629384] The acodec version is: a
[ 1.630523] mmcblk1: p1 p2
[ 1.683732] rk-multicodecs acodec-sound: rk3308-hifi <-> ff320000.i2s mapping ok
[ 1.685838] input: rockchip,rk3308-acodec Headphones as /devices/platform/acodec-sound/sound/card1/input0
[ 1.687694] u32 classifier
[ 1.687994] Netfilter messages via NETLINK v0.30.
[ 1.688514] ip_set: protocol 6
[ 1.689048] ip_tables: © 2000-2006 Netfilter Core Team
[ 1.689570] Initializing XFRM netlink socket
[ 1.690670] NET: Registered protocol family 10
[ 1.692417] ip6_tables: © 2000-2006 Netfilter Core Team
[ 1.692957] NET: Registered protocol family 17
[ 1.693401] NET: Registered protocol family 15
[ 1.693868] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.695852] Bridge firewalling registered
[ 1.696515] Bluetooth: RFCOMM TTY layer initialized
[ 1.696998] Bluetooth: RFCOMM socket layer initialized
[ 1.697506] Bluetooth: RFCOMM ver 1.11
[ 1.697878] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.698119] rk3308-acodec ff560000.acodec: Don’t need to change dac_output: 0
[ 1.699134] Bluetooth: HIDP socket layer initialized
[ 1.699609] 8021q: 802.1Q VLAN Support v1.8
[ 1.700038] [WLAN_RFKILL]: Enter rfkill_wlan_init
[ 1.701039] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[ 1.701510] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = rtl8723ds
[ 1.702205] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[ 1.702863] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[ 1.703561] of_get_named_gpiod_flags: can’t parse ‘WIFI,poweren_gpio’ property of node ‘/wireless-wlan[0]’
[ 1.703572] of_get_named_gpiod_flags: can’t parse ‘WIFI,vbat_gpio’ property of node ‘/wireless-wlan[0]’
[ 1.703582] of_get_named_gpiod_flags: can’t parse ‘WIFI,reset_gpio’ property of node ‘/wireless-wlan[0]’
[ 1.703624] of_get_named_gpiod_flags: parsed ‘WIFI,host_wake_irq’ property of node ‘/wireless-wlan[0]’ - status (0)
[ 1.703634] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 0, flags = 0.
[ 1.704527] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[ 1.705018] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[ 1.705538] [BT_RFKILL]: Enter rfkill_rk_init
[ 1.706467] of_get_named_gpiod_flags: parsed ‘uart_rts_gpios’ property of node ‘/wireless-bluetooth[0]’ - status (0)
[ 1.706484] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 135.
[ 1.707270] of_get_named_gpiod_flags: parsed ‘BT,power_gpio’ property of node ‘/wireless-bluetooth[0]’ - status (0)
[ 1.707280] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 139.
[ 1.708036] of_get_named_gpiod_flags: can’t parse ‘BT,reset_gpio’ property of node ‘/wireless-bluetooth[0]’
[ 1.708048] of_get_named_gpiod_flags: can’t parse ‘BT,wake_gpio’ property of node ‘/wireless-bluetooth[0]’
[ 1.708065] of_get_named_gpiod_flags: parsed ‘BT,wake_host_irq’ property of node ‘/wireless-bluetooth[0]’ - status (0)
[ 1.708074] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 140.
[ 1.708859] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[ 1.709541] [BT_RFKILL]: Request irq for bt wakeup host
[ 1.710577] [BT_RFKILL]: ** disable irq
[ 1.711127] [BT_RFKILL]: bt_default device registered.
[ 1.711711] Key type dns_resolver registered
[ 1.712688] flash vendor_init_thread!
[ 1.713049] flash vendor storage:20170308 ret = -1
[ 1.713948] registered taskstats version 1
[ 1.729069] Key type encrypted registered
[ 1.730373] hctosys: unable to open rtc device (rtc0)
[ 1.743422] vcc_sd: disabling
[ 1.743743] vccio_sd: disabling
[ 1.744641] ALSA device list:
[ 1.744933] #0: Loopback 1
[ 1.745209] #1: rockchip,rk3308-acodec
[ 1.746373] Freeing unused kernel memory: 384K
[ 2.741620] EXT4-fs (mmcblk1p2): recovery complete
[ 2.743386] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.681453] systemd[1]: System time before build time, advancing clock.
[ 3.687798] cgroup: cgroup2: unknown option “nsdelegate”
[ 3.706591] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 3.709975] systemd[1]: Detected architecture arm64.
[ 3.734530] systemd[1]: Set hostname to .
[ 4.045986] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 4.047818] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 4.362579] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.365750] systemd[1]: Created slice System Slice.
[ 4.368194] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.369966] systemd[1]: Listening on Journal Socket.
[ 4.379402] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.385502] systemd[1]: Mounting Huge Pages File System…
[ 4.400198] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.407258] systemd[1]: Starting Load Kernel Modules…
[ 4.409142] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.411334] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.422832] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.425854] systemd[1]: Created slice system-getty.slice.
[ 4.439693] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 4.441269] systemd[1]: Listening on Journal Audit Socket.
[ 4.455012] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 4.456834] systemd[1]: Listening on udev Kernel Socket.
[ 4.474700] random: systemd: uninitialized urandom read (16 bytes read, 58 bits of entropy available)
[ 4.484428] systemd[1]: Starting Create list of required static device nodes for the current kernel…
[ 4.488784] random: systemd: uninitialized urandom read (16 bytes read, 58 bits of entropy available)
[ 4.491328] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 4.502951] systemd[1]: Mounting POSIX Message Queue File System…
[ 4.523010] systemd[1]: Set up automount boot.automount.
[ 4.531439] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 4.535572] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 4.543401] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.555172] systemd[1]: Created slice User and Session Slice.
[ 4.557435] systemd[1]: Reached target Slices.
[ 4.566807] systemd[1]: Reached target Swap.
[ 4.576518] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.579759] systemd[1]: Listening on udev Control Socket.
[ 4.593789] systemd[1]: Starting udev Coldplug all Devices…
[ 4.602973] systemd[1]: Reached target Remote File Systems.
[ 4.605434] systemd[1]: Reached target Paths.
[ 4.622391] systemd[1]: Starting Journal Service…
[ 4.635126] systemd[1]: Reached target Local Encrypted Volumes.
[ 4.650293] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 4.660603] systemd[1]: Mounting Kernel Debug File System…
[ 4.672879] systemd[1]: Mounted Huge Pages File System.
[ 4.699912] systemd[1]: Started Load Kernel Modules.
[ 4.705465] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[ 4.713268] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 4.716833] systemd[1]: Mounted POSIX Message Queue File System.
[ 4.728382] systemd[1]: Started Remount Root and Kernel File Systems.
[ 4.731164] systemd[1]: Mounted Kernel Debug File System.
[ 4.738203] vendor storage:20160801 ret = -1
[ 4.747516] systemd[1]: Starting Load/Save Random Seed…
[ 4.759049] systemd[1]: Starting Create Static Device Nodes in /dev…
[ 4.767389] systemd[1]: Starting Apply Kernel Variables…
[ 4.779329] systemd[1]: Mounting FUSE Control File System…
[ 4.791192] systemd[1]: Mounting Kernel Configuration File System…
[ 4.805557] systemd[1]: Started Load/Save Random Seed.
[ 4.820378] systemd[1]: Started Apply Kernel Variables.
[ 4.827255] systemd[1]: Mounted FUSE Control File System.
[ 4.835166] systemd[1]: Mounted Kernel Configuration File System.
[ 4.843586] systemd[1]: Started Journal Service.
[ 4.941686] systemd-journald[215]: Received request to flush runtime journal from PID 1
[ 4.986053] systemd-journald[215]: File /var/log/journal/f4a1347df1b641bf88d5c0bd7d6eb940/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 5.706444] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host pin output high!
[ 5.782228] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host pin input!
[ 5.782299] [BT_RFKILL]: ENABLE UART_RTS
[ 5.886211] [BT_RFKILL]: DISABLE UART_RTS
[ 5.886329] [BT_RFKILL]: bt turn on power
[ 6.207653] =======================================================
[ 6.207662] ==== Launching Wi-Fi driver! (Powered by Rockchip) ====
[ 6.207669] =======================================================
[ 6.207678] Realtek 8723DS SDIO WiFi driver (Powered by Rockchip,Ver v5.6.5_31752.20181221_COEX20181130-2e2e) init.
[ 6.207688] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 6.207699] [WLAN_RFKILL]: wifi turn on power. -1
[ 6.207709] mmc2:mmc host rescan start!
[ 6.300680] Bluetooth: HCI UART driver ver 2.2.d448471.20190215-141136
[ 6.300709] Bluetooth: HCI H4 protocol initialized
[ 6.300718] Bluetooth: HCI Realtek H5 protocol initialized
[ 6.300728] rtk_btcoex: rtk_btcoex_init: version: 1.2
[ 6.300735] rtk_btcoex: create workqueue
[ 6.300742] rtk_btcoex: Coex over UDP
[ 6.302835] rtk_btcoex: alloc buffers 1792, 2432 for ev and l2
[ 6.859909] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host pin output high!
[ 6.930298] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host pin input!
[ 6.930371] [BT_RFKILL]: ENABLE UART_RTS
[ 7.034201] [BT_RFKILL]: DISABLE UART_RTS
[ 7.034299] [BT_RFKILL]: bt turn on power
[ 7.210144] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[ 7.225115] random: nonblocking pool is initialized
[ 7.359719] [WLAN_RFKILL]: rockchip_wifi_mac_addr: enter.
[ 7.767314] Bluetooth: h5_open
[ 7.767361] Bluetooth: hci_uart_register_dev
[ 7.770937] rtk_btcoex: Open BTCOEX
[ 7.770987] rtk_btcoex: create_udpsocket: connect_port: 30001
[ 7.771068] rtk_btcoex: send msg INVITE_REQ with len:11
[ 7.776607] rtk_btcoex: BTCOEX hci_rev 0xaa7b
[ 7.776650] rtk_btcoex: BTCOEX lmp_subver 0x5645
[ 8.583781] file system registered
[ 8.709206] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.726016] read descriptors
[ 8.726106] read strings
[ 9.708230] dwc2 ff400000.usb: bound driver configfs-gadget
[ 9.879562] dwc2 ff400000.usb: new device is high-speed
[ 9.882246] [WLAN_RFKILL]: get_wifi_addr_vendor: rk_vendor_read wifi mac address failed (-1)
[ 9.891864] dwc2 ff400000.usb: new address 1
[ 9.943252] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[ 9.967564] configfs-gadget gadget: high-speed config #1: b
[ 10.280342] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[ 10.287804] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[ 10.302652] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 10.303739] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 10.308212] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 10.394207] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep ffffffc018a2a3d8 ep2out, 0)
[ 10.394752] dwc2 ff400000.usb: dwc2_hsotg_ep_sethalt(ep ffffffc018a2af18 ep1in, 0)
[ 10.467687] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[ 10.479324] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 13.556066] adbd (358): /proc/358/oom_adj is deprecated, please use /proc/358/oom_score_adj instead.
这是log,您看一下
运行dhclient eth0一直都没有反应
运行这一条命令 dhclient eth0 没获取到 ip,说明网卡硬件有问题。
请问一下,在出现这个问题之前,你是做了什么操作吗?
我用这个跑了vscode remote,别的什么都没有跑,突然vscode连不上了,然后就发现网卡灯不亮了
还有把系统更新到最新,然后安装了golang
明白了。我知道你做了什么操作了。
那我这个故障到底是什么原因导致的呢?
造成这个问题的原因,我也不清楚。
好吧,谢谢🙏
Summary
This text will be hidden