On Feb 16 11:40:16, h...@stare.cz wrote: > The reason I am installing onto the internal flash at all > is that I can't install on a separate microSD card: I am > *always* getting i/o errors that make the install fail.
This is the whole script, see the IO errors at bottom. I have tortured the card in my laptop, and never got an error during that ... Jan U-Boot SPL 2013.04-dirty (Apr 20 2013 - 08:30:43) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 mmc_send_cmd : timeout: No status update reading u-boot.img reading u-boot.img U-Boot 2013.04-dirty (Apr 20 2013 - 08:30:43) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: <ethaddr> not set. Validating first E-fuse MAC Phy not found PHY reset timed out cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 mmc0 is current device micro SD card found mmc0 is current device gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 0 reading uEnv.txt 151 bytes read in 3 ms (48.8 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... reading bsd.umg 7325260 bytes read in 842 ms (8.3 MiB/s) ## Booting kernel from Legacy Image at 82800000 ... Image Name: boot Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 7325196 Bytes = 7 MiB Load Address: 80300000 Entry Point: 80300000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... OpenBSD/omap booting ... arg0 0x0 arg1 0xe05 arg2 0x80000100 atag core flags 0 pagesize 0 rootdev 0 atag cmdline [sd0i:/bsd.umg] atag mem start 0x80000000 size 0x20000000 bootfile: sd0i:/bsd.umg bootargs: memory size derived from u-boot bootconf.mem[0].address = 80000000 pages 131072/0x20000000 Allocating page tables freestart = 0x809fd000, free_pages = 128515 (0x0001f603) IRQ stack: p0x80a2b000 v0xc0a2b000 ABT stack: p0x80a2c000 v0xc0a2c000 UND stack: p0x80a2d000 v0xc0a2d000 SVC stack: p0x80a2e000 v0xc0a2e000 Creating L1 page table at 0x80a00000 Mapping kernel Constructing L2 page tables undefined page pmap [ using 171196 bytes of bsd ELF symbol table ] board type: beaglebone Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.5-beta (RAMDISK-OMAP) #4: Thu Feb 6 00:43:16 EST 2014 r...@bbb1.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK-OMAP real mem = 536870912 (512MB) avail mem = 515280896 (491MB) warning: no entropy supplied by boot loader mainbus0 at root cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache omap0 at mainbus0: BeagleBone prcm0 at omap0 rev 0.2 sitaracm0 at omap0: control module, rev 1.0 intc0 at omap0 rev 5.0 omap0: device edma unit 0 not configured dmtimer0 at omap0 rev 3.1 dmtimer1 at omap0 rev 3.1 omdog0 at omap0 rev 0.1 omgpio0 at omap0: rev 0.1 omgpio1 at omap0: rev 0.1 omgpio2 at omap0: rev 0.1 omgpio3 at omap0: rev 0.1 ommmc0 at omap0 sdmmc0 at ommmc0 ommmc1 at omap0 sdmmc1 at ommmc1 com0 at omap0: ti16750, 64 byte fifo com0: console cpsw0 at omap0: version 1.12 (0), address 90:59:af:82:2e:7e ukphy0 at cpsw0 phy 2: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0001f0, model 0x000f scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed sd0: 16000MB, 512 bytes/sector, 32768000 sectors scsibus1 at sdmmc1: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed sd1: 1832MB, 512 bytes/sector, 3751936 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.5 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. Terminal type? [vt220] System hostname? (short form, e.g. 'foo') beagle Available network interfaces are: cpsw0. Which network interface do you wish to configure? (or 'done') [cpsw0] IPv4 address for cpsw0? (or 'dhcp' or 'none') [dhcp] Issuing hostname-associated DHCP request for cpsw0. DHCPDISCOVER on cpsw0 to 255.255.255.255 port 67 interval 1 DHCPOFFER from 192.168.111.1 (00:0d:b9:12:9f:2d) DHCPREQUEST on cpsw0 to 255.255.255.255 port 67 DHCPACK from 192.168.111.1 (00:0d:b9:12:9f:2d) bound to 192.168.111.11 -- renewal in 21600 seconds. IPv6 address for cpsw0? (or 'rtsol' or 'none') [none] Available network interfaces are: cpsw0. Which network interface do you wish to configure? (or 'done') [done] Using DNS domainname stare.cz Using DNS nameservers at 192.168.111.1 192.168.167.254 172.17.251.254 Password for root account? (will not echo) Password for root account? (again) Start sshd(8) by default? [yes] Start ntpd(8) by default? [no] yes NTP server? (hostname or 'default') [default] Setup a user? (enter a lower-case loginname, or 'no') [no] What timezone are you in? ('?' for list) [Europe/Prague] Available disks are: sd0 sd1. Which disk is the root disk? ('?' for details) [sd0] ? sd0: Drive #01 (15.6G) sd1: Drive #01 (1.8G) Available disks are: sd0 sd1. Which disk is the root disk? ('?' for details) [sd0] sd0 Use DUIDs rather than device names in fstab? [yes] Disk: sd0 geometry: 2039/255/63 [32768000 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------------- *0: 0C 0 1 1 - 1 254 63 [ 63: 32067 ] Win95 FAT32L 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 - 1 254 63 [ 64: 32066 ] OpenBSD Use (W)hole disk or (E)dit the MBR? [whole] Creating a msdos partition and an OpenBSD partition for rest of sd0...done. /dev/rsd0i: 32668 sectors in 8167 FAT16 clusters (2048 bytes/cluster) bps=512 spc=4 res=1 nft=2 rde=512 sec=32768 mid=0xf8 spf=32 spt=63 hds=255 hid=64 The auto-allocated layout for sd0 is: # size offset fstype [fsize bsize cpg] a: 520.8M 32832 4.2BSD 2048 16384 1 # / b: 768.0M 1099424 swap c: 16000.0M 0 unused d: 825.3M 2672288 4.2BSD 2048 16384 1 # /tmp e: 1226.1M 4362432 4.2BSD 2048 16384 1 # /var f: 1340.8M 6873408 4.2BSD 2048 16384 1 # /usr g: 776.5M 9619360 4.2BSD 2048 16384 1 # /usr/X11R6 h: 2929.6M 11209568 4.2BSD 2048 16384 1 # /usr/local i: 16.0M 64 MSDOS j: 1200.3M 17209376 4.2BSD 2048 16384 1 # /usr/src k: 1652.6M 19667616 4.2BSD 2048 16384 1 # /usr/obj l: 4744.0M 23052192 4.2BSD 2048 16384 1 # /home Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] newfs: reduced number of fragments per cylinder group from 66656 to 66392 to enlarge last cylinder group /dev/rsd0a: 520.8MB in 1066592 sectors of 512 bytes 5 cylinder groups of 129.67MB, 8299 blocks, 16640 inodes each /dev/rsd0l: 4744.0MB in 9715680 sectors of 512 bytes 24 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/rsd0d: 825.3MB in 1690144 sectors of 512 bytes 5 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each /dev/rsd0f: 1340.8MB in 2745952 sectors of 512 bytes 7 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each newfs: reduced number of fragments per cylinder group from 99384 to 98992 to enlarge last cylinder group /dev/rsd0g: 776.5MB in 1590208 sectors of 512 bytes 5 cylinder groups of 193.34MB, 12374 blocks, 24832 inodes each newfs: wtfs: write error on block 5999807: Input/output error newfs: 2bff1ccc979bfb19.k: No such file or directory newfs: 2bff1ccc979bfb19.j: No such file or directory newfs: 2bff1ccc979bfb19.e: No such file or directory Available disks are: sd1. Which disk do you wish to initialize? (or 'done') [done] mount_ffs: 2bff1ccc979bfb19.a on /mnt: No such file or directory mount_ffs: 2bff1ccc979bfb19.l on /mnt/home: No such file or directory mount_ffs: 2bff1ccc979bfb19.d on /mnt/tmp: No such file or directory mount_ffs: 2bff1ccc979bfb19.f on /mnt/usr: No such file or directory mount_ffs: 2bff1ccc979bfb19.g on /mnt/usr/X11R6: No such file or directory mount_ffs: 2bff1ccc979bfb19.h on /mnt/usr/local: No such file or directory mount_ffs: 2bff1ccc979bfb19.k on /mnt/usr/obj: No such file or directory mount_ffs: 2bff1ccc979bfb19.j on /mnt/usr/src: No such file or directory mount_ffs: 2bff1ccc979bfb19.e on /mnt/var: No such file or directory WARNING! The following filesystems were not properly mounted: /mnt (2bff1ccc979bfb19.a) /mnt/home (2bff1ccc979bfb19.l) /mnt/tmp (2bff1ccc979bfb19.d) /mnt/usr (2bff1ccc979bfb19.f) /mnt/usr/X11R6 (2bff1ccc979bfb19.g) /mnt/usr/local (2bff1ccc979bfb19.h) /mnt/usr/obj (2bff1ccc979bfb19.k) /mnt/usr/src (2bff1ccc979bfb19.j) /mnt/var (2bff1ccc979bfb19.e) Continue anyway? [no]