Closed Kreyren closed 1 year ago
Many thanks for your report.
Hmm, I see no errors about USB, but about the Ethernet port indeed, and the kernel error about IRQ 77. There are no voltage errors (besides some failed regulator registrations, expected if related devices/power inputs are not used).
Can you show:
lsusb
ip a
And do you have a different PSU and/or different power cable to test with, in case it is indeed voltage/power related?
Also, if you can establish a network connection via WiFi, could you try to upgrade the kernel to latest version?
apt update
apt full-upgrade
Many thanks for your report.
Hmm, I see no errors about USB, but about the Ethernet port indeed, and the kernel error about IRQ 77. There are no voltage errors (besides some failed regulator registrations, expected if related devices/power inputs are not used).
Can you show:
lsusb ip a
-- @MichaIng (https://github.com/MichaIng/DietPi/issues/5661#issuecomment-1200279169)
root@DietPi:~# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@DietPi:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 4e:cf:b2:ea:31:49 brd ff:ff:ff:ff:ff:ff
And do you have a different PSU and/or different power cable to test with, in case it is indeed voltage/power related? -- @MichaIng (https://github.com/MichaIng/DietPi/issues/5661#issuecomment-1200279169)
Tried those already with the same result
Also, if you can establish a network connection via WiFi, could you try to upgrade the kernel to latest version?
apt update apt full-upgrade
Unable, i don't have the WiFi adapter and USB also doesn't work to attempt USB modem
ping @MichaIng
Sorry for the late reply. You do still face the issue? The eth0
adapter is detected. Does
ifup --force eth0
not work? The interface is defined?
cat /etc/network/interfaces
# ifup --force eth0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
[ 133.232786] rk_gmac-dwmac fe300000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -22)
RTNETLINK answers: Invalid argument
Listening on LPF/eth0/4e:cf:b2:ea:31:49
Sending on LPF/eth0/4e:cf:b2:ea:31:49
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
dhclient.c:2446: Failed to send 300 byte long packet over eth0 interface.
dhclient.c:2446: Failed to send 300 byte long packet over eth0 interface.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
send_packet: Network is down
dhclient.c:2446: Failed to send 300 byte long packet over eth0 interface.
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
# cat /etc/network/interfaces
# Location: /etc/network/interfaces
# Please modify network settings via: dietpi-config
# Or create your own drop-ins in: /etc/network/interfaces.d/
# Drop-in configs
source interfaces.d/*
# Ethernet
allow-hotplug eth0
iface eth0 inet dhcp
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
#dns-nameservers 9.9.9.9 149.112.112.112
# WiFi
#allow-hotplug wlan0
iface wlan0 inet dhcp
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
#dns-nameservers 9.9.9.9 149.112.112.112
wireless-power off
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
[ 133.232786] rk_gmac-dwmac fe300000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -22)
send_packet: Network is down dhclient.c:2446: Failed to send 300 byte long packet over eth0 interface.
Could you check the physical connection? There seems something not working correctly.
Check how? I tried to replug it multiple times in case there is something obstructing the connection and the cable works fine in different system.. hardware damage? ------- Original Message ------- On Tuesday, September 20th, 2022 at 9:34 AM, Joulinar @.***> wrote:
[ 133.232786] rk_gmac-dwmac fe300000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -22)
send_packet: Network is down dhclient.c:2446: Failed to send 300 byte long packet over eth0 interface.
Could you check the physical connection? There seems something not working correctly.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
There should be a yellow and green LEDs on the LAN socket. Do they are active while connected to network + powered on?
@Joulinar I don't see any LED working on the LAN socket after connection
Neither of the LEDs is active on the ethernet connector both before and after connection
------- Original Message ------- On Tuesday, September 20th, 2022 at 10:15 AM, Joulinar @.***> wrote:
There should be a yellow and green LEDs on the LAN socket. Do they are active while connected to network + powered on?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Our image has been updated. Probably the underlying issue has been fixed with the newer kernel and/or bootloader.
I'll mark this as closed, assuming it has been solved with recent kernel, as otherwise we should have seen more reports.
Creating a bug report/issue
Required Information
cat /boot/dietpi/.version
echo $G_DISTRO_NAME $G_RASPBIAN
uname -a
echo $G_HW_MODEL_NAME
or (EG: RPi3)Steps to reproduce
7z x path/to/DietPi_ROCKPro64-ARMv8-Bullseye.7z
sudo dd if=path/to/DietPi_ROCKPro64-ARMv8-Bullseye.img of=/dev/DEVICE conv=sync status=progress && sync
to install the OS on the sdcardExpected behaviour
Actual behaviour
I don't have:
Extra details
Logfile attached. Click to expand!
```console root@DietPi:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.63-rockchip64 (root@runner4) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 [ 0.000000] Machine model: Pine64 RockPro64 v2.1 [ 0.000000] efi: UEFI not found. [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x7fba3100-0x7fba4fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-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 0x0000000000200000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff] [ 0.000000] On node 0 totalpages: 523776 [ 0.000000] DMA zone: 8184 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 523776 pages, LIFO batch:63 [ 0.000000] cma: Reserved 128 MiB at 0x0000000071000000 [ 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 33 pages/cpu s94232 r8192 d32744 u135168 [ 0.000000] pcpu-alloc: s94232 r8192 d32744 u135168 alloc=33*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515592 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: root=UUID=16fd56b1-1af3-4832-b584-e15c71d16b10 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=4 uboot part=0db3c612-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0" [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 1882144K/2095104K available (14848K kernel code, 2630K rwdata, 5976K rodata, 4352K init, 578K bss, 81888K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 0.000000] ITS [mem 0xfee20000-0xfee3ffff] [ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @500000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x00000000004d0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000004e0000 [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] } [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] } [ 0.000000] random: get_random_bytes called from start_kernel+0x690/0x848 with crng_init=0 [ 0.000000] arch_timer: 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.001405] Console: colour dummy device 80x25 [ 0.001472] printk: console [tty1] enabled [ 0.001602] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001623] pid_max: default: 32768 minimum: 301 [ 0.001788] LSM: Security Framework initializing [ 0.001829] Yama: becoming mindful. [ 0.001978] AppArmor: AppArmor initialized [ 0.002071] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.002096] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.005833] rcu: Hierarchical SRCU implementation. [ 0.006995] Platform MSI: interrupt-controller@fee20000 domain created [ 0.007532] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created [ 0.009923] EFI services will not be available. [ 0.010639] smp: Bringing up secondary CPUs ... [ 0.011644] Detected VIPT I-cache on CPU1 [ 0.011689] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 0.011707] GICv3: CPU1: using allocated LPI pending table @0x00000000004f0000 [ 0.011782] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.012948] Detected VIPT I-cache on CPU2 [ 0.012983] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 0.012998] GICv3: CPU2: using allocated LPI pending table @0x0000000000580000 [ 0.013049] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.014149] Detected VIPT I-cache on CPU3 [ 0.014182] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 0.014196] GICv3: CPU3: using allocated LPI pending table @0x0000000000590000 [ 0.014242] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.015302] CPU features: detected: Spectre-v2 [ 0.015310] CPU features: detected: Spectre-v4 [ 0.015315] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.015323] Detected PIPT I-cache on CPU4 [ 0.015359] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 0.015373] GICv3: CPU4: using allocated LPI pending table @0x00000000005a0000 [ 0.015421] CPU4: Booted secondary processor 0x0000000100 [0x410fd082] [ 0.016542] Detected PIPT I-cache on CPU5 [ 0.016572] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 0.016585] GICv3: CPU5: using allocated LPI pending table @0x00000000005b0000 [ 0.016623] CPU5: Booted secondary processor 0x0000000101 [0x410fd082] [ 0.016793] smp: Brought up 1 node, 6 CPUs [ 0.016822] SMP: Total of 6 processors activated. [ 0.016834] CPU features: detected: 32-bit EL0 Support [ 0.016845] CPU features: detected: CRC32 instructions [ 0.016856] CPU features: detected: 32-bit EL1 Support [ 0.044388] CPU: All CPU(s) started at EL2 [ 0.044456] alternatives: patching kernel code [ 0.047488] devtmpfs: initialized [ 0.063258] Registered cp15_barrier emulation handler [ 0.063282] Registered setend emulation handler [ 0.063536] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.063613] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.066686] pinctrl core: initialized pinctrl subsystem [ 0.067362] DMI not present or invalid. [ 0.067980] NET: Registered protocol family 16 [ 0.071253] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.071984] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.073298] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.073379] audit: initializing netlink subsys (disabled) [ 0.073623] audit: type=2000 audit(0.072:1): state=initialized audit_enabled=0 res=1 [ 0.074911] thermal_sys: Registered thermal governor 'fair_share' [ 0.074919] thermal_sys: Registered thermal governor 'bang_bang' [ 0.074926] thermal_sys: Registered thermal governor 'step_wise' [ 0.074933] thermal_sys: Registered thermal governor 'user_space' [ 0.075457] cpuidle: using governor menu [ 0.075756] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.075981] ASID allocator initialised with 65536 entries [ 0.077240] Serial: AMBA PL011 UART driver [ 0.147489] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.147502] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.147512] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.147521] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.153960] cryptd: max_cpu_qlen set to 1000 [ 0.232492] raid6: neonx8 gen() 1664 MB/s [ 0.300666] raid6: neonx8 xor() 1247 MB/s [ 0.368822] raid6: neonx4 gen() 1681 MB/s [ 0.436985] raid6: neonx4 xor() 1285 MB/s [ 0.505150] raid6: neonx2 gen() 1502 MB/s [ 0.573297] raid6: neonx2 xor() 1190 MB/s [ 0.641471] raid6: neonx1 gen() 1181 MB/s [ 0.709619] raid6: neonx1 xor() 937 MB/s [ 0.777784] raid6: int64x8 gen() 994 MB/s [ 0.845982] raid6: int64x8 xor() 579 MB/s [ 0.914196] raid6: int64x4 gen() 830 MB/s [ 0.982306] raid6: int64x4 xor() 592 MB/s [ 1.050478] raid6: int64x2 gen() 926 MB/s [ 1.118625] raid6: int64x2 xor() 524 MB/s [ 1.186789] raid6: int64x1 gen() 725 MB/s [ 1.254931] raid6: int64x1 xor() 391 MB/s [ 1.254938] raid6: using algorithm neonx4 gen() 1681 MB/s [ 1.254945] raid6: .... xor() 1285 MB/s, rmw enabled [ 1.254952] raid6: using neon recovery algorithm [ 1.256267] reg-fixed-voltage vcc1v8-s3: Failed to register regulator: -517 [ 1.256563] reg-fixed-voltage vcc3v0-sd: Failed to register regulator: -517 [ 1.256798] vcc3v3_pcie: supplied by vcc12v_dcin [ 1.257488] reg-fixed-voltage vcc3v3-sys: Failed to register regulator: -517 [ 1.257868] reg-fixed-voltage vcc5v0-host-regulator: Failed to register regulator: -517 [ 1.258134] reg-fixed-voltage vcc5v0-typec-regulator: Failed to register regulator: -517 [ 1.258289] vcc5v0_sys: supplied by vcc12v_dcin [ 1.258740] vcc5v0_usb: supplied by vcc12v_dcin [ 1.259371] iommu: Default domain type: Translated [ 1.262342] vgaarb: loaded [ 1.262953] SCSI subsystem initialized [ 1.263294] libata version 3.00 loaded. [ 1.263634] usbcore: registered new interface driver usbfs [ 1.263693] usbcore: registered new interface driver hub [ 1.263741] usbcore: registered new device driver usb [ 1.264418] pps_core: LinuxPPS API ver. 1 registered [ 1.264426] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo GiomettiCC @MichaIng @Joulinar