> Date: Tue, 26 May 2020 14:15:52 -0700 > From: Joe Barnett <joe.barn...@mr72.com> > > I have tried installing 6.7 (arm64) onto my Raspberry Pi 3 and it > consistently fails to boot following what appears to be a successful > installation. > > I am installing from miniroot67.fs (again, for arm64), the installation > appears to be successful, and I am presented with "CONGRATULATIONS! Your > OpenBSD install has been successfully completed!" and then the option to > shell, halt, or reboot. I choose reboot, and the machine hums along > until it's dumped into ddb. I have included the terminal output from > the latest attempt. In this example, I am using a generic USB flash > drive, but I have also tried SanDisk Cruzer Fit 8GB flash as I have > experienced good success with those devices in previous OpenBSD > installations on this machine. Anyway, not sure if the media is even > relevant to this, but I experience the same result regardless of the > media I use. > > Several previous versions of OpenBSD have work very well on this machine > up to 6.6. I can still boot this machine into 6.6 -- in fact it's up > and running on 6.6 right now. > > Any thoughts on what might be going on here? Something I might be > doing? Anyone else have similar experiences? > > Any insights will be appreciated, thanks,
Jusging from the information below, I suspect your power supply isn;t up to the job. As a result, your USB flash drive detaches and you end up without a root disk. Now before you say "but this worked with OpenBSD 6.6": OpenBSD 6.7 supports quite a bit more devices on the rpi3 (sdhc(4), bcmhost(4), bwfm(4)) and enabling those devices increases the power draw, So a marginal power supply can suddenly become insufficient. Hope that helps. And please let us know if switching power supplies does indeed solve the problem. Cheers, Mark > terminal output follows: > > CONGRATULATIONS! Your OpenBSD install has been successfully completed! > > When you login to your new system the first time, please read your mail > using the 'mail' command. > > Exit to (S)hell, (H)alt or (R)eboot? [reboot] syncing disks... done > rebooting... > > > U-Boot 2020.01 (Mar 07 2020 - 09:39:06 -0700) > > DRAM: 948 MiB > RPI 3 Model B (0xa22082) > MMC: mmc@7e202000: 0, mmcnr@7e300000: 1 > Loading Environment from FAT... WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01 > > > > -aarch64/u-boot-2020.01/drivers/mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > Card did not respond to voltage select! > In: serial > Out: vidconsole > Err: vidconsole > Net: No ethernet found. > starting USB... > Bus usb@7e980000: scanning bus usb@7e980000 for devices... 4 USB > Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found > Hit any key to stop autoboot: 0 > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > Card did not respond to voltage select! > Card did not respond to voltage select! > > Device 0: Vendor: Generic Rev: 0.00 Prod: USB Flash Disk > Type: Removable Hard Disk > Capacity: 7681.0 MB = 7.5 GB (15730688 x 512) > ... is now current device > Scanning usb 0:1... > Found EFI removable media binary efi/boot/bootaa64.efi > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > WARNING at > /usr/obj/ports/u-boot-aarch64-2020.01-aarch64/u-boot-2020.01/drivers/ > > > > mmc/bcm2835_sdhost.c:410/bcm2835_send_command()! > Card did not respond to voltage select! > Scanning disk m...@7e202000.blk... > Disk m...@7e202000.blk not ready > Card did not respond to voltage select! > Scanning disk mm...@7e300000.blk... > Disk mm...@7e300000.blk not ready > Scanning disk usb_mass_storage.lun0... > ** Unrecognized filesystem type ** > Found 3 disks > BootOrder not defined > EFI boot manager: Cannot load any image > 169176 bytes read in 13 ms (12.4 MiB/s) > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > disks: sd0* > >> OpenBSD/arm64 BOOTAA64 0.22 > boot> > booting sd0a:/bsd: 7767036+1502568+545848+847664 > [514084+109+966984+545617]=0xd4 > > > 3460 > type 0x0 pa 0x0 va 0x0 pages 0x1 attr 0x8 > type 0x7 pa 0x1000 va 0x1000 pages 0x1ff attr 0x8 > type 0x2 pa 0x200000 va 0x200000 pages 0x4000 attr 0x8 > type 0x7 pa 0x4200000 va 0x4200000 pages 0x3cf6 attr 0x8 > type 0x4 pa 0x7ef6000 va 0x7ef6000 pages 0x14 attr 0x8 > type 0x7 pa 0x7f0a000 va 0x7f0a000 pages 0x31374 attr 0x8 > type 0x2 pa 0x3927e000 va 0x3927e000 pages 0xb8f attr 0x8 > type 0x4 pa 0x39e0d000 va 0x39e0d000 pages 0x1 attr 0x8 > type 0x2 pa 0x39e0e000 va 0x39e0e000 pages 0x3 attr 0x8 > type 0x7 pa 0x39e11000 va 0x39e11000 pages 0x1 attr 0x8 > type 0x2 pa 0x39e12000 va 0x39e12000 pages 0x100 attr 0x8 > type 0x1 pa 0x39f12000 va 0x39f12000 pages 0x2a attr 0x8 > type 0x0 pa 0x39f3c000 va 0x39f3c000 pages 0x7 attr 0x8 > type 0x4 pa 0x39f43000 va 0x39f43000 pages 0x1 attr 0x8 > type 0x6 pa 0x39f44000 va 0x4a65fab000 pages 0x1 attr 0x8000000000000008 > type 0x4 pa 0x39f45000 va 0x39f45000 pages 0x2 attr 0x8 > type 0x0 pa 0x39f47000 va 0x39f47000 pages 0x4 attr 0x8 > type 0x4 pa 0x39f4b000 va 0x39f4b000 pages 0x2 attr 0x8 > type 0x6 pa 0x39f4d000 va 0x4a65fb4000 pages 0x1 attr 0x8000000000000008 > type 0x2 pa 0x39f4e000 va 0x39f4e000 pages 0x1402 attr 0x8 > type 0x5 pa 0x3b350000 va 0x4a673b7000 pages 0x10 attr > 0x8000000000000008 > type 0x2 pa 0x3b360000 va 0x3b360000 pages 0xa0 attr 0x8 > type 0xb pa 0x3f100000 va 0x4a673c7000 pages 0x1 attr 0x8000000000000000 > [ using 2027768 bytes of bsd ELF symbol table ] > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights > reserved. > Copyright (c) 1995-2020 OpenBSD. All rights reserved. > https://www.OpenBSD.org > > OpenBSD 6.7 (GENERIC.MP) #602: Thu May 7 13:45:48 MDT 2020 > dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP > real mem = 958828544 (914MB) > avail mem = 899276800 (857MB) > mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2 > cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4 > cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 > D-cache > cpu0: 512KB 64b/line 16-way L2 cache > efi0 at mainbus0: UEFI 2.8 > efi0: Das U-Boot rev 0x20200100 > apm0 at mainbus0 > simplefb0 at mainbus0: 656x416, 32bpp > wsdisplay0 at simplefb0 mux 1 > wsdisplay0: screen 0-5 added (std, vt100 emulation) > "system" at mainbus0 not configured > "axi" at mainbus0 not configured > simplebus0 at mainbus0: "soc" > bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10 > bcmclock0 at simplebus0 > bcmmbox0 at simplebus0 > bcmgpio0 at simplebus0 > bcmaux0 at simplebus0 > bcmintc0 at simplebus0 > bcmdog0 at simplebus0 > bcmrng0 at simplebus0 > pluart0 at simplebus0: console > bcmsdhost0 at simplebus0: 250 MHz base clock > sdmmc0 at bcmsdhost0: 4-bit, sd high-speed, mmc high-speed, dma > "dsi" at simplebus0 not configured > dwctwo0 at simplebus0 > bcmtemp0 at simplebus0 > "local_intc" at simplebus0 not configured > sdhc0 at simplebus0 > sdhc0: SDHC 3.0, 200 MHz base clock > sdmmc1 at sdhc0: 4-bit, sd high-speed, mmc high-speed > simplebus1 at simplebus0: "firmware" > "expgpio" at simplebus1 not configured > "power" at simplebus0 not configured > "mailbox" at simplebus0 not configured > "gpiomem" at simplebus0 not configured > "fb" at simplebus0 not configured > "vcsm" at simplebus0 not configured > "virtgpio" at simplebus0 not configured > simplebus2 at mainbus0: "clocks" > "clock" at simplebus2 not configured > "clock" at simplebus2 not configured > "phy" at mainbus0 not configured > "arm-pmu" at mainbus0 not configured > agtimer0 at mainbus0: tick rate 19200 KHz > "leds" at mainbus0 not configured > "fixedregulator_3v3" at mainbus0 not configured > "fixedregulator_5v0" at mainbus0 not configured > cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4 > cpu1: 32KB 64b/line 2-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 2: ARM Cortex-A53 r0p4 > cpu2: 32KB 64b/line 2-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 3: ARM Cortex-A53 r0p4 > cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 > D-cache > cpu3: 512KB 64b/line 16-way L2 cache > usb0 at dwctwo0: USB revision 2.0 > sdmmc0: can't enable card > uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev > 2.00/1.00 addr 1 > uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems > product 0x9514" rev 2.00/2.00 addr 2 > bwfm0 at sdmmc1 function 1 > manufacturer 0x02d0, product 0xa9a6 at sdmmc1 function 2 not configured > smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems > SMSC9512/14" rev 2.00/2.00 addr 3 > smsc0: address b8:27:eb:8b:a1:c7 > ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x0001f0, model 0x000c > umass0 at uhub1 port 5 configuration 1 interface 0 "Generic USB Mass > Storage Device" rev 2.00/1.00 addr 4 > umass0: using SCSI over Bulk-Only > scsibus0 at umass0: 2 targets, initiator 0 > sd0 at scsibus0 targ 1 lun 0: <Generic, USB Flash Disk, 0.00> removable > sd0: 7681MB, 512 bytes/sector, 15730688 sectors > 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 (9f09af6a8851443a.a) swap on sd0b dump on sd0b > WARNING: CHECK AND RESET THE DATE! > gpio0 at bcmgpio0: 54 pins > bwfm0: failed loadfirmware of file brcmfmac43430-sdio.bin > Automatic boot in progress: starting file system checks. > /dev/sd0a (9f09af6a8851443a.a): file system is clean; not checking > pf enabled > ukphy0 detached > uid 0 on /: out of inodes > smsc0 detached > sd0 detached > scsibus0 detached > umass0 detached > uhub1 detached > panic: init died (signal 10, exit 0) > Stopped at panic+0x150: TID PID UID PRFLAGS > PFLAGS C > PU COMMAND > 510188 46884 0 0x14000 0x200 2 zerothread > 308940 69708 0 0x14000 0x200 1 reaper > *155684 1 0 0x802 0x2000 3 init > db_enter() at panic+0x14c > panic() at trapsignal+0x164 > trapsignal() at data_abort+0x90 > data_abort() at do_el0_sync+0x140 > do_el0_sync() at handle_el0_sync+0x74 > handle_el0_sync() at 0x1a16513054 > --- trap --- > https://www.openbsd.org/ddb.html describes the minimum info required in > bug > reports. Insufficient info makes it difficult to find and fix bugs. > ddb{3}> > ddb{3}> show panic > init died (signal 10, exit 0) > ddb{3}> trace > db_enter() at panic+0x14c > panic() at trapsignal+0x164 > trapsignal() at data_abort+0x90 > data_abort() at do_el0_sync+0x140 > do_el0_sync() at handle_el0_sync+0x74 > handle_el0_sync() at 0x1a16513054 > --- trap --- > >