armv7 May 1 snapshot won't boot on Banana Pi M1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

armv7 May 1 snapshot won't boot on Banana Pi M1

lawgiver
I periodically follow -current snapshots on a Banana Pi M1.  Booting the May 1 2017 bsd.rd (saved as /bsd.rd.snap on a USB thumbdrive) has the following (USB?) errors and will not boot:

U-Boot SPL 2016.11 (Jan 07 2017 - 18:56:08)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.11 (Jan 07 2017 - 18:56:08 -0700) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: LeMaker Banana Pi
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:   vga
Err:   vga
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0

USB device 0:
    Device 0: Vendor: SanDisk Rev: 1.00 Prod: Ultra Fit
            Type: Removable Hard Disk
            Capacity: 14663.6 MB = 14.3 GB (30031250 x 512)
... is now current device
Scanning usb 0:1...
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
64684 bytes read in 43 ms (1.4 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 0x42000000 ...
CACHE: Misaligned operation at range [79f1d000, 79f2ccac]
Scanning disks on scsi...
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 6 disks
>> OpenBSD/armv7 BOOTARM 0.5
boot> bsd.rd.snap
booting sd0a:bsd.rd.snap: 2163852+7983996+439152 [80+302736+143916]=0xa8d994

OpenBSD/armv7 booting ...
arg0 0xc0d8d994 arg1 0x0 arg2 0x48000000
Allocating page tables
freestart = 0x40d8e000, free_pages = 258268 (0x0003f0dc)
IRQ stack: p0x40dbc000 v0xc0dbc000
ABT stack: p0x40dbd000 v0xc0dbd000
UND stack: p0x40dbe000 v0xc0dbe000
SVC stack: p0x40dbf000 v0xc0dbf000
Creating L1 page table at 0x40d90000
Mapping kernel
Constructing L2 page tables
undefined page pmap board type: 0
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.1-current (RAMDISK) #109: Mon May  1 07:07:40 MDT 2017
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1072078848 (1022MB)
avail mem = 1036996608 (988MB)
mainbus0 at root: LeMaker Banana Pi
cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache
cortex0 at mainbus0
psci0 at mainbus0
agtimer0 at mainbus0: tick rate 24000 KHz
simplebus0 at mainbus0: "soc"
sxipio0 at simplebus0: 175 pins
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
ehci0 at simplebus0
ehci0: halt timeout
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
uhub0: no ports, hub ignored
usb0: root device is not a hub
sxiahci0 at simplebus0: AHCI 1.1
scsibus0 at sxiahci0: 32 targets
ehci1 at simplebus0
ehci1: halt timeout
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
uhub1: no ports, hub ignored
usb1: root device is not a hub
sxidog0 at simplebus0
sxirtc0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
com1 at simplebus0: ns16550, no working fifo
com2 at simplebus0: ns16550, no working fifo
dwge0 at simplebus0
dwge0: Ethernet address: 02:8a:06:XX:XX:XX
rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
ampintc0 at simplebus0 nirq 160, ncpu 2
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 sxipio0: 32 pins
gpio8 at sxipio0: 32 pins
sdmmc0: can't supply clock
sdmmc0: can't enable card
boot device: lookup 'sd0a:/bsd' failed.
root on rd0a swap on rd0b dump on rd0b
(unprintable junk here)

A successful bsd.rd dmesg from April 10 2017:

U-Boot SPL 2016.11 (Jan 07 2017 - 18:56:08)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.11 (Jan 07 2017 - 18:56:08 -0700) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: LeMaker Banana Pi
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:   vga
Err:   vga
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0

USB device 0:
    Device 0: Vendor: SanDisk Rev: 1.00 Prod: Ultra Fit
            Type: Removable Hard Disk
            Capacity: 14663.6 MB = 14.3 GB (30031250 x 512)
... is now current device
Scanning usb 0:1...
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
64684 bytes read in 43 ms (1.4 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 0x42000000 ...
CACHE: Misaligned operation at range [79f1d000, 79f2ccac]
Scanning disks on scsi...
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 6 disks
>> OpenBSD/armv7 BOOTARM 0.5
boot> bsd.rd
booting sd0a:bsd.rd: 2153176+7983908+438864 [80+301584+143437]=0xa851c0

OpenBSD/armv7 booting ...
arg0 0xc0d851c0 arg1 0x0 arg2 0x48000000
Allocating page tables
freestart = 0x40d86000, free_pages = 258276 (0x0003f0e4)
IRQ stack: p0x40db4000 v0xc0db4000
ABT stack: p0x40db5000 v0xc0db5000
UND stack: p0x40db6000 v0xc0db6000
SVC stack: p0x40db7000 v0xc0db7000
Creating L1 page table at 0x40d88000
Mapping kernel
Constructing L2 page tables
undefined page pmap board type: 0
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.1-current (RAMDISK) #86: Mon Apr 10 13:51:44 MDT 2017
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1072078848 (1022MB)
avail mem = 1037029376 (988MB)
mainbus0 at root: LeMaker Banana Pi
cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache
cortex0 at mainbus0
psci0 at mainbus0
agtimer0 at mainbus0: tick rate 24000 KHz
sxiccmu0 at mainbus0
simplebus0 at mainbus0: "soc"
sxipio0 at simplebus0: 175 pins
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
ehci0 at simplebus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
sxiahci0 at simplebus0: AHCI 1.1
scsibus0 at sxiahci0: 32 targets
ehci1 at simplebus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
sxidog0 at simplebus0
sxirtc0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
com1 at simplebus0: ns16550, no working fifo
com2 at simplebus0: ns16550, no working fifo
dwge0 at simplebus0
dwge0: Ethernet address: 02:8a:06:XX:XX:XX
rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
ampintc0 at simplebus0 nirq 160, ncpu 2
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 sxipio0: 32 pins
gpio8 at sxipio0: 32 pins
sximmc0: timeout updating clock
umass0 at uhub1 port 1 configuration 1 interface 0 "SanDisk Ultra Fit" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> SCSI4 0/direct removable serial.07815583171112119554
sd0: 14663MB, 512 bytes/sector, 30031250 sectors
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sdmmc0: can't enable card
sximmc0: timeout updating clock
boot device: sd0
root on rd0a swap on rd0b dump on rd0b
WARNING: clock gained 20 days
WARNING: CHECK AND RESET THE DATE!
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/armv7 6.1 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?

Reply | Threaded
Open this post in threaded view
|

Re: armv7 May 1 snapshot won't boot on Banana Pi M1

Mark Kettenis
> Date: Mon, 01 May 2017 08:44:46 -0700
> From: [hidden email]
>
> I periodically follow -current snapshots on a Banana Pi M1.  Booting
> the May 1 2017 bsd.rd (saved as /bsd.rd.snap on a USB thumbdrive)
> has the following (USB?) errors and will not boot:

Thanks.  We know about the problem and are discussing how to fix it.

Reply | Threaded
Open this post in threaded view
|

Re: armv7 May 1 snapshot won't boot on Banana Pi M1

lawgiver
On 5/1/2017 at 9:06 AM, "Mark Kettenis" <[hidden email]> wrote:

>
>> Date: Mon, 01 May 2017 08:44:46 -0700
>> From: [hidden email]
>>
>> I periodically follow -current snapshots on a Banana Pi M1.  
>Booting
>> the May 1 2017 bsd.rd (saved as /bsd.rd.snap on a USB thumbdrive)
>> has the following (USB?) errors and will not boot:
>
>Thanks.  We know about the problem and are discussing how to fix
>it.

Are ongoing reports about -current desired here or at bugs@ or not at all?

As of OpenBSD 6.1-current (RAMDISK) #115: Sat May 6, the USB issue problem is gone but replaced with a panic by dhclient:

U-Boot SPL 2016.11 (Jan 07 2017 - 18:56:08)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.11 (Jan 07 2017 - 18:56:08 -0700) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: LeMaker Banana Pi
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:   vga
Err:   vga
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0

USB device 0:
    Device 0: Vendor: SanDisk Rev: 1.00 Prod: Ultra Fit
            Type: Removable Hard Disk
            Capacity: 14663.6 MB = 14.3 GB (30031250 x 512)
... is now current device
Scanning usb 0:1...
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
64684 bytes read in 43 ms (1.4 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
## Starting EFI application at 0x42000000 ...
CACHE: Misaligned operation at range [79f1d000, 79f2ccac]
Scanning disks on scsi...
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 6 disks
>> OpenBSD/armv7 BOOTARM 0.5
boot> bsd.rd.snap
booting sd0a:bsd.rd.snap: 2165140+7984000+439148 [80+302848+143946]=0xa8da24

OpenBSD/armv7 booting ...
arg0 0xc0d8da24 arg1 0x0 arg2 0x48000000
Allocating page tables
freestart = 0x40d8e000, free_pages = 258268 (0x0003f0dc)
IRQ stack: p0x40dbc000 v0xc0dbc000
ABT stack: p0x40dbd000 v0xc0dbd000
UND stack: p0x40dbe000 v0xc0dbe000
SVC stack: p0x40dbf000 v0xc0dbf000
Creating L1 page table at 0x40d90000
Mapping kernel
Constructing L2 page tables
undefined page pmap board type: 0
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.1-current (RAMDISK) #115: Sat May  6 17:53:52 MDT 2017
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1072078848 (1022MB)
avail mem = 1036996608 (988MB)
mainbus0 at root: LeMaker Banana Pi
cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache
cortex0 at mainbus0
sxiccmu0 at mainbus0
psci0 at mainbus0
agtimer0 at mainbus0: tick rate 24000 KHz
simplebus0 at mainbus0: "soc"
sxipio0 at simplebus0: 175 pins
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
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
sxiahci0 at simplebus0: AHCI 1.1
scsibus0 at sxiahci0: 32 targets
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
sxidog0 at simplebus0
sxirtc0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
com1 at simplebus0: ns16550, no working fifo
com2 at simplebus0: ns16550, no working fifo
dwge0 at simplebus0
dwge0: Ethernet address: 02:8a:06:80:90:ea
rgephy0 at dwge0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
ampintc0 at simplebus0 nirq 160, ncpu 2
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 sxipio0: 32 pins
gpio8 at sxipio0: 32 pins
sximmc0: timeout updating clock
umass0 at uhub1 port 1 configuration 1 interface 0 "SanDisk Ultra Fit" rev 2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> SCSI4 0/direct removable serial.07815583171112119554
sd0: 14663MB, 512 bytes/sector, 30031250 sectors
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sximmc0: timeout updating clock
sdmmc0: can't enable card
sximmc0: timeout updating clock
boot device: sd0
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/armv7 6.1 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# ifconfig
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 32768
        llprio 3
        groups: lo
dwge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 02:8a:06:80:90:ea
        llprio 3
        media: Ethernet autoselect (1000baseT full-duplex)
        status: unknown
# dhclient dwge0
DHCPDISCOVER opanic: pool_do_get: mbufpl free list modified: page 0xc5667000; item addr 0xc5667300; offset 0x0=0x0 != 0xda24b3e7
nWarning IRQ's disabled during boot()
 syncing disks... dwgdone
epanic: 0pool_do_get: mbufpl free list modified: page 0xc5667000; item addr 0xc5667300; offset 0x0=0x0 != 0xda24b3e7
-rebooting...