From owner-freebsd-small@FreeBSD.ORG Mon Jul 18 11:02:27 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 EA76416A41F for ; Mon, 18 Jul 2005 11:02:27 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEA9943D46 for ; Mon, 18 Jul 2005 11:02:27 +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 j6IB2RbI098318 for ; Mon, 18 Jul 2005 11:02:27 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6IB2Qx6098312 for freebsd-small@freebsd.org; Mon, 18 Jul 2005 11:02:27 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 18 Jul 2005 11:02:27 GMT Message-Id: <200507181102.j6IB2Qx6098312@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 11:02:28 -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 Mon Jul 18 18:17:14 2005 Return-Path: X-Original-To: small@freebsd.org 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 A301416A41C for ; Mon, 18 Jul 2005 18:17:14 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 86B8A43D46 for ; Mon, 18 Jul 2005 18:17:13 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 36187 invoked by uid 0); 18 Jul 2005 15:17:11 -0300 Received: from jmelo@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4537. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 0.514535 secs); 18 Jul 2005 18:17:11 -0000 Received: from unknown (HELO ?10.69.69.2?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 18 Jul 2005 15:17:10 -0300 Message-ID: <42DBF250.1060405@freebsdbrasil.com.br> Date: Mon, 18 Jul 2005 15:17:52 -0300 From: Jean Milanez Melo User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050614) X-Accept-Language: en-us, en MIME-Version: 1.0 To: small@freebsd.org, stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 18:17:14 -0000 Hello gentlemen, In the last saturday a new port has been added under sysutils/ category, ports/sysutils/tinybsd. TinyBSD is a tool which was meant to allow an easy way to build embedded systems based on FreeBSD. It is based on userland copying, library dependencies check/copy and kernel build. We did our best to make the embedded system creation an easy and specially fast proccess. The main (default) system generates an embedded system image which is about 20MB in size, which is a very generic approach, with a number of wired NIC support, and also the most popular wireless support (including atheros), divert, bridge, dummynet, firewall, etc; and CPU_ELAN (for soekris devices). If the "generic" system gets tighten up the final result can be as low as an 8MB embedded system. We are giving you this intro to ask you please to test TinyBSD out, the most that you can, and send every possible feedback regarding it. The main tinybsd goal is to make embedded systems creation a process which must be 1 - fast 2 - easy 3 - 100% functional If you can test it, we would appreciate your thoughts. If you think any of those 3 goals can't be reached for you, or could be improved, also let me know. Thanks for testing -- Atenciosamente Jean Milanez Melo FreeBSD Brasil LTDA. Fone: (31) 3281-9633 http://www.freebsdbrasil.com.br From owner-freebsd-small@FreeBSD.ORG Tue Jul 19 06:26:49 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 5BD0316A41C for ; Tue, 19 Jul 2005 06:26:49 +0000 (GMT) (envelope-from anacreo@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE1B443D46 for ; Tue, 19 Jul 2005 06:26:48 +0000 (GMT) (envelope-from anacreo@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1163004wri for ; Mon, 18 Jul 2005 23:26:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Dy/7rmLZi7ZFw/7ba5Wj8kY8kVYo5vDHuXsEZfi3WP0GAup5t4bVn0fXA6lx0JlDhYFPK3VdlDeTB3Zf4+iTXTAyZy89sjnAcr952EDhP0NXLHx9gqr48pF/r6Z/6541YKUk5kiEjiyJEuS5Lx1VsUNYSSVidIQ6vZVKo+c5cvQ= Received: by 10.54.44.45 with SMTP id r45mr636236wrr; Mon, 18 Jul 2005 23:25:36 -0700 (PDT) Received: by 10.54.78.11 with HTTP; Mon, 18 Jul 2005 23:25:36 -0700 (PDT) Message-ID: <69c202de05071823254122b1c4@mail.gmail.com> Date: Tue, 19 Jul 2005 01:25:36 -0500 From: Anacreo To: freebsd-small@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: PicoBSD and a Broadcom BCM5703 X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anacreo List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 06:26:49 -0000 I am trying to setup a Sun Fire v20z with PicoBSD and Dummynet. I have=20 gotten the dummynet image at=20 http://www.cs.unc.edu/~jeffay/dirt/FAQ/picobsd980918.bin to boot my v20z an= d=20 get a root prompt. However it only shows me a tun0 tun1 and lo interface. Does anyone know if it would be possible to build a PicoBSD image with=20 dummynet and support for the BCM5703 controller that Sun is using? I'm on a= =20 very tight schedule and don't really know BSD at all. Could you maybe point= =20 out the steps I'd need to follow for adding in the BCM5703 driver to say th= e=20 bridge (which includes dummynet) picobsd install? Or even better provide a= =20 binary file for it? Thanks in advance for any assistance on this. I have to say that I'm very= =20 impressed with the PicoBSD image thus far! Alec From owner-freebsd-small@FreeBSD.ORG Tue Jul 19 06:41:30 2005 Return-Path: X-Original-To: small@freebsd.org 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 AD15D16A41C; Tue, 19 Jul 2005 06:41:30 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BFCE43D49; Tue, 19 Jul 2005 06:41:30 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id 543D287FF9; Tue, 19 Jul 2005 08:41:29 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14733-02; Tue, 19 Jul 2005 08:41:24 +0200 (CEST) Received: from firewall.demig (p5083995B.dip0.t-ipconnect.de [80.131.153.91]) by server.absolute-media.de (Postfix) with ESMTP id 777E0891DC; Tue, 19 Jul 2005 08:41:24 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j6J6cHE9059790; Tue, 19 Jul 2005 08:38:17 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "Jean Milanez Melo" , , Date: Tue, 19 Jul 2005 09:38:06 +0200 Message-ID: <002e01c58c34$cd5ded00$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 In-Reply-To: <42DBF250.1060405@freebsdbrasil.com.br> Importance: Normal X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: Subject: RE: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 06:41:30 -0000 Hello, thank you for your posting. Can you explain, how it compares to minibsd [https://neon1.net/misc/minibsd.html]? Norbert From owner-freebsd-small@FreeBSD.ORG Tue Jul 19 12:42:49 2005 Return-Path: X-Original-To: small@freebsd.org 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 82C1D16A41F for ; Tue, 19 Jul 2005 12:42:49 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id C4CD543D45 for ; Tue, 19 Jul 2005 12:42:46 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 82681 invoked by uid 0); 19 Jul 2005 09:42:46 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4537. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 0.437064 secs); 19 Jul 2005 12:42:46 -0000 Received: from unknown (HELO ?10.69.69.69?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 19 Jul 2005 09:42:46 -0300 Message-ID: <42DCF541.6070703@freebsdbrasil.com.br> Date: Tue, 19 Jul 2005 09:42:41 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Norbert Koch References: <002e01c58c34$cd5ded00$4801a8c0@ws-ew-3.W2KDEMIG> In-Reply-To: <002e01c58c34$cd5ded00$4801a8c0@ws-ew-3.W2KDEMIG> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 12:42:49 -0000 Norbert Koch wrote: > Hello, > > thank you for your posting. > Can you explain, how it compares to minibsd > [https://neon1.net/misc/minibsd.html]? > > Norbert It is similar to minibsd in the "copy" proccess, but different in the configuration and image creation stages. TinyBSD does not heavily depend on chroot enviroment, it works directly in a "work" directory, where files copying, kernel build and hier(7) definitions are used in such an usual FreeBSD building enviroment, including mtree definitions in /etc/mtree/, using "make DESTDIR" and "make DISTRIBUTION" whenever it is possible. In fact it is pretty much closer to NanoBSD in the whole proccess, while only similar to minibsd in the "copy" idea. -- Patrick Tracanelli FreeBSD Brasil LTDA. (31) 3281-9633 / 3281-3547 sip://316601@sip.freebsdbrasil.com.br http://www.freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-small@FreeBSD.ORG Tue Jul 19 17:47:02 2005 Return-Path: X-Original-To: small@freebsd.org 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 2A79216A41F; Tue, 19 Jul 2005 17:47:02 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id B649943D45; Tue, 19 Jul 2005 17:47:01 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from dialup84114-183.ip.peterstar.net ([84.204.114.183] helo=doom.homeunix.org) by voodoo.oberon.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DuwAc-000NVL-GS; Tue, 19 Jul 2005 19:46:25 +0200 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.13.3/8.13.3) with ESMTP id j6JHjMlY002659; Tue, 19 Jul 2005 21:45:23 +0400 (MSD) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.13.3/8.13.3/Submit) id j6JHjMXq002658; Tue, 19 Jul 2005 21:45:22 +0400 (MSD) (envelope-from igor) Date: Tue, 19 Jul 2005 21:45:00 +0400 From: Igor Pokrovsky To: Jean Milanez Melo Message-ID: <20050719174500.GA1594@doom.homeunix.org> Mail-Followup-To: Jean Milanez Melo , small@freebsd.org, stable@freebsd.org References: <42DBF250.1060405@freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42DBF250.1060405@freebsdbrasil.com.br> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 17:47:02 -0000 On Mon, Jul 18, 2005 at 03:17:52PM -0300, Jean Milanez Melo wrote: > Hello gentlemen, > > In the last saturday a new port has been added under sysutils/ category, > ports/sysutils/tinybsd. TinyBSD is a tool which was meant to allow an > easy way to build embedded systems based on FreeBSD. It is based on > userland copying, library dependencies check/copy and kernel build. What's wrong with PicoBSD? -ip -- Consumer assistance doesn't. From owner-freebsd-small@FreeBSD.ORG Tue Jul 19 19:18:38 2005 Return-Path: X-Original-To: small@freebsd.org 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 B246E16A420 for ; Tue, 19 Jul 2005 19:18:38 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 3DB7443D53 for ; Tue, 19 Jul 2005 19:18:35 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 352 invoked by uid 0); 19 Jul 2005 16:18:27 -0300 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4538. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 2.489575 secs); 19 Jul 2005 19:18:27 -0000 Received: from unknown (HELO ?10.69.69.69?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 19 Jul 2005 16:18:24 -0300 Message-ID: <42DD51F7.40503@freebsdbrasil.com.br> Date: Tue, 19 Jul 2005 16:18:15 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050420 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Igor Pokrovsky References: <42DBF250.1060405@freebsdbrasil.com.br> <20050719174500.GA1594@doom.homeunix.org> In-Reply-To: <20050719174500.GA1594@doom.homeunix.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 19:18:38 -0000 Igor Pokrovsky wrote: > On Mon, Jul 18, 2005 at 03:17:52PM -0300, Jean Milanez Melo wrote: > >>Hello gentlemen, >> >>In the last saturday a new port has been added under sysutils/ category, >>ports/sysutils/tinybsd. TinyBSD is a tool which was meant to allow an >>easy way to build embedded systems based on FreeBSD. It is based on >>userland copying, library dependencies check/copy and kernel build. > > > What's wrong with PicoBSD? > > -ip > PicoBSD is architectural different. It is a single crunched program which once loaded is kept always in memory, while live systems such as TinyBSD, nanobsd, and usually live CDs load to memory what it needs from the main storage device (cf card, pendrive, cd, whatever). So it is different at all. After that, PicoBSD worked very fine before the last releases on RELENG_4, while at RELENG_5 it became quite hard to build without problems. I personally enjoy PicoBSD a lot, but it is not an available choice nowadays, 'cos of building issues. On the other hand, Luigi has recently made a number of changes which puts PicoBSD back into "yes, it builds" state, which is great! But in RELENG_5 it stills not accomplishing its goal stated in picobsd(8), which is: picobsd -- floppy disk based FreeBSD system ..."try to keep them functional and fitting in the 1.44MB floppy despite the unavoidable increases in the size of the kernel and its applications" In fact fs.picobsd has ~ 1.4MB, plus the kernel, which could take it to ~3MB total size. Maybe in a 2.8 floppy it would fit today, but it is somehow different from what used to be in RELENG_4. Anyway, there is nothing wrong w/ PicoBSD. It is just different. -- Patrick Tracanelli FreeBSD Brasil LTDA. (31) 3281-9633 / 3281-3547 sip://316601@sip.freebsdbrasil.com.br http://www.freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-small@FreeBSD.ORG Tue Jul 19 19:43:23 2005 Return-Path: X-Original-To: small@freebsd.org 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 2A70216A41F for ; Tue, 19 Jul 2005 19:43:23 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB89443D46 for ; Tue, 19 Jul 2005 19:43:22 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from dialup84114-183.ip.peterstar.net ([84.204.114.183] helo=doom.homeunix.org) by voodoo.oberon.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DuxzI-000O2L-OI for small@freebsd.org; Tue, 19 Jul 2005 21:42:46 +0200 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.13.3/8.13.3) with ESMTP id j6JJfM5p012277; Tue, 19 Jul 2005 23:41:24 +0400 (MSD) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.13.3/8.13.3/Submit) id j6JJfLOc012276; Tue, 19 Jul 2005 23:41:21 +0400 (MSD) (envelope-from igor) Date: Tue, 19 Jul 2005 23:40:57 +0400 From: Igor Pokrovsky To: Patrick Tracanelli Message-ID: <20050719194057.GB10393@doom.homeunix.org> References: <42DBF250.1060405@freebsdbrasil.com.br> <20050719174500.GA1594@doom.homeunix.org> <42DD51F7.40503@freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42DD51F7.40503@freebsdbrasil.com.br> User-Agent: Mutt/1.4.2.1i Cc: Igor Pokrovsky , small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 19:43:23 -0000 On Tue, Jul 19, 2005 at 04:18:15PM -0300, Patrick Tracanelli wrote: > Igor Pokrovsky wrote: > >On Mon, Jul 18, 2005 at 03:17:52PM -0300, Jean Milanez Melo wrote: > > > >>Hello gentlemen, > >> > >>In the last saturday a new port has been added under sysutils/ category, > >>ports/sysutils/tinybsd. TinyBSD is a tool which was meant to allow an > >>easy way to build embedded systems based on FreeBSD. It is based on > >>userland copying, library dependencies check/copy and kernel build. > > > > > >What's wrong with PicoBSD? > > > >-ip > > > > PicoBSD is architectural different. > > It is a single crunched program which once loaded is kept always in > memory, while live systems such as TinyBSD, nanobsd, and usually live > CDs load to memory what it needs from the main storage device (cf card, > pendrive, cd, whatever). So it is different at all. After that, PicoBSD > worked very fine before the last releases on RELENG_4, while at RELENG_5 > it became quite hard to build without problems. I personally enjoy > PicoBSD a lot, but it is not an available choice nowadays, 'cos of > building issues. On the other hand, Luigi has recently made a number of > changes which puts PicoBSD back into "yes, it builds" state, which is > great! But in RELENG_5 it stills not accomplishing its goal stated in > picobsd(8), which is: > > picobsd -- floppy disk based FreeBSD system > > ..."try to keep them functional and fitting in the 1.44MB floppy despite > the unavoidable increases in the size of the kernel and its applications" > > In fact fs.picobsd has ~ 1.4MB, plus the kernel, which could take it to > ~3MB total size. Maybe in a 2.8 floppy it would fit today, but it is > somehow different from what used to be in RELENG_4. > > Anyway, there is nothing wrong w/ PicoBSD. It is just different. Thanks for answering a stupid question. I simply somehow missed the goal of TinyBSD. Just had an association with PicoBSD. As I'm conservative enough to use PicoBSD on RELENG_4, I never tried it on RELENG_5. But how about building PicoBSD on RELENG_5 and burn acquired image on a CD? With CD there should be no space problem. Of cause in that case it's better to use TinyBSD, Live CD or whatever. But just curious about PicoBSD thing. -ip -- Consumer assistance doesn't. From owner-freebsd-small@FreeBSD.ORG Wed Jul 20 07:10:21 2005 Return-Path: X-Original-To: small@freebsd.org 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 668DD16A420; Wed, 20 Jul 2005 07:10:21 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from anduin.net (anduin.net [212.12.46.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F119943D46; Wed, 20 Jul 2005 07:10:20 +0000 (GMT) (envelope-from ltning@anduin.net) Received: from ranger.anduin.net ([81.0.162.52] helo=[192.168.1.10]) by anduin.net with esmtpa (Exim 4.50 (FreeBSD)) id 1Dv8ih-000Axw-Rr; Wed, 20 Jul 2005 09:10:19 +0200 In-Reply-To: <42DBF250.1060405@freebsdbrasil.com.br> References: <42DBF250.1060405@freebsdbrasil.com.br> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <44C1CD9F-98FA-4CA2-83C6-903F0B19A38F@anduin.net> Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Eirik_=D8verby?= Date: Wed, 20 Jul 2005 09:10:15 +0200 To: Jean Milanez Melo X-Mailer: Apple Mail (2.733) Cc: stable@freebsd.org, small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 07:10:21 -0000 On Jul 18, 2005, at 8:17 PM, Jean Milanez Melo wrote: > Hello gentlemen, > > In the last saturday a new port has been added under sysutils/ > category, ports/sysutils/tinybsd. TinyBSD is a tool which was meant > to allow an easy way to build embedded systems based on FreeBSD. It > is based on userland copying, library dependencies check/copy and > kernel build. > > We did our best to make the embedded system creation an easy and > specially fast proccess. The main (default) system generates an > embedded system image which is about 20MB in size, which is a very > generic approach, with a number of wired NIC support, and also the > most popular wireless support (including atheros), divert, bridge, > dummynet, firewall, etc; and CPU_ELAN (for soekris devices). If the > "generic" system gets tighten up the final result can be as low as > an 8MB embedded system. > > We are giving you this intro to ask you please to test TinyBSD out, > the most that you can, and send every possible feedback regarding > it. The main tinybsd goal is to make embedded systems creation a > process which must be > > 1 - fast > 2 - easy > 3 - 100% functional > > If you can test it, we would appreciate your thoughts. If you think > any of those 3 goals can't be reached for you, or could be > improved, also let me know. > > Thanks for testing Without having actually tried yet (time hasn't been very permitting lately), is it conceivable to use this tool to create slim-but- functional jails? Sans the kernel part, that is? /Eirik > > -- > Atenciosamente > Jean Milanez Melo > FreeBSD Brasil LTDA. > Fone: (31) 3281-9633 > http://www.freebsdbrasil.com.br > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable- > unsubscribe@freebsd.org" > > > From owner-freebsd-small@FreeBSD.ORG Wed Jul 20 08:19:33 2005 Return-Path: X-Original-To: small@freebsd.org 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 3389916A422; Wed, 20 Jul 2005 08:19:33 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from martenvijn.nl (vijn.xs4all.nl [194.109.254.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5486B43D48; Wed, 20 Jul 2005 08:19:31 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from martenvijn.nl (localhost [127.0.0.1]) by martenvijn.nl (8.13.3/8.13.1) with ESMTP id j6K8KG4l057881; Wed, 20 Jul 2005 10:20:29 +0200 (CEST) (envelope-from info@martenvijn.nl) Received: (from www@localhost) by martenvijn.nl (8.13.3/8.13.1/Submit) id j6K8KAmU057880; Wed, 20 Jul 2005 10:20:10 +0200 (CEST) (envelope-from info@martenvijn.nl) X-Authentication-Warning: martenvijn.nl: www set sender to info@martenvijn.nl using -f Received: from 192.168.1.6 (SquirrelMail authenticated user mvn) by martenvijn.nl with HTTP; Wed, 20 Jul 2005 10:20:10 +0200 (CEST) Message-ID: <56065.192.168.1.6.1121847610.squirrel@martenvijn.nl> In-Reply-To: <42DBF250.1060405@freebsdbrasil.com.br> References: <42DBF250.1060405@freebsdbrasil.com.br> Date: Wed, 20 Jul 2005 10:20:10 +0200 (CEST) From: "Marten Vijn" To: "Jean Milanez Melo" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: stable@freebsd.org, small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@martenvijn.nl List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 08:19:33 -0000 > Hello gentlemen, > > If you can test it, we would appreciate your thoughts. If you think any > of those 3 goals can't be reached for you, or could be improved, also > let me know. > Hi just had short look at it look nice & fast, first data from an via itx (dmesg, pciconf df) http://martenvijn.nl/tinybsd/via_board.txt for Soekris/wrap I 'll need to do to some kernel configs, I 'll let you know. I would be very nice to have some prefab menus for commom embedded hardware. Marten From owner-freebsd-small@FreeBSD.ORG Wed Jul 20 14:43:38 2005 Return-Path: X-Original-To: small@freebsd.org 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 E0DE316A41F for ; Wed, 20 Jul 2005 14:43:38 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 9FDC743D55 for ; Wed, 20 Jul 2005 14:43:36 +0000 (GMT) (envelope-from jmelo@freebsdbrasil.com.br) Received: (qmail 50683 invoked by uid 0); 20 Jul 2005 11:43:37 -0300 Received: from jmelo@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.3.20/v4538. spamassassin: 2.64. Clear:RC:1(201.17.165.147):. Processed in 0.389328 secs); 20 Jul 2005 14:43:37 -0000 Received: from unknown (HELO ?10.69.69.2?) (201.17.165.147) by capeta.freebsdbrasil.com.br with SMTP; 20 Jul 2005 11:43:36 -0300 Message-ID: <42DE6345.5010904@freebsdbrasil.com.br> Date: Wed, 20 Jul 2005 11:44:21 -0300 From: Jean Milanez Melo User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050614) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Eirik_=D8verby?= References: <42DBF250.1060405@freebsdbrasil.com.br> <44C1CD9F-98FA-4CA2-83C6-903F0B19A38F@anduin.net> In-Reply-To: <44C1CD9F-98FA-4CA2-83C6-903F0B19A38F@anduin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: stable@freebsd.org, small@freebsd.org Subject: Re: TinyBSD Call For Testers X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 14:43:39 -0000 Eirik Øverby wrote: > > > Without having actually tried yet (time hasn't been very permitting > lately), is it conceivable to use this tool to create slim-but- > functional jails? Sans the kernel part, that is? > > /Eirik > The main goal is not this, but you can do that with some few changes. -- Atenciosamente Jean Milanez Melo FreeBSD Brasil LTDA. Fone: (31) 3281-9633 http://www.freebsdbrasil.com.br From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 02:00:31 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 977A316A433 for ; Thu, 21 Jul 2005 02:00:31 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: from web53301.mail.yahoo.com (web53301.mail.yahoo.com [206.190.49.91]) by mx1.FreeBSD.org (Postfix) with SMTP id EA50643D62 for ; Thu, 21 Jul 2005 02:00:28 +0000 (GMT) (envelope-from non_secure@yahoo.com) Received: (qmail 6400 invoked by uid 60001); 21 Jul 2005 02:00:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dGRs9KthUB5YYpDJ9KNRUJI1Qqgpt3ICZxBWV/hHkGgXGs4erFfMZnhI2SKeo5YULWRYsszVUq6qjXxd7LYv9Do9OdOyeExOKHU7EFfWcPTYWaWGXZJKnudk52ReeaEzeK7wGL3pm1q+Q5pr8IL9xP6b64QolFlDALFUmUqazQU= ; Message-ID: <20050721020028.6398.qmail@web53301.mail.yahoo.com> Received: from [208.186.91.245] by web53301.mail.yahoo.com via HTTP; Wed, 20 Jul 2005 19:00:27 PDT Date: Wed, 20 Jul 2005 19:00:27 -0700 (PDT) From: Joe Schmoe To: freebsd-small@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 02:00:31 -0000 Hello, Several times on this mailing list I have seen reference to a tool/utility from sandisk that will disable DMA on their CF cards. I cannot find this searching the web, or searching the sandisk website. Can someone point me in the right direction ? thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 06:41:22 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 8395B16A41F for ; Thu, 21 Jul 2005 06:41:22 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AE5643D45 for ; Thu, 21 Jul 2005 06:41:21 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id 0BB808B894; Thu, 21 Jul 2005 08:41:20 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12277-04; Thu, 21 Jul 2005 08:41:16 +0200 (CEST) Received: from firewall.demig (p50839136.dip0.t-ipconnect.de [80.131.145.54]) by server.absolute-media.de (Postfix) with ESMTP id 450348A29A; Thu, 21 Jul 2005 08:41:16 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j6L6dbuB009857; Thu, 21 Jul 2005 08:39:37 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "Joe Schmoe" , Date: Thu, 21 Jul 2005 08:39:36 +0200 Message-ID: <001e01c58dbe$f6739600$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20050721020028.6398.qmail@web53301.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Importance: Normal X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: Subject: RE: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 06:41:22 -0000 > Several times on this mailing list I have seen > reference to a tool/utility from sandisk that will > disable DMA on their CF cards. > > I cannot find this searching the web, or searching the > sandisk website. > > Can someone point me in the right direction ? > > thanks. May be, I miss the point. Why do you want to disable dma on the cf card, when you can instruct FreeBSD to just not use dma (atacontrol(8)) ? Norbert From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 08:05:40 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 E728A16A41F for ; Thu, 21 Jul 2005 08:05:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD7F43D53 for ; Thu, 21 Jul 2005 08:05:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j6L84DNi077979; Thu, 21 Jul 2005 02:04:13 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 21 Jul 2005 02:04:13 -0600 (MDT) Message-Id: <20050721.020413.74672483.imp@bsdimp.com> To: non_secure@yahoo.com From: Warner Losh In-Reply-To: <20050721020028.6398.qmail@web53301.mail.yahoo.com> References: <20050721020028.6398.qmail@web53301.mail.yahoo.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: freebsd-small@freebsd.org Subject: Re: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 08:05:41 -0000 > I cannot find this searching the web, or searching the > sandisk website. > > Can someone point me in the right direction ? Add 'hw.ata.ata_dma=0' to your /boot/loader.conf script. This will prevent FreeBSD from doing DMA to them. If the BIOS has issues, you have to fix it there. *OR* You have to get a CF <-> IDE adapter that has the two new wires on it or retrofit the old one(s) that you have. Warner From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 08:08:58 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 D380A16A420 for ; Thu, 21 Jul 2005 08:08:58 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39FD443D58 for ; Thu, 21 Jul 2005 08:08:58 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j6L873gl078004; Thu, 21 Jul 2005 02:07:04 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 21 Jul 2005 02:07:03 -0600 (MDT) Message-Id: <20050721.020703.41710119.imp@bsdimp.com> To: NKoch@demig.de From: Warner Losh In-Reply-To: <001e01c58dbe$f6739600$4801a8c0@ws-ew-3.W2KDEMIG> References: <20050721020028.6398.qmail@web53301.mail.yahoo.com> <001e01c58dbe$f6739600$4801a8c0@ws-ew-3.W2KDEMIG> 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: freebsd-small@freebsd.org, non_secure@yahoo.com Subject: Re: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 08:08:59 -0000 > May be, I miss the point. Why do you want to disable > dma on the cf card, when you can instruct FreeBSD > to just not use dma (atacontrol(8)) ? Because newer CF cards, like the SanDisk, negotiate DMA with the controller. However, most of the IDE <-> CF Adapters aren't properly wired for this, as they only implement CF 1.5 and not CF 2.0. So, when FreeBSD goes to access the device, you get all kinds of timeout errors. If you are lucky, ata will failback to PIO mode. Most of the time it has bitten me, I've not been lucky :-(. hw.ata.ata_dma=0 is the magic. You can set it at the boot loader prompt, or you can add it to /boot/loader.conf. atacontrol is way too late, since this disabling must be done prior to geom's scan for root (or the moral equivalent in 4.x). Warner From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 09:16:37 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 331D616A423 for ; Thu, 21 Jul 2005 09:16:37 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from server.absolute-media.de (server.absolute-media.de [213.239.231.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id E84E243D64 for ; Thu, 21 Jul 2005 09:16:32 +0000 (GMT) (envelope-from NKoch@demig.de) Received: from localhost (unknown [127.0.0.1]) by server.absolute-media.de (Postfix) with ESMTP id BDC8B8B1E1; Thu, 21 Jul 2005 11:16:30 +0200 (CEST) Received: from server.absolute-media.de ([127.0.0.1]) by localhost (server [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20416-05; Thu, 21 Jul 2005 11:16:26 +0200 (CEST) Received: from firewall.demig (p50839136.dip0.t-ipconnect.de [80.131.145.54]) by server.absolute-media.de (Postfix) with ESMTP id E790C897ED; Thu, 21 Jul 2005 11:16:25 +0200 (CEST) Received: from ws-ew-3 (ws-ew-3.w2kdemig [192.168.1.72]) by firewall.demig (8.13.4/8.13.1) with SMTP id j6L9CpGj017631; Thu, 21 Jul 2005 11:12:51 +0200 (CEST) (envelope-from NKoch@demig.de) From: "Norbert Koch" To: "Warner Losh" Date: Thu, 21 Jul 2005 11:12:50 +0200 Message-ID: <000201c58dd4$5e114360$4801a8c0@ws-ew-3.W2KDEMIG> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20050721.020703.41710119.imp@bsdimp.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Importance: Normal X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at absolute-media.de Cc: freebsd-small@freebsd.org, non_secure@yahoo.com Subject: RE: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 09:16:37 -0000 > > May be, I miss the point. Why do you want to disable > > dma on the cf card, when you can instruct FreeBSD > > to just not use dma (atacontrol(8)) ? > > Because newer CF cards, like the SanDisk, negotiate DMA with the > controller. However, most of the IDE <-> CF Adapters aren't properly > wired for this, as they only implement CF 1.5 and not CF 2.0. So, > when FreeBSD goes to access the device, you get all kinds of timeout > errors. If you are lucky, ata will failback to PIO mode. Most of the > time it has bitten me, I've not been lucky :-(. > > hw.ata.ata_dma=0 is the magic. You can set it at the boot loader > prompt, or you can add it to /boot/loader.conf. atacontrol is way too > late, since this disabling must be done prior to geom's scan for root > (or the moral equivalent in 4.x). Ok, I understand. But you can't do that selectively on a per-device basis, can you? Norbert From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 09:21:52 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 95E1A16A422 for ; Thu, 21 Jul 2005 09:21:52 +0000 (GMT) (envelope-from michael@staff.openaccess.org) Received: from smtp.openaccess.org (smtp.openaccess.org [66.165.52.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DD0B43D73 for ; Thu, 21 Jul 2005 09:21:50 +0000 (GMT) (envelope-from michael@staff.openaccess.org) Received: from [192.168.1.242] (internal.valleyint.com [216.57.214.98]) by smtp.openaccess.org (Postfix) with ESMTP id 77A176D42CD; Thu, 21 Jul 2005 02:20:51 -0700 (PDT) In-Reply-To: <20050721.020703.41710119.imp@bsdimp.com> References: <20050721020028.6398.qmail@web53301.mail.yahoo.com> <001e01c58dbe$f6739600$4801a8c0@ws-ew-3.W2KDEMIG> <20050721.020703.41710119.imp@bsdimp.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Michael DeMan Date: Thu, 21 Jul 2005 02:21:49 -0700 To: Warner Losh X-Mailer: Apple Mail (2.622) Cc: NKoch@demig.de, freebsd-small@freebsd.org, non_secure@yahoo.com Subject: Re: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 09:21:52 -0000 I presume this would also work for non-booting devices too? Like our dev boxes where we burn cards and see numerous nasty log entries about device timeouts and sometimes the flashcard burn works, and other times it doesn't? Michael F. DeMan Director of Technology OpenAccess Network Services Bellingham, WA 98225 michael@staff.openaccess.org 360-647-0785 On Jul 21, 2005, at 1:07 AM, Warner Losh wrote: >> May be, I miss the point. Why do you want to disable >> dma on the cf card, when you can instruct FreeBSD >> to just not use dma (atacontrol(8)) ? > > Because newer CF cards, like the SanDisk, negotiate DMA with the > controller. However, most of the IDE <-> CF Adapters aren't properly > wired for this, as they only implement CF 1.5 and not CF 2.0. So, > when FreeBSD goes to access the device, you get all kinds of timeout > errors. If you are lucky, ata will failback to PIO mode. Most of the > time it has bitten me, I've not been lucky :-(. > > hw.ata.ata_dma=0 is the magic. You can set it at the boot loader > prompt, or you can add it to /boot/loader.conf. atacontrol is way too > late, since this disabling must be done prior to geom's scan for root > (or the moral equivalent in 4.x). > > Warner > _______________________________________________ > 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 Thu Jul 21 14:08:56 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 6E39A16A41F for ; Thu, 21 Jul 2005 14:08:56 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C12A43D83 for ; Thu, 21 Jul 2005 14:08:48 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j6LE5lgV085138; Thu, 21 Jul 2005 08:05:47 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 21 Jul 2005 08:06:36 -0600 (MDT) Message-Id: <20050721.080636.01051330.imp@bsdimp.com> To: NKoch@demig.de From: "M. Warner Losh" In-Reply-To: <000201c58dd4$5e114360$4801a8c0@ws-ew-3.W2KDEMIG> References: <20050721.020703.41710119.imp@bsdimp.com> <000201c58dd4$5e114360$4801a8c0@ws-ew-3.W2KDEMIG> 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: freebsd-small@freebsd.org, non_secure@yahoo.com Subject: Re: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 14:08:56 -0000 In message: <000201c58dd4$5e114360$4801a8c0@ws-ew-3.W2KDEMIG> "Norbert Koch" writes: : > > May be, I miss the point. Why do you want to disable : > > dma on the cf card, when you can instruct FreeBSD : > > to just not use dma (atacontrol(8)) ? : > : > Because newer CF cards, like the SanDisk, negotiate DMA with the : > controller. However, most of the IDE <-> CF Adapters aren't properly : > wired for this, as they only implement CF 1.5 and not CF 2.0. So, : > when FreeBSD goes to access the device, you get all kinds of timeout : > errors. If you are lucky, ata will failback to PIO mode. Most of the : > time it has bitten me, I've not been lucky :-(. : > : > hw.ata.ata_dma=0 is the magic. You can set it at the boot loader : > prompt, or you can add it to /boot/loader.conf. atacontrol is way too : > late, since this disabling must be done prior to geom's scan for root : > (or the moral equivalent in 4.x). : : Ok, I understand. But you can't do that selectively on a per-device basis, : can you? There may be something you can do with atacontrol after boot. I've never needed it. Warner From owner-freebsd-small@FreeBSD.ORG Thu Jul 21 14:09:09 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org 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 7082416A421 for ; Thu, 21 Jul 2005 14:09:09 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE91743D67 for ; Thu, 21 Jul 2005 14:08:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j6LE7UQ1085139; Thu, 21 Jul 2005 08:07:31 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 21 Jul 2005 08:08:20 -0600 (MDT) Message-Id: <20050721.080820.07020447.imp@bsdimp.com> To: michael@staff.openaccess.org From: "M. Warner Losh" In-Reply-To: References: <001e01c58dbe$f6739600$4801a8c0@ws-ew-3.W2KDEMIG> <20050721.020703.41710119.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: NKoch@demig.de, freebsd-small@freebsd.org, non_secure@yahoo.com Subject: Re: DMA disable for sandisk CF cards ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 14:09:09 -0000 In message: Michael DeMan writes: : I presume this would also work for non-booting devices too? Like our : dev boxes where we burn cards and see numerous nasty log entries about : device timeouts and sometimes the flashcard burn works, and other times : it doesn't? It works for non-boot devices. But for non-boot devices, you can also use atacontrol. However, for a development box, I'd get a CF adapater that groks DMA. If you are using an CF to PCMCIA adapter, then the problem is something else. We usually see timeouts on CF cards that have been static zapped in that case... Warner