Had eth in cnmac0 disconnected (was intending to install from cnmac1)
and got here:


Let's upgrade the sets!
Location of sets? (disk http nfs or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
(Unable to get list from ftp.openbsd.org, but that is OK)
HTTP Server? (hostname or 'done') [ftp.eu.openbsd.org]
Server directory? [pub/OpenBSD/snapshots/octeon]
cnmac0: unexpected wqe port 2, should be 0
word0: 0x66f4000000000000
word1: 0x0156080000ff0000
panic: wqe error
syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up

then u-boot kicked in.

Second attempt to run same bsd.rd failed again, similarly even though
cnmac0 was decently connected this time, that session below.

Complete first session here:

Octeon ubnt_e100# run upgcmd
reading bsd.rd
.........................
..................

8794649 bytes read
argv[2]: coremask=0x3
argv[3]: rootdev=/dev/sd0
ELF file is 64 bit
Allocating memory for ELF segment: addr: 0xffffffff81000000 (adjusted
to: 0x1000000), size 0x876150
Allocated memory for ELF segment: addr: 0xffffffff81000000, size 0x876150
Processing PHDR 0
  Loading 7fa0d0 bytes at ffffffff81000000
  Clearing 7c080 bytes at ffffffff817fa0d0
## Loading Linux kernel with entry point: 0xffffffff81000000 ...
Bootloader: Done loading app on coremask: 0x3
bootmem desc 0x24108 version 3.0
avail phys mem 0x00000000001004e0 - 0x0000000000fffd40
avail phys mem 0x0000000001876150 - 0x0000000008100000
avail phys mem 0x0000000008100010 - 0x000000000fffdc00
avail phys mem 0x0000000410000000 - 0x000000041ff00000
Total DRAM Size 0x0000000020000000
mem_layout[0] page 0x0000000000000041 -> 0x00000000000003FF
mem_layout[1] page 0x000000000000061E -> 0x0000000000002040
mem_layout[2] page 0x0000000000002041 -> 0x0000000000003FFF
mem_layout[3] page 0x0000000000104000 -> 0x0000000000107FC0
boot_desc->argv[0] = bootoctlinux
boot_desc->argv[1] = $loadaddr
boot_desc->Initial 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:4
boot_desc->flags:0x5
boot_desc->core_mask:0x3
boot_desc->dram_size:512
boot_desc->phy_mem_desc_addr:0
boot_desc->debugger_flag_addr:0xa44
boot_desc->eclock:500000000
boot_desc->boot_info_addr:0x100210
boot_info->ver_major:1
boot_info->ver_minor:2
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:0x3
boot_info->dram_size:512
boot_info->phys_mem_desc_addr:0x24108
boot_info->debugger_flags_addr:0
boot_info->eclock:500000000
boot_info->dclock:266000000
boot_info->board_type:20002
boot_info->board_rev_major:2
boot_info->board_rev_minor:14
boot_info->mac_addr_count:3
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:0x8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.2-current (RAMDISK) #0: Fri Nov 24 07:00:40 UTC 2017
    visa@octeon:/usr/src/sys/arch/octeon/compile/RAMDISK
real mem = 536870912 (512MB)
avail mem = 520863744 (496MB)
mainbus0 at root
cpu0 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
simplebus0 at iobus0: "soc"
octciu0 at simplebus0
cn30xxsmi0 at simplebus0
com0 at simplebus0: ns16550a, 64 byte fifo
com0: console
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Octeon DWC2 root hub" rev
2.00/1.00 addr 1
cn30xxgmx0 at iobus0 base 0x1180008000000
cnmac0 at cn30xxgmx0: RGMII, address dc:9f:db:28:59:1d
atphy0 at cnmac0 phy 7: AR8035 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address dc:9f:db:28:59:1e
atphy1 at cnmac1 phy 6: AR8035 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address dc:9f:db:28:59:1f
atphy2 at cnmac2 phy 5: AR8035 10/100/1000 PHY, rev. 2
umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk Ultra" rev
2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SanDisk, Ultra, 1.00> SCSI4 0/direct
removable serial.07815581471103115165
sd0: 14832MB, 512 bytes/sector, 30375936 sectors
boot device: sd0
root on rd0a swap on rd0b dump on rd0b
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/octeon 6.2 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? u
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN.  You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.

Terminal type? [vt220]
Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0]
Checking root filesystem (fsck -fp /dev/sd0a)...OK.
Mounting root filesystem (mount -o ro /dev/sd0a /mnt)...OK.
Force checking of clean non-root filesystems? [no]
fsck -p bc6f9095e838ccff.l...OK.
fsck -p bc6f9095e838ccff.d...OK.
fsck -p bc6f9095e838ccff.f...OK.
fsck -p bc6f9095e838ccff.g...OK.
fsck -p bc6f9095e838ccff.h...OK.
fsck -p bc6f9095e838ccff.k...OK.
fsck -p bc6f9095e838ccff.j...OK.
fsck -p bc6f9095e838ccff.e...OK.
/dev/sd0a (bc6f9095e838ccff.a) on /mnt type ffs (rw, local)
/dev/sd0l (bc6f9095e838ccff.l) on /mnt/home type ffs (rw, local, nodev,
nosuid)
/dev/sd0d (bc6f9095e838ccff.d) on /mnt/tmp type ffs (rw, local, nodev,
nosuid)
/dev/sd0f (bc6f9095e838ccff.f) on /mnt/usr type ffs (rw, local, nodev)
/dev/sd0g (bc6f9095e838ccff.g) on /mnt/usr/X11R6 type ffs (rw, local, nodev)
/dev/sd0h (bc6f9095e838ccff.h) on /mnt/usr/local type ffs (rw, local,
nodev, wxallowed)
/dev/sd0k (bc6f9095e838ccff.k) on /mnt/usr/obj type ffs (rw, local,
nodev, nosuid)
/dev/sd0j (bc6f9095e838ccff.j) on /mnt/usr/src type ffs (rw, local,
nodev, nosuid)
/dev/sd0e (bc6f9095e838ccff.e) on /mnt/var type ffs (rw, local, nodev,
nosuid)

Let's upgrade the sets!
Location of sets? (disk http nfs or 'done') [http]
HTTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none]
(Unable to get list from ftp.openbsd.org, but that is OK)
HTTP Server? (hostname or 'done') [ftp.eu.openbsd.org]
Server directory? [pub/OpenBSD/snapshots/octeon]
cnmac0: unexpected wqe port 2, should be 0
word0: 0x66f4000000000000
word1: 0x0156080000ff0000
panic: wqe error
syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up
System restart.
               ?
Looking for valid bootloader image....
Jumping to start of image at address 0xbfc80000


U-Boot 1.1.1 (UBNT Build ID: 4493936-g009d77b) (Build time: Sep 20 2012
- 15:48:51)

BIST check passed.
UBNT_E100 r1:2, r2:14, serial #: DC9FDB28591D
Core clock: 500 MHz, DDR clock: 266 MHz (532 Mhz data rate)
DRAM:  512 MB
Clearing DRAM....... done
Flash:  4 MB
Net:   octeth0, octeth1, octeth2

USB:   (port 0) scanning bus for devices... 1 USB Devices found
       scanning bus for storage devices...
#### ERROR: USB bulk polling timed out!
#### ERROR: USB bulk polling timed out!
#### ERROR: USB bulk polling timed out!
#### ERROR: USB bulk polling timed out!
#### ERROR: USB bulk polling timed out!
#### ERROR: USB bulk polling timed out!
  Device 0: Vendor: SanDisk Prod.: Ultra Rev: 1.00
            Type: Removable Hard Disk
            Capacity: 14832.0 MB = 14.4 GB (30375936 x 512)
 0

===================================

second attempt, with Eth in, in case link detection had a bug or so:

Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0]
WARNING: /mnt was not properly unmounted
Checking root filesystem (fsck -fp /dev/sd0a)...OK.
Mounting root filesystem (mount -o ro /dev/sd0a /mnt)...OK.
Force checking of clean non-root filesystems? [no] yes
fsck -fp bc6f9095e838ccff.l...OK.
fsck -fp bc6f9095e838ccff.d...OK.
fsck -fp bc6f9095e838ccff.f...OK.
fsck -fp bc6f9095e838ccff.g...OK.
fsck -fp bc6f9095e838ccff.h...cnmac0: unexpected wqe port 2, should be 0
word0: 0xafe4000000000000
word1: 0x0156080000ff0000
panic: wqe error
syncing disks... done
System restart.

Looking for valid bootloader image....
Jumping to start of image at address 0xbfc80000

=======================================


Booting the bsd.mp from the same snapshot works fine though:


OpenBSD 6.2-current (GENERIC.MP) #0: Fri Nov 24 06:28:06 UTC 2017
    visa@octeon:/usr/src/sys/arch/octeon/compile/GENERIC.MP
real mem = 536870912 (512MB)
avail mem = 523927552 (499MB)
mainbus0 at root
cpu0 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
cpu1 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
cpu1: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
..and boots the rest of the system nice and fine


-- 
-"Any girl with sense love those dead presidents"
Quireboys - Debbie


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to