From owner-freebsd-questions@FreeBSD.ORG Sun Jul 8 15:16:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BBAA106566C for ; Sun, 8 Jul 2012 15:16:52 +0000 (UTC) (envelope-from reinhard.haller@interactive-net.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id BA0AF8FC08 for ; Sun, 8 Jul 2012 15:16:51 +0000 (UTC) Received: from interactive.dnsalias.net (p5B343ACE.dip.t-dialin.net [91.52.58.206]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LlLtL-1SFveU0i3T-00bIEa; Sun, 08 Jul 2012 17:16:45 +0200 Received: from scalix.interactive.de ([fd08:e8a3:4825:0:20c:29ff:fe8e:3748]) by interactive.dnsalias.net with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SntE4-000A9Z-Hf for freebsd-questions@freebsd.org; Sun, 08 Jul 2012 17:16:44 +0200 Received: from scalix.interactive.de (localhost.localdomain [127.0.0.1]) by scalix.interactive.de (8.13.8/8.13.8) with ESMTP id q68FGieu005276 for ; Sun, 8 Jul 2012 17:16:44 +0200 Received: from [192.168.0.178] (Core2Duo.interactive.de [192.168.0.178]) by scalix.interactive.de (Scalix SMTP Relay 11.4.5.13150) via ESMTP; Sun, 08 Jul 2012 17:16:43 +0200 (CEST) Date: Sun, 8 Jul 2012 17:14:40 +0200 From: Reinhard Haller To: freebsd-questions@freebsd.org Message-ID: <4FF9A3E0.6000303@interactive-net.de> x-scalix-Hops: 1 User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Disposition: inline X-ACL-rcpt: freebsd-questions@freebsd.org X-ACL-Send: reinhard.haller@interactive-net.de X-Provags-ID: V02:K0:q0bMLyHr/Ht6e7kQEmcyJa3vMrsD9aemzr/bHzZxAPD bxHucDlD6UL36xijsRlgphFi09EGK/c9PT/qWYGfYg/nnackMc qqY4hWFkik8q8wY0qZbqvGQt+iIiis57rBB9V9hXcZI1L3td3i irZ96rEC/uyIzWpU9S3Y0HUpkhEPYBAo96xbqkvUYbs24BlpzS 6ZHAtZ/bwDFXvq6OqLpW6tdOararnSVL8dPfoAhEh3FmrAG456 N/T1wm3m7TAUz4CYypEZ+piGfDjhhTQi5H0WDj8roeW7iW65VT n243LIsA+IKzpn6UnXtJdQWwhPkTT2Cfkczl7QiU8jE+F3lUr4 GoyQnJbnGSI4Y/Dm3bQBfMtlHHR008X1V6d25VJHSXxP16cX0R eVn26Bh/jXWPw== Subject: nanobsd: UsbDevice broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2012 15:16:52 -0000 Hi, I'm trying to get nanobsd working on an USB-stick. Encountered the following problem in _.di (tail): Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s1a 947643 236357 635475 27% 4712 117686 4% /usr/obj/nanobsd.NANOBSD/_.mnt Generating mtree... Creating /dev/md0s3 with /usr/obj/nanobsd.NANOBSD//_.w/var/empty (mounting on /usr/obj/nanobsd.NANOBSD//_.mnt) newfs -b 4096 -f 512 -i 8192 -O1 -U -LNANOs3 /dev/md0s3 /dev/md0s3: 7.8MB (16065 sectors) block size 4096, fragment size 512 using 4 cylinder groups of 1.96MB, 503 blks, 256 inodes. with soft updates super-block backups (for fsck -b #) at: 32, 4056, 8080, 12104 /usr/obj/nanobsd.NANOBSD//_.mnt/. 0 blocks Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s3 7840 1 7212 0% 2 1020 0% /usr/obj/nanobsd.NANOBSD/_.mnt Writing out _.disk.image... dd: /dev/md0s1: Input/output error 12559+0 records in 12559+0 records out 823066624 bytes transferred in 58.897047 secs (13974667 bytes/sec) Running exit trap code Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ada0p2 379804760 7180384 342239996 2% 470776 23682822 2% / umount: /usr/obj/nanobsd.NANOBSD//_.mnt: not a file system root directory Replacing the line UsbDevice Generic 1000 with FlashDevice SanDisk 1G gives Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s1a 982527 236354 667570 26% 4712 122582 4% /usr/obj/nanobsd.NANOBSD/_.mnt Generating mtree... Creating /dev/md0s3 with /usr/obj/nanobsd.NANOBSD//_.w/var/empty (mounting on /usr/obj/nanobsd.NANOBSD//_.mnt) newfs -b 4096 -f 512 -i 8192 -O1 -U -LNANOs3 /dev/md0s3 /dev/md0s3: 1.5MB (3024 sectors) block size 4096, fragment size 512 using 4 cylinder groups of 0.37MB, 95 blks, 64 inodes. with soft updates super-block backups (for fsck -b #) at: 32, 792, 1552, 2312 /usr/obj/nanobsd.NANOBSD//_.mnt/. 0 blocks Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md0s3 1415 1 1301 0% 2 252 1% /usr/obj/nanobsd.NANOBSD/_.mnt Writing out _.disk.image... 15615+1 records in 15615+1 records out 1023386112 bytes transferred in 22.597459 secs (45287663 bytes/sec) Any suggestions? Thanks Reinhard nanobsd config: NANO_NAME=NANOBSD NANO_PMAKE="make -j 4" NANO_KERNEL=GENERIC NANO_ARCH="i386" NANO_IMAGES=1 NANO_BOOTLOADER="boot/boot0" NANO_LABEL="NANO" CONF_BUILD=' NO_KLDLOAD=YES NO_NETGRAPH=YES NO_PAM=YES ' CONF_INSTALL=' NO_BLUETOOTH=YES NO_CVS=YES NO_FORTRAN=YES NO_HTML=YES NO_LPR=YES NO_MAN=YES NO_SENDMAIL=YES NO_SHAREDOCS=YES NO_EXAMPLES=YES NO_INSTALLLIB=YES NO_CALENDAR=YES NO_MISC=YES NO_SHARE=YES ' CONF_WORLD=' NO_MODULES=YES NO_KERBEROS=YES NO_GAMES=YES NO_RESCUE=YES NO_SYSCONS=YES NO_INFO=YES ' #USB Stick UsbDevice Generic 1000 #FlashDevice SanDisk 1G # allow root to login via SSH customize_cmd cust_allow_ssh_root