On Wed, Jun 03, 2020 at 11:26:16AM -0700, Lear Zhou wrote: > Testing has been done based on Patrick’s work. It turned out > that the ure0 is not ready for serious usage. > > The issue is that ure0 will hang/freeze there after hours > usage, while the kernel still running and can be accessed > via serial port. But it’s enough to render it not working > as a router.
Can confirm with an Orange Pi R1, which has a dwxe(4) and an ure(4). It works ok until ure(4) suddenly stops forwarding packages. OpenBSD 6.7-beta (GENERIC) #293: Sat May 2 15:50:20 MDT 2020 dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/GENERIC real mem = 175804416 (167MB) avail mem = 161898496 (154MB) mainbus0 at root: Xunlong Orange Pi R1 cpu0 at mainbus0 mpidr 0: ARM Cortex-A7 r0p5 cpu0: 32KB 32b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu0: 512KB 64b/line 8-way L2 cache cortex0 at mainbus0 psci0 at mainbus0: PSCI 0.0 simplebus0 at mainbus0: "soc" syscon0 at simplebus0: "syscon" sxiccmu0 at simplebus0 sxipio0 at simplebus0: 94 pins ampintc0 at simplebus0 nirq 160, ncpu 4: "interrupt-controller" sxirtc0 at simplebus0 sxiccmu1 at simplebus0 sxipio1 at simplebus0: 12 pins sxisyscon0 at simplebus0 "clock" at simplebus0 not configured "mixer" at simplebus0 not configured "dma-controller" at simplebus0 not configured "lcd-controller" at simplebus0 not configured sximmc0 at simplebus0 sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma sximmc1 at simplebus0 sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma "usb" at simplebus0 not configured "phy" at simplebus0 not configured ehci0 at simplebus0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 ohci0 at simplebus0: version 1.0 ehci1 at simplebus0 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1 "timer" at simplebus0 not configured dwxe0 at simplebus0: address 02:42:9c:62:1b:4e ukphy0 at dwxe0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x001105, model 0x0000 sxidog0 at simplebus0 com0 at simplebus0: ns16550, no working fifo com0: console "hdmi-phy" at simplebus0 not configured "codec-analog" at simplebus0 not configured "gpu" at simplebus0 not configured gpio0 at sxipio0: 32 pins gpio1 at sxipio0: 32 pins gpio2 at sxipio0: 32 pins gpio3 at sxipio0: 32 pins gpio4 at sxipio0: 32 pins gpio5 at sxipio0: 32 pins gpio6 at sxipio0: 32 pins gpio7 at sxipio1: 32 pins usb2 at ohci0: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1 agtimer0 at mainbus0: tick rate 24000 KHz scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SU08G, 0080> removable sd0: 7580MB, 512 bytes/sector, 15523840 sectors sdmmc1: bad CIS ptr 0 sdmmc1: can't read CIS sdmmc1: i/o init failed manufacturer 0x024c, product 0x8179 at sdmmc1 function 1 not configured ure0 at uhub1 port 1 configuration 1 interface 0 "Realtek USB 10/100 LAN" rev 2.10/20.00 addr 2 ure0: RTL8152 (0x4c10), address c0:74:2b:ff:d4:b2 rlphy0 at ure0 phy 0: RTL8201E 10/100 PHY, rev. 2 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets bootfile: sd0a:/bsd boot device: sd0 root on sd0a (39f5723681e8c0bf.a) swap on sd0b dump on sd0b -- db