NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/60193: olimex a64 - no carrier with emac0 ethernet



On Thu, Apr 16, 2026 at 06:50:01AM +0000, nia%pkgsrc.org@localhost via gnats wrote:
> NetBSD arm64 11.99.5 NetBSD 11.99.5 (GENERIC64) #0: Wed Apr 15 16:10:35 UTC 2026  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
> >Description:
> The device is never able to get a carrier, but is fully functional on
> Olimex's official Linux image.
> 
> Starting dhcpcd.
> dhcpcd-10.3.1 starting
> DUID 00:01:blah
> emac0: waiting for carrier
> emac0: carrier acquired
> emac0: IAID aa:blah
> emac0: adding address fe80::d7a0:425e:74e4:eb0e
> emac0: carrier lost - roaming
> timed out

> $ ifconfig
> emac0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         capabilities=0x3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
>         capabilities=0x3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
>         enabled=0
>         ec_capabilities=0x1<VLAN_MTU>
>         ec_enabled=0
>         address: 02:ba:xx:xx:xx:xx
>         media: Ethernet autoselect (none)
>         status: no carrier
>         inet6 fe80::d7a0:425e:74e4:eb0e%emac0/64 flags 0x8<DETACHED> scopeid 0x

FWIW, I see the same issue with NetBSD 10.0.
At boot the media is properly detected, but bringing the interface up causes
it to loose the media:
# ifconfig
emac0: flags=0x8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        capabilities=0x3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
        capabilities=0x3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        ec_capabilities=0x1<VLAN_MTU>
        ec_enabled=0
        address: 02:ba:a8:c8:fe:86
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
lo0: flags=0x8048<LOOPBACK,RUNNING,MULTICAST> mtu 33624
        status: active
# ifconfig emac0 up
# ifconfig         
emac0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=0x3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
        capabilities=0x3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        ec_capabilities=0x1<VLAN_MTU>
        ec_enabled=0
        address: 02:ba:a8:c8:fe:86
        media: Ethernet autoselect (none)
        status: no carrier
        inet6 fe80::ba:a8ff:fec8:fe86%emac0/64 flags 0x8<DETACHED> scopeid 0x1
lo0: flags=0x8048<LOOPBACK,RUNNING,MULTICAST> mtu 33624
        status: active

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index