NetBSD Problem Report #60906

From leot@netbsd.org  Mon Oct 19 11:59:10 2026
Return-Path: <leot@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 243981A923B
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 19 Oct 2026 11:59:10 +0000 (UTC)
Message-Id: <20261019115909.6CB7E84D55@mail.netbsd.org>
Date: Mon, 19 Oct 2026 11:59:09 +0000 (UTC)
From: leot@NetBSD.org
Reply-To: leot@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: NanoPi NEO emac no longers work with netbsd-10, netbsd-11 and -current
X-Send-Pr-Version: 3.95
X-From4GNATS: "leot@NetBSD.org via gnats" <gnats-admin@NetBSD.org>

>Number:         60906
>Category:       port-arm
>Synopsis:       NanoPi NEO emac no longers work with netbsd-10, netbsd-11 and -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 19 12:00:00 +0000 2026
>Last-Modified:  Tue Oct 20 12:35:01 +0000 2026
>Originator:     Leonardo Taccari
>Release:        NetBSD 11.99.9
>Organization:
The missing Ethernet frame
>Environment:
System: NetBSD armv7 11.99.9 NetBSD 11.99.9 (GENERIC) #0: Sun Oct 18 15:24:27 UTC 2026  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:
	When trying to use NanoPi NEO emac (ethernet) it seems no longer
	working.
	It worked fine with netbsd-9 so this seems a regression between netbsd-9
	and netbsd-10 (and newer).
	I have tested that with both netbsd-10, netbsd-11 and netbsd-current
	available on armbsd.org as Saturday and today and none of them have
	working ethernet (2026-10-19).

	For completeness here the corresponding dmesg lines (I have "obscured"
	the MAC address both here and in later sections):

	emac0 at simplebus1: EMAC
	emac0: Ethernet address f2:00:3e:xx:xx:xx
	emac0: interrupting on GIC irq 114
	ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev. 0
>How-To-Repeat:
	Run:

	 dhcpcd emac0

	Or:

	 ifconfig emac0 192.168.1.28/24 up

	And try to ping some host in the network and observe that there are no
	packets and the green LED is always on.

	I can observe that the UTP cable is properly recognized if plugged or
	not though. Here I have kept the default of the image by having dhcpcd
	enabled. When it is plugged I can see (notice "media" and "status"):

	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: f2:00:3e:xx:xx:xx
		media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
		status: active
		inet6 fe80::37f7:217c:9336:d0e4%emac0/64 flags 0 scopeid 0x1
		inet 169.254.30.240/16 broadcast 169.254.255.255 flags 0

	When it is not plugged (notice "media" and "status"):

	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: f2:00:3e:xx:xx:xx
		media: Ethernet autoselect (none)
		status: no carrier
		inet6 fe80::37f7:217c:9336:d0e4%emac0/64 flags 0x8<DETACHED> scopeid 0x1
		inet 169.254.30.240/16 broadcast 169.254.255.255 flags 0x4<DETACHED>

	I have another NanoPi NEO with:

	 NetBSD armv7 9.0_STABLE NetBSD 9.0_STABLE (GENERIC) #0: Tue Jun 30 18:49:17 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm

	And there emac is properly working. So it is likely a regression between
	netbsd-9 and newer. I have also switched the uSD card to double-check
	that there are no hardware issues in the spare NanoPi NEO I am currently
	testing.
>Fix:
	N/A, sorry!

	If you have any suggestion on how to possibly debug that and/or
	help further I am happy to try!

>Audit-Trail:
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-arm/60906: NanoPi NEO emac no longers work with netbsd-10, netbsd-11 and -current
Date: Mon, 19 Oct 2026 15:12:55 +0200

 ------- =_aaaaaaaaaa0
 Content-Type: text/plain; charset="us-ascii"
 Content-ID: <27716.1792415575.1@boh>

 For completeness, attached you can also find the output of `dmesg -t'
 for netbsd-9 (dmesg-9.txt) and netbsd-current (dmesg-current.txt).

 Here inline a `diff -u dmesg-9.txt dmesg-current.txt':

 --- /tmp/dmesg-9.txt	2026-10-19 15:09:52.840432727 +0200
 +++ /tmp/dmesg-current.txt	2026-10-19 15:10:00.613141599 +0200
 @@ -1,38 +1,56 @@
 -Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 -    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 -    2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
 +Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 +    2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
 +    2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
 +    2024, 2025, 2026
 +    The NetBSD Foundation, Inc.  All rights reserved.
  Copyright (c) 1982, 1986, 1989, 1991, 1993
      The Regents of the University of California.  All rights reserved.

 -NetBSD 9.0_STABLE (GENERIC) #0: Tue Jun 30 18:49:17 UTC 2020
 -	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
 +NetBSD 11.99.9 (GENERIC) #0: Sun Oct 18 15:24:27 UTC 2026
 +        mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
  total memory = 512 MB
 -avail memory = 496 MB
 +avail memory = 484 MB
 +entropy: entering seed from bootloader with 0 bits of entropy
  timecounter: Timecounters tick every 10.000 msec
 +Kernelized RAIDframe activated
  armfdt0 (root)
  simplebus0 at armfdt0: FriendlyARM NanoPi NEO
  simplebus1 at simplebus0
  simplebus2 at simplebus0
 -cpus0 at simplebus0
  simplebus3 at simplebus0
 +cpus0 at simplebus0
  cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
  cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
 -cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
 -cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 -cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
 +cpu0: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 +cpu0: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 +cpu0: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
  vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
  cpufreqdt0 at cpu0
 -cpu1 at cpus0
 -cpufreqdt1 at cpu1
 -cpu2 at cpus0
 -cpufreqdt2 at cpu2
 -cpu3 at cpus0
 -cpufreqdt3 at cpu3
 +cpu1 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 +cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
 +cpu1: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 +cpu1: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 +cpu1: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 +vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 +cpu2 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 +cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
 +cpu2: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 +cpu2: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 +cpu2: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 +vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 +cpu3 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 +cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
 +cpu3: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 +cpu3: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 +cpu3: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 +vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
  gic0 at simplebus1: GIC
  armgic0 at gic0: Generic Interrupt Controller, 160 sources (150 valid)
  armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
  fclock0 at simplebus2: 24000000 Hz fixed clock (osc24M)
 -fclock1 at simplebus2: 32768 Hz fixed clock (ext_osc32k)
 +fclock1 at simplebus2: 32768 Hz fixed clock (osc32k)
 +syscon0 at simplebus1: System Controller Registers
 +fclock2 at simplebus2: 16000000 Hz fixed clock (iosc)
  gtmr0 at simplebus0: Generic Timer
  gtmr0: interrupting on GIC irq 27
  armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
 @@ -45,14 +63,11 @@
  sunxigpio1 at simplebus1: PIO
  gpio1 at sunxigpio1: 12 pins
  sunxigpio1: interrupting on GIC irq 77
 -sunxisramc0 at simplebus1: SRAM Controller
  sun6idma0 at simplebus1: DMA controller (12 channels)
  sun6idma0: interrupting on GIC irq 82
 -gregulator0 at simplebus0: cpux-supply
 -com0 at simplebus1: ns16550a, working fifo
 +com0 at simplebus1: DesignWare APB UART, 64-byte FIFO
  com0: console
  com0: interrupting on GIC irq 32
 -sunxisid0 at simplebus1: Security ID EFUSE
  fregulator0 at simplebus0: vcc3v3
  fregulator1 at simplebus0: vcc3v0
  fregulator2 at simplebus0: vcc5v0
 @@ -60,8 +75,8 @@
  /soc/clock@1000000 at simplebus1 not configured
  /soc/mixer@1100000 at simplebus1 not configured
  /soc/lcd-controller@1c0c000 at simplebus1 not configured
 -sunxirtc0 at simplebus1: RTC
  emac0 at simplebus1: EMAC
 +WARNING: system needs entropy for security; see entropy(7)
  emac0: Ethernet address f2:00:xx:xx:xx:xx
  emac0: interrupting on GIC irq 114
  ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev. 0
 @@ -69,6 +84,9 @@
  h3codec0 at simplebus1: H3 Audio Codec (analog part)
  /soc/hdmi-phy@1ef0000 at simplebus1 not configured
  /opp_table0 at simplebus0 not configured
 +psci0 at simplebus0: PSCI 0.1
 +gpioleds0 at simplebus0: nanopi:blue:status nanopi:green:pwr
 +gpiokeys0 at simplebus0: k1
  sunximmc0 at simplebus1: SD/MMC controller
  sunximmc0: interrupting on GIC irq 92
  motg0 at simplebus1: 'peripheral' mode not supported
 @@ -90,59 +108,34 @@
  ohci1: interrupting on GIC irq 111
  ohci1: OHCI version 1.0
  usb3 at ohci1: USB revision 1.0
 +sunxitimer0 at simplebus1: Timer
 +timecounter: Timecounter "Timer 2" frequency 24000000 Hz quality 200
  sunxiwdt0 at simplebus1: Watchdog
  sunxiwdt0: default watchdog period is 16 seconds
 +sunxirtc0 at simplebus1: RTC
  /soc/gpu@1c40000 at simplebus1 not configured
 -sunxithermal0 at simplebus1: Thermal sensor controller
 -sunxithermal0: interrupting on GIC irq 63
 -sunxithermal0: cpu: alarm 90C hyst 15C shut 105C
 -psci0 at simplebus0: PSCI 0.1
 -gpioleds0 at simplebus0: nanopi:blue:status nanopi:green:pwr
 -gpiokeys0 at simplebus0: k1
 -sunxitimer0 at simplebus1: Timer
 -timecounter: Timecounter "Timer 2" frequency 24000000 Hz quality 200
 -/soc/video-codec@1c0e000 at simplebus1 not configured
  timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 -cpu2: Cortex-A7 r0p5 (Cortex V7A core)
 -cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
 -cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
 -cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 -cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
 -vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 -cpu3: Cortex-A7 r0p5 (Cortex V7A core)
 -cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
 -cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
 -cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 -cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
 -vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 -cpu1: Cortex-A7 r0p5 (Cortex V7A core)
 -cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
 -cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
 -cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 -cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
 -vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 -cpufreqdt0: 1008.000 MHz, 1200000 uV
 -cpufreqdt0: 816.000 MHz, 1100000 uV
 -cpufreqdt0: 648.000 MHz, 1040000 uV
 +cpufreqdt0: rate: 1008.000 MHz, 1200000 uV
  sdmmc0 at sunximmc0
 -uhub0 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 +IPsec: Initialized Security Association Processing.
 +uhub0 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
  uhub0: 1 port with 1 removable, self powered
 -uhub1 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 +uhub1 at usb0: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
  uhub1: 1 port with 1 removable, self powered
 -uhub2 at usb3: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 +uhub2 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
  uhub2: 1 port with 1 removable, self powered
 -uhub3 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 +uhub3 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
  uhub3: 1 port with 1 removable, self powered
 -IPsec: Initialized Security Association Processing.
 -sdmmc0: SD card status: 4-bit, C10, U1
 -ld0 at sdmmc0: <0x1b:0x534d:EB1QL:0x30:0xb2e15df4:0x131>
 -ld0: 30560 MB, 7761 cyl, 128 head, 63 sec, 512 bytes/sect x 62586880 sectors
 +sdmmc0: SD card status: 4-bit, C10, U3, V30, A1
 +ld0 at sdmmc0: <0x03:0x5344:SN32G:0x80:0xfb464d63:0x182>
 +ld0: 30424 MB, 7726 cyl, 128 head, 63 sec, 512 bytes/sect x 62309376 sectors
  ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
 +swwdog0: software watchdog initialized
  boot device: ld0
  root on ld0a dumps on ld0b
  root file system type: ffs
 -kern.module.path=/stand/evbarm/9.0/modules
 -WARNING: clock lost 9788 days
 +kern.module.path=/stand/evbarm/11.99.9/modules
 +WARNING: preposterous TOD clock time
  WARNING: using filesystem time
  WARNING: CHECK AND RESET THE DATE!
 -running cgd selftest aes-xts-256 aes-xts-512 done
 +entropy: best effort

 ------- =_aaaaaaaaaa0
 Content-Type: text/plain; charset="us-ascii"; name="dmesg-9.txt"
 Content-Description: dmesg-9.txt
 Content-Disposition: attachment; filename="dmesg-9.txt"

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 9.0_STABLE (GENERIC) #0: Tue Jun 30 18:49:17 UTC 2020
 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
 total memory = 512 MB
 avail memory = 496 MB
 timecounter: Timecounters tick every 10.000 msec
 armfdt0 (root)
 simplebus0 at armfdt0: FriendlyARM NanoPi NEO
 simplebus1 at simplebus0
 simplebus2 at simplebus0
 cpus0 at simplebus0
 simplebus3 at simplebus0
 cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
 cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
 vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpufreqdt0 at cpu0
 cpu1 at cpus0
 cpufreqdt1 at cpu1
 cpu2 at cpus0
 cpufreqdt2 at cpu2
 cpu3 at cpus0
 cpufreqdt3 at cpu3
 gic0 at simplebus1: GIC
 armgic0 at gic0: Generic Interrupt Controller, 160 sources (150 valid)
 armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
 fclock0 at simplebus2: 24000000 Hz fixed clock (osc24M)
 fclock1 at simplebus2: 32768 Hz fixed clock (ext_osc32k)
 gtmr0 at simplebus0: Generic Timer
 gtmr0: interrupting on GIC irq 27
 armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
 timecounter: Timecounter "armgtmr0" frequency 24000000 Hz quality 500
 sun8ih3ccu0 at simplebus1: H3 CCU
 sun8ih3rccu0 at simplebus1: H3 PRCM CCU
 sunxigpio0 at simplebus1: PIO
 gpio0 at sunxigpio0: 94 pins
 sunxigpio0: interrupting on GIC irq 43
 sunxigpio1 at simplebus1: PIO
 gpio1 at sunxigpio1: 12 pins
 sunxigpio1: interrupting on GIC irq 77
 sunxisramc0 at simplebus1: SRAM Controller
 sun6idma0 at simplebus1: DMA controller (12 channels)
 sun6idma0: interrupting on GIC irq 82
 gregulator0 at simplebus0: cpux-supply
 com0 at simplebus1: ns16550a, working fifo
 com0: console
 com0: interrupting on GIC irq 32
 sunxisid0 at simplebus1: Security ID EFUSE
 fregulator0 at simplebus0: vcc3v3
 fregulator1 at simplebus0: vcc3v0
 fregulator2 at simplebus0: vcc5v0
 sunxiusbphy0 at simplebus1: USB PHY
 /soc/clock@1000000 at simplebus1 not configured
 /soc/mixer@1100000 at simplebus1 not configured
 /soc/lcd-controller@1c0c000 at simplebus1 not configured
 sunxirtc0 at simplebus1: RTC
 emac0 at simplebus1: EMAC
 emac0: Ethernet address f2:00:xx:xx:xx:xx
 emac0: interrupting on GIC irq 114
 ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev. 0
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 h3codec0 at simplebus1: H3 Audio Codec (analog part)
 /soc/hdmi-phy@1ef0000 at simplebus1 not configured
 /opp_table0 at simplebus0 not configured
 sunximmc0 at simplebus1: SD/MMC controller
 sunximmc0: interrupting on GIC irq 92
 motg0 at simplebus1: 'peripheral' mode not supported
 ehci0 at simplebus1: EHCI
 ehci0: interrupting on GIC irq 104
 ehci0: EHCI version 1.0
 ehci0: 1 companion controller, 1 port
 usb0 at ehci0: USB revision 2.0
 ohci0 at simplebus1: OHCI
 ohci0: interrupting on GIC irq 105
 ohci0: OHCI version 1.0
 usb1 at ohci0: USB revision 1.0
 ehci1 at simplebus1: EHCI
 ehci1: interrupting on GIC irq 110
 ehci1: EHCI version 1.0
 ehci1: 1 companion controller, 1 port
 usb2 at ehci1: USB revision 2.0
 ohci1 at simplebus1: OHCI
 ohci1: interrupting on GIC irq 111
 ohci1: OHCI version 1.0
 usb3 at ohci1: USB revision 1.0
 sunxiwdt0 at simplebus1: Watchdog
 sunxiwdt0: default watchdog period is 16 seconds
 /soc/gpu@1c40000 at simplebus1 not configured
 sunxithermal0 at simplebus1: Thermal sensor controller
 sunxithermal0: interrupting on GIC irq 63
 sunxithermal0: cpu: alarm 90C hyst 15C shut 105C
 psci0 at simplebus0: PSCI 0.1
 gpioleds0 at simplebus0: nanopi:blue:status nanopi:green:pwr
 gpiokeys0 at simplebus0: k1
 sunxitimer0 at simplebus1: Timer
 timecounter: Timecounter "Timer 2" frequency 24000000 Hz quality 200
 /soc/video-codec@1c0e000 at simplebus1 not configured
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 cpu2: Cortex-A7 r0p5 (Cortex V7A core)
 cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
 cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
 vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpu3: Cortex-A7 r0p5 (Cortex V7A core)
 cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
 cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
 vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpu1: Cortex-A7 r0p5 (Cortex V7A core)
 cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
 cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
 vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpufreqdt0: 1008.000 MHz, 1200000 uV
 cpufreqdt0: 816.000 MHz, 1100000 uV
 cpufreqdt0: 648.000 MHz, 1040000 uV
 sdmmc0 at sunximmc0
 uhub0 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 uhub0: 1 port with 1 removable, self powered
 uhub1 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 uhub1: 1 port with 1 removable, self powered
 uhub2 at usb3: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
 uhub2: 1 port with 1 removable, self powered
 uhub3 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
 uhub3: 1 port with 1 removable, self powered
 IPsec: Initialized Security Association Processing.
 sdmmc0: SD card status: 4-bit, C10, U1
 ld0 at sdmmc0: <0x1b:0x534d:EB1QL:0x30:0xb2e15df4:0x131>
 ld0: 30560 MB, 7761 cyl, 128 head, 63 sec, 512 bytes/sect x 62586880 sectors
 ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
 boot device: ld0
 root on ld0a dumps on ld0b
 root file system type: ffs
 kern.module.path=/stand/evbarm/9.0/modules
 WARNING: clock lost 9788 days
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 running cgd selftest aes-xts-256 aes-xts-512 done

 ------- =_aaaaaaaaaa0
 Content-Type: text/plain; charset="us-ascii"; name="dmesg-current.txt"
 Content-Description: dmesg-current.txt
 Content-Disposition: attachment; filename="dmesg-current.txt"

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
     2024, 2025, 2026
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 11.99.9 (GENERIC) #0: Sun Oct 18 15:24:27 UTC 2026
         mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC
 total memory = 512 MB
 avail memory = 484 MB
 entropy: entering seed from bootloader with 0 bits of entropy
 timecounter: Timecounters tick every 10.000 msec
 Kernelized RAIDframe activated
 armfdt0 (root)
 simplebus0 at armfdt0: FriendlyARM NanoPi NEO
 simplebus1 at simplebus0
 simplebus2 at simplebus0
 simplebus3 at simplebus0
 cpus0 at simplebus0
 cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu0: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 cpu0: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 cpu0: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpufreqdt0 at cpu0
 cpu1 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu1: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 cpu1: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 cpu1: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpu2 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 cpu2: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu2: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 cpu2: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 cpu2: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 cpu3 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
 cpu3: DC enabled IC enabled WB enabled LABT branch prediction enabled
 cpu3: L1 32KB/32B 2-way (512 set) VIPT Instruction cache
 cpu3: L1 32KB/64B 4-way (128 set) write-back-locking-C PIPT Data cache
 cpu3: L2 512KB/64B 8-way (1024 set) write-through PIPT Unified cache
 vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 gic0 at simplebus1: GIC
 armgic0 at gic0: Generic Interrupt Controller, 160 sources (150 valid)
 armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
 fclock0 at simplebus2: 24000000 Hz fixed clock (osc24M)
 fclock1 at simplebus2: 32768 Hz fixed clock (osc32k)
 syscon0 at simplebus1: System Controller Registers
 fclock2 at simplebus2: 16000000 Hz fixed clock (iosc)
 gtmr0 at simplebus0: Generic Timer
 gtmr0: interrupting on GIC irq 27
 armgtmr0 at gtmr0: Generic Timer (24000 kHz, virtual)
 timecounter: Timecounter "armgtmr0" frequency 24000000 Hz quality 500
 sun8ih3ccu0 at simplebus1: H3 CCU
 sun8ih3rccu0 at simplebus1: H3 PRCM CCU
 sunxigpio0 at simplebus1: PIO
 gpio0 at sunxigpio0: 94 pins
 sunxigpio0: interrupting on GIC irq 43
 sunxigpio1 at simplebus1: PIO
 gpio1 at sunxigpio1: 12 pins
 sunxigpio1: interrupting on GIC irq 77
 sun6idma0 at simplebus1: DMA controller (12 channels)
 sun6idma0: interrupting on GIC irq 82
 com0 at simplebus1: DesignWare APB UART, 64-byte FIFO
 com0: console
 com0: interrupting on GIC irq 32
 fregulator0 at simplebus0: vcc3v3
 fregulator1 at simplebus0: vcc3v0
 fregulator2 at simplebus0: vcc5v0
 sunxiusbphy0 at simplebus1: USB PHY
 /soc/clock@1000000 at simplebus1 not configured
 /soc/mixer@1100000 at simplebus1 not configured
 /soc/lcd-controller@1c0c000 at simplebus1 not configured
 emac0 at simplebus1: EMAC
 WARNING: system needs entropy for security; see entropy(7)
 emac0: Ethernet address f2:00:xx:xx:xx:xx
 emac0: interrupting on GIC irq 114
 ukphy0 at emac0 phy 1: OUI 0x0088a0, model 0x0000, rev. 0
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 h3codec0 at simplebus1: H3 Audio Codec (analog part)
 /soc/hdmi-phy@1ef0000 at simplebus1 not configured
 /opp_table0 at simplebus0 not configured
 psci0 at simplebus0: PSCI 0.1
 gpioleds0 at simplebus0: nanopi:blue:status nanopi:green:pwr
 gpiokeys0 at simplebus0: k1
 sunximmc0 at simplebus1: SD/MMC controller
 sunximmc0: interrupting on GIC irq 92
 motg0 at simplebus1: 'peripheral' mode not supported
 ehci0 at simplebus1: EHCI
 ehci0: interrupting on GIC irq 104
 ehci0: EHCI version 1.0
 ehci0: 1 companion controller, 1 port
 usb0 at ehci0: USB revision 2.0
 ohci0 at simplebus1: OHCI
 ohci0: interrupting on GIC irq 105
 ohci0: OHCI version 1.0
 usb1 at ohci0: USB revision 1.0
 ehci1 at simplebus1: EHCI
 ehci1: interrupting on GIC irq 110
 ehci1: EHCI version 1.0
 ehci1: 1 companion controller, 1 port
 usb2 at ehci1: USB revision 2.0
 ohci1 at simplebus1: OHCI
 ohci1: interrupting on GIC irq 111
 ohci1: OHCI version 1.0
 usb3 at ohci1: USB revision 1.0
 sunxitimer0 at simplebus1: Timer
 timecounter: Timecounter "Timer 2" frequency 24000000 Hz quality 200
 sunxiwdt0 at simplebus1: Watchdog
 sunxiwdt0: default watchdog period is 16 seconds
 sunxirtc0 at simplebus1: RTC
 /soc/gpu@1c40000 at simplebus1 not configured
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 cpufreqdt0: rate: 1008.000 MHz, 1200000 uV
 sdmmc0 at sunximmc0
 IPsec: Initialized Security Association Processing.
 uhub0 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
 uhub0: 1 port with 1 removable, self powered
 uhub1 at usb0: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
 uhub1: 1 port with 1 removable, self powered
 uhub2 at usb3: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
 uhub2: 1 port with 1 removable, self powered
 uhub3 at usb1: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
 uhub3: 1 port with 1 removable, self powered
 sdmmc0: SD card status: 4-bit, C10, U3, V30, A1
 ld0 at sdmmc0: <0x03:0x5344:SN32G:0x80:0xfb464d63:0x182>
 ld0: 30424 MB, 7726 cyl, 128 head, 63 sec, 512 bytes/sect x 62309376 sectors
 ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
 swwdog0: software watchdog initialized
 boot device: ld0
 root on ld0a dumps on ld0b
 root file system type: ffs
 kern.module.path=/stand/evbarm/11.99.9/modules
 WARNING: preposterous TOD clock time
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 entropy: best effort

 ------- =_aaaaaaaaaa0--

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-arm/60906: NanoPi NEO emac no longers work with netbsd-10, netbsd-11 and -current
Date: Tue, 20 Oct 2026 14:18:58 +0200

 Just for the record, I have tried to substitute the DTB on -current
 with what I had from the last netbsd-9 working system but I have the
 same symptoms and emac is still not working.

 I will try to further bisect that.

 Thanks to <skrll> for help, pointers and suggestions on the process!

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-arm/60906: NanoPi NEO emac no longers work with netbsd-10, netbsd-11 and -current
Date: Tue, 20 Oct 2026 14:32:20 +0200

 As a better and more reproducible data point...

 Starting from NetBSD 9.5 using
 <https://nycdn.NetBSD.org/pub/arm/NetBSD-9.5-release/NetBSD-9-earmv7hf--nanopi-neo.img.gz>
 from armbsd.org I can confirm that emac is working, using out of the
 box configuration completely unchanged it was able to get an IP address
 via DHCP:

  # ifconfig emac0
  emac0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
          capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
          capabilities=3f00<UDP4CSUM_Rx,UDP4CSUM_Tx>
          enabled=0
          ec_capabilities=1<VLAN_MTU>
          ec_enabled=0
          address: f2:00:xx:xx:xx:xx
          media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
          status: active
          inet6 fe80::98a5:53e1:19eb:c45c%emac0/64 flags 0x0 scopeid 0x1
          inet 192.168.1.45/24 broadcast 192.168.1.255 flags 0x0

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.