---------------
(OpenBSD 5.8-current (GENERIC) #1: Thu Nov 26 15:01:01 CET 2015)
Octeon ubnt_e100# version
U-Boot 1.1.1 (UBNT Build ID: 4670715-gbd7e2d7) (Build time: May 27 2014 - 
11:16:22)


1. same installation problem repeated message syscall 5 "cpath" 
but we can pass with a trick.

dd if=miniroot58.fs of=/dev/ to 16G new usb flash

installation process...
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]   (direct 
enter here)

disklabel(32382): syscall 5 "cpath"
Abort trap
Disk: sd0       geometry: 1966/255/63 [31586304 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      0   1   2 -      2  11   9 [          64:       32768 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: A6      2  11  10 -   1966  39  57 [       32832:    31553472 ] OpenBSD
...
...
loop back to
...

Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]e    (this 
time we input e here)
Do nothing but simply input "q"   (save and exit)!

install smoothly now


2. hint for EdgeRouter USB disk auto boot to OpenBSD, please add this line to 
INSTALL.octeon.

setenv bootcmd 'fatload usb 0 $loadaddr bsd;bootoctlinux rootdev=/dev/sd0'


------------------------
3. some messages from /var/log/messages

a) repeated messages:

Jan  5 10:53:06 oct sendsyslog: dropped 11 messages, error 57
Jan  5 10:53:24 oct savecore: /bsd: kvm_read: version misread

b) double same lines
Jan  5 10:53:05 oct /bsd: Copyright (c) 1995-2015 OpenBSD. All rights reserved. 
 http://www.OpenBSD.org
Jan  5 10:53:05 oct /bsd: Copyright (c) 1995-2015 OpenBSD. All rights reserved. 
 http://www.OpenBSD.org

-------------/var/log/messages
Jan  5 10:52:11 oct reboot: rebooted by root
Jan  5 10:52:12 oct syslogd: exiting on signal 15
Jan  5 10:53:05 oct syslogd: start
Jan  5 10:53:05 oct /bsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jan  5 10:53:05 oct /bsd:       The Regents of the University of California.  
All rights reserved.
Jan  5 10:53:05 oct /bsd: Copyright (c) 1995-2015 OpenBSD. All rights reserved. 
 http://www.OpenBSD.org
Jan  5 10:53:05 oct /bsd: Copyright (c) 1995-2015 OpenBSD. All rights reserved. 
 http://www.OpenBSD.org
Jan  5 10:53:05 oct /bsd: OpenBSD 5.8-current (GENERIC) #1: Thu Nov 26 15:01:01 
CET 2015
Jan  5 10:53:05 oct /bsd:     
jas...@erl-2.jasper.la:/usr/src/sys/arch/octeon/compile/GENERIC
Jan  5 10:53:05 oct /bsd: real mem = 247463936 (236MB)
Jan  5 10:53:05 oct /bsd: avail mem = 245170176 (233MB)
Jan  5 10:53:05 oct /bsd: warning: no entropy supplied by boot loader
Jan  5 10:53:05 oct /bsd: mainbus0 at root
Jan  5 10:53:05 oct /bsd: cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, 
Software FP emulation
Jan  5 10:53:05 oct /bsd: cpu0: cache L1-I 32KB 4 way D 8KB 64 way, L2 128KB 8 
way
Jan  5 10:53:05 oct /bsd: clock0 at mainbus0: int 5
Jan  5 10:53:05 oct /bsd: iobus0 at mainbus0
Jan  5 10:53:05 oct /bsd: dwctwo0 at iobus0 base 0x1180068000000 irq 56
Jan  5 10:53:05 oct /bsd: usb0 at dwctwo0: USB revision 2.0
Jan  5 10:53:05 oct /bsd: uhub0 at usb0 "Octeon DWC2 root hub" rev 2.00/1.00 
addr 1
Jan  5 10:53:05 oct /bsd: octrng0 at iobus0 base 0x1400000000000 irq 0
Jan  5 10:53:05 oct /bsd: cn30xxgmx0 at iobus0 base 0x1180008000000 irq 48
Jan  5 10:53:05 oct /bsd: cnmac0 at cn30xxgmx0: RGMII, address 44:d9:e7:9b:87:e7
Jan  5 10:53:05 oct /bsd: atphy0 at cnmac0 phy 7: F1 10/100/1000 PHY, rev. 2
Jan  5 10:53:05 oct /bsd: cnmac1 at cn30xxgmx0: RGMII, address 44:d9:e7:9b:87:e8
Jan  5 10:53:05 oct /bsd: atphy1 at cnmac1 phy 6: F1 10/100/1000 PHY, rev. 2
Jan  5 10:53:05 oct /bsd: cnmac2 at cn30xxgmx0: RGMII, address 44:d9:e7:9b:87:e9
Jan  5 10:53:05 oct /bsd: atphy2 at cnmac2 phy 5: F1 10/100/1000 PHY, rev. 2
Jan  5 10:53:05 oct /bsd: uartbus0 at mainbus0
Jan  5 10:53:05 oct /bsd: com0 at uartbus0 base 0x1180000000800 irq 34: 
ns16550, no working fifo
Jan  5 10:53:05 oct /bsd: com0: console
Jan  5 10:53:05 oct /bsd: com1 at uartbus0 base 0x1180000000c00 irq 35: 
ns16550, no working fifo
Jan  5 10:53:05 oct /bsd: /dev/ksyms: Symbol table not valid.
Jan  5 10:53:05 oct /bsd: umass0 at uhub0 port 1 configuration 1 interface 0 
"Generic USB Storage" rev 2.00/2.72 addr 2
Jan  5 10:53:05 oct /bsd: umass0: using SCSI over Bulk-Only
Jan  5 10:53:05 oct /bsd: scsibus0 at umass0: 2 targets, initiator 0
Jan  5 10:53:05 oct /bsd: sd0 at scsibus0 targ 1 lun 0: <Generic, STORAGE 
DEVICE, 0272> SCSI0 0/direct removable serial.05e30736000000000272
Jan  5 10:53:05 oct /bsd: sd0: 15423MB, 512 bytes/sector, 31586304 sectors
Jan  5 10:53:05 oct /bsd: vscsi0 at root
Jan  5 10:53:05 oct /bsd: scsibus1 at vscsi0: 256 targets
Jan  5 10:53:05 oct /bsd: softraid0 at root
Jan  5 10:53:05 oct /bsd: scsibus2 at softraid0: 256 targets
Jan  5 10:53:05 oct /bsd: boot device: sd0
Jan  5 10:53:05 oct /bsd: root on sd0a (cf9fba6c42844022.a) swap on sd0b dump 
on sd0b
Jan  5 10:53:05 oct /bsd: WARNING: No TOD clock, believing file system.
Jan  5 10:53:05 oct /bsd: WARNING: CHECK AND RESET THE DATE!
Jan  5 10:53:06 oct sendsyslog: dropped 11 messages, error 57
Jan  5 10:53:24 oct savecore: /bsd: kvm_read: version misread
--------------



4.# dmesg
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.8-current (GENERIC) #1: Thu Nov 26 15:01:01 CET 2015
    jas...@erl-2.jasper.la:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 247463936 (236MB)
avail mem = 245170176 (233MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 8KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 "Octeon DWC2 root hub" rev 2.00/1.00 addr 1
octrng0 at iobus0 base 0x1400000000000 irq 0
cn30xxgmx0 at iobus0 base 0x1180008000000 irq 48
cnmac0 at cn30xxgmx0: RGMII, address 44:d9:e7:9b:87:e7
atphy0 at cnmac0 phy 7: F1 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address 44:d9:e7:9b:87:e8
atphy1 at cnmac1 phy 6: F1 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address 44:d9:e7:9b:87:e9
atphy2 at cnmac2 phy 5: F1 10/100/1000 PHY, rev. 2
uartbus0 at mainbus0
com0 at uartbus0 base 0x1180000000800 irq 34: ns16550, no working fifo
com0: console
com1 at uartbus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
/dev/ksyms: Symbol table not valid.
umass0 at uhub0 port 1 configuration 1 interface 0 "Generic USB Storage" rev 
2.00/2.72 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Generic, STORAGE DEVICE, 0272> SCSI0 0/direct 
removable serial.05e30736000000000272
sd0: 15423MB, 512 bytes/sector, 31586304 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: sd0
root on sd0a (cf9fba6c42844022.a) swap on sd0b dump on sd0b
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!




5. when  # halt -p

OpenBSD/octeon (oct.my.domain) (console)

login: syncing disks... done
System Power Down not supported, halting system.


6. via http://www.tedunangst.com/flak/post/OpenBSD-on-ERL
There??s no onboard clock, so you??ll need ntpd to keep the time straght. 
OpenBSD support is limited to 256MB RAM and a single CPU at this time.

7. via http://www.tedunangst.com/flak/post/some-md5-t-benchmarks
EdgeRouter Lite, Octeon @ 500MHz
Time   = 2.198556 seconds
Speed  = 45484399.760570 bytes/second

Reply via email to