From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 30 18:01:54 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FDF16A41B for ; Sun, 30 Dec 2007 18:01:54 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4119113C457 for ; Sun, 30 Dec 2007 18:01:54 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so7468023waf.3 for ; Sun, 30 Dec 2007 10:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=+oELS0kqFcCljGXh6IGrZALPcZd4/qYIbu7tl5Uf2pM=; b=L9JeTUmR5eOyhLNata0t6NFINi1eoDGDY27E+kmtiuChx+nXsF+9i+TaTCMWjFZx2j/e8IADF0sRsg/JiD7rcZ5ZYjmeBuc4YyiQCgXb9Zr3HeYx3dz+9dpRi8TycGp9WBM8qlnvGssZjD8+ifJQQtULrky7yDyKZV90fNATMHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=eAsbynIEhwRLx+KCvQor/o+vbhWXgVF8DNX6+uG0H41IUOryMSDOy8VrZ3yaIcKjAvynYZGeiwPrP+9T9keGZmucj69fBtrivKtxX53meRkbFAb9wQ3cbazHvuml6lYatY5MtoMI1y/9sJY/sA7Vu/L48XXiEf5wKugqoEm5SxI= Received: by 10.142.242.8 with SMTP id p8mr3461050wfh.166.1199037713186; Sun, 30 Dec 2007 10:01:53 -0800 (PST) Received: by 10.142.238.2 with HTTP; Sun, 30 Dec 2007 10:01:53 -0800 (PST) Message-ID: <5a1835cd0712301001j6dbf207dqf314ba0b433b64d3@mail.gmail.com> Date: Sun, 30 Dec 2007 13:01:53 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Nanobsd - build options not producing image X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2007 18:01:54 -0000 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