Date: Mon, 21 May 2018 04:05:24 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Gary Palmer <gpalmer@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: i386 nanobsd w/11.1-RELEASE-p10 Message-ID: <5B01E314.6020103@grosbein.net> In-Reply-To: <20180519134604.GD13355@in-addr.com> References: <20180519134604.GD13355@in-addr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19.05.2018 20:46, Gary Palmer wrote: > > Hi, > > I haven't tried building an i386 image with nanobsd since 8.x or 9.x, > so apologies if this is a known issue > > I've tried to build an i386 nanobsd using nanobsd on an amd64 host, > and when that didn't work in an i386 jail on an amd64 host, and > now in an i386 vm. I routinely update my 11.1-STABLE/i386 home router running nanobsd built using 11.1-STABLE/amd64 desktop. I do not use any of chroot/jail/vm to build it. > The i386 vm is failing with the logs at the end of the message, > taken from _.bw in the nanobsd build directory. I think similar > errors were seen in the other environments also. A "make buildworld" > in /usr/src passes, so it looks like something specific to nanobsd > is tickling the problem. > > I included the first few lines from the start of boot2.s also. > > The nanobsd config file has been stripped down to remove any > options that should affect the build > > == begin == > NANO_PMAKE="make -j 1" > NANO_NAME=net5501-nopkg > NANO_SRC=/usr/src > NANO_OBJ=/mnt/space/obj/nanobsd.${NANO_NAME} > NANO_KERNEL=NET5501 > NANO_IMAGES=2 > NANO_INIT_IMG2=0 > # The following are in 512 byte sectors. The "2" is to convert from > # sectors to kilobytes > NANO_CONFSIZE=48195 # 32 MB > NANO_DATASIZE=1975932 > NANO_RAM_ETCSIZE=$(( 2 * 1024 * 64 )) # 64 MB > NANO_RAM_TMPVARSIZE=$(( 2 * 1024 * 32 )) # 32 MB > > FlashDevice generic 2048m > == end == Here is my gw.conf: src=/home/nanobsd/gw NANO_PMAKE="make -j9" NANO_NAME=gw NANO_KERNEL=GW NANO_DRIVE=ada0 NANO_MEDIASIZE=2097152 NANO_SECTS=63 NANO_HEADS=255 NANO_BOOTLOADER="boot/boot0" NANO_BOOT0CFG="-o packet -s 1 -m 3 -t 36" # no NANO_DATASIZE but this should be irrelevant NANO_RAM_ETCSIZE=16384 # 8MB NANO_RAM_TMPVARSIZE=409600 # 200MB for large /var/spool NANO_CUSTOMIZE="..." NANO_LATE_CUSTOMIZE="..." CONF_BUILD=' TARGET=i386 TARGET_ARCH=i386 NANO_ARCH=i386 CPUTYPE?=k6-3 BOOT_COMCONSOLE_SPEED=115200 BOOT_MBR_FLAGS=0x0 BOOT_BOOT1_FLAGS=0x0 # here come lots of WITHOUT_XXX MODULES_OVERRIDE=ipfw_nat ' CONF_INSTALL=" $CONF_BUILD WITHOUT_BINUTILS= WITHOUT_CLANG= WITHOUT_CLANG_FULL= WITHOUT_CXX= WITHOUT_TOOLCHAIN= WITHOUT_INSTALLLIB= " > No /etc/src.conf or /etc/make.conf present. That's not good, see above for CONF_BUILD and CONF_INSTALL. I've just run /usr/src/tools/tools/nanobsd/nanobsd.sh -c gw.conf using my amd64 system and get images for i386.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B01E314.6020103>