Public bug reported:

I have a Milk-V Mars SBC (StarFive JH7110 SoC). 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.

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.

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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

Reply via email to