Running RaspbianOS 11, eth0 only gets an IP address about 35% of the time (7 out of 20 reboots).
I’ve upgraded to the Jan 24 2024 firmware. I have tried different ethernet cables and different ports on the router. All other devices on this router are happy.
I’ve tried using ethtool to slow down to 100M and 10M but it didn’t help.
In syslog I see eth0: carrier acquired, then 5 seconds later eth0: carrier lost, and this keeps looping forever. When carrier is lost, the orange light on the ethernet jack turns off for several seconds and the network icon in the top right corner of Raspbian desktop shows red X’s.
I’m using a USB-C Raspberry Pi power supply (5A).
Hi, I tried different distributions and none has ethernet issues. Perhaps you could install Debian temporarily to check if something in RaspbianOS is wrong.
Can you provide the exact logs from dmesg?
jrh
February 8, 2024, 5:47pm
4
I’ve been having the same issue with Debian on the Alta. The problems is intermittent (it works about 1/3 of the time). I found a workaround is to unplug the ethernet cable until u-boot passes control to the Linux kernel. Once the kernel starts loading it should be ok to plug the cable back in. That works for me, anyway.
In my case I do have the latest firmware installed from here: https://hub.libre.computer/t/libre-computer-board-bios-firmware-update-images/3113
First snippet:
[ 11.178651] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 11.178694] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 16.868492] ------------[ cut here ]------------
[ 16.868536] NETDEV WATCHDOG: end0 (meson8b-dwmac): transmit queue 0 timed out
[ 16.868675] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x278/0x280
[ 16.868719] Modules linked in: hid_logitech_hidpp overlay mousedev joydev binfmt_misc btusb btrtl btbcm btintel panfrost crct10dif_ce btmtk gpu_sched polyval_ce snd_soc_meson_axg_sound_card drm_shmem_helper bluetooth polyval_generic snd_soc_meson_card_utils ecdh_generic ecc meson_vdec(C) videobuf2_dma_contig snd_soc_meson_g12a_tohdmitx snd_soc_meson_g12a_toacodec snd_soc_meson_axg_tdmout v4l2_mem2mem snd_soc_meson_codec_glue snd_soc_meson_axg_toddr snd_soc_meson_axg_frddr meson_rng videobuf2_memops snd_soc_meson_axg_tdmin rng_core snd_soc_meson_axg_fifo videobuf2_v4l2 videobuf2_common snd_soc_meson_t9015 videodev meson_ir mc onboard_usb_hub rc_core ao_cec_g12a snd_soc_meson_axg_tdm_interface snd_soc_meson_axg_tdm_formatter snd_soc_simple_amplifier hid_logitech_dj cfg80211 rfkill fuse efi_pstore pstore dm_mod bpf_preload ip_tables x_tables ipv6 crc_ccitt rtc_meson_vrtc dw_hdmi_i2s_audio reset_meson_audio_arb axg_audio sclk_div clk_phase
[ 16.869207] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G C 6.1.74-12781-g74961fb0a5d2 #1
[ 16.869227] Hardware name: libre-computer aml-a311d-cc/aml-a311d-cc, BIOS 2024.01+ 01/01/2024
[ 16.869240] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 16.869261] pc : dev_watchdog+0x278/0x280
[ 16.869282] lr : dev_watchdog+0x278/0x280
[ 16.869302] sp : ffff800008003dc0
[ 16.869312] x29: ffff800008003dc0 x28: ffffdbe4040c6b84 x27: ffff800008003ee0
[ 16.869346] x26: ffffdbe4052ab008 x25: 0000000000000000 x24: ffffdbe4058bea20
[ 16.869381] x23: ffffdbe4058b7000 x22: 0000000000000000 x21: ffff7ca36c3d041c
[ 16.869444] x20: ffff7ca36c3d0000 x19: ffff7ca36c3d04c8 x18: ffffffffffffffff
[ 16.869483] x17: 756f2064656d6974 x16: 2030206575657571 x15: 2074696d736e6172
[ 16.869567] x14: 74203a2963616d77 x13: 74756f2064656d69 x12: 7420302065756575
[ 16.869606] x11: 712074696d736e61 x10: ffffdbe405942558 x9 : ffffdbe4030d6048
[ 16.869638] x8 : 00000000ffffefff x7 : ffffdbe405942558 x6 : 80000000fffff000
[ 16.869670] x5 : ffff7ca3b3f47a10 x4 : 0000000000000040 x3 : 0000000000000006
[ 16.869701] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffdbe4058c8300
[ 16.869734] Call trace:
[ 16.869744] dev_watchdog+0x278/0x280
[ 16.869766] call_timer_fn+0x3c/0x1cc
[ 16.869791] __run_timers+0x258/0x314
[ 16.869813] run_timer_softirq+0x28/0x4c
[ 16.869837] __do_softirq+0x128/0x3b0
[ 16.869855] ____do_softirq+0x18/0x24
[ 16.869875] call_on_irq_stack+0x24/0x54
[ 16.869895] do_softirq_own_stack+0x24/0x3c
[ 16.869914] __irq_exit_rcu+0xd4/0xe0
[ 16.869939] irq_exit_rcu+0x18/0x24
[ 16.869963] el1_interrupt+0x38/0x70
[ 16.869986] el1h_64_irq_handler+0x18/0x2c
[ 16.870008] el1h_64_irq+0x64/0x68
[ 16.870024] arch_cpu_idle+0x18/0x2c
[ 16.870047] default_idle_call+0x58/0x188
[ 16.870068] do_idle+0x24c/0x2c0
[ 16.870086] cpu_startup_entry+0x3c/0x44
[ 16.870104] rest_init+0xf8/0x100
[ 16.870125] arch_post_acpi_subsys_init+0x0/0x28
[ 16.870153] start_kernel+0x6d0/0x710
[ 16.870176] __primary_switched+0xbc/0xc4
[ 16.870201] ---[ end trace 0000000000000000 ]---
[ 16.870287] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
Second snippet:
[ 83.479257] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 83.479312] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 88.804710] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 88.918467] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 89.152548] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 89.163745] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 89.163762] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 89.163771] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 92.494595] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 92.494648] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 98.020575] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 98.135218] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 98.328575] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 98.340191] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 98.340203] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 98.340213] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 101.721882] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 101.721954] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 106.980729] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 107.094681] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 107.300565] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 107.312497] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 107.312509] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 107.312519] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 110.574717] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 110.574991] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 115.940593] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 116.054981] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 116.256569] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 116.269043] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 116.269066] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 116.269086] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 119.550162] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 119.550215] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 124.900748] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 125.019019] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 125.248626] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 125.256520] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 125.256539] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 125.256550] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 128.702389] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 128.702439] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 133.860542] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 133.979129] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 134.192567] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 134.200494] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 134.200510] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 134.200520] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 137.777187] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 137.777257] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 142.824509] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 142.936853] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 143.172575] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 143.184958] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 143.184981] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 143.185001] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 146.478594] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 146.478668] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 152.036546] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 152.152562] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 152.384567] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 152.396493] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 152.396506] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 152.396516] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 155.704678] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 155.704928] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 160.996548] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 161.111194] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 161.312572] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 161.324519] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 161.324545] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 161.324565] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 164.655588] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 164.655643] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 169.956549] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 170.071366] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 170.308571] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 170.320539] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 170.320549] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 170.320558] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 173.650594] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 173.650662] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 178.916595] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 179.033080] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 179.260564] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 179.272690] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 179.272717] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 179.272737] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 182.548376] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 182.548448] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 183.819534] logitech-hidpp-device 0003:046D:400E.0007: HID++ 2.0 device connected.
[ 187.876572] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 187.990769] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 188.188573] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 188.200479] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 188.200489] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 188.200498] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 191.523307] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 191.523381] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 196.836577] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 196.951374] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 197.152575] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 197.164601] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 197.164614] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 197.164623] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
[ 200.499476] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 200.499528] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[ 206.052549] meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
[ 206.167443] meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 206.368571] meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
[ 206.379698] meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
[ 206.379707] meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
[ 206.379716] meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
What date is your firmware? This issue should have been fixed on the 2024-Jan-24 05:08 release. Double check your version matches. If it matches and you still have this issue, let us know.
jrh
February 8, 2024, 7:14pm
6
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 3.0 present.
7 structures occupying 264 bytes.
Table at 0xE9E89020.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: U-Boot
Version: 2024.01+
Release Date: 01/01/2024
ROM Size: 64 kB
Characteristics:
PCI is supported
BIOS is upgradeable
Selectable boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 24.1
It looks like I’m running an older version of the firmware. I’ll update it and see if the issue is resolved.
jrh
February 8, 2024, 11:35pm
7
I updated the firmware but the problem still persists. I’m not entirely certain the update was successful, though. I did this:
wget https://boot.libre.computer/ci/aml-a311d-cc-spiflash
sudo dd if=aml-a311d-cc-spiflash of=/dev/mmcblk1 bs=1M status=progress
And rebooted. I’m using a video capture card to capture console output and got this:
And rebooted. But, the ethernet problem persists and the BIOS revision seems to be the same. How can I tell if the firmware flashed properly?
This is a problem we thought we fixed. Can you let us know the kernel version and switch you are using?
jrh
February 9, 2024, 2:09am
9
That’s exactly the error. Mine adds a flow control message at the end of the last line:
Link is Up - 1Gbps/Full - flow control rx/tx
uname -r -v
6.1.74-12781-g74961fb0a5d2 #1 SMP PREEMPT_DYNAMIC Wed Jan 24 02:05:32 EST 2024
hans311
February 10, 2024, 3:37pm
10
Hi jrh,
My Debian 12 distribution, with the same firmware as you mentioned, has no problem with the network connection.
Lets look at my flow controls from the switch. The port on the switch is set on Flow Control disabled. The commando dmesg gives
[ 12.404442] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
If I change the switch port Flow Control to enabled it gives no problem at all. I checked this with several boots. The commando dmesg gives
[ 12.919949] meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx
If I try to set up Auto Negotiation on switch port it returns the error Flow Control AutoNegotiation is not supported on port gi9.
@jrh : I am curious what the settings is for the flow control on the related port of your router/switch. If possible you can change it to disable or enable. If this works it could be an acceptable workout for you.
@librecomputer : With the error of my switch the question came up: Should auto negotiation work with the ethernet connection?
jrh
February 11, 2024, 5:17pm
11
My switch is a NetGear GS108 with flow control enabled. It’s un-managed so I can’t modify the settings.
This is the message I get with dmesg:
Link is Up - 1Gbps/Full - flow control rx/tx
Hi all,
Not sure if I’m having the same issue or a different one…
In my case, the Alta board network is between slow to dead, apt update may time out and let not even try installing a package or send some bytes over scp/rsync.
Running Libre Ubuntu 22.04.
I do see the same messages on demsg as mentioned in this thread, but in my case I also see:
[ 262.793123] fe.dai-link-5: ASoC: no backend DAIs enabled for fe.dai-link-5
[ 262.799700] fe.dai-link-5: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-5: -22
With fe-dai-link-N from 1 to 5
I’ve updated the firmware to the latest one, and verified that the router negotiates 1gb connection to the Alta.
This device is the only one on my network suffering from slow/dead network (sometimes even plain ssh
will struggle).
Any advice?
after i thought i had fixed it, error returns.
-flashed actual firmware
-tested debian-12 and raspberry-12 images from distro server (checksums good)
-tested 3 different microsd cards (all error free)
-changed network cables, ports, switch
-managed switch autoneg → off, flow control disabled
-tested all of the above with microsd, emmc
-tested plugin of network after boot
-have 4A 5V raspberry power source
nothing worked
nework stable every ~ 3 reboots BUT:
performance only 30 MBi/s, i´d expect minimum 95MBi/s on a gigabit connection when transferring a large file
maybe i should try an old image ? debian-11 ? but i guess this should not be image problem…
any advice before i dump it and buy a raspberry ?
thank you
hi everyone,
having the same problem here. I tried using different switches and it doesn’t matter if the switch has flow control enabled or not, same outcome.
So my problem is this:
After booting, the ethernet adapter continually gets reset like this “meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.”
You can fix the problem if you boot with the network cable disconnected. After boot, plug it back in and it magically works.
So now the relevant dmesg output diff:
------------[ cut here ]------------
NETDEV WATCHDOG: end0 (meson8b-dwmac): transmit queue 0 timed out
WARNING: CPU: 4 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x278/0x280
Modules linked in: overlay openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 lzo_rle zram zsmalloc binfmt_misc crct10dif_ce meson_vdec(C) panfrost polyval_ce videobuf2_dma_contig snd_soc_meson_axg_sound_card polyval_generic gpu_sched onboard_usb_hub drm_shmem_helper snd_soc_meson_card_utils snd_soc_meson_g12a_toacodec v4l2_mem2mem snd_soc_meson_g12a_tohdmitx snd_soc_meson_axg_tdmout snd_soc_meson_codec_glue videobuf2_memops snd_soc_meson_axg_tdmin videobuf2_v4l2 snd_soc_meson_axg_toddr meson_ir snd_soc_meson_axg_frddr videobuf2_common meson_rng dw_hdmi_i2s_audio snd_soc_meson_axg_fifo rc_core videodev ao_cec_g12a rng_core snd_soc_meson_t9015 mc snd_soc_meson_axg_tdm_interface snd_soc_meson_axg_tdm_formatter snd_soc_simple_amplifier cfg80211 rfkill fuse efi_pstore pstore dm_mod bpf_preload ip_tables x_tables ipv6 crc_ccitt axg_audio sclk_div reset_meson_audio_arb clk_phase rtc_meson_vrtc
CPU: 4 PID: 0 Comm: swapper/4 Tainted: G C 6.1.92-15907-gf36fd2695db3 #1
Hardware name: libre-computer aml-a311d-cc/aml-a311d-cc, BIOS 2024.01+ 01/01/2024
pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dev_watchdog+0x278/0x280
lr : dev_watchdog+0x278/0x280
sp : ffff800008023dc0
x29: ffff800008023dc0 x28: ffffc170cfbc7454 x27: ffff800008023ee0
x26: ffffc170d0dac008 x25: 0000000000000000 x24: ffffc170d13cea20
x23: ffffc170d13c7000 x22: 0000000000000000 x21: ffff4c34491a841c
x20: ffff4c34491a8000 x19: ffff4c34491a84c8 x18: 0000000000000020
x17: 0000000000000002 x16: 0000000000000001 x15: 0000000000000004
x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000020
x11: 0000000000000000 x10: ffffc170d1452580 x9 : ffffc170cecb071c
x8 : 00000000ffffefff x7 : ffffc170d1452580 x6 : 80000000fffff000
x5 : ffff4c3533edaa10 x4 : ffff4c3533edaa10 x3 : ffff4c3533ee6d70
x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff4c3440f82b80
Call trace:
dev_watchdog+0x278/0x280
call_timer_fn+0x3c/0x1cc
__run_timers+0x258/0x314
run_timer_softirq+0x28/0x4c
__do_softirq+0x128/0x3b0
____do_softirq+0x18/0x24
call_on_irq_stack+0x24/0x54
do_softirq_own_stack+0x24/0x3c
__irq_exit_rcu+0xd4/0xe0
irq_exit_rcu+0x18/0x24
el1_interrupt+0x38/0x70
el1h_64_irq_handler+0x18/0x2c
el1h_64_irq+0x64/0x68
arch_cpu_idle+0x18/0x2c
default_idle_call+0x58/0x188
do_idle+0x24c/0x2c0
cpu_startup_entry+0x40/0x44
secondary_start_kernel+0x124/0x150
__secondary_switched+0xb0/0xb4
---[ end trace 0000000000000000 ]---
meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
systemd-journald[1017]: Oldest entry in /var/log/journal/01db1006dd5f4ed6882a6b945bc6e874/user-1001.journal is older than the configured file retention duration (1month), suggesting rotation.
systemd-journald[1017]: /var/log/journal/01db1006dd5f4ed6882a6b945bc6e874/user-1001.journal: Journal header limits reached or header out-of-date, rotating.
meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
rc rc0: two consecutive events of type space
meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
meson8b-dwmac ff3f0000.ethernet end0: Reset adapter.
meson8b-dwmac ff3f0000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
meson8b-dwmac ff3f0000.ethernet end0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=19)
meson8b-dwmac ff3f0000.ethernet end0: No Safety Features support found
meson8b-dwmac ff3f0000.ethernet end0: PTP not supported by HW
meson8b-dwmac ff3f0000.ethernet end0: configuring for phy/rgmii link mode
meson8b-dwmac ff3f0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
I can’t use the alta with that problem, because it means the device will be defunct after a powerloss…
what is the current status of fixing this problem from @librecomputer ?
Also can someone explain how to check which “firmware” (is it really a firmware uploaded to some rom on the board or is it simply an update to the sd card using for booting?) is currently running and which firmware is currently the latest (the one thats supposed to fix the bug)?
That would be extremely helpful. Thanks!!
Download the spiflash image from Index of /release/ . If the checksum matches, then you’re on the latest.
if the checksum of that file matches with what exactly? Thanks!
If the flashing process says that the firmware matches. Libre Computer Board BIOS/Firmware Update Images
OK I am sorry for sounding stupid. I had posted my questions above. Please help me by answering them individually:
is the “firmware” uploaded to some rom on the board or is it simply an update to the regular (for example a debian) boot loader sd card used for regular booting and it is run this way?
If it is a flash utility that needs to update som rom on the board, where is the process for the alta board described? I cannot find a manual to follow anywhere.
Thanks!
Yes, it’s an image that needs to be flashed to a USB key or SD card and booted on the board.