** Description changed: I have a Milk-V Mars SBC (StarFive JH7110 SoC, hardware rev 1.21). Because I want to install the OS onto an eMMC module, I manually updated the bootloader to U-Boot v2025.10 (from https://freeshell.de/e/riscv64/vf2eeprom/) and then installed Ubuntu Server 24.04.3. Upgrading the bootloader worked very well and allowed me to run the subiquity installer without any issues. + + CRITICAL CLARIFICATION + + I need to correct my previous assumption that this was solely a + regression caused by apt upgrade. + + I have confirmed that the Ubuntu Server 24.04.3 RISC-V installer ISO itself ships with Kernel 6.14.0-36-generic, so my notes below about Kernel 6.8 are + incorrect. + + The onboard Ethernet (end0) is non-functional during the installation + process. I may have been lucky with some timing issue, but it regularly + fails now. + The Regression: With kernel 6.8.0 (24.04.3 installer default), the onboard Ethernet (end0) works perfectly. After running sudo apt upgrade, the system rebooted into kernel 6.14.0-36-generic, and then the end0 interface failed completely. Symptoms: The interface appears in ip a, but it cannot negotiate a link (Link detected: no in ethtool). It seems the Motorcomm PHY driver is failing to attach or initialize correctly in 6.14.0. I am currently using a USB-Ethernet adapter (r8152) to bypass the issue. Correction on Reproducibility: My brain memory tells me that the onboard ethernet port worked initially with the 6.8 kernel and then failed with the 6.14 kernel, but I can't duplicate that. After attempting a clean reinstall (using U-Boot v2025.10), I found I could not reliably reproduce the "working" state on Kernel 6.8.0 using the onboard ethernet port. Everything was fine with my USB-A/ethernet adapter. When attempting to bring the interface up in the installer shell (ip link set end0 up), the command failed with: RTNETLINK answers: Connection timed out This suggests the issue may be a broader incompatibility between the upstream U-Boot initialization and the current Ubuntu kernel drivers (both 6.8 and 6.14), rather than a pure regression in 6.14. Hardware Details: Board: Milk-V Mars Bootloader: U-Boot v2025.10 (Note: This bootloader works 100% correctly with Kernel 6.8.0, so the issue is likely not firmware related). Logs: 1. Kernel Version (Broken) $ uname -a Linux moonunit 6.14.0-36-generic #36.1~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 22 10:00:37 UTC riscv64 riscv64 riscv64 GNU/Linux 2. Link Status (Down) $ ip a show end0 2: end0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 6c:cf:39:00:97:0b brd ff:ff:ff:ff:ff:ff 3. Ethtool (Evidence of PHY Failure) Note: Speed is "Unknown" and Auto- negotiation is "off". $ sudo ethtool end0 Settings for end0: Supported ports: [ TP AUI MII FIBRE BNC Backplane ] ... Speed: Unknown! Duplex: Half Auto-negotiation: off Link detected: no 4. Dmesg (MAC loads, but no PHY attachment) $ sudo dmesg | grep -iE "eth|phy|motorcomm|starfive" [ 6.720517] starfive-dwmac 16030000.ethernet: IRQ sfty not found [ 6.729272] starfive-dwmac 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52 [ 6.740711] starfive-dwmac 16030000.ethernet: DWMAC4/5 ... [ 6.892165] starfive-dwmac 16030000.ethernet end0: renamed from eth0
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2134372 Title: Milk-V Mars / StarFive JH7110 Ethernet (end0) dead after upgrade to 6.14.0-36 (regression from 6.8.0) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2134372/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
