Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2007 13:01:53 -0500
From:      "Lyle Scott III" <portcitycs@gmail.com>
To:        freebsd-embedded@freebsd.org
Subject:   Nanobsd - build options not producing image
Message-ID:  <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am trying to trim down my nanobsd image by specifying some build time
options.  The system works great when I leave all the options in.

I try to add the options that the FreeBSD handbook (
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/index.html)
states OR the options discussed in
http://www.mail-archive.com/freebsd-small@freebsd.org/msg00518.html

The freebsd handbook example options will not even let me finish the nanobsd
script.. it exits early and just stops.

With the second link, everything seems to finish but i only have a few files
in /usr/obj/nanobsd_alix
_.bk                                              _.env
_.bw                                             _.etc
_.cust.add_pkgs                        _.ik
_.cust.cust_allow_ssh_root      _.iw
_.cust.cust_comconsole           _.w
_.cust.cust_install_files            make.conf
_.cust.cust_nobeastie              usr

i am currently about to start from scratch and start trimming more and
more... but it's going to take forever :)

Any insights why it breaks?

KERNEL CONFIG:

machine		i386
cpu		I586_CPU
cpu 		I686_CPU
ident		ALIX
maxusers        8
options         CPU_GEODE

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.
options 	SCHED_4BSD		# 4BSD scheduler
options 	INET			# InterNETworking
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

#device		apic			# I/O APIC

device		pci

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
options 	ATA_STATIC_ID	# Static device numbering

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		vr		# VIA Rhine, Rhine II

# Wireless NIC cards
device		wlan		# 802.11 support
device          wlan_wep                #802.11 WEP support
device          wlan_ccmp               #802.11 CCMP support
device          wlan_tkip               #802.11 TKIP support
device          wlan_xauth              #802.11 external authenticator support
device          wlan_acl                #802.11 MAC ACL support
device          ath
device          ath_hal
device 		ath_rate_sample

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

options         INCLUDE_CONFIG_FILE

#options         IPFIREWALL
#options         IPFIREWALL_DEFAULT_TO_ACCEPT
#options         IPDIVERT
#options         DUMMYNET

options         ALTQ
options         ALTQ_CBQ
options         ALTQ_RED
options         ALTQ_RIO
options         ALTQ_HFSC
options         ALTQ_CDNR
options         ALTQ_PRIQ

device          pf
device          pflog
device          pfsync
device          carp
device		if_bridge

options         DEVICE_POLLING



-- 
Lyle Scott, III
http://www.lylescott.ws



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