From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 30 07:16:07 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F44A16A4DE for ; Sun, 30 Jul 2006 07:16:07 +0000 (UTC) (envelope-from ast@marabu.ch) Received: from oneplusone.ch (oneplusone.ch [212.55.208.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F36443D49 for ; Sun, 30 Jul 2006 07:16:06 +0000 (GMT) (envelope-from ast@marabu.ch) Received: from oneplusone.ch (localhost [127.0.0.1]) by oneplusone.ch (8.13.6/8.13.6) with ESMTP id k6U7G1Pe099297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Jul 2006 09:16:01 +0200 (CEST) (envelope-from ast@marabu.ch) Received: (from uucp@localhost) by oneplusone.ch (8.13.6/8.13.6/Submit) with UUCP id k6U7G1Q8099296; Sun, 30 Jul 2006 09:16:01 +0200 (CEST) (envelope-from ast@marabu.ch) Received: from [192.168.192.5] (ard [192.168.192.5]) by pano.marabu.ch (8.13.6/8.13.6) with ESMTP id k6U7FUYB008532; Sun, 30 Jul 2006 09:15:35 +0200 (CEST) (envelope-from ast@marabu.ch) Message-ID: <44CC5C92.1070600@marabu.ch> Date: Sun, 30 Jul 2006 09:15:30 +0200 From: Adrian Steinmann User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Pascal Dornier References: <157D367A82DF174EA394C897A261142DD73D88@citec-srv1.citec-ag.local> <7.0.1.0.0.20060729205407.03453c88@pcengines.ch> In-Reply-To: <7.0.1.0.0.20060729205407.03453c88@pcengines.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (oneplusone.ch [127.0.0.1]); Sun, 30 Jul 2006 09:16:04 +0200 (CEST) X-Mailfilter: egfilter version 1.14; Archiver [msg.2gvvU4UT] (oneplusone.ch [127.0.0.1]); Sun, 30 Jul 2006 09:16:04 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter (version: 1.1.2-1; AVE: 7.1.1.0; VDF: 6.35.1.20; host: oneplusone.ch) Cc: ambrisko@freebsd.org, freebsd-embedded@freebsd.org, john@baldwin.cx, Danny Braniss , Holger Bauer , fnjordy@gmail.com Subject: Re: pxeboot PC Engines WRAP X-BeenThere: freebsd-embedded@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: Sun, 30 Jul 2006 07:16:07 -0000 Pascal Dornier from PC-Engines asks: > Bei welchem BIOS-Aufruf tritt das Problem auf ? Wird der Aufruf von > FreeBSD oder von Netboot gemacht ? (i.e., in which BIOS call does the problem arise) The GP fault happens in the "!PXE" function 71 (PXENV_GET_CACHED_INFO): Probing pci nic... [dp83815] natsemi_probe: MAC addr 00:0D:B9:02:XX:XX at ioaddr 0X1000 natsemi_probe: Vendor:0X100B Device:0X0020 dp83815: Transceiver default autoneg. enabled, advertise 100 full duplex. dp83815: Transceiver status 7869 advertising 05E1 dp83815: Setting full-duplex based on negotiated link capability. Searching for server (DHCP)...\ Loading 192.168.XX.XX:/usr/tftpboot/pxeboot XXXX(0210K done PXE Loader 1.00 Building the boot loader arguments Relocating the loader and the BTX Starting the BTX loader Consoles: serial port BIOS drive C: is disk0 PXE version 2.1, real mode entry point @9f40:0680 pxe.c:pxe_init(): doing pxe_call(PXENV_GET_CACHED_INFO) bangpxe_call 71 int=0000000d err=00000000 efl=00030002 eip=00000916 eax=0009cf90 ebx=000008eb ecx=00000000 edx=00003c5a esi=00000000 edi=00000000 ebp=0009d35e esp=000003ce cs=9f40 ds=9f40 es=0000 fs=0000 gs=0000 ss=9cf9 cs:eip=66 0f 01 97 52 00 0f 20-c0 0c 01 0f 22 c0 66 ff af 6a 00 66 b8 10 00 8e-d0 89 ec 8e d8 8e c0 8e ss:esp=00 00 00 00 71 00 00 00-00 00 00 00 e2 fa 09 00 40 9f f9 9c 00 00 00 00-00 00 00 00 00 00 02 02 BTX halted which is, as John Baldwin also observed: [00000001]-> : 0 66,0f,01,97,52,00,0f,20 [00000041]-> : 8 c0,0c,01,0f,22,c0,66,ff [00000041]-> : 10 af,6a,00,66,b8,10,00,8e,d0,89,ec,8e,d8,8e,c0,8e [00000020]-> d8086 0 00000000: 66 0f 01 97 52 00 lgdtl 82(%bx) 00000006: 0f 20 c0 mov %cr0,%eax 00000009: 0c 01 or $0x1,%al 0000000b: 0f 22 c0 mov %eax,%cr0 0000000e: 66 ff af 6a 00 ljmpl *106(%bx) 00000013: 66 b8 10 00 8e d0 mov $0xd08e0010,%eax that code looks like the TinyBIOS "Int 15, AH=87: block move" done in "unreal mode" (see http://www.pcengines.ch/tb13.zip, http://www.pcengines.ch/tb13.pdf) FreeBSD appears to have special "FREEBSD_PXEEMU" code (see http://etherboot.berlios.de/dist/etherboot-5.2.4.tar.bz2) in etherboot-5.2.4/src/arch/i386/core/pxe.c to play fair with v86mon, but maybe this is not fair enough for TinyBIOS? Adrian From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 31 11:03:37 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C29516A4F2 for ; Mon, 31 Jul 2006 11:03:37 +0000 (UTC) (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 AFD3843DBA for ; Mon, 31 Jul 2006 11:02:58 +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.4/8.13.4) with ESMTP id k6VB2qD6051763 for ; Mon, 31 Jul 2006 11:02:52 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VB2pT8051759 for freebsd-embedded@freebsd.org; Mon, 31 Jul 2006 11:02:51 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Jul 2006 11:02:51 GMT Message-Id: <200607311102.k6VB2pT8051759@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-embedded@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, 31 Jul 2006 11:03:37 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/01/04] misc/15876 embedded [picobsd] PicoBSD message of the day prob o [2001/06/18] misc/28255 embedded [picobsd] picobsd documentation still ref o [2002/09/13] kern/42728 embedded [picobsd] many problems in src/usr.sbin/p o [2003/05/14] misc/52255 embedded [picobsd] picobsd build script fails unde o [2003/05/14] misc/52256 embedded [picobsd] picobsd build script does not r 5 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 31 11:18:38 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE62316A4DA for ; Mon, 31 Jul 2006 11:18:38 +0000 (UTC) (envelope-from namaskar_alok@yahoo.co.in) Received: from web8902.mail.in.yahoo.com (web8902.mail.in.yahoo.com [203.84.221.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 34A3A43D70 for ; Mon, 31 Jul 2006 11:18:36 +0000 (GMT) (envelope-from namaskar_alok@yahoo.co.in) Received: (qmail 89316 invoked by uid 60001); 31 Jul 2006 11:18:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Gbw57ns1XFw6ddM7dk4nqhojqnTBEpxBDFlASJ9BscgDc83rLBVXqaaQIGmMeGzOPilIvXoyi4Z6AQygd6Oj64lD0h6anrQCZbfgn+003wOV7URzVCB2PUVrsQJa1tJUsbvPCwlHBbo9b39wBHwL7pB/ujxQwItSrWac0XuTwDQ= ; Message-ID: <20060731111834.89314.qmail@web8902.mail.in.yahoo.com> Received: from [220.225.32.98] by web8902.mail.in.yahoo.com via HTTP; Mon, 31 Jul 2006 04:18:34 PDT Date: Mon, 31 Jul 2006 04:18:34 -0700 (PDT) From: Alok Barsode To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: FreeBSD ports to embedded boards. X-BeenThere: freebsd-embedded@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, 31 Jul 2006 11:18:38 -0000 Hi, Does any one know of any efforts of porting FreeBSD to PowePC dev boards like MPC85xx boards? Is there a mailing list or a IRC channel for the same? Thanks, Alok. "Let the wisdom of the old guide the buoyancy and vitality of the youth; let the buoyancy and vitality of the youth sustain the wisdom of the old." - Stanislavski __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 31 12:17:00 2006 Return-Path: X-Original-To: embedded@freebsd.org Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5793316A4DF for ; Mon, 31 Jul 2006 12:17:00 +0000 (UTC) (envelope-from jacques@trispen.com) Received: from brolloks.trispen.com (brolloks.trispen.com [196.22.177.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A6E043D6B for ; Mon, 31 Jul 2006 12:16:48 +0000 (GMT) (envelope-from jacques@trispen.com) Received: by brolloks.trispen.com (Postfix, from userid 1000) id AF958227; Mon, 31 Jul 2006 14:16:44 +0200 (SAST) Date: Mon, 31 Jul 2006 14:16:44 +0200 From: Jacques Fourie To: Alok Barsode Message-ID: <20060731121644.GA29660@trispen.com> References: <20060731111834.89314.qmail@web8902.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060731111834.89314.qmail@web8902.mail.in.yahoo.com> User-Agent: Mutt/1.5.11 Cc: embedded@freebsd.org Subject: Re: FreeBSD ports to embedded boards. X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jf@trispen.com List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 12:17:00 -0000 Hi Alok, I'm not aware of any ongoing efforts. I have been tinkering around with porting FreeBSD to a dev board based on the MPC8540 but don't have any results to show yet. jacques > Hi, > Does any one know of any efforts of porting FreeBSD to > PowePC dev boards like MPC85xx boards? Is there a > mailing list or a IRC channel for the same? > > Thanks, > Alok. > > "Let the wisdom of the old guide the buoyancy and vitality of the youth; let the buoyancy and vitality of the youth sustain the wisdom of the old." - Stanislavski > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 31 18:03:14 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 554AB16A4DA for ; Mon, 31 Jul 2006 18:03:14 +0000 (UTC) (envelope-from john@baldwin.cx) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E649543D6D for ; Mon, 31 Jul 2006 18:02:54 +0000 (GMT) (envelope-from john@baldwin.cx) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k6VI1o3M072680; Mon, 31 Jul 2006 14:01:55 -0400 (EDT) (envelope-from john@baldwin.cx) From: John Baldwin To: freebsd-embedded@freebsd.org Date: Mon, 31 Jul 2006 13:26:08 -0400 User-Agent: KMail/1.9.1 References: <856cdecb0607270534m34d9b4e3g4ee2714e18fcaeb7@mail.gmail.com> <200607281236.54468.john@baldwin.cx> <20060729173137.GA89529@webgroup.ch> In-Reply-To: <20060729173137.GA89529@webgroup.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607311326.08887.john@baldwin.cx> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 31 Jul 2006 14:01:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1627/Sun Jul 30 19:34:54 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Danny Braniss , Adrian Steinmann , Steven McCoy Subject: Re: pxeboot PC Engines WRAP X-BeenThere: freebsd-embedded@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, 31 Jul 2006 18:03:14 -0000 On Saturday 29 July 2006 13:31, Adrian Steinmann wrote: > On Fri, Jul 28, 2006 at 12:36:54PM -0400, John Baldwin wrote: > > This is because the BIOS you are talking to here is trying to enter > > protected mode on its own, which simply does not play well with VM86 at all. > > It's not something you are going to "fix" in VM86 unless you change BTX > > drastically to pop back into real mode to call the BIOS and handle IRQs > > rather than using vm86 mode. > > PC-Engines says that only the int 15, function 87 goes back into > protected mode, and that seems to be trapped in boot/i386/btx/btx/btx.S > line 609 so the FreeBSD BTX should cover that case. Or am I > misunderstanding something here? That's correct in that BTX does handle int15/87 directly. > The disassembled code you mention: > > 00000000 660F01975200 o32 lgdt [bx+0x52] > > 00000006 0F20C0 mov eax,cr0 > > 00000009 0C01 or al,0x1 > > 0000000B 0F22C0 mov cr0,eax > > 0000000E 66FFAF6A00 jmp dword far [bx+0x6a] > > 00000013 66B810008ED0 mov eax,0xd08e0010 > > 00000019 89EC mov sp,bp > > 0000001B 8ED8 mov ds,ax > > 0000001D 8EC0 mov es,ax > > 0000001F 8E db 0x8E > seems to indeed stem from http://www.pcengines.ch/tb13.zip INT1X.8 > where the "Int 15, AH=87: block move" is handled in "unreal mode", as > described in http://www.pcengines.ch/tb13.pdf. So would that mean that > BTX didn't trap that or something else was amiss before? Are you sure that's the only place it enters protected mode? -- John Baldwin From owner-freebsd-embedded@FreeBSD.ORG Mon Jul 31 18:57:21 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29EAD16A57B for ; Mon, 31 Jul 2006 18:57:21 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB81043D45 for ; Mon, 31 Jul 2006 18:57:20 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (s2qpq44gakpyer7f@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k6VIvKfF097941; Mon, 31 Jul 2006 11:57:20 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k6VIvKeL097940; Mon, 31 Jul 2006 11:57:20 -0700 (PDT) (envelope-from jmg) Date: Mon, 31 Jul 2006 11:57:19 -0700 From: John-Mark Gurney To: Alok Barsode Message-ID: <20060731185719.GI96589@funkthat.com> References: <20060731111834.89314.qmail@web8902.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060731111834.89314.qmail@web8902.mail.in.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-embedded@freebsd.org Subject: Re: FreeBSD ports to embedded boards. X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 18:57:21 -0000 Alok Barsode wrote this message on Mon, Jul 31, 2006 at 04:18 -0700: > Does any one know of any efforts of porting FreeBSD to > PowePC dev boards like MPC85xx boards? Is there a > mailing list or a IRC channel for the same? You can ask on the -ppc list, but other than the board that another poster mentioned, I don't know any (though I don't follow PPC developement).. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 02:52:58 2006 Return-Path: X-Original-To: freebsd-embedded@hub.freebsd.org Delivered-To: freebsd-embedded@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54A2216A4DA; Wed, 2 Aug 2006 02:52:58 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB9343D4C; Wed, 2 Aug 2006 02:52:58 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k722qvG4091274; Wed, 2 Aug 2006 02:52:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k722qvUt091270; Wed, 2 Aug 2006 02:52:57 GMT (envelope-from linimon) Date: Wed, 2 Aug 2006 02:52:57 GMT From: Mark Linimon Message-Id: <200608020252.k722qvUt091270@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-embedded@FreeBSD.org Cc: Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 02:52:58 -0000 Synopsis: [nanobsd] [patch] Two more entries for FlashDevice.sub Responsible-Changed-From-To: freebsd-bugs->freebsd-embedded Responsible-Changed-By: linimon Responsible-Changed-When: Wed Aug 2 02:51:27 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=101228 From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 03:44:51 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDAA816A4DA; Wed, 2 Aug 2006 03:44:51 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D95643D6B; Wed, 2 Aug 2006 03:44:49 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k723fhnr055108; Tue, 1 Aug 2006 21:41:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 01 Aug 2006 21:41:41 -0600 (MDT) Message-Id: <20060801.214141.-957833388.imp@bsdimp.com> To: linimon@freebsd.org From: "M. Warner Losh" In-Reply-To: <200608020252.k722qvUt091270@freefall.freebsd.org> References: <200608020252.k722qvUt091270@freefall.freebsd.org> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 01 Aug 2006 21:41:43 -0600 (MDT) Cc: freebsd-bugs@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 03:44:52 -0000 In message: <200608020252.k722qvUt091270@freefall.freebsd.org> Mark Linimon writes: : Synopsis: [nanobsd] [patch] Two more entries for FlashDevice.sub : : Responsible-Changed-From-To: freebsd-bugs->freebsd-embedded : Responsible-Changed-By: linimon : Responsible-Changed-When: Wed Aug 2 02:51:27 UTC 2006 : Responsible-Changed-Why: : Over to maintainer(s). I'm worried that we're getting too many flashdevice.sub entries. There's a *LOT* of different cards out there, all of them with seemingly different geometries :-(... Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 07:44:11 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54BAA16A4E1 for ; Wed, 2 Aug 2006 07:44:11 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E06E843D5C for ; Wed, 2 Aug 2006 07:44:10 +0000 (GMT) (envelope-from henrik@brixandersen.dk) Received: from osgiliath.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 44AE97BA399 for ; Wed, 2 Aug 2006 09:44:09 +0200 (CEST) Received: by osgiliath.brixandersen.dk (Postfix, from userid 1000) id C07323906; Wed, 2 Aug 2006 09:44:08 +0200 (CEST) Date: Wed, 2 Aug 2006 09:44:08 +0200 From: Henrik Brix Andersen To: freebsd-embedded@freebsd.org Message-ID: <20060802074408.GB15887@osgiliath.opasia.dk> Mail-Followup-To: freebsd-embedded@freebsd.org References: <200608020252.k722qvUt091270@freefall.freebsd.org> <20060801.214141.-957833388.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20060801.214141.-957833388.imp@bsdimp.com> X-PGP-Key: http://dev.gentoo.org/~brix/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.11 Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 07:44:11 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 01, 2006 at 09:41:41PM -0600, M. Warner Losh wrote: > I'm worried that we're getting too many flashdevice.sub entries. > There's a *LOT* of different cards out there, all of them with > seemingly different geometries :-(... And this worries you because...? Regards, Brix --=20 Henrik Brix Andersen --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: GnuPG signed iD8DBQFE0FfIv+Q4flTiePgRAiXbAJ90PBWdsd5MK+djeI7dMAoWK72SKgCdElCC Asbgq9A2LWcL9f6+eBjTfhI= =WYik -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 13:33:19 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 675BB16A4DF; Wed, 2 Aug 2006 13:33:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA7EC43D4C; Wed, 2 Aug 2006 13:33:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k72DWVJB065373; Wed, 2 Aug 2006 07:32:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 02 Aug 2006 07:32:32 -0600 (MDT) Message-Id: <20060802.073232.-494097392.imp@bsdimp.com> To: henrik@brixandersen.dk From: "M. Warner Losh" In-Reply-To: <20060802074408.GB15887@osgiliath.opasia.dk> References: <200608020252.k722qvUt091270@freefall.freebsd.org> <20060801.214141.-957833388.imp@bsdimp.com> <20060802074408.GB15887@osgiliath.opasia.dk> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 02 Aug 2006 07:32:32 -0600 (MDT) Cc: bugs@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 13:33:19 -0000 In message: <20060802074408.GB15887@osgiliath.opasia.dk> Henrik Brix Andersen writes: : On Tue, Aug 01, 2006 at 09:41:41PM -0600, M. Warner Losh wrote: : > I'm worried that we're getting too many flashdevice.sub entries. : > There's a *LOT* of different cards out there, all of them with : > seemingly different geometries :-(... : : And this worries you because...? flashdevice.sub has at best dubious value to start with. There are literally thousands of geometries that we'd need to support. In addition, this is a highly OEM'd business, so today's flash with a 'SanDisk 512MB' label won't necessarily be the same one in 3 months, when a new process comes along. Having had to buy CF for a commercial application for the past 5 years, I can tell you that every single one of the 'lots' that we've purchased has been different. Even when we're assured by the supplier they will be identical. Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 13:43:49 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8472F16A4DF; Wed, 2 Aug 2006 13:43:49 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8320E43D7B; Wed, 2 Aug 2006 13:43:48 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 94FA81703F; Wed, 2 Aug 2006 13:43:46 +0000 (UTC) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 02 Aug 2006 07:32:32 CST." <20060802.073232.-494097392.imp@bsdimp.com> Date: Wed, 02 Aug 2006 13:43:45 +0000 Message-ID: <17702.1154526225@critter.freebsd.dk> Cc: bugs@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 13:43:49 -0000 In message <20060802.073232.-494097392.imp@bsdimp.com>, "M. Warner Losh" writes : >flashdevice.sub has at best dubious value to start with. There are >literally thousands of geometries that we'd need to support. I'm afraid I have to agree with Warner here. I was hoping that the vendors would standardize on a limited number of geometries, but it seems that yet again my faith in the wisdom of hardware vendors is not supported by evidence. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 14:06:35 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0241816A4DE; Wed, 2 Aug 2006 14:06:35 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C047A43D5F; Wed, 2 Aug 2006 14:06:31 +0000 (GMT) (envelope-from henrik@brixandersen.dk) Received: from osgiliath.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 6DB3E7BA5AD; Wed, 2 Aug 2006 16:06:29 +0200 (CEST) Received: by osgiliath.brixandersen.dk (Postfix, from userid 1000) id BA34C2EC3; Wed, 2 Aug 2006 16:06:28 +0200 (CEST) Date: Wed, 2 Aug 2006 16:06:28 +0200 From: Henrik Brix Andersen To: Poul-Henning Kamp Message-ID: <20060802140628.GL17004@osgiliath.opasia.dk> Mail-Followup-To: Poul-Henning Kamp , "M. Warner Losh" , bugs@freebsd.org, freebsd-embedded@freebsd.org References: <20060802.073232.-494097392.imp@bsdimp.com> <17702.1154526225@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <17702.1154526225@critter.freebsd.dk> X-PGP-Key: http://dev.gentoo.org/~brix/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.11 Cc: bugs@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 14:06:35 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 02, 2006 at 01:43:45PM +0000, Poul-Henning Kamp wrote: > I'm afraid I have to agree with Warner here. >=20 > I was hoping that the vendors would standardize on a limited number > of geometries, but it seems that yet again my faith in the wisdom > of hardware vendors is not supported by evidence. So what should happen with the existing entries in FlashDevice.sub? Should we deprecate it alltogether - or leave it as a half-baked solution? Regards, Brix --=20 Henrik Brix Andersen --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: GnuPG signed iD8DBQFE0LFkv+Q4flTiePgRAuQDAJ0XXoWQ6DcZHmdo1f+TaIRzxm9NMACdGP6d aYuLAkxYTLwA6T9+pHQRkT8= =pKgW -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- From owner-freebsd-embedded@FreeBSD.ORG Wed Aug 2 14:53:51 2006 Return-Path: X-Original-To: freebsd-embedded@FreeBSD.ORG Delivered-To: freebsd-embedded@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3157A16A4DD; Wed, 2 Aug 2006 14:53:51 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D41043D72; Wed, 2 Aug 2006 14:53:50 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k72Eq2sa066348; Wed, 2 Aug 2006 08:52:02 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 02 Aug 2006 08:52:02 -0600 (MDT) Message-Id: <20060802.085202.74685303.imp@bsdimp.com> To: henrik@brixandersen.dk From: Warner Losh In-Reply-To: <20060802140628.GL17004@osgiliath.opasia.dk> References: <20060802.073232.-494097392.imp@bsdimp.com> <17702.1154526225@critter.freebsd.dk> <20060802140628.GL17004@osgiliath.opasia.dk> 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 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 02 Aug 2006 08:52:03 -0600 (MDT) Cc: bugs@FreeBSD.ORG, phk@phk.freebsd.dk, freebsd-embedded@FreeBSD.ORG Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub X-BeenThere: freebsd-embedded@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, 02 Aug 2006 14:53:51 -0000 From: Henrik Brix Andersen Subject: Re: misc/101228: [nanobsd] [patch] Two more entries for FlashDevice.sub Date: Wed, 2 Aug 2006 16:06:28 +0200 > On Wed, Aug 02, 2006 at 01:43:45PM +0000, Poul-Henning Kamp wrote: > > I'm afraid I have to agree with Warner here. > > > > I was hoping that the vendors would standardize on a limited number > > of geometries, but it seems that yet again my faith in the wisdom > > of hardware vendors is not supported by evidence. > > So what should happen with the existing entries in FlashDevice.sub? > Should we deprecate it alltogether - or leave it as a half-baked > solution? In our operation, we burn each flash from a tarball after taking that flash's geometry into account. This allows us to get the maximium amount of space on our 'hog' partitions, but does mean we don't put an actual image onto the part. We don't use nanobsd, btw, since our solution is home-grown before nanobsd was even thought of by phk. nanobsd is an image based solution, so it should pick numbers that are a little smaller than the typical part (eg use 510,000 bytes for the size of the image of a 512MB flash) and use those for everything. Nanobsd is not setup to optimize to a level higher than this. Warner