Problem installing on Wandboard (fdisk/disklabel Input/output error)

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

Problem installing on Wandboard (fdisk/disklabel Input/output error)

Roman Kravchuk
Hi arm@,

I'm trying to install the snapshot armv7 IMX on my Wandboard Quad, but
I get a lot of "Input/output error" messages.

Below is the full output when install to sd0 and short output when
install to sd1.

Any ideas?

Thanks,
- Roman


----- Install to sd0 ---------------------
U-Boot SPL 2015.07-rc2 (Jun 24 2015 - 22:15:46)


U-Boot 2015.07-rc2 (Jun 24 2015 - 22:15:46 +0300)

CPU:   Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)
Reset cause: POR
Board: Wandboard rev B1
I2C:   ready
DRAM:  2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
reading boot.scr
365 bytes read in 9 ms (39.1 KiB/s)
Running bootscript from mmc ...
## Executing script at 12000000
switch to partitions #0, OK
mmc0 is current device
reading bsd.umg
7935108 bytes read in 385 ms (19.7 MiB/s)
## Booting kernel from Legacy Image at 18800000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7935044 Bytes = 7.6 MiB
   Load Address: 10300000
   Entry Point:  10300000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...


OpenBSD/imx booting ...
arg0 0x0 arg1 0x113c arg2 0x10000100
atag core flags 0 pagesize 0 rootdev 0
atag cmdline [sd0i:/bsd.umg]
atag revision 00063012
atag mem start 0x10000000 size 0x80000000
bootfile: sd0i:/bsd.umg
bootargs:
memory size derived from u-boot
bootconf.mem[0].address = 10000000 pages 524288/0x80000000
Allocating page tables
freestart = 0x10a92000, free_pages = 521582 (0x0007f56e)
IRQ stack: p0x10ac0000 v0xc0ac0000
ABT stack: p0x10ac1000 v0xc0ac1000
UND stack: p0x10ac2000 v0xc0ac2000
SVC stack: p0x10ac3000 v0xc0ac3000
Creating L1 page table at 0x10a94000
Mapping kernel
Constructing L2 page tables
undefined page pmap board type: 4412
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-beta (RAMDISK) #10: Mon Jun 22 21:36:38 AEST 2015
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 2147483648 (2048MB)
avail mem = 2092933120 (1995MB)
mainbus0 at root
cortex0 at mainbus0
ampintc0 at cortex0 nirq 160
amptimer0 at cortex0: tick rate 396000 KHz
armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
imx0 at mainbus0: Wandboard i.MX6
imxccm0 at imx0: imx6 rev 1.2 CPU freq: 792 MHz
imxiomuxc0 at imx0
imxdog0 at imx0
imxocotp0 at imx0
imxuart0 at imx0 console
imxgpio0 at imx0
imxgpio1 at imx0
imxgpio2 at imx0
imxgpio3 at imx0
imxgpio4 at imx0
imxgpio5 at imx0
imxgpio6 at imx0
imxenet0 at imx0
imxenet0: address 00:1f:7b:b4:03:28
atphy0 at imxenet0 phy 1: F1 10/100/1000 PHY, rev. 4
imxesdhc0 at imx0
sdmmc0 at imxesdhc0
imxesdhc1 at imx0
sdmmc1 at imxesdhc1
ehci0 at imx0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
ahci0 at imx0 AHCI 1.3
scsibus0 at ahci0: 32 targets
scsibus1 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd0: 3781MB, 512 bytes/sector, 7744512 sectors
scsibus2 at sdmmc1: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd1: 3840MB, 512 bytes/sector, 7864320 sectors
boot device: sd0
root on rd0a swap on rd0b dump on rd0b
WARNING: CHECK AND RESET THE DATE!
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/armv7 5.8 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
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.

System hostname? (short form, e.g. 'foo') wandboard

Available network interfaces are: imxenet0.
Which network interface do you wish to configure? (or 'done') [imxenet0]
IPv4 address for imxenet0? (or 'dhcp' or 'none') [dhcp]
DHCPDISCOVER on imxenet0 - interval 1
DHCPOFFER from 192.168.5.1 (bc:ae:c5:c3:cd:2a)
DHCPREQUEST on imxenet0 to 255.255.255.255
DHCPACK from 192.168.5.1 (bc:ae:c5:c3:cd:2a)
bound to 192.168.5.109 -- renewal in 43200 seconds.
IPv6 address for imxenet0? (or 'rtsol' or 'none') [none]
Available network interfaces are: imxenet0.
Which network interface do you wish to configure? (or 'done') [done]
Using DNS domainname local.ua
Using DNS nameservers at 192.168.5.1

Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no]
Since no user was setup, root logins via sshd(8) might be useful.
WARNING: root accounts are often targets of password guessing attacks.
Enable sshd(8) logins to root? [no]

Available disks are: sd0 sd1.
Which disk is the root disk? ('?' for details) [sd0]
fdisk: sd0: Input/output error
MBR has invalid signature; not showing it.
Use (W)hole disk or (E)dit the MBR? [whole]
Creating a ext2fs partition and an OpenBSD partition for rest of
sd0...fdisk: sd0: Input/output error
done.
disklabel: /dev/rsd0c: Input/output error
newfs_ext2fs: /dev/rsd0i: open for read: Input/output error
The auto-allocated layout for sd0 is:
disklabel: /dev/rsd0c: Input/output error
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] a
disklabel: /dev/rsd0c: Input/output error
fdisk: sd0: Input/output error
MBR has invalid signature; not showing it.
Use (W)hole disk or (E)dit the MBR? [whole] e
fdisk: sd0: Input/output error

You will now create one MBR partition to contain your OpenBSD data
and one MBR partition on which kernels are located which are loaded
by U-Boot. Neither partition will overlap any other partition.

The OpenBSD MBR partition will have an id of 'A6' and the boot MBR
partition will have an id of '83' (ext2fs). The boot partition will be
at least 16MB and be the first 'MSDOS' partition on the disk.


fdisk: sd0: Input/output error
fdisk: sd0: Input/output error
No OpenBSD partition in MBR, try again.
fdisk: sd0: Input/output error
MBR has invalid signature; not showing it.
Use (W)hole disk or (E)dit the MBR? [whole]


----- Install to sd1 ---------------------
Available disks are: sd0 sd1.
Which disk is the root disk? ('?' for details) [sd0] sd1
Disk: sd1       geometry: 489/255/63 [7864320 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
*3: A6      0   1   2 -    488 254  63 [          64:     7855721 ] OpenBSD
Use (W)hole disk or (E)dit the MBR? [whole]
Creating a ext2fs partition and an OpenBSD partition for rest of sd1...done.
/dev/rsd1i: 16.0MB (32768 sectors) block size 1024, fragment size 1024
        using 2 block groups of 8.0MB, 8192 blks, 2048 inodes.
super-block backups (for fsck_ext2fs -b #) at:
newfs_ext2fs: wtfs: write error for sector 16386: Input/output error
The auto-allocated layout for sd1 is:
disklabel: /dev/rsd1c: Input/output error
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
disklabel: /dev/rsd1c: Input/output error
fdisk: sd1: Input/output error
MBR has invalid signature; not showing it.
Use (W)hole disk or (E)dit the MBR? [whole]
Creating a ext2fs partition and an OpenBSD partition for rest of
sd1...fdisk: sd1: Input/output error
done.
disklabel: /dev/rsd1c: Input/output error
newfs_ext2fs: /dev/rsd1i: open for read: Input/output error
The auto-allocated layout for sd1 is:
disklabel: /dev/rsd1c: Input/output error
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
disklabel: /dev/rsd1c: Input/output error
fdisk: sd1: Input/output error
MBR has invalid signature; not showing it.
Use (W)hole disk or (E)dit the MBR? [whole]

Reply | Threaded
Open this post in threaded view
|

Re: Problem installing on Wandboard (fdisk/disklabel Input/output error)

Jonathan Gray-11
There is something wrong with the handling of sd slots on imx boards.
The cards identify but hit io errors.  Strangely one of the two
slots on the novena works.

You'll have to use a usb, ahci or diskless/nfs root install until the
problem is found and fixed.

On Thu, Jun 25, 2015 at 01:49:01AM +0300, Roman Kravchuk wrote:

> Hi arm@,
>
> I'm trying to install the snapshot armv7 IMX on my Wandboard Quad, but
> I get a lot of "Input/output error" messages.
>
> Below is the full output when install to sd0 and short output when
> install to sd1.
>
> Any ideas?
>
> Thanks,
> - Roman
>
>
> ----- Install to sd0 ---------------------
> U-Boot SPL 2015.07-rc2 (Jun 24 2015 - 22:15:46)
>
>
> U-Boot 2015.07-rc2 (Jun 24 2015 - 22:15:46 +0300)
>
> CPU:   Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)
> Reset cause: POR
> Board: Wandboard rev B1
> I2C:   ready
> DRAM:  2 GiB
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> *** Warning - bad CRC, using default environment
>
> No panel detected: default to HDMI
> Display: HDMI (1024x768)
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FEC [PRIME]
> Hit any key to stop autoboot:  0
> switch to partitions #0, OK
> mmc0 is current device
> reading boot.scr
> 365 bytes read in 9 ms (39.1 KiB/s)
> Running bootscript from mmc ...
> ## Executing script at 12000000
> switch to partitions #0, OK
> mmc0 is current device
> reading bsd.umg
> 7935108 bytes read in 385 ms (19.7 MiB/s)
> ## Booting kernel from Legacy Image at 18800000 ...
>    Image Name:   boot
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    7935044 Bytes = 7.6 MiB
>    Load Address: 10300000
>    Entry Point:  10300000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
>
> Starting kernel ...
>
>
> OpenBSD/imx booting ...
> arg0 0x0 arg1 0x113c arg2 0x10000100
> atag core flags 0 pagesize 0 rootdev 0
> atag cmdline [sd0i:/bsd.umg]
> atag revision 00063012
> atag mem start 0x10000000 size 0x80000000
> bootfile: sd0i:/bsd.umg
> bootargs:
> memory size derived from u-boot
> bootconf.mem[0].address = 10000000 pages 524288/0x80000000
> Allocating page tables
> freestart = 0x10a92000, free_pages = 521582 (0x0007f56e)
> IRQ stack: p0x10ac0000 v0xc0ac0000
> ABT stack: p0x10ac1000 v0xc0ac1000
> UND stack: p0x10ac2000 v0xc0ac2000
> SVC stack: p0x10ac3000 v0xc0ac3000
> Creating L1 page table at 0x10a94000
> Mapping kernel
> Constructing L2 page tables
> undefined page pmap board type: 4412
> 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-beta (RAMDISK) #10: Mon Jun 22 21:36:38 AEST 2015
>     [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> real mem  = 2147483648 (2048MB)
> avail mem = 2092933120 (1995MB)
> mainbus0 at root
> cortex0 at mainbus0
> ampintc0 at cortex0 nirq 160
> amptimer0 at cortex0: tick rate 396000 KHz
> armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
> cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
> imx0 at mainbus0: Wandboard i.MX6
> imxccm0 at imx0: imx6 rev 1.2 CPU freq: 792 MHz
> imxiomuxc0 at imx0
> imxdog0 at imx0
> imxocotp0 at imx0
> imxuart0 at imx0 console
> imxgpio0 at imx0
> imxgpio1 at imx0
> imxgpio2 at imx0
> imxgpio3 at imx0
> imxgpio4 at imx0
> imxgpio5 at imx0
> imxgpio6 at imx0
> imxenet0 at imx0
> imxenet0: address 00:1f:7b:b4:03:28
> atphy0 at imxenet0 phy 1: F1 10/100/1000 PHY, rev. 4
> imxesdhc0 at imx0
> sdmmc0 at imxesdhc0
> imxesdhc1 at imx0
> sdmmc1 at imxesdhc1
> ehci0 at imx0
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
> ahci0 at imx0 AHCI 1.3
> scsibus0 at ahci0: 32 targets
> scsibus1 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
> sd0: 3781MB, 512 bytes/sector, 7744512 sectors
> scsibus2 at sdmmc1: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
> sd1: 3840MB, 512 bytes/sector, 7864320 sectors
> boot device: sd0
> root on rd0a swap on rd0b dump on rd0b
> WARNING: CHECK AND RESET THE DATE!
> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
>
> Welcome to the OpenBSD/armv7 5.8 installation program.
> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
> 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.
>
> System hostname? (short form, e.g. 'foo') wandboard
>
> Available network interfaces are: imxenet0.
> Which network interface do you wish to configure? (or 'done') [imxenet0]
> IPv4 address for imxenet0? (or 'dhcp' or 'none') [dhcp]
> DHCPDISCOVER on imxenet0 - interval 1
> DHCPOFFER from 192.168.5.1 (bc:ae:c5:c3:cd:2a)
> DHCPREQUEST on imxenet0 to 255.255.255.255
> DHCPACK from 192.168.5.1 (bc:ae:c5:c3:cd:2a)
> bound to 192.168.5.109 -- renewal in 43200 seconds.
> IPv6 address for imxenet0? (or 'rtsol' or 'none') [none]
> Available network interfaces are: imxenet0.
> Which network interface do you wish to configure? (or 'done') [done]
> Using DNS domainname local.ua
> Using DNS nameservers at 192.168.5.1
>
> Password for root account? (will not echo)
> Password for root account? (again)
> Start sshd(8) by default? [yes]
> Setup a user? (enter a lower-case loginname, or 'no') [no]
> Since no user was setup, root logins via sshd(8) might be useful.
> WARNING: root accounts are often targets of password guessing attacks.
> Enable sshd(8) logins to root? [no]
>
> Available disks are: sd0 sd1.
> Which disk is the root disk? ('?' for details) [sd0]
> fdisk: sd0: Input/output error
> MBR has invalid signature; not showing it.
> Use (W)hole disk or (E)dit the MBR? [whole]
> Creating a ext2fs partition and an OpenBSD partition for rest of
> sd0...fdisk: sd0: Input/output error
> done.
> disklabel: /dev/rsd0c: Input/output error
> newfs_ext2fs: /dev/rsd0i: open for read: Input/output error
> The auto-allocated layout for sd0 is:
> disklabel: /dev/rsd0c: Input/output error
> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] a
> disklabel: /dev/rsd0c: Input/output error
> fdisk: sd0: Input/output error
> MBR has invalid signature; not showing it.
> Use (W)hole disk or (E)dit the MBR? [whole] e
> fdisk: sd0: Input/output error
>
> You will now create one MBR partition to contain your OpenBSD data
> and one MBR partition on which kernels are located which are loaded
> by U-Boot. Neither partition will overlap any other partition.
>
> The OpenBSD MBR partition will have an id of 'A6' and the boot MBR
> partition will have an id of '83' (ext2fs). The boot partition will be
> at least 16MB and be the first 'MSDOS' partition on the disk.
>
>
> fdisk: sd0: Input/output error
> fdisk: sd0: Input/output error
> No OpenBSD partition in MBR, try again.
> fdisk: sd0: Input/output error
> MBR has invalid signature; not showing it.
> Use (W)hole disk or (E)dit the MBR? [whole]
>
>
> ----- Install to sd1 ---------------------
> Available disks are: sd0 sd1.
> Which disk is the root disk? ('?' for details) [sd0] sd1
> Disk: sd1       geometry: 489/255/63 [7864320 Sectors]
> Offset: 0       Signature: 0xAA55
>             Starting         Ending         LBA Info:
>  #: id      C   H   S -      C   H   S [       start:        size ]
> -------------------------------------------------------------------------------
>  0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>  1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>  2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
> *3: A6      0   1   2 -    488 254  63 [          64:     7855721 ] OpenBSD
> Use (W)hole disk or (E)dit the MBR? [whole]
> Creating a ext2fs partition and an OpenBSD partition for rest of sd1...done.
> /dev/rsd1i: 16.0MB (32768 sectors) block size 1024, fragment size 1024
>         using 2 block groups of 8.0MB, 8192 blks, 2048 inodes.
> super-block backups (for fsck_ext2fs -b #) at:
> newfs_ext2fs: wtfs: write error for sector 16386: Input/output error
> The auto-allocated layout for sd1 is:
> disklabel: /dev/rsd1c: Input/output error
> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
> disklabel: /dev/rsd1c: Input/output error
> fdisk: sd1: Input/output error
> MBR has invalid signature; not showing it.
> Use (W)hole disk or (E)dit the MBR? [whole]
> Creating a ext2fs partition and an OpenBSD partition for rest of
> sd1...fdisk: sd1: Input/output error
> done.
> disklabel: /dev/rsd1c: Input/output error
> newfs_ext2fs: /dev/rsd1i: open for read: Input/output error
> The auto-allocated layout for sd1 is:
> disklabel: /dev/rsd1c: Input/output error
> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
> disklabel: /dev/rsd1c: Input/output error
> fdisk: sd1: Input/output error
> MBR has invalid signature; not showing it.
> Use (W)hole disk or (E)dit the MBR? [whole]
>

Reply | Threaded
Open this post in threaded view
|

Re: Problem installing on Wandboard (fdisk/disklabel Input/output error)

Roman Kravchuk
On usb hdd system installed without problem.

Thanks.

2015-06-25 6:38 GMT+03:00 Jonathan Gray <[hidden email]>:

> There is something wrong with the handling of sd slots on imx boards.
> The cards identify but hit io errors.  Strangely one of the two
> slots on the novena works.
>
> You'll have to use a usb, ahci or diskless/nfs root install until the
> problem is found and fixed.
>
> On Thu, Jun 25, 2015 at 01:49:01AM +0300, Roman Kravchuk wrote:
>> Hi arm@,
>>
>> I'm trying to install the snapshot armv7 IMX on my Wandboard Quad, but
>> I get a lot of "Input/output error" messages.
>>
>> Below is the full output when install to sd0 and short output when
>> install to sd1.
>>
>> Any ideas?
>>
>> Thanks,
>> - Roman
>>
>>
>> ----- Install to sd0 ---------------------
>> U-Boot SPL 2015.07-rc2 (Jun 24 2015 - 22:15:46)
>>
>>
>> U-Boot 2015.07-rc2 (Jun 24 2015 - 22:15:46 +0300)
>>
>> CPU:   Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)
>> Reset cause: POR
>> Board: Wandboard rev B1
>> I2C:   ready
>> DRAM:  2 GiB
>> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
>> *** Warning - bad CRC, using default environment
>>
>> No panel detected: default to HDMI
>> Display: HDMI (1024x768)
>> In:    serial
>> Out:   serial
>> Err:   serial
>> Net:   FEC [PRIME]
>> Hit any key to stop autoboot:  0
>> switch to partitions #0, OK
>> mmc0 is current device
>> reading boot.scr
>> 365 bytes read in 9 ms (39.1 KiB/s)
>> Running bootscript from mmc ...
>> ## Executing script at 12000000
>> switch to partitions #0, OK
>> mmc0 is current device
>> reading bsd.umg
>> 7935108 bytes read in 385 ms (19.7 MiB/s)
>> ## Booting kernel from Legacy Image at 18800000 ...
>>    Image Name:   boot
>>    Image Type:   ARM Linux Kernel Image (uncompressed)
>>    Data Size:    7935044 Bytes = 7.6 MiB
>>    Load Address: 10300000
>>    Entry Point:  10300000
>>    Verifying Checksum ... OK
>>    Loading Kernel Image ... OK
>>
>> Starting kernel ...
>>
>>
>> OpenBSD/imx booting ...
>> arg0 0x0 arg1 0x113c arg2 0x10000100
>> atag core flags 0 pagesize 0 rootdev 0
>> atag cmdline [sd0i:/bsd.umg]
>> atag revision 00063012
>> atag mem start 0x10000000 size 0x80000000
>> bootfile: sd0i:/bsd.umg
>> bootargs:
>> memory size derived from u-boot
>> bootconf.mem[0].address = 10000000 pages 524288/0x80000000
>> Allocating page tables
>> freestart = 0x10a92000, free_pages = 521582 (0x0007f56e)
>> IRQ stack: p0x10ac0000 v0xc0ac0000
>> ABT stack: p0x10ac1000 v0xc0ac1000
>> UND stack: p0x10ac2000 v0xc0ac2000
>> SVC stack: p0x10ac3000 v0xc0ac3000
>> Creating L1 page table at 0x10a94000
>> Mapping kernel
>> Constructing L2 page tables
>> undefined page pmap board type: 4412
>> 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-beta (RAMDISK) #10: Mon Jun 22 21:36:38 AEST 2015
>>     [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
>> real mem  = 2147483648 (2048MB)
>> avail mem = 2092933120 (1995MB)
>> mainbus0 at root
>> cortex0 at mainbus0
>> ampintc0 at cortex0 nirq 160
>> amptimer0 at cortex0: tick rate 396000 KHz
>> armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
>> cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core)
>> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
>> cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache
>> imx0 at mainbus0: Wandboard i.MX6
>> imxccm0 at imx0: imx6 rev 1.2 CPU freq: 792 MHz
>> imxiomuxc0 at imx0
>> imxdog0 at imx0
>> imxocotp0 at imx0
>> imxuart0 at imx0 console
>> imxgpio0 at imx0
>> imxgpio1 at imx0
>> imxgpio2 at imx0
>> imxgpio3 at imx0
>> imxgpio4 at imx0
>> imxgpio5 at imx0
>> imxgpio6 at imx0
>> imxenet0 at imx0
>> imxenet0: address 00:1f:7b:b4:03:28
>> atphy0 at imxenet0 phy 1: F1 10/100/1000 PHY, rev. 4
>> imxesdhc0 at imx0
>> sdmmc0 at imxesdhc0
>> imxesdhc1 at imx0
>> sdmmc1 at imxesdhc1
>> ehci0 at imx0
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
>> ahci0 at imx0 AHCI 1.3
>> scsibus0 at ahci0: 32 targets
>> scsibus1 at sdmmc0: 2 targets, initiator 0
>> sd0 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
>> sd0: 3781MB, 512 bytes/sector, 7744512 sectors
>> scsibus2 at sdmmc1: 2 targets, initiator 0
>> sd1 at scsibus2 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
>> sd1: 3840MB, 512 bytes/sector, 7864320 sectors
>> boot device: sd0
>> root on rd0a swap on rd0b dump on rd0b
>> WARNING: CHECK AND RESET THE DATE!
>> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
>>
>> Welcome to the OpenBSD/armv7 5.8 installation program.
>> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
>> 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.
>>
>> System hostname? (short form, e.g. 'foo') wandboard
>>
>> Available network interfaces are: imxenet0.
>> Which network interface do you wish to configure? (or 'done') [imxenet0]
>> IPv4 address for imxenet0? (or 'dhcp' or 'none') [dhcp]
>> DHCPDISCOVER on imxenet0 - interval 1
>> DHCPOFFER from 192.168.5.1 (bc:ae:c5:c3:cd:2a)
>> DHCPREQUEST on imxenet0 to 255.255.255.255
>> DHCPACK from 192.168.5.1 (bc:ae:c5:c3:cd:2a)
>> bound to 192.168.5.109 -- renewal in 43200 seconds.
>> IPv6 address for imxenet0? (or 'rtsol' or 'none') [none]
>> Available network interfaces are: imxenet0.
>> Which network interface do you wish to configure? (or 'done') [done]
>> Using DNS domainname local.ua
>> Using DNS nameservers at 192.168.5.1
>>
>> Password for root account? (will not echo)
>> Password for root account? (again)
>> Start sshd(8) by default? [yes]
>> Setup a user? (enter a lower-case loginname, or 'no') [no]
>> Since no user was setup, root logins via sshd(8) might be useful.
>> WARNING: root accounts are often targets of password guessing attacks.
>> Enable sshd(8) logins to root? [no]
>>
>> Available disks are: sd0 sd1.
>> Which disk is the root disk? ('?' for details) [sd0]
>> fdisk: sd0: Input/output error
>> MBR has invalid signature; not showing it.
>> Use (W)hole disk or (E)dit the MBR? [whole]
>> Creating a ext2fs partition and an OpenBSD partition for rest of
>> sd0...fdisk: sd0: Input/output error
>> done.
>> disklabel: /dev/rsd0c: Input/output error
>> newfs_ext2fs: /dev/rsd0i: open for read: Input/output error
>> The auto-allocated layout for sd0 is:
>> disklabel: /dev/rsd0c: Input/output error
>> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] a
>> disklabel: /dev/rsd0c: Input/output error
>> fdisk: sd0: Input/output error
>> MBR has invalid signature; not showing it.
>> Use (W)hole disk or (E)dit the MBR? [whole] e
>> fdisk: sd0: Input/output error
>>
>> You will now create one MBR partition to contain your OpenBSD data
>> and one MBR partition on which kernels are located which are loaded
>> by U-Boot. Neither partition will overlap any other partition.
>>
>> The OpenBSD MBR partition will have an id of 'A6' and the boot MBR
>> partition will have an id of '83' (ext2fs). The boot partition will be
>> at least 16MB and be the first 'MSDOS' partition on the disk.
>>
>>
>> fdisk: sd0: Input/output error
>> fdisk: sd0: Input/output error
>> No OpenBSD partition in MBR, try again.
>> fdisk: sd0: Input/output error
>> MBR has invalid signature; not showing it.
>> Use (W)hole disk or (E)dit the MBR? [whole]
>>
>>
>> ----- Install to sd1 ---------------------
>> Available disks are: sd0 sd1.
>> Which disk is the root disk? ('?' for details) [sd0] sd1
>> Disk: sd1       geometry: 489/255/63 [7864320 Sectors]
>> Offset: 0       Signature: 0xAA55
>>             Starting         Ending         LBA Info:
>>  #: id      C   H   S -      C   H   S [       start:        size ]
>> -------------------------------------------------------------------------------
>>  0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>>  1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>>  2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
>> *3: A6      0   1   2 -    488 254  63 [          64:     7855721 ] OpenBSD
>> Use (W)hole disk or (E)dit the MBR? [whole]
>> Creating a ext2fs partition and an OpenBSD partition for rest of sd1...done.
>> /dev/rsd1i: 16.0MB (32768 sectors) block size 1024, fragment size 1024
>>         using 2 block groups of 8.0MB, 8192 blks, 2048 inodes.
>> super-block backups (for fsck_ext2fs -b #) at:
>> newfs_ext2fs: wtfs: write error for sector 16386: Input/output error
>> The auto-allocated layout for sd1 is:
>> disklabel: /dev/rsd1c: Input/output error
>> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
>> disklabel: /dev/rsd1c: Input/output error
>> fdisk: sd1: Input/output error
>> MBR has invalid signature; not showing it.
>> Use (W)hole disk or (E)dit the MBR? [whole]
>> Creating a ext2fs partition and an OpenBSD partition for rest of
>> sd1...fdisk: sd1: Input/output error
>> done.
>> disklabel: /dev/rsd1c: Input/output error
>> newfs_ext2fs: /dev/rsd1i: open for read: Input/output error
>> The auto-allocated layout for sd1 is:
>> disklabel: /dev/rsd1c: Input/output error
>> Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
>> disklabel: /dev/rsd1c: Input/output error
>> fdisk: sd1: Input/output error
>> MBR has invalid signature; not showing it.
>> Use (W)hole disk or (E)dit the MBR? [whole]
>>