Regression: ALPHA3 can not properly init diskless / nanobsd system (mdmfs or mknewfs or md is broken?)

Lev Serebryakov lev at FreeBSD.org
Mon Sep 3 23:25:30 UTC 2018


Hello Lev,

Saturday, September 1, 2018, 2:39:12 AM, you wrote:

>  I have NanoBSD system built from and it works. It creates THREE memory
> filesystems, as needed:

> % mount | grep /dev/md
> /dev/md0 on /etc (ufs, local)
> /dev/md1 on /var (ufs, local)
> /dev/md2 on /var/tmp (ufs, local)
> %

>  But same system built from ALPHA3 sources (r338399 to be exact) doesn't
> create /etc in-memory overlay, and can not copy SSHD keys and create
> host.conf. After that sshd could not start.

>  New version doesn't properly create overlay for /etc:

> % mount | grep /dev/md
> /dev/md1 on /var (ufs, local)
> /dev/md2 on /var/tmp (ufs, local)
> %
 I've get log from boot, but it is not very informative:

arc4random: no preloaded entropy cache
arc4random: no preloaded entropy cache
random: read_random_uio unblock wait
random: read_random_uio unblock wait
random: unblocking device.
mdmfs: mount exited with error code 1
cp: /etc/periodic/monthly/999.local and /conf/base/etc/periodic/monthly/999.local are identical (not copied).

 It fails for first time, but works after that (for /tmp and /var).

 My kernel doesn't have TMPFS compiled in.

-- 
Best regards,
 Lev                            mailto:lev at FreeBSD.org



More information about the freebsd-current mailing list