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

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Tue, 4 Sep 2018 02:25:21 +0300
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
Received on Mon Sep 03 2018 - 21:25:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC