[Semibug] OpenBSD upgrade issues

Mark Moellering markmoellering at psyberation.com
Mon Jan 2 12:15:39 EST 2023


Everyone,
I am trying to upgrade my Firewall , which is on an Ubiquiti Networks
Router (octeon)

I have tried to use sysupgrade but it doesn't seem to boot into the new
version of the OS (6.6 -> 6.7)
Am I missing finishing steps or something?  I am really confused as to why
the upgrade isn't working as expected.  Any and all help is greatly
appreciated

Thanks In Advance

Mark

Below is the output from the sysupgrade to the Reboot back into OpenBSD 6.6:

firewall# sysupgrade -r
SHA256.sig   100% |*************************************|  1446       00:00

Signature Verified
INSTALL.octeon 100% |***********************************| 38978       00:00

base67.tgz   100% |*************************************|   132 MB    00:30

bsd          100% |*************************************|  7390 KB    00:04

bsd.mp       100% |*************************************|  7430 KB    00:04

bsd.rd       100% |*************************************|  8636 KB    00:04

comp67.tgz   100% |*************************************| 77652 KB    00:21

game67.tgz   100% |*************************************|  2812 KB    00:02

man67.tgz    100% |*************************************|  7466 KB    00:04

xbase67.tgz  100% |*************************************| 19960 KB    00:07

xfont67.tgz  100% |*************************************| 39348 KB    00:11

xserv67.tgz  100% |*************************************|  7484 KB    00:04

xshare67.tgz 100% |*************************************|  4501 KB    00:03

Verifying sets.
Upgrading.
stopping package daemons: svscan.
syncing disks... done
System restart.
               �SPI stage 1 bootloader
SPI ID: c2:20:17:c2:20
header found at offset 0x2000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length:
363424
Validating data...
Starting next bootloader at 0xffffffff81000000
Board type: UBNT_E300

U-Boot 2013.07 (Build time: Jan 04 2018 - 17:14:08)

Octeon unique ID: 07800031041df31e01d9
N0.LMC0 Configuration Completed: 1024 MB
Warning: Board descriptor tuple not found in eeprom, using defaults
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Start hw_watchdog_start!
Stop hw_watchdog_start!
Base DRAM address used by u-boot: 0x4fc00000, size: 0x400000
DRAM: 1 GiB
Clearing DRAM...... done

SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8
MiB
Found valid SPI bootloader at offset: 0x100000, size: 1386112 bytes
Loading bootloader from SPI offset 0x100000, size: 1386112 bytes


U-Boot 2013.07 (Build time: Jan 04 2018 - 17:14:38)

Octeon unique ID: 07800031041df31e01d9
Using DRAM size from environment: 1024 MBytes
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000
DRAM: 1 GiB
Clearing DRAM...... done
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8
MiB
Flash boot bus region not enabled, skipping NOR flash config
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8
MiB



UBNT_E300 r1:0, r2:14, serial #: B4FBE48AE45D
MPR 13-02427-14
SW4-1 off: QSGMII ports selected
SW4-2 off: mini-PCIe slots selected
SW4-4 on: PCM mode selected, SPI NOR disabled
SW 1-8 is off, external SD/MMC slot selected as slot 1.
Fixing up FDT ...
MMC:   Octeon MMC/SD0: 0, Octeon MMC/SD1: 1
PCIe: Link timeout on port 0, probably the slot is empty
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each
Net:   octeth0, octeth1 [PRIME], octeth2, octeth3
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
Type the command 'usb start' to scan for USB storage devices.

Hit any key to stop autoboot:  0
reading bsd
6859231 bytes read in 1161 ms (5.6 MiB/s)
Allocating memory for ELF segment: addr: 0xffffffff81000000 (adjusted to:
0x1000000), size 0x6813b8
## Loading big-endian Linux kernel with entry point: 0xffffffff81000000 ...
Bootloader: Done loading app on coremask:
 0xf
Starting cores:
 0xf
bootmem desc 0x6c108 version 3.0
avail phys mem 0x0000000000100000 - 0x0000000001000000
avail phys mem 0x00000000016813c0 - 0x000000000fdb0e00
avail phys mem 0x000000000fdb3480 - 0x000000000fdc1c90
avail phys mem 0x000000000fdc1d00 - 0x000000000fdc2500
avail phys mem 0x000000000ffb5d00 - 0x000000000ffb5ff0
avail phys mem 0x000000000ffd5d00 - 0x000000000ffd5d80
avail phys mem 0x000000000fff5100 - 0x000000000fff5140
avail phys mem 0x000000000fff5280 - 0x000000000fff52e0
avail phys mem 0x0000000020000000 - 0x000000004effe4c0
avail phys mem 0x000000004effef80 - 0x000000004f000000
Total DRAM Size 0x0000000040000000
mem_layout[0] page 0x0000000000000040 -> 0x0000000000000400
mem_layout[1] page 0x00000000000005A1 -> 0x0000000000003F6CInitial setup
done, switching console.
boot_desc->desc_ver:7
boot_desc->desc_size:400
boot_desc->stack_top:0
boot_desc->heap_start:0
boot_desc->heap_end:0
boot_desc->argc:3
boot_desc->flags:0x5
boot_desc->core_mask:0xf
boot_desc->dram_size:1024
boot_desc->phy_mem_desc_addr:0
boot_desc->debugger_flag_addr:0xec4
boot_desc->eclock:1000000000
boot_desc->boot_info_addr:0x4effecd0
boot_info->ver_major:1
boot_info->ver_minor:4
boot_info->stack_top:0
boot_info->heap_start:0
boot_info->heap_end:0
boot_info->boot_desc_addr:0
boot_info->exception_base_addr:0x1000
boot_info->stack_size:0
boot_info->flags:0x5
boot_info->core_mask:0xf
boot_info->dram_size:1024
boot_info->phys_mem_desc_addr:0x6c108
boot_info->debugger_flags_addr:0
boot_info->eclock:1000000000
boot_info->dclock:533000000
boot_info->board_type:20300
boot_info->board_rev_major:0
boot_info->board_rev_minor:14
boot_info->mac_addr_count:4
boot_info->cf_common_addr:0
boot_info->cf_attr_addr:0
boot_info->led_display_addr:0
boot_info->dfaclock:0
boot_info->config_flags:0x9
boot_info->fdt_addr:0xfdb0e00
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2019 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.6 (GENERIC.MP) #107: Sat Oct 12 07:30:17 MDT 2019
    deraadt at octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/semibug/attachments/20230102/d3ad7fbe/attachment.htm>


More information about the Semibug mailing list