Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2018 02:25:21 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Regression: ALPHA3 can not properly init diskless / nanobsd system (mdmfs or mknewfs or md is broken?)
Message-ID:  <1759359118.20180904022521@serebryakov.spb.ru>
In-Reply-To: <606629823.20180901023912@serebryakov.spb.ru>
References:  <606629823.20180901023912@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1759359118.20180904022521>