From owner-freebsd-small@FreeBSD.ORG Sun Mar 13 13:43:29 2005 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6897116A4CE for ; Sun, 13 Mar 2005 13:43:29 +0000 (GMT) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 516A143D5A for ; Sun, 13 Mar 2005 13:43:28 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.1.12] (host-81-191-10-247.bluecom.no [81.191.10.247]) (authenticated bits=0)j2DDhRJa010746 for ; Sun, 13 Mar 2005 14:43:27 +0100 Message-ID: <4234437C.5090209@wm-access.no> Date: Sun, 13 Mar 2005 14:43:24 +0100 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-small@freebsd.org References: <1AB712D7-2434-11D9-B27E-000A956A3900@thingy.com> <8a8ffa7b07265c54d2775775896c5298@thingy.com> In-Reply-To: <8a8ffa7b07265c54d2775775896c5298@thingy.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: bootable PCI flash slot? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 13:43:29 -0000 Could you use anything like these, perhaps? http://www.pcengines.ch/cflash.htm I had a CF PCI slot card once, dont remember where i got it. Not all CF Flash cards support IDE (some are strictly for cameras). Many manufacturers add support for IDE on XX meg but not on YY meg so i cant really name a good brand for these. -- Sten Daniel Sørsdal Howard Jones wrote: > > On 22 Oct 2004, at 15:10, Howard Jones wrote: > >> > I've just finished preparing a FreeBSD-based flash-booting > router/firewall, which is currently using a DiskOnModule to boot from. > If possible, I'd like the flash to be externally accessible to make > upgrading or moving the flash a little simpler. Does anyone know of a > PCI-slot flash carrier that can present itself as a bootable IDE drive > with an external slot? I've found some PCI-PCMCIA cards, but they all > talk about Windows compatibility, and appear to be aimed at digital > camera users more than anything... > >> >> > > > Answering my own question, mainly so it goes into the archive - these > are what I was looking for: > http://www.milesie.co.uk/shop/asp/product1.asp?Product=445 > or > http://www.mini-itx.com/store/?c=16#p2602 > > IDE-connected but with optional external slot through a PCI backplane. > Not hot-swap, but nice & cheap. > > Best Regards, > > Howard > > _______________________________________________ > freebsd-small@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-small > To unsubscribe, send any mail to "freebsd-small-unsubscribe@freebsd.org" > From owner-freebsd-small@FreeBSD.ORG Mon Mar 14 11:01:31 2005 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F70A16A4F6 for ; Mon, 14 Mar 2005 11:01:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF8EC43D46 for ; Mon, 14 Mar 2005 11:01:30 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2EB1Usv090441 for ; Mon, 14 Mar 2005 11:01:30 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2EB1U6Y090435 for freebsd-small@freebsd.org; Mon, 14 Mar 2005 11:01:30 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 14 Mar 2005 11:01:30 GMT Message-Id: <200503141101.j2EB1U6Y090435@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-small@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 11:01:31 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/01/04] misc/15876 small PicoBSD message of the day problems o [2001/06/18] misc/28255 small picobsd documentation still references ol o [2002/09/13] kern/42728 small many problems in src/usr.sbin/ppp/* afte o [2003/05/14] misc/52255 small picobsd build script fails under FreeBSD o [2003/05/14] misc/52256 small picobsd build script does not read in use 5 problems total. From owner-freebsd-small@FreeBSD.ORG Wed Mar 16 17:15:23 2005 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 175B316A4CF for ; Wed, 16 Mar 2005 17:15:23 +0000 (GMT) Received: from gta.com (mailgate.gta.com [199.120.225.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C81B43D2D for ; Wed, 16 Mar 2005 17:15:22 +0000 (GMT) (envelope-from lab@gta.com) Received: (qmail 53348 invoked by uid 1000); 16 Mar 2005 17:15:21 -0000 Date: 16 Mar 2005 17:15:21 -0000 Message-ID: <20050316171521.53347.qmail@gta.com> From: Larry Baird To: freebsd-small@freebsd.org In-Reply-To: <8a8ffa7b07265c54d2775775896c5298@thingy.com> User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/4.10-RELEASE (i386)) Subject: Re: bootable PCI flash slot? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 17:15:23 -0000 In article <8a8ffa7b07265c54d2775775896c5298@thingy.com> you wrote: > On 22 Oct 2004, at 15:10, Howard Jones wrote: >> > I've just finished preparing a FreeBSD-based flash-booting > router/firewall, which is currently using a DiskOnModule to boot from. > If possible, I'd like the flash to be externally accessible to make > upgrading or moving the flash a little simpler. Does anyone know of a > PCI-slot flash carrier that can present itself as a bootable IDE drive > with an external slot? I've found some PCI-PCMCIA cards, but they all > talk about Windows compatibility, and appear to be aimed at digital > camera users more than anything... We have been using this part (http://www.pcengines.ch/cflash.htm) for some time. It doesn't have the external slot you mentioned but it has been very reliable for us. Our experience with DiskOnModule was very negative, lots of failures. One word of warning, hot swapping of CF from the PC engines product is not recommended. I wonder if the devices you point at below have this limitation. If they do, external access might not be a good thing. > Answering my own question, mainly so it goes into the archive - these > are what I was looking for: > http://www.milesie.co.uk/shop/asp/product1.asp?Product=445 > or > http://www.mini-itx.com/store/?c=16#p2602 > > IDE-connected but with optional external slot through a PCI backplane. > Not hot-swap, but nice & cheap. Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gta.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 From owner-freebsd-small@FreeBSD.ORG Thu Mar 17 16:51:09 2005 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AD6B16A4CF for ; Thu, 17 Mar 2005 16:51:09 +0000 (GMT) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id B108B43D46 for ; Thu, 17 Mar 2005 16:51:08 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas@localhost [127.0.0.1])j2HGp72f029443 for ; Thu, 17 Mar 2005 11:51:07 -0500 (EST) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost)j2HGp7a3029442 for freebsd-small@freebsd.org; Thu, 17 Mar 2005 11:51:07 -0500 (EST) (envelope-from mwlucas) Date: Thu, 17 Mar 2005 11:51:07 -0500 From: "Michael W. Lucas" To: freebsd-small@freebsd.org Message-ID: <20050317165107.GA29364@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Score: (0) X-Scanned-By: MIMEDefang 2.39 Subject: nanobsd disk info X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 16:51:09 -0000 Hi, I'm obviously missing something here. I'm trying to get nanobsd on a 512Mb flash card. The only changes I've made are to set kernconf = net4801 in make.conf and to set the Makefile disk geometry variables. "make" chokes on the disk geometry, so I'm assuming I've set it wrong. My diskinfo shows as: mwl-crash2~;sudo diskinfo -v da0 da0 512 # sectorsize 512483840 # mediasize in bytes (489M) 1000945 # mediasize in sectors 488 # Cylinders according to firmware. 64 # Heads according to firmware. 32 # Sectors according to firmware. I tried to put this into the nanobsd/Makefile as: from Makefile: # Physical disk paramters. Use diskinfo(8) on the target platform # to find the correct numbers. We assume 512 bytes sectors. HD?=64 SC?=32 SECTS?=1000945 _.md.tmp reports: + SECTS=1000945 + HD=64 + SC=32 + DATASIZE=10240 + PRIROOTSLICE=ad0s1a + ALTROOTSLICE=ad0s2a + CFGSLICE=ad0s3 + WD=/usr/obj/usr/src/tools/tools/nanobsd/_.w + IMG=/usr/obj/usr/src/tools/tools/nanobsd/_.i + CFGMASTER= + mktemp -t nanobsd + TMPFILE0=/tmp/nanobsd.Xh06zIAU + mktemp -t nanobsd + TMPFILE1=/tmp/nanobsd.PaEr1DcL + mktemp -d -t nanobsd + TMPMNT=/tmp/nanobsd.j5J1mq2A + get_label ad0s1a + echo + PRIROOTLABEL= + get_label ad0s2a + echo + ALTROOTLABEL= + get_label ad0s3 + echo + CFGLABEL= + dd if=/dev/zero of=/tmp/nanobsd.Xh06zIAU count=1000945 1000945+0 records in 1000945+0 records out 512483840 bytes transferred in 28.422601 secs (18030857 bytes/sec) + mdconfig -a -t vnode -f /tmp/nanobsd.Xh06zIAU -x 32 -y 64 + MD=md0 + rm -f /tmp/nanobsd.Xh06zIAU + echo 1000945 32 64 10240 + awk { cs = $2 * $3 cyl = $1 / cs print "g c" cyl " h" $3 " s" $2 dsl = int (($4 + cs - 1) / cs) csl = int ((cyl - dsl) / 2) dsl = cyl - csl * 2 print "p 1 165 " $2, csl * cs - $2 print "p 2 165 " $2 + csl * cs, csl * cs - $2 print "p 3 165 " 2 * csl * cs, dsl * cs } + cat /tmp/nanobsd.PaEr1DcL g c488.743 h64 s32 p 1 165 32 493536 p 2 165 493600 493536 p 3 165 987136 13809 + fdisk -i -f /tmp/nanobsd.PaEr1DcL md0 fdisk: invalid fdisk partition table found fdisk: ERROR line 1: incorrect number of geometry args ******* Working on device /dev/md0 ******* Any thoughts? ==ml -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate http://www.CiscoRoutersForTheDesperate.com