Date: Tue, 30 Aug 2011 23:03:56 -0700 (PDT) From: rockytseng <rocky.tseng@gmail.com> To: freebsd-usb@freebsd.org Subject: About nanoBSD boot speed slowly Message-ID: <1314770636371-4753025.post@n5.nabble.com>
next in thread | raw e-mail | index | archive | help
Dear all: the nanoBSD project was very well,but i have a problem now,it's the boot time very long,i need 3 minutes for disk boot time when after BIOS finished and before kernel be load,Can you give me a solution for this problem?My setting file as follows,thank's your support... rocky << My Environment >> Operation System:FreeBSD 8.2 RELEASE Compact Flash:Transcend 4GB(Industrial) OS Installation Options: Developer setup PS:The Discussion area for nanoBSD was very few in taiwan,can you told to me about Discussion area where to go?thank you very much << nano config=>UOS_v101.conf >> # Name of this NanoBSD build. (Used to construct workdir names) NANO_NAME=UOS_v101 # Source tree directory NANO_SRC=/usr/src # Where nanobsd additional files live under the source tree NANO_TOOLS=tools/tools/nanobsd # Where cust_pkg() finds packages to install NANO_PACKAGE_DIR=${NANO_SRC}/${NANO_TOOLS}/Pkg NANO_PACKAGE_LIST="*" # Object tree directory # default is subdir of /usr/obj #NANO_OBJ="" # The directory to put the final images # default is ${NANO_OBJ} #NANO_DISKIMGDIR="" # Parallel Make NANO_PMAKE="make -j 8" # The default name for any image we create. #NANO_IMGNAME="_.disk.full" # Options to put in make.conf during buildworld only CONF_BUILD=' NO_KLD_LOAD=YES NO_NETGRAPH=YES NO_PAM=YES #PPP_NO_NETGRAPH=YES #PPP_NO_RADIUS=YES ' # Options to put in make.conf during installworld only CONF_INSTALL=' NO_AUTHPF=YES NO_BLUETOOTH=YES NO_CVS=YES NO_DICT=YES NO_FORTRAN=YES NO_GDB=YES NO_HTML=YES NO_LPR=YES NO_PROFILE=YES NO_SENDMAIL=YES NO_SHAREDOCS=YES NO_EXAMPLES=YES NO_INSTALLLIB=YES NO_CALENDAR=YES NO_MISC=YES NO_MAKE=YES ' # Options to put in make.conf during both build- & installworld. CONF_WORLD=' NO_ATM=YES NO_I4B=YES NO_INET6=YES NO_NIS=YES NO_RCMDS=YES NO_GAMES=YES NO_RESCUE=YES #PPP_NO_NETGRAPH=YES #PPP_NO_RADIUS=YES NO_LOCALS=YES NO_NLS=YES NO_PCVT=YES NO_IPX=YES NO_INFO=YES ' # Kernel config file to use NANO_KERNEL=GENERIC_nano # Customize commands. #NANO_CUSTOMIZE="" # Late customize commands. #NANO_LATE_CUSTOMIZE="" # Newfs paramters to use #NANO_NEWFS="-b 4096 -f 512 -i 8192 -O1 -U" # The drive name of the media at runtime NANO_DRIVE=ad0 # Target media size in 512 bytes sectors #NANO_MEDIASIZE=393216 # Number of code images on media (1 or 2) NANO_IMAGES=2 # 0 -> Leave second image all zeroes so it compresses better. # 1 -> Initialize second image with a copy of the first #NANO_INIT_IMG2=0 # Size of code file system in 512 bytes sectors # If zero, size will be as large as possible. NANO_CODESIZE=524288 # Size of configuration file system in 512 bytes sectors # Cannot be zero. NANO_CONFSIZE=10240 # Size of data file system in 512 bytes sectors # If zero: no partition configured. # If negative: max size possible NANO_DATASIZE=0 # Size of the /etc ramdisk in 512 bytes sectors NANO_RAM_ETCSIZE=10240 # Size of the /tmp+/var ramdisk in 512 bytes sectors NANO_RAM_TMPVARSIZE=10240 # Media geometry, only relevant if bios doesn't understand LBA. #NANO_SECTS=63 #NANO_HEADS=16 # boot0 flags/options and configuration NANO_BOOT0CFG="-o packet -s 1 -m 3" NANO_BOOTLOADER="boot/boot0sio" # boot2 flags/options # default force serial console #NANO_BOOT2CFG="-h" # Backing type of md(4) device # Can be "file" or "swap" NANO_MD_BACKING="file" # Progress Print level PPLEVEL=3 FlashDevice transcend 4g cust_nobeastie()( touch ${NANO_WORLDDIR}/boot/loader.conf echo "beastie_disable=\"YES\"" >> ${NANO_WORLDDIR}/boot/loader.conf ) customize_cmd cust_pkg #customize_cmd cust_comconsole customize_cmd cust_install_files customize_cmd cust_allow_ssh_root customize_cmd cust_nobeastie << Kernel >> cpu I586_CPU cpu I686_CPU ident Nano_0825 # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. # Use the following to compile in values accessible to the kernel # through getenv() (or kenv(1) in userland). The format of the file # is 'variable=value', see kenv(1) # # env "GENERIC.env" makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol 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 UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty) #options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framework options FLOWTABLE # per-cpu routing cache #options KDTRACE_HOOKS # Kernel DTrace hooks options INCLUDE_CONFIG_FILE # Include this file in kernel options KDB # Kernel debugger related code options KDB_TRACE # Print a stack trace for a panic # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # CPU frequency control device cpufreq # Bus support. device acpi device eisa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) # 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 rl # RealTek 8129/8139 # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device pty # BSD-style compatibility pseudo ttys device md # Memory "disks" device firmware # firmware assist module # 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 # USB support options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device uhid # "Human Interface Devices" device umass # Disks/Mass storage - Requires scbus and da PS:The Discussion area for nanoBSD was very few in taiwan,can you told to me about Discussion area where to go?thank you very much -- View this message in context: http://freebsd.1045724.n5.nabble.com/About-nanoBSD-boot-speed-slowly-tp4753025p4753025.html Sent from the freebsd-usb mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1314770636371-4753025.post>