From owner-freebsd-small@FreeBSD.ORG Mon Jun 14 11:01:52 2004 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 F109A16A4CE for ; Mon, 14 Jun 2004 11:01:52 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9CAE43D53 for ; Mon, 14 Jun 2004 11:01:52 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5EB1fTd072622 for ; Mon, 14 Jun 2004 11:01:41 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5EB1e30072617 for freebsd-small@freebsd.org; Mon, 14 Jun 2004 11:01:40 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 14 Jun 2004 11:01:40 GMT Message-Id: <200406141101.i5EB1e30072617@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 Jun 2004 11:01:53 -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/01/12] misc/46998 small [patch] Support PicoBSD source in other l 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 6 problems total. From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 00:14:16 2004 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 A881216A4CE for ; Tue, 15 Jun 2004 00:14:16 +0000 (GMT) Received: from web53303.mail.yahoo.com (web53303.mail.yahoo.com [206.190.39.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D10643D31 for ; Tue, 15 Jun 2004 00:14:16 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20040615001408.69754.qmail@web53303.mail.yahoo.com> Received: from [24.94.23.114] by web53303.mail.yahoo.com via HTTP; Mon, 14 Jun 2004 17:14:08 PDT Date: Mon, 14 Jun 2004 17:14:08 -0700 (PDT) From: Joe Schmoe To: freebsd-small@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 00:14:16 -0000 Hello, I would like to fit a FreeBSD 4.10 system (not pico or anything like that) onto a 16 megabyte IDE flash drive. I am having reasonable success doing this ... I load FreeBSD with sysinstall onto a normal hard drive, then boot it up and start deleting a lot of things and stripping out things, and when I am done I tar it all up and then put it onto the flash drive with the FIXIT floppy. So far so good. The problem is, my methods for paring down the system are extremely brutish. Basically I use the custom menu in sysinstall and only install a bare minimum of items, but even then I have a ton of garbage on the system that I never needed, and certainly never selected in sysinstall - but they are part of the base system so I get them anyway. Files having to do with ISDN and PPP and all sorts of libraries, etc. So I basically just walk around the system deleting everything that looks like it is unneeded - sometimes going so far as: find / -name '*ppp*' -delete Is there a better strategy ? Is there some rational way I can get an even more minimal install than the minimal install I create from the custom menu in sysinstall ? That is, instead of deciding that I don't need PPP, and then going around deleting everything to do with PPP, is there a way to just not have PPP installed in the first place ? thanks. --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 00:31:18 2004 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 D648716A4CE for ; Tue, 15 Jun 2004 00:31:18 +0000 (GMT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0E6E43D55 for ; Tue, 15 Jun 2004 00:31:17 +0000 (GMT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id i5F0U7L8076582; Tue, 15 Jun 2004 10:30:07 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Tue, 15 Jun 2004 10:30:07 +1000 Received: from [10.0.17.42] (wstaylorm.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id CC4093F0F; Tue, 15 Jun 2004 10:30:07 +1000 (EST) From: Murray Taylor To: Joe Schmoe In-Reply-To: <20040615001408.69754.qmail@web53303.mail.yahoo.com> References: <20040615001408.69754.qmail@web53303.mail.yahoo.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 15 Jun 2004 10:30:07 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 00:31:19 -0000 Google for minibsd http://neon1.net/misc/minibsd.html I have used miniBSD as a firewall box on an Advantech WEB-2143 quite successfully mjt On Tue, 2004-06-15 at 10:14, Joe Schmoe wrote: > Hello, > > I would like to fit a FreeBSD 4.10 system (not pico or anything like that) onto a 16 megabyte IDE flash drive. I am having reasonable success doing this ... I load FreeBSD with sysinstall onto a normal hard drive, then boot it up and start deleting a lot of things and stripping out things, and when I am done I tar it all up and then put it onto the flash drive with the FIXIT floppy. > > > > So far so good. The problem is, my methods for paring down the system are extremely brutish. Basically I use the custom menu in sysinstall and only install a bare minimum of items, but even then I have a ton of garbage on the system that I never needed, and certainly never selected in sysinstall - but they are part of the base system so I get them anyway. Files having to do with ISDN and PPP and all sorts of libraries, etc. > > So I basically just walk around the system deleting everything that looks like it is unneeded - sometimes going so far as: > > > > find / -name '*ppp*' -delete > > > > Is there a better strategy ? Is there some rational way I can get an even more minimal install than the minimal install I create from the custom menu in sysinstall ? That is, instead of deciding that I don't need PPP, and then going around deleting everything to do with PPP, is there a way to just not have PPP installed in the first place ? > > > > thanks. > > > --------------------------------- > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger > _______________________________________________ > 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" > > **************************************************************** > This Email has been scanned for Viruses by MailMarshal. > **************************************************************** -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- **************************************************************** This Email has been scanned for Viruses by MailMarshal. **************************************************************** From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 04:04:47 2004 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 B3DBF16A4CE for ; Tue, 15 Jun 2004 04:04:47 +0000 (GMT) Received: from web53301.mail.yahoo.com (web53301.mail.yahoo.com [206.190.39.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 613F143D58 for ; Tue, 15 Jun 2004 04:04:47 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20040615040428.27513.qmail@web53301.mail.yahoo.com> Received: from [24.94.23.114] by web53301.mail.yahoo.com via HTTP; Mon, 14 Jun 2004 21:04:28 PDT Date: Mon, 14 Jun 2004 21:04:28 -0700 (PDT) From: Joe Schmoe To: Murray Taylor In-Reply-To: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 04:04:47 -0000 Murray Taylor wrote: Google for minibsd http://neon1.net/misc/minibsd.html I have used miniBSD as a firewall box on an Advantech WEB-2143 quite successfully mjt Thanks - this is interesting. However, this is still somewhat of a brute force method for piecing things together - I thought there was some kind of elegant mechanism where you could edit make.conf or something, so that when you did a make world, it would skip the components that you didn't want to - and you could control it with much more granularity than you can in the custom menu in sysinstall ... does this sound familiar at all ? That is, forget that I am doing solid state / flash at all - what is the correct way to install FreeBSD without things like ppp, isdn, and other pieces of the _base_ system that you don't want ? thanks. --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 04:48:10 2004 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 17ACC16A4CF for ; Tue, 15 Jun 2004 04:48:10 +0000 (GMT) Received: from cruzio.com (dsl3-63-249-85-132.cruzio.com [63.249.85.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF2B843D39 for ; Tue, 15 Jun 2004 04:48:09 +0000 (GMT) (envelope-from brucem@mail.cruzio.com) Received: from mail.cruzio.com (localhost [127.0.0.1]) by cruzio.com (8.12.10/8.12.10) with ESMTP id i5F4mpF3001303; Mon, 14 Jun 2004 21:48:51 -0700 (PDT) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.12.10/8.12.10/Submit) id i5F4mprK001302; Mon, 14 Jun 2004 21:48:51 -0700 (PDT) (envelope-from brucem) Date: Mon, 14 Jun 2004 21:48:51 -0700 (PDT) From: "Bruce R. Montague" Message-Id: <200406150448.i5F4mprK001302@mail.cruzio.com> To: freebsd-small@freebsd.org cc: non_secure@yahoo.com Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 04:48:10 -0000 Hi, re: > I would like to fit a FreeBSD 4.10 system (not pico or > anything like that) onto a 16 megabyte IDE flash drive. and > I thought there was some kind of elegant mechanism > where you could edit make.conf or something, ... You may be thinking of nanobsd in the -CURRENT tools: /usr/src/tools/tools/nanobsd (no doc but the source (makefile really) is pretty simple.) See also: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2782+0+archive/2004/freebsd-small/20040314.freebsd-small And perhaps also the discussion on: http://docs.freebsd.org/mail/archive/2004/freebsd-small/20040314.freebsd-small.html - bruce From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 04:57:46 2004 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 7893616A4CE for ; Tue, 15 Jun 2004 04:57:46 +0000 (GMT) Received: from cruzio.com (dsl3-63-249-85-132.cruzio.com [63.249.85.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E81143D4C for ; Tue, 15 Jun 2004 04:57:46 +0000 (GMT) (envelope-from brucem@mail.cruzio.com) Received: from mail.cruzio.com (localhost [127.0.0.1]) by cruzio.com (8.12.10/8.12.10) with ESMTP id i5F4v9F3001333; Mon, 14 Jun 2004 21:57:09 -0700 (PDT) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.12.10/8.12.10/Submit) id i5F4v9TU001332; Mon, 14 Jun 2004 21:57:09 -0700 (PDT) (envelope-from brucem) Date: Mon, 14 Jun 2004 21:57:09 -0700 (PDT) From: "Bruce R. Montague" Message-Id: <200406150457.i5F4v9TU001332@mail.cruzio.com> To: freebsd-small@freebsd.org cc: non_secure@yahoo.com Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 04:57:46 -0000 Hi, re: > I thought there was some kind of elegant mechanism > where you could edit make.conf or something, ... Another thing that you might have in mind here is the "/etc/defaults/make.conf" file that has: To avoid building various parts of the base system: #NO_CVS= true # do not build CVS #NO_BIND= true # do not build BIND #NO_FORTRAN= true # do not build g77 and related libraries #NO_I4B= true # do not build isdn4bsd package #NO_IPFILTER= true # do not build IP Filter package #NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_OBJC= true # do not build Objective C support #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH) #NO_SENDMAIL= true # do not build sendmail and related programs #NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs #NO_TCSH= true # do not build and install /bin/csh (which is tcsh) #NO_X= true # do not compile in XWindows support (e.g. doscmd) #NOCRYPT= true # do not build any crypto code #NOGAMES= true # do not build games (games/ subdir) #NOINFO= true # do not make or install info files #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOMAN= true # do not build manual pages #NOPERL= true # do not build perl. Disables OpenSSL optimizations #NOPROFILE= true # Avoid compiling profiled libraries #NOSECURE= true # do not build crypto code in secure/ subdir #NOSHARE= true # do not go into the share subdir #NOUUCP= true # do not build uucp related programs - bruce From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 05:25:21 2004 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 1868B16A4E4 for ; Tue, 15 Jun 2004 05:25:21 +0000 (GMT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC39A43D5C for ; Tue, 15 Jun 2004 05:25:19 +0000 (GMT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id i5F5PCL8081775; Tue, 15 Jun 2004 15:25:12 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Tue, 15 Jun 2004 15:25:12 +1000 Received: from [10.0.17.42] (wstaylorm.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id B89F63F0F; Tue, 15 Jun 2004 15:25:11 +1000 (EST) From: Murray Taylor To: Joe Schmoe In-Reply-To: <20040615040428.27513.qmail@web53301.mail.yahoo.com> References: <20040615040428.27513.qmail@web53301.mail.yahoo.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1087277110.34774.58.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 15 Jun 2004 15:25:11 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-small@freebsd.org cc: Murray Taylor Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 05:25:21 -0000 On Tue, 2004-06-15 at 14:04, Joe Schmoe wrote: > > Murray Taylor wrote: > Google for minibsd > > http://neon1.net/misc/minibsd.html > > I have used miniBSD as a firewall box on an Advantech WEB-2143 > quite successfully > > mjt > > > Thanks - this is interesting. However, this is still somewhat > of a brute force method for piecing things together - I > thought there was some kind of elegant mechanism where you > could edit make.conf or something, so that when you did a make > world, it would skip the components that you didn't want to - > and you could control it with much more granularity than you > can in the custom menu in sysinstall ... does this sound > familiar at all ? > > > > That is, forget that I am doing solid state / flash at all - > what is the correct way to install FreeBSD without things like > ppp, isdn, and other pieces of the _base_ system that you > don't want ? > > > > thanks. Not that I am aware of... But if you start with /etc, /bin and /sbin you are probably on the right track see man hier(7) cheers mjt -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- **************************************************************** This Email has been scanned for Viruses by MailMarshal. **************************************************************** From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 07:32:52 2004 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 F000716A4CE for ; Tue, 15 Jun 2004 07:32:52 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id E888A43D2D for ; Tue, 15 Jun 2004 07:32:50 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5F7WGNf093003; Tue, 15 Jun 2004 09:32:16 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5F7WHv9020146; Tue, 15 Jun 2004 09:32:17 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.12.10/8.12.10/Submit) id i5F7WH2U020145; Tue, 15 Jun 2004 09:32:17 +0200 (CEST) (envelope-from ftigeot) Date: Tue, 15 Jun 2004 09:32:17 +0200 From: Francois Tigeot To: Joe Schmoe Message-ID: <20040615073217.GA20038@aoi.wolfpond.org> References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040615040428.27513.qmail@web53301.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 07:32:53 -0000 On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: > > Murray Taylor wrote: > Google for minibsd > > http://neon1.net/misc/minibsd.html > > Thanks - this is interesting. However, this is still somewhat of a brute force method for piecing things together - I thought there was some kind of elegant mechanism where you could edit make.conf or something, so that when you did a make world, it would skip the components that you didn't want to - and you could control it with much more granularity than you can in the custom menu in sysinstall ... does this sound familiar at all ? > > That is, forget that I am doing solid state / flash at all - what is the correct way to install FreeBSD without things like ppp, isdn, and other pieces of the _base_ system that you don't want ? You have to edit /etc/make.conf and add NO_xxx lines in it (look in /usr/share/examples/etc/make.conf). In addition, I use custom CFLAGS when possible. Sometimes -Os produces broken code (X11 comes to mind). My /etc/make.conf looks like this: CFLAGS=-Os -march=c3 -fno-strict-aliasing -pipe NO_ACPI=yes NO_CVS=true [more NO_xxx lines] I then install the new world in a separate directory: make world DESTDIR=/itx But even though this procedure gives a minimal system, it is too big for my requirements (FreeBSD + X11 + rdesktop in 16MB). I am still forced to pick and choose components by hand. -- Francois Tigeot From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 08:00:23 2004 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 6B41116A4D0 for ; Tue, 15 Jun 2004 08:00:23 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 653CE43D45 for ; Tue, 15 Jun 2004 08:00:22 +0000 (GMT) (envelope-from klaudiu@terrasat.ro) Received: (qmail 15200 invoked by uid 89); 15 Jun 2004 07:58:47 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 15 Jun 2004 07:58:47 -0000 Received: (qmail 20465 invoked from network); 15 Jun 2004 07:46:18 -0000 Received: from unknown (HELO terrasat.ro) (81.196.205.202) by mail.rdsnet.ro with SMTP; 15 Jun 2004 07:46:18 -0000 Message-ID: <40CEA91C.2010301@terrasat.ro> Date: Tue, 15 Jun 2004 10:45:32 +0300 From: Claudiu Chirita User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Francois Tigeot References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040615073217.GA20038@aoi.wolfpond.org> In-Reply-To: <20040615073217.GA20038@aoi.wolfpond.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 08:00:23 -0000 I think you need this: http://www.thinbsd.org/ Francois Tigeot wrote: > On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: > >>Murray Taylor wrote: >>Google for minibsd >> >>http://neon1.net/misc/minibsd.html >> >>Thanks - this is interesting. However, this is still somewhat of a brute force method for piecing things together - I thought there was some kind of elegant mechanism where you could edit make.conf or something, so that when you did a make world, it would skip the components that you didn't want to - and you could control it with much more granularity than you can in the custom menu in sysinstall ... does this sound familiar at all ? >> >>That is, forget that I am doing solid state / flash at all - what is the correct way to install FreeBSD without things like ppp, isdn, and other pieces of the _base_ system that you don't want ? > > > You have to edit /etc/make.conf and add NO_xxx lines in it (look in > /usr/share/examples/etc/make.conf). > > In addition, I use custom CFLAGS when possible. Sometimes -Os produces > broken code (X11 comes to mind). > > My /etc/make.conf looks like this: > > CFLAGS=-Os -march=c3 -fno-strict-aliasing -pipe > NO_ACPI=yes > NO_CVS=true > [more NO_xxx lines] > > I then install the new world in a separate directory: > > make world DESTDIR=/itx > > But even though this procedure gives a minimal system, it is too big > for my requirements (FreeBSD + X11 + rdesktop in 16MB). I am still forced > to pick and choose components by hand. > From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 08:44:25 2004 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 DF48A16A4CE for ; Tue, 15 Jun 2004 08:44:25 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8061543D46 for ; Tue, 15 Jun 2004 08:44:23 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5F8gqNf093285; Tue, 15 Jun 2004 10:42:52 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5F8grv9020469; Tue, 15 Jun 2004 10:42:53 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.12.10/8.12.10/Submit) id i5F8grj0020468; Tue, 15 Jun 2004 10:42:53 +0200 (CEST) (envelope-from ftigeot) Date: Tue, 15 Jun 2004 10:42:53 +0200 From: Francois Tigeot To: Claudiu Chirita Message-ID: <20040615084253.GB20038@aoi.wolfpond.org> References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040615073217.GA20038@aoi.wolfpond.org> <40CEA91C.2010301@terrasat.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40CEA91C.2010301@terrasat.ro> User-Agent: Mutt/1.4.2.1i cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 08:44:26 -0000 On Tue, Jun 15, 2004 at 10:45:32AM +0300, Claudiu Chirita wrote: > I think you need this: > > http://www.thinbsd.org/ I am one of the guys working in this project :-) -- Francois Tigeot From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 09:06:50 2004 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 7519916A4CE for ; Tue, 15 Jun 2004 09:06:50 +0000 (GMT) Received: from av6-1-sn3.vrr.skanova.net (av6-1-sn3.vrr.skanova.net [81.228.9.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id C711E43D41 for ; Tue, 15 Jun 2004 09:06:49 +0000 (GMT) (envelope-from martin@mullet.se) Received: by av6-1-sn3.vrr.skanova.net (Postfix, from userid 502) id B011C3802E; Tue, 15 Jun 2004 11:06:31 +0200 (CEST) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av6-1-sn3.vrr.skanova.net (Postfix) with ESMTP id A342E37E63; Tue, 15 Jun 2004 11:06:31 +0200 (CEST) Received: from [192.168.2.10] (h118n1fls31o985.telia.com [213.65.16.118]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id DF55037F22; Tue, 15 Jun 2004 11:06:30 +0200 (CEST) Message-ID: <40CEBC17.9050602@mullet.se> Date: Tue, 15 Jun 2004 11:06:31 +0200 From: Martin Nilsson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: freebsd-small@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: ThinBSD with other videodriver 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: Tue, 15 Jun 2004 09:06:50 -0000 Hi, I installed thinbsd on to a flash card yesterday only to find that I had a trident Cyberblade video in my tiny diskless client. What is the best way to change the driver? Are only the via driver compiled and included in mfsroot.gz ? I found a reference to the via driver in one configure script in the Xorg port, can i just change this to trident and build a new Xserver? There should be some convenient way to change the video driver and Xconfig file (for instance, I have a swedish keyboard, not a french!). Maybe it would be better to have a more complete Xserver available and then just pick the parts that are needed and put them into mfsroot. Also if booting by PXE are there some way to specify differenet mfsroot files depending on the device booting, I have many different kinds of thin clients available. Thanks for a good start, I already like ThinBSD much better than PXEs linux! /Martin -- Martin Nilsson, CTO & Founder, Mullet Scandinavia AB, Malmö, SWEDEN E-mail: martin@mullet.se, Phone: +46-(0)708-606170, Web: www.mullet.se Our business is well engineered servers optimised for FreeBSD & Linux From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 09:13:30 2004 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 F15A716A4CE for ; Tue, 15 Jun 2004 09:13:30 +0000 (GMT) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8832943D1D for ; Tue, 15 Jun 2004 09:13:28 +0000 (GMT) (envelope-from dirkx@asemantics.com) Received: from [10.11.0.203] (fia193-115-100.dsl.hccnet.nl [80.100.115.193]) (authenticated bits=0)i5F93lam067690 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 15 Jun 2004 02:03:51 -0700 (PDT) (envelope-from dirkx@asemantics.com) In-Reply-To: <20040615084253.GB20038@aoi.wolfpond.org> References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040615073217.GA20038@aoi.wolfpond.org> <40CEA91C.2010301@terrasat.ro> <20040615084253.GB20038@aoi.wolfpond.org> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2C631E10-BEAC-11D8-AC78-000A95CDA38A@asemantics.com> Content-Transfer-Encoding: 7bit From: Dirk-Willem van Gulik Date: Tue, 15 Jun 2004 11:12:49 +0200 To: Francois Tigeot X-Mailer: Apple Mail (2.618) cc: freebsd-small@freebsd.org Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Tue, 15 Jun 2004 09:13:31 -0000 On Jun 15, 2004, at 10:42 AM, Francois Tigeot wrote: > On Tue, Jun 15, 2004 at 10:45:32AM +0300, Claudiu Chirita wrote: >> I think you need this: >> >> http://www.thinbsd.org/ > > I am one of the guys working in this project :-) > http://wleiden.webweaving.org:8080/svn/node-config/factory -> install/make-cf.sh is another example. Dw From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 11:54:09 2004 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 0813C16A4CE for ; Tue, 15 Jun 2004 11:54:09 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8871443D49 for ; Tue, 15 Jun 2004 11:54:07 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5FBrdNf095380; Tue, 15 Jun 2004 13:53:40 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5FBrfv9021000; Tue, 15 Jun 2004 13:53:41 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.12.10/8.12.10/Submit) id i5FBrfGs020999; Tue, 15 Jun 2004 13:53:41 +0200 (CEST) (envelope-from ftigeot) Date: Tue, 15 Jun 2004 13:53:41 +0200 From: Francois Tigeot To: Martin Nilsson Message-ID: <20040615115341.GA20812@aoi.wolfpond.org> References: <40CEBC17.9050602@mullet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40CEBC17.9050602@mullet.se> User-Agent: Mutt/1.4.2.1i cc: thinbsd@cogidis.com cc: freebsd-small@freebsd.org Subject: Re: ThinBSD with other videodriver 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: Tue, 15 Jun 2004 11:54:09 -0000 Hi, On Tue, Jun 15, 2004 at 11:06:31AM +0200, Martin Nilsson wrote: > > I installed thinbsd on to a flash card yesterday only to find that I had > a trident Cyberblade video in my tiny diskless client. > > What is the best way to change the driver? Are only the via driver > compiled and included in mfsroot.gz ? > I found a reference to the via driver in one configure script in the > Xorg port, can i just change this to trident and build a new Xserver? Yes, you should do this. This line overrides the XF86CardDrivers line in xc/config/cf/xorg.cf in the X11 sources; the complete list of drivers can be found there. You will also have to replace "via" by "trident" in xorg.conf. > There should be some convenient way to change the video driver and > Xconfig file (for instance, I have a swedish keyboard, not a french!). > Maybe it would be better to have a more complete Xserver available and > then just pick the parts that are needed and put them into mfsroot. The server should be fairly complete, but in my quest to reduce X footprint to a minimum I removed all video drivers but one. You should try to add 'trident' to the XF86CardDrivers line, recompile the port and replace /usr/X11R6 in the ramdisk by the new files in /var/tmp/Xorg-thinbsd For the keyboard part, this is purely a matter of configuration. Edit /etc/X11/xorg.conf in the ramdisk and replace "fr" in the line containing "XkbLayout" by "se". > Also if booting by PXE are there some way to specify differenet mfsroot > files depending on the device booting, I have many different kinds of > thin clients available. There isn't. This is on my TODO list, but I haven't found a good way to do it yet. > Thanks for a good start, I already like ThinBSD much better than PXEs linux! You're welcome :) We originally started ThinBSD because we didn't find the existing projects satisfactory... I will try to recompile Xorg-thinbsd with both via and trident drivers; if the new X server is not too big, I will update the binary snapshots. -- Francois Tigeot From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 13:42:36 2004 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 728E616A4CE for ; Tue, 15 Jun 2004 13:42:36 +0000 (GMT) Received: from math.univ-mlv.fr (math.univ-mlv.fr [193.55.63.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A94743D45 for ; Tue, 15 Jun 2004 13:42:35 +0000 (GMT) (envelope-from David.Delavennat@univ-mlv.fr) Received: from [10.1.34.51] (umr8050m01.univ-mlv.fr [10.1.34.51]) by math.univ-mlv.fr (8.12.1/8.12.1) with ESMTP id i5FDgRZa029834; Tue, 15 Jun 2004 15:42:27 +0200 Message-ID: <40CEFDBC.8000108@univ-mlv.fr> Date: Tue, 15 Jun 2004 15:46:36 +0200 From: David DELAVENNAT User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Francois Tigeot References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> In-Reply-To: <20040615115341.GA20812@aoi.wolfpond.org> X-Enigmail-Version: 0.84.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: Martin Nilsson cc: thinbsd@cogidis.com cc: freebsd-small@freebsd.org Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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: Tue, 15 Jun 2004 13:42:36 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Francois Tigeot wrote: | Hi, | | On Tue, Jun 15, 2004 at 11:06:31AM +0200, Martin Nilsson wrote: | |> I installed thinbsd on to a flash card yesterday only to find |> that I had a trident Cyberblade video in my tiny diskless client. |> |> what flash card did you use? on the todo list we have the flashboot faq :) |> Thanks for a good start, I already like ThinBSD much better than |> PXEs linux! us too | I will try to recompile Xorg-thinbsd with both via and trident | drivers; if the new X server is not too big, I will update the | binary snapshots. as it is done with pexes project maybe we could write a config script that put in the ramdisk only the drivers needed for a specific configuration. better than see the ramdisk grow to support every thinclient hardware in the world. something like the openbsd installer that config the keyboard, drivers, etc... - -- Cordialement / Best regards David DELAVENNAT Ingénieur Réseaux - Systèmes Laboratoire d'Analyse et de Mathématiques Appliquées UMR CNRS 8050 - Bureau 4b123 - Université de Marne-la-Vallée 5, boulevard Descartes - Cité Descartes Champs-sur-Marne - 77454 Marne-la-Vallée Tel: 01.60.95.75.38 Fax: 01.60.95.75.45 web: http://umr-math.univ-mlv.fr/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFAzv27LuwFCQvLpcERAoCXAJwIxoT59xwYfg2p3NzhVuFnOLRCJgCgjEIz iaA3gxo2X9vXtZyd2XbPZ9M= =vGnY -----END PGP SIGNATURE----- From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 15:04:51 2004 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 16B4416A4CE for ; Tue, 15 Jun 2004 15:04:51 +0000 (GMT) Received: from av9-2-sn3.vrr.skanova.net (av9-2-sn3.vrr.skanova.net [81.228.9.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB0F543D45 for ; Tue, 15 Jun 2004 15:04:50 +0000 (GMT) (envelope-from martin@mullet.se) Received: by av9-2-sn3.vrr.skanova.net (Postfix, from userid 502) id BEC9B37E44; Tue, 15 Jun 2004 17:04:33 +0200 (CEST) Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av9-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 332E8380B1; Tue, 15 Jun 2004 17:04:33 +0200 (CEST) Received: from [192.168.2.10] (h118n1fls31o985.telia.com [213.65.16.118]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 7561E37F19; Tue, 15 Jun 2004 16:47:18 +0200 (CEST) Message-ID: <40CF0BF8.3040206@mullet.se> Date: Tue, 15 Jun 2004 16:47:20 +0200 From: Martin Nilsson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: David DELAVENNAT References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> <40CEFDBC.8000108@univ-mlv.fr> In-Reply-To: <40CEFDBC.8000108@univ-mlv.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: thinbsd@cogidis.com cc: freebsd-small@freebsd.org Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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: Tue, 15 Jun 2004 15:04:51 -0000 David DELAVENNAT wrote: > |> I installed thinbsd on to a flash card yesterday only to find > |> that I had a trident Cyberblade video in my tiny diskless client. > |> > |> > what flash card did you use? > on the todo list we have the flashboot faq :) The machine I used have a motherboard similar to this one: http://web.lex.com.tw:7777/cv860a.htm The flash I used was just an 256MB CF card that were available. How to install ThinBSD on flash. 1. Boot the FreeBSD cdrom on the machine with installed CF card. 2. In sysinstall goto Configure->label & fdisk. Crete one partition on the flash, set it bootable, newfs and write the changes (you have to also make a small swap partition, make it 1MB we won't use it) 3. exit & reboot. 4. put the flash in a box with a real running FreeBSD. If you using a CF card an USB card reader is useful. mount it under /mnt and cd there. untar boot-xxx.tar.gz move the kernel from /mnt/boot/kernel/kernel to /mnt and also put mfsroot.gz in /mnt (not in boot as for PXE install) 5. unmount and put flash in your thin computer and see it fly. The sysinstall part could probably be made a lot easier by calling fdisk & disklabel directly from a script but the above was the way I knew would work. > as it is done with pexes project maybe we could write a config script > that put in the ramdisk only the drivers needed > for a specific configuration. better than see the ramdisk grow to > support every thinclient hardware in the world. > something like the openbsd installer that config the keyboard, > drivers, etc... Having a smorgasbord of compiled binaries for different programs, drivers etc to choose from when creating the mfsroot would probably be smart. A small script could then ask which ones to include on the ramdisk. /Martin -- Martin Nilsson, CTO & Founder, Mullet Scandinavia AB, Malmö, SWEDEN E-mail: martin@mullet.se, Phone: +46-(0)708-606170, Web: www.mullet.se Our business is well engineered servers optimised for FreeBSD & Linux From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 02:10:08 2004 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 9BD3916A4CE for ; Wed, 16 Jun 2004 02:10:08 +0000 (GMT) Received: from freebie.dcfinc.com (freebie.dcfinc.com [205.159.99.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 699D343D1D for ; Wed, 16 Jun 2004 02:10:08 +0000 (GMT) (envelope-from chad@DCFinc.com) Received: from freebie.dcfinc.com (chad@localhost.dcfinc.com [127.0.0.1]) by freebie.dcfinc.com (8.12.9p2/8.12.9) with ESMTP id i5G29VCl072696; Tue, 15 Jun 2004 19:09:31 -0700 (MST) (envelope-from chad@freebie.dcfinc.com) Received: (from chad@localhost) by freebie.dcfinc.com (8.12.9p2/8.12.9/Submit) id i5G29U1X072695; Tue, 15 Jun 2004 19:09:30 -0700 (MST) (envelope-from chad) Date: Tue, 15 Jun 2004 19:09:30 -0700 From: "Chad R. Larson" To: Joe Schmoe Message-ID: <20040616020930.GA72483@freebie.dcfinc.com> References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040615040428.27513.qmail@web53301.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-small@freebsd.org cc: Murray Taylor Subject: Re: Paring down a FreeBSD system for flash drive use ? 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 Jun 2004 02:10:08 -0000 On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: > > Murray Taylor wrote: > Google for minibsd > > http://neon1.net/misc/minibsd.html > > I have used miniBSD as a firewall box on an Advantech WEB-2143 > quite successfully Another thing to consider is that the FreeBSD 4.x kernel is quite a bit bigger than in the old days. Bloat seems like entropy, inevitable without constant care. Since most embedded systems are not going to need SMP, nor the advanced virtual memory systems (no disk--no swap), you might rather build your system starting with perhaps a 2.2.8 system. -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@DCFinc.com chad@larsons.org larson1@home.com DCF, Inc. - 1701 East Colter Street, Phoenix, Arizona 85016-3381 From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 03:40:48 2004 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 0470F16A4CE for ; Wed, 16 Jun 2004 03:40:48 +0000 (GMT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76F3B43D53 for ; Wed, 16 Jun 2004 03:40:46 +0000 (GMT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id i5G3eVL8095358; Wed, 16 Jun 2004 13:40:32 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Wed, 16 Jun 2004 13:40:31 +1000 Received: from [10.0.17.42] (wstaylorm.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id C08FA3F0F; Wed, 16 Jun 2004 13:40:24 +1000 (EST) From: Murray Taylor To: "Chad R. Larson" In-Reply-To: <20040616020930.GA72483@freebie.dcfinc.com> References: <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040616020930.GA72483@freebie.dcfinc.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 16 Jun 2004 13:40:24 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-small@freebsd.org cc: Joe Schmoe cc: Murray Taylor Subject: Re: Paring down a FreeBSD system for flash drive use ? 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 Jun 2004 03:40:48 -0000 On Wed, 2004-06-16 at 12:09, Chad R. Larson wrote: > On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: > > > > Murray Taylor wrote: > > Google for minibsd > > > > http://neon1.net/misc/minibsd.html > > > > I have used miniBSD as a firewall box on an Advantech WEB-2143 > > quite successfully > > Another thing to consider is that the FreeBSD 4.x kernel is quite a > bit bigger than in the old days. Bloat seems like entropy, > inevitable without constant care. Since most embedded systems are > not going to need SMP, nor the advanced virtual memory systems (no > disk--no swap), you might rather build your system starting with > perhaps a 2.2.8 system. > > -crl FWIW Im using FreeBSD 4.7 in a 32MB Compact Flash card ... df -h says I'm using 47% of the CF card... mjt -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- **************************************************************** This Email has been scanned for Viruses by MailMarshal. **************************************************************** From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 05:45:48 2004 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 3E72C16A4CE for ; Wed, 16 Jun 2004 05:45:48 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7BB843D4C for ; Wed, 16 Jun 2004 05:45:47 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i5G5it3d016621; Tue, 15 Jun 2004 23:44:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 15 Jun 2004 23:45:08 -0600 (MDT) Message-Id: <20040615.234508.12220305.imp@bsdimp.com> To: murraytaylor@bytecraftsystems.com From: "M. Warner Losh" In-Reply-To: <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> References: <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040616020930.GA72483@freebie.dcfinc.com> <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: chad@dcfinc.com cc: freebsd-small@freebsd.org cc: non_secure@yahoo.com cc: taylorm@bytecraft.au.com Subject: Re: Paring down a FreeBSD system for flash drive use ? 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 Jun 2004 05:45:48 -0000 In message: <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> Murray Taylor writes: : On Wed, 2004-06-16 at 12:09, Chad R. Larson wrote: : > On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: : > > : > > Murray Taylor wrote: : > > Google for minibsd : > > : > > http://neon1.net/misc/minibsd.html : > > : > > I have used miniBSD as a firewall box on an Advantech WEB-2143 : > > quite successfully : > : > Another thing to consider is that the FreeBSD 4.x kernel is quite a : > bit bigger than in the old days. Bloat seems like entropy, : > inevitable without constant care. Since most embedded systems are : > not going to need SMP, nor the advanced virtual memory systems (no : > disk--no swap), you might rather build your system starting with : > perhaps a 2.2.8 system. : > : > -crl : : FWIW : Im using FreeBSD 4.7 in a 32MB Compact Flash card ... : : df -h says I'm using 47% of the CF card... Bah! I've made 4.5 bootable CF's using only 9MB of my 16MB flash... 47% of 32 is 15MB :-). Of course that's w/o X. The 3.4 based system was only about 1MB smaller. I do it by not trusting installworld. It installs way too much, so instead, I have a list of directories to install and a glue script. I'm currently adapting things to 5.x and hope to make it less TSC specific. Warner From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 05:54:03 2004 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 140B716A4CE for ; Wed, 16 Jun 2004 05:54:03 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE16643D5C for ; Wed, 16 Jun 2004 05:54:02 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i5G5qvJ0016828; Tue, 15 Jun 2004 23:52:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 15 Jun 2004 23:53:10 -0600 (MDT) Message-Id: <20040615.235310.29962573.imp@bsdimp.com> To: murraytaylor@bytecraftsystems.com From: "M. Warner Losh" In-Reply-To: <20040615.234508.12220305.imp@bsdimp.com> References: <20040616020930.GA72483@freebie.dcfinc.com> <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615.234508.12220305.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: chad@dcfinc.com cc: freebsd-small@freebsd.org cc: non_secure@yahoo.com cc: taylorm@bytecraft.au.com Subject: Re: Paring down a FreeBSD system for flash drive use ? 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 Jun 2004 05:54:03 -0000 In message: <20040615.234508.12220305.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> : Murray Taylor writes: : : On Wed, 2004-06-16 at 12:09, Chad R. Larson wrote: : : > On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: : : > > : : > > Murray Taylor wrote: : : > > Google for minibsd : : > > : : > > http://neon1.net/misc/minibsd.html : : > > : : > > I have used miniBSD as a firewall box on an Advantech WEB-2143 : : > > quite successfully : : > : : > Another thing to consider is that the FreeBSD 4.x kernel is quite a : : > bit bigger than in the old days. Bloat seems like entropy, : : > inevitable without constant care. Since most embedded systems are : : > not going to need SMP, nor the advanced virtual memory systems (no : : > disk--no swap), you might rather build your system starting with : : > perhaps a 2.2.8 system. : : > : : > -crl : : : : FWIW : : Im using FreeBSD 4.7 in a 32MB Compact Flash card ... : : : : df -h says I'm using 47% of the CF card... : : Bah! I've made 4.5 bootable CF's using only 9MB of my 16MB flash... : 47% of 32 is 15MB :-). Of course that's w/o X. The 3.4 based system : was only about 1MB smaller. : : I do it by not trusting installworld. It installs way too much, so : instead, I have a list of directories to install and a glue script. : I'm currently adapting things to 5.x and hope to make it less TSC : specific. In addition, we try to not install GPL programs, which is harder to do without an explicit list of directories to install.... Hmmm, maybe installworld needs a NO_GPL flag :-) Warner From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 06:50:15 2004 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 1700D16A4CE for ; Wed, 16 Jun 2004 06:50:15 +0000 (GMT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E647243D41 for ; Wed, 16 Jun 2004 06:50:13 +0000 (GMT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id i5G6ncL8098427; Wed, 16 Jun 2004 16:49:38 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Wed, 16 Jun 2004 16:49:38 +1000 Received: from [10.0.17.42] (wstaylorm.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id 93DAF3F0F; Wed, 16 Jun 2004 16:49:36 +1000 (EST) From: Murray Taylor To: "M. Warner Losh" In-Reply-To: <20040615.235310.29962573.imp@bsdimp.com> References: <20040616020930.GA72483@freebie.dcfinc.com> <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615.234508.12220305.imp@bsdimp.com> <20040615.235310.29962573.imp@bsdimp.com> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1087368575.35868.21.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 16 Jun 2004 16:49:35 +1000 Content-Transfer-Encoding: 7bit cc: chad@dcfinc.com cc: freebsd-small@freebsd.org cc: non_secure@yahoo.com cc: taylorm@bytecraft.au.com Subject: Re: Paring down a FreeBSD system for flash drive use ? 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 Jun 2004 06:50:15 -0000 On Wed, 2004-06-16 at 15:53, M. Warner Losh wrote: > In message: <20040615.234508.12220305.imp@bsdimp.com> > "M. Warner Losh" writes: > : In message: <1087357223.35868.4.camel@wstaylorm.dand06.au.bytecraft.au.com> > : Murray Taylor writes: > : : On Wed, 2004-06-16 at 12:09, Chad R. Larson wrote: > : : > On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote: > : : > > > : : > > Murray Taylor wrote: > : : > > Google for minibsd > : : > > > : : > > http://neon1.net/misc/minibsd.html > : : > > > : : > > I have used miniBSD as a firewall box on an Advantech WEB-2143 > : : > > quite successfully > : : > > : : > Another thing to consider is that the FreeBSD 4.x kernel is quite a > : : > bit bigger than in the old days. Bloat seems like entropy, > : : > inevitable without constant care. Since most embedded systems are > : : > not going to need SMP, nor the advanced virtual memory systems (no > : : > disk--no swap), you might rather build your system starting with > : : > perhaps a 2.2.8 system. > : : > > : : > -crl > : : > : : FWIW > : : Im using FreeBSD 4.7 in a 32MB Compact Flash card ... > : : > : : df -h says I'm using 47% of the CF card... > : > : Bah! I've made 4.5 bootable CF's using only 9MB of my 16MB flash... > : 47% of 32 is 15MB :-). Of course that's w/o X. The 3.4 based system > : was only about 1MB smaller. > : > : I do it by not trusting installworld. It installs way too much, so > : instead, I have a list of directories to install and a glue script. > : I'm currently adapting things to 5.x and hope to make it less TSC > : specific. > > In addition, we try to not install GPL programs, which is harder to do > without an explicit list of directories to install.... Hmmm, maybe > installworld needs a NO_GPL flag :-) > > Warner Ok ok so I'm only a green belt wizard who is more than happy with the vanilla flavour that I create .... ;-p (and no I dont have X installed (yet) on the CF) All I did was follow the miniBSD instructions from the site mentioned above then stirred up the stuff necessary to create the bridge firewall and network monitor. Having bashed picoBSD around several years ago, I am much happier with the miniBSD structure as all the standard programs are there _unmodified_. Many is the time in picoBSD land when I have gone - 'If only option -x was in the build of this utility!!' or 'Aghh - where's when you want it" mjt -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- **************************************************************** This Email has been scanned for Viruses by MailMarshal. **************************************************************** From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 07:17:31 2004 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 2334616A4CE for ; Wed, 16 Jun 2004 07:17:31 +0000 (GMT) Received: from mail.u4eatech.com (blackhole.u4eatech.com [195.188.241.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C0243D5C for ; Wed, 16 Jun 2004 07:17:30 +0000 (GMT) (envelope-from richard.williamson@u4eatech.com) Received: by mail.u4eatech.com (Postfix, from userid 503) id 096F136047C; Wed, 16 Jun 2004 08:17:14 +0100 (BST) Received: from apus.u4eatech.com (apus.degree2.com [172.30.40.129]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mail.u4eatech.com (Postfix) with ESMTP id 333FC360469; Wed, 16 Jun 2004 08:17:06 +0100 (BST) Message-Id: <6.1.1.1.2.20040616080628.027a8bd0@cygnus> X-Sender: richard@cygnus X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 Date: Wed, 16 Jun 2004 08:18:29 +0100 To: Martin Nilsson , freebsd-small@freebsd.org From: "Richard P. Williamson" In-Reply-To: <40CF0BF8.3040206@mullet.se> References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> <40CEFDBC.8000108@univ-mlv.fr> <40CF0BF8.3040206@mullet.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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 Jun 2004 07:17:31 -0000 At 15:47 15/06/2004. Martin Nilsson had this to say: >The sysinstall part could probably be made a lot easier by calling fdisk & disklabel directly from a script but the above was the way I knew would work. I did do it from scripts. Unless you understand the ins and outs of disklabel et al., it can be quite painful trying to figure out what you need to get it working. For the simplicity, if I were doing a FAQ on this, I would say 'use sysinstall unless you can quote the disklabel and newfs manpages verbatim from memory' >>as it is done with pexes project maybe we could write a config script >>that put in the ramdisk only the drivers needed >>for a specific configuration. better than see the ramdisk grow to >>support every thinclient hardware in the world. >>something like the openbsd installer that config the keyboard, >>drivers, etc... > >Having a smorgasbord of compiled binaries for different programs, drivers etc to choose from when creating the mfsroot would probably be smart. A small script could then ask which ones to include on the ramdisk. lld is also a friend here, because you can ldd your binaries to find out which shared libs are required for the binaries on the ramdisk. Which means you can dump any that aren't and save the space. rip From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 07:45:45 2004 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 31EE316A4CE for ; Wed, 16 Jun 2004 07:45:45 +0000 (GMT) Received: from ldap1.csp.thesmbexchange.com (ldap.boxitllc.com [66.238.112.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E50343D48 for ; Wed, 16 Jun 2004 07:45:43 +0000 (GMT) (envelope-from helmut@zeebar.com) Received: (qmail 27863 invoked from network); 16 Jun 2004 00:44:59 -0700 Received: from unknown (HELO phred) (helmut@zeebar.com@[24.68.201.28]) (envelope-sender ) by 0 (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 16 Jun 2004 00:44:59 -0700 Message-ID: <002201c45375$d1beadb0$4501a8c0@phred> From: "Helmut Hissen" To: Date: Wed, 16 Jun 2004 00:44:56 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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 Jun 2004 07:45:45 -0000 yes, disklabel and fdisk can be painful. I found dd if=3D/dev/null = of=3Dour partition/disk useful at times. =20 I did a dependency graph for most of FreeBSD libs, binaries, and etc = files once for a personal project (SlimDevices server) and fit everyhing = including ssh2d, dhclient, and perl, tcl, and most file utilities = stuffed into a few MB kernel using homebrew scripts and crunch. Its really silly how much crap there is on the average system disk, even = in FreeBSD, tho it is much tighter than the others. Kudos to the folks = maintaining the ports and releases since that little project gave me a = whole new appreciations for their ability to deal with dependencies. btw: Perl is a real pain to shrink down and in the end made up the = single largest chunk. Once you pull in perl, you pull in a whole bunch = of more random stuff you will never use. I suggest you use Tcl instead = if you can. cheers hh From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 07:59:14 2004 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 A991D16A4CE for ; Wed, 16 Jun 2004 07:59:14 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9630943D41 for ; Wed, 16 Jun 2004 07:59:11 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5G7wJNf000936; Wed, 16 Jun 2004 09:58:19 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5G7wRv9027032; Wed, 16 Jun 2004 09:58:27 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.12.10/8.12.10/Submit) id i5G7wPAv027029; Wed, 16 Jun 2004 09:58:25 +0200 (CEST) (envelope-from ftigeot) Date: Wed, 16 Jun 2004 09:58:25 +0200 From: Francois Tigeot To: Martin Nilsson Message-ID: <20040616075825.GB23345@aoi.wolfpond.org> References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> <40CEFDBC.8000108@univ-mlv.fr> <40CF0BF8.3040206@mullet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40CF0BF8.3040206@mullet.se> User-Agent: Mutt/1.4.2.1i cc: thinbsd@cogidis.com cc: freebsd-small@freebsd.org cc: David DELAVENNAT Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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 Jun 2004 07:59:14 -0000 On Tue, Jun 15, 2004 at 04:47:20PM +0200, Martin Nilsson wrote: > David DELAVENNAT wrote: > >|> I installed thinbsd on to a flash card yesterday only to find > >|> that I had a trident Cyberblade video in my tiny diskless client. > >|> > >what flash card did you use? > >on the todo list we have the flashboot faq :) > > The machine I used have a motherboard similar to this one: > http://web.lex.com.tw:7777/cv860a.htm > The flash I used was just an 256MB CF card that were available. > > How to install ThinBSD on flash. > 1. Boot the FreeBSD cdrom on the machine with installed CF card. > 2. In sysinstall goto Configure->label & fdisk. Crete one partition on > the flash, set it bootable, newfs and write the changes (you have to > also make a small swap partition, make it 1MB we won't use it) > > 3. exit & reboot. > > 4. put the flash in a box with a real running FreeBSD. > If you using a CF card an USB card reader is useful. > mount it under /mnt and cd there. > untar boot-xxx.tar.gz move the kernel from /mnt/boot/kernel/kernel to > /mnt and also put mfsroot.gz in /mnt (not in boot as for PXE install) > > 5. unmount and put flash in your thin computer and see it fly. This seems surprisingly easy. When we started the project, we thought about flash-based devices, but had not yet time to test them. It is good news to hear that they work almost out-of the box ! > The sysinstall part could probably be made a lot easier by calling fdisk > & disklabel directly from a script but the above was the way I knew > would work. > > >as it is done with pexes project maybe we could write a config script > >that put in the ramdisk only the drivers needed > >for a specific configuration. better than see the ramdisk grow to > >support every thinclient hardware in the world. > >something like the openbsd installer that config the keyboard, > >drivers, etc... > > Having a smorgasbord of compiled binaries for different programs, > drivers etc to choose from when creating the mfsroot would probably be > smart. A small script could then ask which ones to include on the ramdisk. Yes, this would be good. For the moment a good part of the work has to be done by hand. In the interim, I just put a new ramdisk image on the web site with support for the 'trident' driver. You will still have to edit xorg.conf to reflect your configuration, though. -- Francois Tigeot From owner-freebsd-small@FreeBSD.ORG Wed Jun 16 08:57:07 2004 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 557A116A4CE for ; Wed, 16 Jun 2004 08:57:07 +0000 (GMT) Received: from smtp5-sn1.fre.skanova.net (smtp5-sn1.fre.skanova.net [81.228.11.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E26E43D31 for ; Wed, 16 Jun 2004 08:57:06 +0000 (GMT) (envelope-from martin@mullet.se) Received: from av5-2-sn3.vrr.skanova.net (av5-2-sn3.vrr.skanova.net [81.228.9.114])i5G8tPVk003020 for ; Wed, 16 Jun 2004 10:55:25 +0200 Received: by av5-2-sn3.vrr.skanova.net (Postfix, from userid 502) id D5B6737F2E; Wed, 16 Jun 2004 10:54:54 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av5-2-sn3.vrr.skanova.net (Postfix) with ESMTP id C3BA637E42; Wed, 16 Jun 2004 10:54:54 +0200 (CEST) Received: from [192.168.2.10] (h118n1fls31o985.telia.com [213.65.16.118]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 1B4F437E4E; Wed, 16 Jun 2004 10:54:54 +0200 (CEST) Message-ID: <40D00ADD.9050002@mullet.se> Date: Wed, 16 Jun 2004 10:54:53 +0200 From: Martin Nilsson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: thinbsd@cogidis.com References: <40CEBC17.9050602@mullet.se> <20040615115341.GA20812@aoi.wolfpond.org> <40CEFDBC.8000108@univ-mlv.fr> <40CF0BF8.3040206@mullet.se> <20040616075825.GB23345@aoi.wolfpond.org> In-Reply-To: <20040616075825.GB23345@aoi.wolfpond.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-small@freebsd.org Subject: Re: [Thinbsd] Re: ThinBSD with other videodriver 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 Jun 2004 08:57:07 -0000 Francois Tigeot wrote: > When we started the project, we thought about flash-based devices, but had > not yet time to test them. > It is good news to hear that they work almost out-of the box ! With compliments to FreeBSD's advanced three stage bootloader things like this is very easy to do :-) The boot mechanism is one of the hidden gems in FreeBSD. > In the interim, I just put a new ramdisk image on the web site with > support for the 'trident' driver. You will still have to edit xorg.conf to > reflect your configuration, though. I've compiled a new a new Xserver and I'll see if I can get time to try it out this evening. I've also compiled a new rdesktop from their cvs repository I'd like to get redirection to a local printer working too so I can put these boxes in production. Printer & disk redirection is working nicely on my "normal" FreeBSD machines with rdesktop from cvs. /Martin -- Martin Nilsson, CTO & Founder, Mullet Scandinavia AB, Malmö, SWEDEN E-mail: martin@mullet.se, Phone: +46-(0)708-606170, Web: www.mullet.se Our business is well engineered servers optimised for FreeBSD & Linux From owner-freebsd-small@FreeBSD.ORG Fri Jun 18 00:40:22 2004 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 9101316A4CE for ; Fri, 18 Jun 2004 00:40:22 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1511443D55 for ; Fri, 18 Jun 2004 00:40:22 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i5I0besp043162; Thu, 17 Jun 2004 18:37:41 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 17 Jun 2004 18:37:58 -0600 (MDT) Message-Id: <20040617.183758.77321981.imp@bsdimp.com> To: murraytaylor@bytecraftsystems.com From: "M. Warner Losh" In-Reply-To: <1087368575.35868.21.camel@wstaylorm.dand06.au.bytecraft.au.com> References: <20040615.234508.12220305.imp@bsdimp.com> <20040615.235310.29962573.imp@bsdimp.com> <1087368575.35868.21.camel@wstaylorm.dand06.au.bytecraft.au.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: chad@dcfinc.com cc: freebsd-small@freebsd.org cc: non_secure@yahoo.com cc: taylorm@bytecraft.au.com Subject: Re: Paring down a FreeBSD system for flash drive use ? 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: Fri, 18 Jun 2004 00:40:22 -0000 In message: <1087368575.35868.21.camel@wstaylorm.dand06.au.bytecraft.au.com> Murray Taylor writes: : Ok ok so I'm only a green belt wizard who is more than happy with the : vanilla flavour that I create .... ;-p (and no I dont have X installed : (yet) on the CF) We have X11 installed in about 16-18MB. It is hard for me to know because we install X11 and a bunch of toolkits which makes it hard to know what the smallest size we need. : Having bashed picoBSD around several years ago, I am much happier with : the miniBSD structure as all the standard programs are there : _unmodified_. Me too. That's why we use this rather than a picobsd based system. Warner