r313878M builds mmcsd0s2 as read-only & /etc/fstab is missing

Tony Hain tony at tndh.net
Fri Feb 17 21:03:33 UTC 2017


FreeBSD 12.0-CURRENT #0 r313878M: Fri Feb 17 11:26:27 PST 2017


U-Boot SPL 2017.01-rc3 (Jan 31 2017 - 08:26:19)
Trying to boot from MMC1MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment

reading u-boot.img
reading u-boot.img


U-Boot 2017.01-rc3 (Jan 31 2017 - 08:26:19 +0000)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
0 bytes read in 3 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found FreeBSD U-Boot Loader (bin)
reading ubldr.bin
231544 bytes read in 20 ms (11 MiB/s)
## Starting application at 0x82000000 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x9df30c58

FreeBSD/armv6 U-Boot loader, Revision 1.2
(Fri Feb 17 11:26:35 PST 2017 tony@)

DRAM: 512MB
Number of U-Boot devices: 3
U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: disk
  Probing all disk devices...
  Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel data=0x6097e8+0x1a2818 syms=[0x4+0x89ba0+0x4+0x9e2fb]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
/boot/dtb/am335x-bonegreen.dtb size=0x8219
Loaded DTB from file 'am335x-bonegreen.dtb'.
Kernel entry at 0x82200100...
Kernel args: (null)
ARM Debug Architecture not supported
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #0 r313878M: Fri Feb 17 11:26:27 PST 2017
...
Trying to mount root from ufs:mmcsd0s2 []...
warning: no time-of-day clock registered, system time will not be set
accurately
Growing root partition to fill device
GEOM_PART: mmcsd0s2 was automatically resized.
  Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to
revert them.
gpart: Read-only file system
growfs: /dev/mmcsd0s2: Operation not permitted
/etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data,
generating a new one
Setting hostuuid: 696c1f73-f547-11e6-91d8-884aeaf5a20e.
Setting hostid: 0xfd5e4d57.
eval: cannot open /etc/fstab: No such file or directory
No suitable dump device was found.
eval: cannot open /etc/fstab: No such file or directory
fstab: /etc/fstab:0: No such file or directory
Warning! No /etc/fstab: skipping disk checks.
fstab: /etc/fstab:0: No such file or directory
mount: mmcsd0s2: Operation not permitted
Mounting root filesystem rw failed, startup aborted
ERROR: ABORTING BOOT (sending SIGTERM to parent)!
Feb 17 19:29:34 init: /bin/sh on /etc/rc terminated abnormally, going to
single user mode
Enter full pathname of shell or RETURN for /bin/sh:
# random: unblocking device.
# mount
mmcsd0s2 on / (ufs, local, read-only, nfsv4acls)
devfs on /dev (devfs, local)
#
# df
Filesystem 512-blocks    Used  Avail Capacity  Mounted on
mmcsd0s2      1826232 1726488 -46352   103%    /
devfs               2       2      0   100%    /dev
# gpart list mmcsd0
Geom name: mmcsd0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 62333951
first: 63
entries: 4
scheme: MBR
Providers:
1. Name: mmcsd0s1
   Mediasize: 33546240 (32M)
   Sectorsize: 512
   Stripesize: 4194304
   Stripeoffset: 32256
   Mode: r0w0e0
   attrib: active
   rawtype: 12
   length: 33546240
   offset: 32256
   type: !12
   index: 1
   end: 65582
   start: 63
2. Name: mmcsd0s2
   Mediasize: 31880380416 (30G)
   Sectorsize: 512
   Stripesize: 4194304
   Stripeoffset: 524288
   Mode: r2w1e1
   rawtype: 165
   length: 31880380416
   offset: 34078720
   type: freebsd
   index: 2
   end: 62332927
   start: 66560
Consumers:
1. Name: mmcsd0
   Mediasize: 31914983424 (30G)
   Sectorsize: 512
   Stripesize: 4194304
   Stripeoffset: 0
   Mode: r2w1e2

#





More information about the freebsd-arm mailing list