Hello,

if anyone uses this board and OpenBSD, and if can share some information,
I would like to know if its just here.

I was checking out a cvs repo and it took hours to finish, pkg_add git too.

So I started to search for a reason, and I found something that fixed
this: not use gigabit NIC dwqe0. If I use rge0 it all goes back to normal.

I was not doing anything heavy, just plain ssh to the box.

After reboot I tried iperf and starts normal and then it starts to be that
slow.

I am running Intel nvme but same error happened on sdcard.

Is this a known issue?

here some more info of it happening, iperf already stopped, just running
cvs and pkg_add.

Thanks in advance.

matheus


top shows this:

load averages:  2.19,  2.15,  1.91


R5S.apartnet 00:13:56
51 processes: 50 idle, 1 on processor

                                                                     up 0
days 02:36:37
CPU0 states:  0.0% user,  0.0% nice, 24.0% sys,  0.0% spin, 76.0% intr, 
0.0% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr, 
100% idle
CPU2 states:  0.2% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr,
99.8% idle
CPU3 states:  0.0% user,  0.0% nice,  0.0% sys,  0.0% spin,  0.0% intr, 
100% idle
Memory: Real: 110M/1489M act/tot Free: 2163M Cache: 730M Swap: 0K/4103M


R5S$ dmesg

OpenBSD 7.5 (GENERIC.MP) #138: Wed Mar 20 19:42:15 MDT 2024
    dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 3992875008 (3807MB)
avail mem = 3828822016 (3651MB)
random: good seed from bootblocks
mainbus0 at root: FriendlyElec NanoPi R5S
psci0 at mainbus0: PSCI 1.1, SMCCC 1.2, SYSTEM_SUSPEND
efi0 at mainbus0: UEFI 2.7
efi0: EDK2 rev 0x10000
smbios0 at efi0: SMBIOS 3.3.0
smbios0: vendor EDK2 version "2022-01-15-135-g3c22995-dirty" date
07/04/2024
smbios0: FriendlyElec NanoPi-R5S
cpu0 at mainbus0 mpidr 0: ARM Cortex-A55 r2p0
cpu0: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
cpu0:
DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL,LRCPC,DPB,ASID16,PAN+ATS1E1,LO,HPDS,VH,HAFDBS,SBSS
cpu1 at mainbus0 mpidr 100: ARM Cortex-A55 r2p0
cpu1: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 200: ARM Cortex-A55 r2p0
cpu2: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 300: ARM Cortex-A55 r2p0
cpu3: 32KB 64b/line 4-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
scmi0 at mainbus0: SCMI 2.0
apm0 at mainbus0
agintc0 at mainbus0 mbi shift 4:4 nirq 352 nredist 4 ipi: 0, 1, 2:
"interrupt-controller"
agintcmsi0 at agintc0: can't map registers
syscon0 at mainbus0: "syscon"
rkiovd0 at syscon0
syscon1 at mainbus0: "syscon"
syscon2 at mainbus0: "syscon"
syscon3 at mainbus0: "syscon"
syscon4 at mainbus0: "syscon"
syscon5 at mainbus0: "syscon"
syscon6 at mainbus0: "syscon"
rkclock0 at mainbus0: PMUCRU
rkclock1 at mainbus0: CRU
syscon7 at mainbus0: "power-management"
"power-controller" at syscon7 not configured
syscon8 at mainbus0: "qos"
syscon9 at mainbus0: "qos"
syscon10 at mainbus0: "qos"
syscon11 at mainbus0: "qos"
syscon12 at mainbus0: "qos"
syscon13 at mainbus0: "qos"
syscon14 at mainbus0: "qos"
syscon15 at mainbus0: "qos"
syscon16 at mainbus0: "qos"
syscon17 at mainbus0: "qos"
syscon18 at mainbus0: "qos"
syscon19 at mainbus0: "qos"
syscon20 at mainbus0: "qos"
syscon21 at mainbus0: "qos"
syscon22 at mainbus0: "qos"
syscon23 at mainbus0: "qos"
syscon24 at mainbus0: "qos"
syscon25 at mainbus0: "qos"
syscon26 at mainbus0: "qos"
syscon27 at mainbus0: "qos"
syscon28 at mainbus0: "qos"
syscon29 at mainbus0: "qos"
syscon30 at mainbus0: "qos"
syscon31 at mainbus0: "qos"
rkcomphy0 at mainbus0
rkcomphy1 at mainbus0
rkusbphy0 at mainbus0: phy 0
rkusbphy1 at mainbus0: phy 1
rkpinctrl0 at mainbus0: "pinctrl"
rkgpio0 at rkpinctrl0
rkgpio1 at rkpinctrl0
rkgpio2 at rkpinctrl0
rkgpio3 at rkpinctrl0
rkgpio4 at rkpinctrl0
syscon32 at mainbus0: "syscon"
syscon33 at mainbus0: "qos"
syscon34 at mainbus0: "qos"
syscon35 at mainbus0: "qos"
syscon36 at mainbus0: "syscon"
rkpciephy0 at mainbus0
rkcomphy2 at mainbus0
"fit-images" at mainbus0 not configured
"opp-table-0" at mainbus0 not configured
rkdrm0 at mainbus0
drm0 at rkdrm0
"firmware" at mainbus0 not configured
"opp-table-1" at mainbus0 not configured
simpleaudio0 at mainbus0
"pmu" at mainbus0 not configured
agtimer0 at mainbus0: 24000 kHz
"xin24m" at mainbus0 not configured
"xin32k" at mainbus0 not configured
"sram" at mainbus0 not configured
xhci0 at mainbus0, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev
3.00/1.00 addr 1
xhci1 at mainbus0, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev
3.00/1.00 addr 1
ehci0 at mainbus0
usb2 at ehci0: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Generic EHCI root hub" rev
2.00/1.00 addr 1
ohci0 at mainbus0: version 1.0
ehci1 at mainbus0
usb3 at ehci1: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "Generic EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at mainbus0: version 1.0
rkiic0 at mainbus0
iic0 at rkiic0
fanpwr0 at iic0 addr 0x1c: TCS4525, 1.15 VDC
rkpmic0 at iic0 addr 0x20: RK809
com0 at mainbus0: dw16550, 64 byte fifo
"gpu" at mainbus0 not configured
"vop" at mainbus0 not configured
"iommu" at mainbus0 not configured
"hdmi" at mainbus0 not configured
dwpcie0 at mainbus0
dwmmc0 at mainbus0: 50 MHz base clock
sdmmc0 at dwmmc0: 4-bit, sd high-speed, mmc high-speed, dma
dwmshc0 at mainbus0
dwmshc0: SDHC 4.20, 200 MHz base clock
sdmmc1 at dwmshc0: 8-bit, sd high-speed, mmc high-speed, dma
rkrng0 at mainbus0: ver 2
"otp" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
"dma-controller" at mainbus0 not configured
rkiic1 at mainbus0
iic1 at rkiic1
pcxrtc0 at iic1 addr 0x51pcxrtc0: pcxrtc_reg_read: failed to read reg0 :
battery low
"watchdog" at mainbus0 not configured
com1 at mainbus0: dw16550, 64 byte fifo
com1: console
rktemp0 at mainbus0
"saradc" at mainbus0 not configured
dwpcie1 at mainbus0
dwpcie2 at mainbus0
dwqe0 at mainbus0 gmac 0: rev 0x51, address e2:a2:e4:xx:xx:xx
rgephy0 at dwqe0 phy 1: RTL8169S/8110S/8211 PHY, rev. 6
"external-gmac0-clock" at mainbus0 not configured
"hdmi-con" at mainbus0 not configured
gpioleds0 at mainbus0: "nanopi-r5:sys"
"vdd-usbc" at mainbus0 not configured
"vcc3v3-sys" at mainbus0 not configured
"vcc3v3-sysp" at mainbus0 not configured
"vcc5v0-sysp" at mainbus0 not configured
"vcc5v0-host-regulator" at mainbus0 not configured
"vcc5v0-otg-regulator" at mainbus0 not configured
"pcie30-avdd0v9" at mainbus0 not configured
"pcie30-avdd1v8" at mainbus0 not configured
"gpio-regulator" at mainbus0 not configured
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Generic OHCI root hub" rev
1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Generic OHCI root hub" rev
1.00/1.00 addr 1
pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "Rockchip RK3566" rev 0x00
pci1 at ppb0 bus 1
rge0 at pci1 dev 0 function 0 "Realtek RTL8125" rev 0x05: msi, address
00:00:00:00:00:00
pci2 at dwpcie1
ppb1 at pci2 dev 0 function 0 "Rockchip RK3566" rev 0x00
pci3 at ppb1 bus 1
rge1 at pci3 dev 0 function 0 "Realtek RTL8125" rev 0x05: msi, address
00:00:00:00:00:00
pci4 at dwpcie2
ppb2 at pci4 dev 0 function 0 "Rockchip RK3566" rev 0x00
pci5 at ppb2 bus 1
nvme0 at pci5 dev 0 function 0 "Intel NVMe" rev 0x03: msix, NVMe 1.3
nvme0: INTEL SSDPEKNW512G8, firmware 004C, serial xxxxxx
scsibus0 at nvme0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <NVMe, INTEL SSDPEKNW51, 004C>
sd0: 488386MB, 512 bytes/sector, 1000215216 sectors
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Sandisk, SU04G, 0080> removable
sd1: 3781MB, 512 bytes/sector, 7744512 sectors
sdmmc1: can't enable card
sdhc_sdclk_frequency_select: command in progress
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (882d18390eeb4b41.a) swap on sd0b dump on sd0b
WARNING: bad clock chip time
WARNING: CHECK AND RESET THE DATE!
rkclock_get_frequency(rkclock1, 10)
cpu0: clock not implemented
rkdrm0: no display interface ports configured
rkclock_get_frequency(rkclock1, 10)
rkclock_get_frequency(rkclock1, 10)
rkclock_get_frequency(rkclock1, 10)
rkclock_get_frequency(rkclock1, 10)
rkclock_get_frequency(rkclock1, 10)

R5S$ sysctl hw


hw.machine=arm64
hw.model=ARM Cortex-A55 r2p0
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:882d18390eeb4b41,sd1:
hw.diskcount=2
hw.sensors.rktemp0.temp0=41.88 degC (CPU)
hw.sensors.rktemp0.temp1=38.89 degC (GPU)
hw.cpuspeed=0
hw.vendor=FriendlyElec
hw.product=NanoPi-R5S
hw.version=0
hw.serialno=xxxxxxxxxx
hw.uuid=00000000-0000-0000-eb8b-ff6f21811d36
hw.physmem=3992875008
hw.usermem=3992858624
hw.ncpufound=4
hw.allowpowerdown=1
hw.smt=0
hw.ncpuonline=4
hw.power=1
hw.ucomnames=

gets to my attention that cpuspeed=0 I tried setting 1800 and it wouldn't
let me.


Reply via email to