Hello, Any NanoBSD expert here? help me why got error on this. I using nanobsd-ng configuration and do self custom for my nanobsd, for your information.. i already using nanoBSD-ng on FreeBSD 9.0 before.. and its work... after moving to FreeBSD 9.1-RELEASE i got this error when do the Buildkernel .bk
Please explain why I'm getting an error on this. I'm using the NanoBSD-NG configuration and customise NanoBSD myself. For your information, I have already used NanoBSD-NG on FreeBSD 9.0 before and it worked. After moving to FreeBSD 9.1-RELEASE, I got this error when building the kernel.
My config file:
My kernel file:
Please explain why I'm getting an error on this. I'm using the NanoBSD-NG configuration and customise NanoBSD myself. For your information, I have already used NanoBSD-NG on FreeBSD 9.0 before and it worked. After moving to FreeBSD 9.1-RELEASE, I got this error when building the kernel.
Code:
===> zlib (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
rm -f .depend
mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/nanobsd.NanoBSD64SSD/usr/src/sys/DNSCELL /usr/src/sys/modules/zlib/../../net/zlib.c
1 error
*** [buildkernel] Error code 2
1 error
*** [buildkernel] Error code 2
1 error
My config file:
Code:
NANO_NAME=NanoBSD64SSD
NANO_SRC=/usr/src
NANO_PMAKE="make -j 4"
NANO_KERNEL=DNSCELL
NANO_ARCH="amd64"
NANO_MODULES='zfs zlib crypto opensolaris geom pf pfsync pflog vesa splash'
NANO_IMAGES=1
NANO_MEDIASIZE=`expr 7998455808 / 512`
NANO_HEADS=16
NANO_SECTS=63
NANO_CONFSIZE=40960
NANO_DATASIZE=8388608
NANO_RAM_ETCSIZE=40960
NANO_RAM_TMPVARSIZE=262144
NANO_GLABEL_SYS="nanoBSD"
NANO_GLABEL_CFG="cfg"
NANO_GLABEL_DATA="SSD"
# The drive name of the media at runtime
NANO_DRIVE=ad0
# boot0 flags/options and configuration
NANO_BOOT0CFG="-o packet -s 1 -m 3 -t 20"
NANO_BOOTLOADER="boot/boot0"
# boot2 flags/options
# default force serial console
NANO_BOOT2CFG=" -Dh"
# Set correct nameserver in /etc/resolv.conf
cust_setResolvConf() (
touch ${NANO_WORLDDIR} /etc/resolv.conf
chroot ${NANO_WORLDDIR} sh -c 'echo "nameserver 8.8.8.8" >> /etc/resolv.conf'
)
cust_confRCConf() (
touch ${NANO_WORLDDIR}/etc/rc.conf
# Enable SSH Server
echo 'sshd_enable="YES"' >> ${NANO_WORLDDIR}/etc/rc.conf
echo 'ifconfig_em0="inet 192.168.0.171 netmask 255.255.255.0"' >> ${NANO_WORLDDIR}/etc/rc.conf.local
echo 'defaultrouter="192.168.0.1"' >> ${NANO_WORLDDIR}/etc/rc.conf.local
echo 'hostname="nano64.dnscell.com"' >> ${NANO_WORLDDIR}/etc/rc.conf.local
)
customize_cmd cust_pkg_fetch
customize_cmd cust_install_files
customize_cmd cust_setResolvConf
customize_cmd cust_confRCConf
customize_cmd cust_boot_option
customize_cmd cust_console_dual
customize_cmd cust_allow_ssh_root
customize_cmd cust_splash
customize_cmd cust_geli_zfs
My kernel file:
Code:
include GENERIC
#makeoptions NO_MODULES=yes
cpu HAMMER
ident NANOSERVER
## Setup CPU Config
#ADD ACPI (missing in GENERIC for i386)
#device acpi
## Get rid of stuff we wont use.
nooptions COMPAT_FREEBSD4 # Compatible with FreeBSD4
nooptions COMPAT_FREEBSD5 # Compatible with FreeBSD5
nooptions COMPAT_FREEBSD6 # Compatible with FreeBSD6
nooptions COMPAT_FREEBSD7 # Compatible with FreeBSD7
## Build in GEOM Stuff
#options GEOM_STRIPE
#options GEOM_MIRROR
#options GEOM_GATE
#options GEOM_ELI
#options GEOM_JOURNAL
## Null fs
#options NULLFS
## File Descripter FS
#options FDESCFS
## IPSec Stuff
#options IPSEC
#options IPSEC_FILTERTUNNEL
#device crypto
#device cryptodev
#device hifn
## Failover stuff
device carp
## VLan Dev
device vlan #include generic
## Bridge dev
device if_bridge
## Link Aggragtion
device lagg
## IPMI Support
device smbus
device ipmi