From owner-freebsd-small Mon Dec 4 22:31:14 2000 From owner-freebsd-small@FreeBSD.ORG Mon Dec 4 22:31:13 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 1B2E337B400 for ; Mon, 4 Dec 2000 22:31:13 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id eB56VBr36282; Mon, 4 Dec 2000 22:31:11 -0800 (PST) Date: Mon, 4 Dec 2000 22:31:11 -0800 (PST) From: Doug White To: seung-kyoon shin Cc: freebsd-small@FreeBSD.ORG Subject: Re: picobsd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 1 Dec 2000, seung-kyoon shin wrote: > Hello! > > I successly download picobsd router version in picobsd homepage. > After that, I copy it into my floppy disk using fdimage.exe command. > I boot my computer using this floppy disk. > Now, I have many directory in my computer. > > I tried to something using ee editor. > > My question is How can I configure these value and directory > to use as router to this picobsd. > I cannot find detail information in anywhere. even your homepage. You will want to mount the floppy from your machine and edit the /etc files to your liking, then boot it. This requires you have a standard FreeBSD box to edit the Pico disk, yes. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Dec 5 8:47:22 2000 From owner-freebsd-small@FreeBSD.ORG Tue Dec 5 08:47:20 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from tekincisnts-4.teklogix.com (mail.teklogix.com [207.219.2.10]) by hub.freebsd.org (Postfix) with ESMTP id 13F1737B400 for ; Tue, 5 Dec 2000 08:47:20 -0800 (PST) Received: by tekincisnts-4 with Internet Mail Service (5.5.2653.19) id ; Tue, 5 Dec 2000 11:47:10 -0500 Message-ID: From: Martin Poulin To: "'freebsd-small@freebsd.org'" Subject: New to PicoBSD, need help with net, 4.2-Release, DHCP Date: Tue, 5 Dec 2000 11:47:09 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm fairly competent with FreeBSD but very new to PicoBSD. I'm running into a few problems - I run /usr/src/release/picobsd/build/build, and after configuring the kernel for a "net" floppy and select "build it", I get the following errors during the build process: "error: subtraction of two symbols in different sections ".data" {.data section} - "KERNBASE" {*UND* section} at file address ...." and then it stops with error code 1. Is this a problem with 4.2-release and if so what release should I be using (I have 3.4-release and 2.2.8-release on CD), or am I missing something else entirely? Also, I've seen other people ask but haven't yet seen an answer that I can work with. How do I enable DHCP client support so I can set this up as a firewall / gateway for my @home cable service? (in small words please - I'm still a newbie...) Thanks in advance. M. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Dec 5 9:28: 6 2000 From owner-freebsd-small@FreeBSD.ORG Tue Dec 5 09:28:04 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id EF0ED37B400 for ; Tue, 5 Dec 2000 09:28:03 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id eB5HRm345609; Tue, 5 Dec 2000 09:27:48 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200012051727.eB5HRm345609@iguana.aciri.org> Subject: Re: New to PicoBSD, need help with net, 4.2-Release, DHCP In-Reply-To: from Martin Poulin at "Dec 5, 2000 11:47: 9 am" To: martin.poulin@teklogix.com (Martin Poulin) Date: Tue, 5 Dec 2000 09:27:48 -0800 (PST) Cc: freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: rizzo@iguana.aciri.org Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > "error: subtraction of two symbols in different sections ".data" {.data > section} - "KERNBASE" {*UND* section} at file address ...." and then it > stops with error code 1. i think i have hit the same problem, but i cannot recall how i fixed it :) i think it was related with out of sync include directories, but i am not 100% sure cheers luigi > Is this a problem with 4.2-release and if so what release should I be using > (I have 3.4-release and 2.2.8-release on CD), or am I missing something else > entirely? > > Also, I've seen other people ask but haven't yet seen an answer that I can > work with. How do I enable DHCP client support so I can set this up as a > firewall / gateway for my @home cable service? (in small words please - I'm > still a newbie...) > > Thanks in advance. > > M. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Dec 6 16:36: 4 2000 From owner-freebsd-small@FreeBSD.ORG Wed Dec 6 16:36:03 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id DEBDD37B400 for ; Wed, 6 Dec 2000 16:36:02 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id eB70a2X00376; Wed, 6 Dec 2000 16:36:02 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200012070036.eB70a2X00376@iguana.aciri.org> Subject: non-standard floppy formats ? To: small@freebsd.org Date: Wed, 6 Dec 2000 16:36:02 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: rizzo@iguana.aciri.org Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i was trying to make picobsd work with non-standard floppy formats (1722k specifically), but i am having a hard time. Basically, the boot2 code says "Not ufs", i think this is because it tries to read from the disk using the BIOS and the BIOS only knows about the 80 track/18 sector format, and not the 82*21 format used for 1722k. Am i correct ? This is really bad because in the additional 300K there would be a lot of stuff one could squeeze in. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Dec 6 21:36:15 2000 From owner-freebsd-small@FreeBSD.ORG Wed Dec 6 21:36:13 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id 5F52F37B400 for ; Wed, 6 Dec 2000 21:36:13 -0800 (PST) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id WAA08092; Wed, 6 Dec 2000 22:36:03 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200012070536.WAA08092@freeway.dcfinc.com> Subject: Re: Compaq iPAQ home internet appliance In-Reply-To: <20001128040053.A4319@futuresouth.com> from Tim Tsai at "Nov 28, 0 04:00:53 am" To: tim@futuresouth.com (Tim Tsai) Date: Wed, 6 Dec 2000 22:36:03 -0700 (MST) Cc: freebsd-small@FreeBSD.ORG Reply-To: chad@DCFinc.com Organization: DCF, Inc. X-O/S: FreeBSD 2.2.8-STABLE X-Unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: chad@freeway.dcfinc.com Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Tim Tsai wrote: > Does anybody know if FreeBSD works with this device? I am looking for a > slim stand alone device (without an input device is fine) with 6" - 9" > color LCD screen that can run some sort of Unix. Any suggestions? I still have two I-Opener appliances in unopened boxes... -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 2:19:12 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 02:19:10 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from genius.tao.org.uk (genesis.tao.org.uk [194.242.131.94]) by hub.freebsd.org (Postfix) with ESMTP id CEF3237B400 for ; Thu, 7 Dec 2000 02:19:09 -0800 (PST) Received: by genius.tao.org.uk (Postfix, from userid 100) id 277029B04; Thu, 7 Dec 2000 10:24:54 +0000 (GMT) Date: Thu, 7 Dec 2000 10:24:54 +0000 From: Josef Karthauser To: Luigi Rizzo Cc: Martin Poulin , freebsd-small@FreeBSD.ORG Subject: Re: New to PicoBSD, need help with net, 4.2-Release, DHCP Message-ID: <20001207102454.G631@bsdi.com> References: <200012051727.eB5HRm345609@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012051727.eB5HRm345609@iguana.aciri.org>; from rizzo@aciri.org on Tue, Dec 05, 2000 at 09:27:48AM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 05, 2000 at 09:27:48AM -0800, Luigi Rizzo wrote: > > "error: subtraction of two symbols in different sections ".data" {.data > > section} - "KERNBASE" {*UND* section} at file address ...." and then it > > stops with error code 1. > > i think i have hit the same problem, but i cannot recall how i fixed it :) > > i think it was related with out of sync include directories, > but i am not 100% sure Have you done a buildworld first? It seems to make a difference. I believe that the kernel build relies on some objects outside of the sys tree. I had this problem when I tried to build the picobsd kernel in /usr/obj/picobsd. Joe > > cheers > luigi > > > Is this a problem with 4.2-release and if so what release should I be using > > (I have 3.4-release and 2.2.8-release on CD), or am I missing something else > > entirely? > > > > Also, I've seen other people ask but haven't yet seen an answer that I can > > work with. How do I enable DHCP client support so I can set this up as a > > firewall / gateway for my @home cable service? (in small words please - I'm > > still a newbie...) > > > > Thanks in advance. > > > > M. > -- Josef Karthauser [joe@FreeBSD.org, joe@tao.org.uk] ......... FreeBSD: The power to change the world ........ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 6:15:50 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 06:15:48 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from nworld2.ootws.com (calnet23-208.gtecablemodem.com [207.175.246.208]) by hub.freebsd.org (Postfix) with ESMTP id AE9AA37B400 for ; Thu, 7 Dec 2000 06:15:47 -0800 (PST) Received: (from nephlim@localhost) by nworld2.ootws.com (8.11.1/8.11.1) id eB7EGE746231; Thu, 7 Dec 2000 06:16:14 -0800 (PST) (envelope-from nephlim) From: Charlie Baysinger Date: Thu, 7 Dec 2000 06:16:14 -0800 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="US-ASCII" To: Luigi Rizzo References: <200012070036.eB70a2X00376@iguana.aciri.org> In-Reply-To: <200012070036.eB70a2X00376@iguana.aciri.org> Subject: Re: non-standard floppy formats ? Cc: small@freebsd.org MIME-Version: 1.0 Message-Id: <00120706161401.46204@nworld2.ootws.com> Content-Transfer-Encoding: 8bit Sender: nephlim@mail.gte.net Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday 06 December 2000 16:36, Luigi Rizzo wrote: : Hi, : i was trying to make picobsd work with non-standard floppy : formats (1722k specifically), but i am having a hard time. : Basically, the boot2 code says "Not ufs", i think this is : because it tries to read from the disk using the BIOS : and the BIOS only knows about the 80 track/18 sector : format, and not the 82*21 format used for 1722k. Am i correct ? I saw an interesting post on from Tom who does a 1722 linux disk. His take on it was that the BOIS had problems doing a 21 sector read, not reading sector 21 specifically and he has never seen one that couldn't read sector 21. Maybe it has something to do with how the loader is reading the disk ? : : This is really bad because in the additional 300K there would : be a lot of stuff one could squeeze in. : I agree -- Charlie Every word is like an unnecessary stain on silence and nothingness. -- Beckett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 7:22:26 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 07:22:25 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id A46E237B400 for ; Thu, 7 Dec 2000 07:22:24 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id eB7FMFG82715; Thu, 7 Dec 2000 07:22:15 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200012071522.eB7FMFG82715@iguana.aciri.org> Subject: Re: New to PicoBSD, need help with net, 4.2-Release, DHCP In-Reply-To: <20001207102454.G631@bsdi.com> from Josef Karthauser at "Dec 7, 2000 10:24:54 am" To: joe@tao.org.uk (Josef Karthauser) Date: Thu, 7 Dec 2000 07:22:15 -0800 (PST) Cc: rizzo@aciri.org, martin.poulin@teklogix.com, freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: rizzo@iguana.aciri.org Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, Dec 05, 2000 at 09:27:48AM -0800, Luigi Rizzo wrote: > > > "error: subtraction of two symbols in different sections ".data" {.data ... > > i think it was related with out of sync include directories, > > but i am not 100% sure > > Have you done a buildworld first? It seems to make a difference. > the sys tree. I had this problem when I tried to build the picobsd > kernel in /usr/obj/picobsd. actually, yes, this was the problem, and the reason why i moved back the kernel into /sys/compile/${TYPE} with yesterday's commit. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 7:42:35 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 07:42:33 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from genius.tao.org.uk (genesis.tao.org.uk [194.242.131.94]) by hub.freebsd.org (Postfix) with ESMTP id 42D3A37B400 for ; Thu, 7 Dec 2000 07:42:33 -0800 (PST) Received: by genius.tao.org.uk (Postfix, from userid 100) id EFE059B37; Thu, 7 Dec 2000 15:48:24 +0000 (GMT) Date: Thu, 7 Dec 2000 15:48:24 +0000 From: Josef Karthauser To: Luigi Rizzo Cc: Josef Karthauser , martin.poulin@teklogix.com, freebsd-small@FreeBSD.ORG Subject: Re: New to PicoBSD, need help with net, 4.2-Release, DHCP Message-ID: <20001207154824.C469@bsdi.com> References: <20001207102454.G631@bsdi.com> <200012071522.eB7FMFG82715@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012071522.eB7FMFG82715@iguana.aciri.org>; from rizzo@aciri.org on Thu, Dec 07, 2000 at 07:22:15AM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 07, 2000 at 07:22:15AM -0800, Luigi Rizzo wrote: > > On Tue, Dec 05, 2000 at 09:27:48AM -0800, Luigi Rizzo wrote: > > > > "error: subtraction of two symbols in different sections ".data" {.data > .. > > > i think it was related with out of sync include directories, > > > but i am not 100% sure > > > > Have you done a buildworld first? It seems to make a difference. > > > the sys tree. I had this problem when I tried to build the picobsd > > kernel in /usr/obj/picobsd. > > actually, yes, this was the problem, and the reason why i moved > back the kernel into /sys/compile/${TYPE} with yesterday's commit. Isn't this a bit rash? The problem also exists for standard FreeBSD kernels. Surely we should talk to Marcel, et.la, and get the problem fixed properly. Joe -- Josef Karthauser [joe@FreeBSD.org, joe@tao.org.uk] ......... FreeBSD: The power to change the world ........ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 7:55:34 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 07:55:33 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id EAE6737B400 for ; Thu, 7 Dec 2000 07:55:32 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id eB7FtRL82938; Thu, 7 Dec 2000 07:55:27 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200012071555.eB7FtRL82938@iguana.aciri.org> Subject: Re: New to PicoBSD, need help with net, 4.2-Release, DHCP In-Reply-To: <20001207154824.C469@bsdi.com> from Josef Karthauser at "Dec 7, 2000 3:48:24 pm" To: joe@tao.org.uk (Josef Karthauser) Date: Thu, 7 Dec 2000 07:55:27 -0800 (PST) Cc: rizzo@aciri.org, joe@tao.org.uk, martin.poulin@teklogix.com, freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: rizzo@iguana.aciri.org Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > actually, yes, this was the problem, and the reason why i moved > > back the kernel into /sys/compile/${TYPE} with yesterday's commit. > > Isn't this a bit rash? The problem also exists for standard FreeBSD > kernels. Surely we should talk to Marcel, et.la, and get the problem > fixed properly. but std kernels are built in /sys/compile/foo if you have not done an earlier buildworld (i suppose the makefiles can detect the absence of the obj directory) so the problem normally does not appear there. Requiring a full buildworld to just build a kernel and picobsd does not really sound as acceptable to me. I agree that a proper fix (probably just recreating some header files, i assume) would be desirable, but it is well beyond my ability and knowledge of the build process, and so i tried to concentrate on those things i can deal with. cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 14: 5:34 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 14:05:32 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with ESMTP id 6DE2537B400 for ; Thu, 7 Dec 2000 14:05:31 -0800 (PST) Received: from gta.com (GTA internal mail system) by gta.com id RAA39082; Thu, 7 Dec 2000 17:03:36 -0500 (EST) Date: Thu, 7 Dec 2000 17:03:36 -0500 (EST) Message-Id: <200012072203.RAA39082@gta.com> From: Larry Baird To: small@freebsd.org Cc: Luigi Rizzo Subject: Re: non-standard floppy formats ? In-Reply-To: <200012070036.eB70a2X00376@iguana.aciri.org> User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200012070036.eB70a2X00376@iguana.aciri.org> you wrote: > Hi, > i was trying to make picobsd work with non-standard floppy > formats (1722k specifically), but i am having a hard time. > Basically, the boot2 code says "Not ufs", i think this is > because it tries to read from the disk using the BIOS > and the BIOS only knows about the 80 track/18 sector > format, and not the 82*21 format used for 1722k. Am i correct ? > This is really bad because in the additional 300K there would > be a lot of stuff one could squeeze in. I think the problem is in boot1.s of boot2. Look at the function read(). The first thing is does is do an int13 call to get the BIOS configuration of the floppy. The result that is causing you a problem is "cylinders per track" (returned in register cl). You could hardcode the code after the int13 to set register cl to your new floppy geometry. Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gnatbox.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 16: 2:13 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 16:02:12 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from antares.cloudnet.com (antares.cloudnet.com [199.199.220.12]) by hub.freebsd.org (Postfix) with ESMTP id 59D9537B401 for ; Thu, 7 Dec 2000 16:02:08 -0800 (PST) Received: (from phillipd@localhost) by antares.cloudnet.com (8.9.3/8.9.3) id SAA09790; Thu, 7 Dec 2000 18:01:54 -0600 Date: Thu, 7 Dec 2000 18:01:54 -0600 From: Phillip Davenport Message-Id: <200012080001.SAA09790@antares.cloudnet.com> To: dwhite@resnet.uoregon.edu, small@freebsd.org Subject: Re: picobsd In-Reply-To: Organization: Cloudnet - St. Cloud, MN (320) 240-8243 User-Agent: tin/pre-1.4-19990216 ("Styrofoam") (UNIX) (Linux/2.0.36 (i686)) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article you wrote: > On Fri, 1 Dec 2000, seung-kyoon shin wrote: [...] >> My question is How can I configure these value and directory >> to use as router to this picobsd. >> I cannot find detail information in anywhere. even your homepage. > You will want to mount the floppy from your machine and edit the /etc > files to your liking, then boot it. The DIAL diskette image contains the 'ee' editor and 'fsck', amoung other very useful tools for managing the configuration of the NET and ROUTER floppies. No other host box required. p To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 17: 8: 6 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 17:08:04 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [203.2.75.231]) by hub.freebsd.org (Postfix) with ESMTP id 6EC0537B400 for ; Thu, 7 Dec 2000 17:08:02 -0800 (PST) Received: from w95 (wdcax13-219.dialup.optusnet.com.au [198.142.220.219]) by mail007.syd.optusnet.com.au (8.11.1/8.11.1) with SMTP id eB817EA16472; Fri, 8 Dec 2000 12:07:14 +1100 Message-ID: <006b01c060b3$33edaa40$0104010a@famzon.com.au> Reply-To: "Andrew Hannam" From: "Andrew Hannam" To: "Larry Baird" , References: <200012072203.RAA39082@gta.com> Subject: Re: non-standard floppy formats ? Date: Fri, 8 Dec 2000 11:03:05 +1000 Organization: FamZon Systems MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Disposition-Notification-To: "Andrew Hannam" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have had this working with no changes to the boot code. Conditions: PicoBSD based on kernel V3.4 No /boot/loader - I set the boot0 stuff to load a compressed kernel directly. Maybe this was just a plain blind luck the it worked ?!! ----- Original Message ----- From: "Larry Baird" To: Cc: "Luigi Rizzo" Sent: Friday, December 08, 2000 8:03 AM Subject: Re: non-standard floppy formats ? > In article <200012070036.eB70a2X00376@iguana.aciri.org> you wrote: > > Hi, > > i was trying to make picobsd work with non-standard floppy > > formats (1722k specifically), but i am having a hard time. > > Basically, the boot2 code says "Not ufs", i think this is > > because it tries to read from the disk using the BIOS > > and the BIOS only knows about the 80 track/18 sector > > format, and not the 82*21 format used for 1722k. Am i correct ? > > > This is really bad because in the additional 300K there would > > be a lot of stuff one could squeeze in. > I think the problem is in boot1.s of boot2. Look at the function > read(). The first thing is does is do an int13 call to get the > BIOS configuration of the floppy. The result that is causing > you a problem is "cylinders per track" (returned in register cl). > You could hardcode the code after the int13 to set register cl > to your new floppy geometry. > > Larry > > -- > ------------------------------------------------------------------------ > Larry Baird | http://www.gnatbox.com > Global Technology Associates, Inc. | Orlando, FL > Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 18:15:30 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 18:15:28 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from note.orchestra.cse.unsw.EDU.AU (note.orchestra.cse.unsw.EDU.AU [129.94.242.29]) by hub.freebsd.org (Postfix) with SMTP id 621D337B400 for ; Thu, 7 Dec 2000 18:15:26 -0800 (PST) Received: From mozart (for freebsd-small@freebsd.org) (for jont@cse.unsw.edu.au) With LocalMail ; Fri, 8 Dec 2000 13:15:17 +1100 From: Jonathon Tidswell To: freebsd-small@freebsd.org Date: Fri, 8 Dec 2000 13:15:17 +1100 Cc: Jonathon Tidswell Subject: status / appropriateness query Message-ID: <20001208131517.A29977@cse.unsw.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Im involved with a project that is currently being pushed into Linux in an embedded space. I think Pico/Tiny BSD may be a reasonable alternative. But the PicoBSD web pages are getting old and getting a coherent picture from the freebsd-small list archive is hard. I suppose my major question is to what extend does Pico/Tiny BSD give me additional kernel tuning options over standard FreeBSD ? TIA - JonT PS Here are some basic details in case it helps. The project is basically an embedded computer on a PCI board with some custom hardware and some assurance requirements. Its not hard real time. The board has basically 486sx some flash memory (holds bootloader and some config info) a serial port a PCI interface 4MB ram some custom hardware (does specialised data processing) I dont think I need paging, there will probably always be less than twenty processes running on the system, I may need a socket interface, but only a little of networking, probably no buffer cache, maybe even no pseudo ttys, ... The currently proposed solution is linux paging back over the host interface. I'd rather no GPL, more RAM for caching and reduced host interface load. Of course I could be being greedy, since I really don't have time to fork a kernel project, and probably not the patience to debug it :-) [ Fortunately there is bootloader written & tested that loads the OS over the host interface so lots of testing/debugging is simplified already. ] -- Jon Tidswell School of Computer Science & Engineering University of NSW, 2052, Australia Disclaimer: I think my thoughts are my own, and I believe my writings are too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 19: 4:42 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 19:04:40 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from cricket.diploma.ru (cricket.diploma.ru [193.232.112.129]) by hub.freebsd.org (Postfix) with ESMTP id 03D9037B400 for ; Thu, 7 Dec 2000 19:04:39 -0800 (PST) Received: from sergey (localhost [127.0.0.1]) by cricket.diploma.ru (8.9.1/8.9.1) with SMTP id FAA24520; Fri, 8 Dec 2000 05:47:58 +0300 (MSK) Message-ID: <0a0001c060c4$787c9160$2f04000a@sergey> From: "Sergey Hlupnov" To: "Jonathon Tidswell" , References: <20001208131517.A29977@cse.unsw.edu.au> Subject: Re: status / appropriateness query Date: Thu, 7 Dec 2000 19:10:48 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I suppose my major question is to what extend does Pico/Tiny BSD give > me additional kernel tuning options over standard FreeBSD ? It actually does not. Pico BSD is not different OS/kernel/whatever. It is : - just same kernel with all unused options turned off to reduce size. May be with added MFS/MFS_ROOT support to keep all filesystem in memory. - a single crunched binary, that contains code of all user programs like ls, more, init, getty, ping and all libraries linked as static. That greatly reduces size comparing to all programs in separate files plus dynamic libraries. There is some code that executes code of particular user program depending on what name was used to launch it so if you run 'ls', it will behave exactly like 'ls' should do. - scripts that prepare floppy/flash/cdrom image, create filesystem and create links like "ln /usr/bin/ls /usr/bin/big_crunched_binary" for every user program. - tweaked boot process. Some people do not need init/getty at all. Some dont need sh/csh and use some mini-shell to conserve space. Some put additional files on the second floppy and copy them to MemFS (ramdisk) during boot time... Some "burn" filesystem inside the kernel so after boot it is already looks like ramdisk. - if you decide to save some space by dropping vi what is good idea, then some system to edit and save configs > The currently proposed solution is linux paging back over the host > interface. I'd rather no GPL, more RAM for caching and reduced host interface > load. Of course I could be being greedy, since I really don't have time to > fork a kernel project, and probably not the patience to debug it :-) > [ Fortunately there is bootloader written & tested that loads the OS over > the host interface so lots of testing/debugging is simplified already. ] You can do it with FreeBSD. May be you'll want some older versions like 3.x or even 2.x because as far as I know 4.x needs like 8 megs RAM (may be Im wrong here). Debug is a bit complex and time consuming since for a little change you'll need redo all make procedure - re-create filesystem, make new image and put it on floppy/cdrom. Then boot off it and see if you want change something else. If you use MFS you can not just mount floppy and make your changes on it - all files are inside /kernel.gz. Hope this helps Sergey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 21:39:56 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 21:39:53 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mage.trollkarl.net (fw.trollkarl.net [207.167.5.66]) by hub.freebsd.org (Postfix) with ESMTP id 83D5937B401 for ; Thu, 7 Dec 2000 21:39:53 -0800 (PST) Received: from trollkarl.skafte.org (root@trollkarl [192.168.100.16]) by mage.trollkarl.net (8.11.1/8.11.1) with ESMTP id eB85dlM10639 for ; Thu, 7 Dec 2000 22:39:47 -0700 (MST) (envelope-from skafte@trollkarl.net) Received: (from skafte@localhost) by trollkarl.skafte.org (8.11.1/8.11.1) id eB85djV23294 for small@freebsd.org; Thu, 7 Dec 2000 22:39:45 -0700 (MST) (envelope-from skafte) Date: Thu, 7 Dec 2000 22:39:45 -0700 From: Greg Skafte To: small@freebsd.org Subject: Re: non-standard floppy formats ? Message-ID: <20001207223944.A23162@trollkarl.skafte.org> References: <200012070036.eB70a2X00376@iguana.aciri.org> <00120706161401.46204@nworld2.ootws.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00120706161401.46204@nworld2.ootws.com>; from ootws@usa.net on Thu, Dec 07, 2000 at 06:16:14AM -0800 Organization: Gregs Hidey Hole Sender: skafte@trollkarl.net Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mabe there are some hints in the mdf support utilities that is part of mtools... as a side note there is also the os/2 xdf format which is 1840k..... Quoting Charlie Baysinger (ootws@usa.net) On Subject: Re: non-standard floppy formats ? Date: Thu, Dec 07, 2000 at 06:16:14AM -0800 > On Wednesday 06 December 2000 16:36, Luigi Rizzo wrote: > : Hi, > : i was trying to make picobsd work with non-standard floppy > : formats (1722k specifically), but i am having a hard time. > : Basically, the boot2 code says "Not ufs", i think this is > : because it tries to read from the disk using the BIOS > : and the BIOS only knows about the 80 track/18 sector > : format, and not the 82*21 format used for 1722k. Am i correct ? > > I saw an interesting post on from Tom who does a 1722 linux disk. His take on > it was that the BOIS had problems doing a 21 sector read, not reading sector > 21 specifically and he has never seen one that couldn't read sector 21. Maybe > it has something to do with how the loader is reading the disk ? > > : > : This is really bad because in the additional 300K there would > : be a lot of stuff one could squeeze in. > : > > I agree > > > -- > Charlie > > Every word is like an unnecessary stain on silence and nothingness. -- Beckett > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message -- Email: skafte@trollkarl.net ICQ: 93234105 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 21:53: 0 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 21:52:59 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mail4.mmcable.com (fe4.rdc-kc.rr.com [24.94.163.51]) by hub.freebsd.org (Postfix) with ESMTP id D6CBB37B400 for ; Thu, 7 Dec 2000 21:52:58 -0800 (PST) Received: from quark ([65.26.238.47]) by mail4.mmcable.com with Microsoft SMTPSVC(5.5.1877.357.35); Thu, 7 Dec 2000 23:50:53 -0600 Message-ID: <001301c060da$9c790dd0$2fee1a41@quark> From: "Jeffrey S. Sharp" To: Cc: "Jonathon Tidswell" References: <20001208131517.A29977@cse.unsw.edu.au> Subject: Re: status / appropriateness query Date: Thu, 7 Dec 2000 23:49:20 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Im involved with a project that is currently being pushed into Linux in > an embedded space. > > I think Pico/Tiny BSD may be a reasonable alternative. > But the PicoBSD web pages are getting old and getting a coherent picture > from the freebsd-small list archive is hard. It seems to me like the status of the web pages reflect the status of PicoBSD itself (though I may just be blowing blue sparks through my output ports...) (i.e., it seems like a mess to me). For this reason, I don't see too many production situations where it would a win to use raw Pico. However, PicoBSD is great for learning how you can create your own customized solution with FreeBSD. That's what many have done here, including me, and let me tell you, it is SUPER EASY to create your own small FreeBSD distro. To learn how, I suggest: * Read the various scripts in /usr/src/release/picobsd * RTFM for all the programs involved * Get some aha!s from Greg's book "The Complete FreeBSD" * Ask questions on this list The list is welcome to correct me if anyone thinks I'm out of line. -- jss To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Dec 7 22:57:24 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 22:57:17 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from oneway.com (daedal.oneway.com [205.252.89.49]) by hub.freebsd.org (Postfix) with ESMTP id F109437B401 for ; Thu, 7 Dec 2000 22:57:16 -0800 (PST) Received: from localhost (jay@localhost) by oneway.com (8.9.3/8.9.3) with ESMTP id CAA69518; Fri, 8 Dec 2000 02:06:31 -0500 (EST) (envelope-from jay@oneway.com) Date: Fri, 8 Dec 2000 02:06:31 -0500 (EST) From: Jay Kuri To: Jonathon Tidswell Cc: freebsd-small@FreeBSD.ORG Subject: Re: status / appropriateness query In-Reply-To: <20001208131517.A29977@cse.unsw.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I've been down this road as well. About a year ago now, I developed an embedded PicoBSD network gateway device. I was using customized hardware but the overall picture was similar. Pentium processor, 8M onboard flash, 2 serial and 3 ethernet ports + PCI expansion (which was unused). It seems as though PicoBSD has come quite a ways since I was looking at it, but even then it was relatively easy to understand by reading the build scripts. Back then I posted instructions on how to build a bootable Flash PicoBSD installation... which is in the archives at: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=19197+25615+/usr/local/www/db/text/1999/freebsd-small/19990801.freebsd-small But that is for PicoBSD 0.44. (FreeBSD 3.2) Shouldn't be too different. Forgive me if I'm wrong, I haven't played with picobsd in a while. What I can tell you from experience is that PicoBSD worked great for me. I built some really nice powerful network devices on it. We had a little more in the way of memory (128M actually) but way way back in the day, I ran 'standard' FreeBSD (with X) in 8M on a 486... so I think it's probably just a matter of tweaking your config. The nice thing about a large-ish (8M in my case) flash is that you can keep your binaries there, instead of in MFS which reduces your memory requirement for picobsd to the 'standard' for FreeBSD (which according to the handbook is 8M 'recommended'... implying you could go lower, right?) I think we even had a 'standard' freebsd install (super-trimmed down) on 8M at one point. I could be lying about that though... I know we wound up using PicoBSD on our 8M flash machines and 'standard' FreeBSD on our 200M flash machines. As an aside, we had about 5M left over on our 8M flash machines after the picobsd install. =) I think you'll just have to try it to be sure. The only potential problem I really see is the 4M memory. Hope this helps, Jay > Im involved with a project that is currently being pushed into Linux in > an embedded space. > > I think Pico/Tiny BSD may be a reasonable alternative. > But the PicoBSD web pages are getting old and getting a coherent picture > from the freebsd-small list archive is hard. > > I suppose my major question is to what extend does Pico/Tiny BSD give > me additional kernel tuning options over standard FreeBSD ? > > TIA > - JonT > > PS Here are some basic details in case it helps. > > The project is basically an embedded computer on a PCI board with some > custom hardware and some assurance requirements. Its not hard real time. > > The board has basically > 486sx > some flash memory (holds bootloader and some config info) > a serial port > a PCI interface > 4MB ram > some custom hardware (does specialised data processing) > > I dont think I need paging, there will probably always be less than > twenty processes running on the system, I may need a socket interface, > but only a little of networking, probably no buffer cache, > maybe even no pseudo ttys, ... > > The currently proposed solution is linux paging back over the host > interface. I'd rather no GPL, more RAM for caching and reduced host interface > load. Of course I could be being greedy, since I really don't have time to > fork a kernel project, and probably not the patience to debug it :-) > [ Fortunately there is bootloader written & tested that loads the OS over > the host interface so lots of testing/debugging is simplified already. ] > > -- > Jon Tidswell > School of Computer Science & Engineering > University of NSW, 2052, Australia > Disclaimer: I think my thoughts are my own, and I believe my writings are too. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > - - - - - - - - - - - - - - - - - - - - - - - - - UNIX: because reboots are for hardware upgrades Jay Kuri jay@oneway.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Dec 8 18: 2:37 2000 From owner-freebsd-small@FreeBSD.ORG Fri Dec 8 18:02:36 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 3619437B400 for ; Fri, 8 Dec 2000 18:02:36 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id eB922NW34779; Fri, 8 Dec 2000 18:02:23 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200012090202.eB922NW34779@iguana.aciri.org> Subject: Re: non-standard floppy formats ? In-Reply-To: <200012072203.RAA39082@gta.com> from Larry Baird at "Dec 7, 2000 5: 3:36 pm" To: lab@gta.com (Larry Baird) Date: Fri, 8 Dec 2000 18:02:23 -0800 (PST) Cc: small@FreeBSD.ORG, rizzo@aciri.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: rizzo@iguana.aciri.org Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I think the problem is in boot1.s of boot2. Look at the function > read(). The first thing is does is do an int13 call to get the > BIOS configuration of the floppy. The result that is causing > you a problem is "cylinders per track" (returned in register cl). > You could hardcode the code after the int13 to set register cl > to your new floppy geometry. tried that, but it seems that the bios does not like that. Probably (at least on the system i tried) it still checks for the sector number to be admissible for the geometry it knows. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Dec 8 19:50:32 2000 From owner-freebsd-small@FreeBSD.ORG Fri Dec 8 19:50:30 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with ESMTP id BF2B337B400 for ; Fri, 8 Dec 2000 19:50:29 -0800 (PST) Received: from gta.com (GTA internal mail system) by gta.com id WAA29855; Fri, 8 Dec 2000 22:48:53 -0500 (EST) Date: Fri, 8 Dec 2000 22:48:52 -0500 From: Larry Baird To: small@freebsd.org Cc: Luigi Rizzo Subject: Re: non-standard floppy formats ? Message-ID: <20001208224852.A29661@max.gta.com> References: <200012072203.RAA39082@gta.com> <200012090202.eB922NW34779@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200012090202.eB922NW34779@iguana.aciri.org>; from rizzo@aciri.org on Fri, Dec 08, 2000 at 06:02:23PM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 08, 2000 at 06:02:23PM -0800, Luigi Rizzo wrote: > > I think the problem is in boot1.s of boot2. Look at the function > > read(). The first thing is does is do an int13 call to get the > > BIOS configuration of the floppy. The result that is causing > > you a problem is "cylinders per track" (returned in register cl). > > You could hardcode the code after the int13 to set register cl > > to your new floppy geometry. > > tried that, but it seems that the bios does not like that. Probably > (at least on the system i tried) it still checks for the sector > number to be admissible for the geometry it knows. Are you familiar with the following site? http://www.ctyme.com/rbrown.htm It has a lot of documentation on BIOS calls. I did a quick look, but I couldn't find one that let you change the BIOS geometry for sure. The following might, but the description isn't clear: http://www.ctyme.com/intr/rb-0643.htm Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gnatbox.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sat Dec 9 4:46:40 2000 From owner-freebsd-small@FreeBSD.ORG Sat Dec 9 04:46:39 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from lucifer.krush.net (lucifer.krush.net [195.158.35.35]) by hub.freebsd.org (Postfix) with ESMTP id EF1FF37B400 for ; Sat, 9 Dec 2000 04:46:38 -0800 (PST) Received: (from basty@localhost) by lucifer.krush.net (8.9.3/8.9.3) id NAA00625; Sat, 9 Dec 2000 13:36:24 +0100 (CET) (envelope-from basty) Date: Sat, 9 Dec 2000 13:36:24 +0100 (CET) From: "bastian@marmetschke.com" Message-Id: <200012091236.NAA00625@lucifer.krush.net> To: freebsd-small@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-URL: http://people.freebsd.org/~picobsd/ X-Mailer: Lynx, Version 2.8.2rel.1 Subject: Nokia 9110i and picoBSD ? :> Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I have just a weired question for you guys.... ;-) Is there any way to get this picoBSD running with a Nokia Communicator 9110i ? As far as I know there must be a way, since DOS runs on it also. Thanks! basty To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sat Dec 9 6:55:36 2000 From owner-freebsd-small@FreeBSD.ORG Sat Dec 9 06:55:34 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mail5.registeredsite.com (mail5.registeredsite.com [209.35.159.17]) by hub.freebsd.org (Postfix) with ESMTP id 205C137B400 for ; Sat, 9 Dec 2000 06:55:34 -0800 (PST) Received: from mail.thinserver.net (mail.thinserver.net [64.225.15.74]) by mail5.registeredsite.com (8.9.3/8.9.3) with ESMTP id VAA11882 for ; Fri, 8 Dec 2000 21:54:59 -0500 Received: from thinserver.net [64.223.208.51] by mail.thinserver.net with ESMTP (SMTPD32-6.00) id A7EAFA64004E; Sat, 09 Dec 2000 09:55:38 -0500 Sender: support@mail5.registeredsite.com Message-ID: <3A320FC3.88668978@thinserver.net> Date: Sat, 09 Dec 2000 10:56:03 +0000 From: Norm Audet Reply-To: support@mail.thinserver.net X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 3.5-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-small@freebsd.org Subject: DHCP on picobsd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, This is in reply to a spate of questions regarding DHCP on pico. DHCP will work, but the files need a lot of tweaking in order to get it to work. I did manage a working floppy, but the following things need to be done: rc.network needs to have code added to the ifconfig section to parse for DHCP in the ifconfig parms and run dhclient. dhclient does not see /etc/dhclient script which also does not have execute permissions and rc.conf needs a line for dhcp_program="/sbin/dhclient" Oh yes, crunch.conf needs dhclient added to the build list. This copy was done on 3-Stable because it's easier to debug and has more room to play, but as soon as 4-Stable settles down, I will try it there as well. Cheers, Norm Audet Definition of Insanity: Performing the same task over and over while expecting a different result. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sat Dec 9 9:36:21 2000 From owner-freebsd-small@FreeBSD.ORG Sat Dec 9 09:36:19 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from nordier.com (c2-dbn-21.dial-up.net [196.34.155.149]) by hub.freebsd.org (Postfix) with ESMTP id 70D0437B400 for ; Sat, 9 Dec 2000 09:36:15 -0800 (PST) Received: (from rnordier@localhost) by nordier.com (8.11.1/8.11.1) id eB9HaiH00638; Sat, 9 Dec 2000 19:36:44 +0200 (SAST) (envelope-from rnordier) From: Robert Nordier Message-Id: <200012091736.eB9HaiH00638@nordier.com> Subject: Re: non-standard floppy formats ? To: rizzo@aciri.org, lab@gta.com Date: Sat, 9 Dec 2000 19:36:43 +0200 (SAST) Cc: small@freebsd.org In-Reply-To: <20001208224852.A29661@max.gta.com> from "Larry Baird" at Dec 08, 2000 10:48:52 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Larry Baird wrote: > On Fri, Dec 08, 2000 at 06:02:23PM -0800, Luigi Rizzo wrote: > > > I think the problem is in boot1.s of boot2. Look at the function > > > read(). The first thing is does is do an int13 call to get the > > > BIOS configuration of the floppy. The result that is causing > > > you a problem is "cylinders per track" (returned in register cl). > > > You could hardcode the code after the int13 to set register cl > > > to your new floppy geometry. > > > > tried that, but it seems that the bios does not like that. Probably > > (at least on the system i tried) it still checks for the sector > > number to be admissible for the geometry it knows. > Are you familiar with the following site? > http://www.ctyme.com/rbrown.htm There's no simple way to reliably boot something the size of FreeBSD from a floppy in non-standard format. Your best approach would be to look at something like Christoph Hochstaetter's fdformat to get an idea of what's needed to fool BIOS into handling this stuff. -- Robert Nordier rnordier@nordier.com rnordier@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Sat Dec 9 14:16:14 2000 From owner-freebsd-small@FreeBSD.ORG Sat Dec 9 14:16:08 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from genius.tao.org.uk (genesis.tao.org.uk [194.242.131.94]) by hub.freebsd.org (Postfix) with ESMTP id C33BC37B401 for ; Sat, 9 Dec 2000 14:16:05 -0800 (PST) Received: by genius.tao.org.uk (Postfix, from userid 100) id 537229B36; Sat, 9 Dec 2000 22:01:24 +0000 (GMT) Date: Sat, 9 Dec 2000 22:01:24 +0000 From: Josef Karthauser To: small@FreeBSD.ORG Cc: Luigi Rizzo Subject: Rewrite of Crunchgen - call for testers. Message-ID: <20001209220123.A57946@bsdi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: joe@tao.org.uk Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi everyone, I've been working on crunchgen to get to better handle building objects in $MAKEOBJDIRPREFIX, even if it changes between generating the crunch.mk file and running it. I'd really appreciate it if you could test it if you've got a moment, and rely on it. i.e.: crunchgen foo.conf crunchgen -o -p /some/other/obj foo.conf make -f foo.mk MAKEOBJDIRPREFIX=/something/else make -f foo.mk etc, In particular if you use the 'special foo objpaths' config option please let me know whether it still does what you'd expect. Many thanks, Joe p.s. the patch should apply to both -current and 4-stable. -- Josef Karthauser [joe@FreeBSD.org, joe@tao.org.uk] ......... FreeBSD: The power to change the world ........ --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Index: crunchgen.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/crunch/crunchgen/crunchgen.c,v retrieving revision 1.17 diff -u -r1.17 crunchgen.c --- crunchgen.c 2000/11/30 21:14:54 1.17 +++ crunchgen.c 2000/12/09 21:53:42 @@ -65,6 +65,7 @@ char *name; /* program name */ char *ident; /* C identifier for the program name */ char *srcdir; + char *realsrcdir; char *objdir; char *objvar; /* Makefile variable to replace OBJS */ strlst_t *objs, *objpaths; @@ -502,8 +503,7 @@ gen_output_makefile(); status(""); fprintf(stderr, - "Run \"make -f %s objs exe\" to build crunched binary.\n", - outmkname); + "Run \"make -f %s\" to build crunched binary.\n", outmkname); } /* @@ -513,8 +513,8 @@ { char path[MAXPATHLEN]; char *srcparent; - strlst_t *s; char line[MAXLINELEN]; + FILE *f; snprintf(line, MAXLINELEN, "filling in parms for %s", p->name); status(line); @@ -528,20 +528,30 @@ if(is_dir(line)) p->srcdir = strdup(line); } - if(!p->objdir && p->srcdir) { - FILE *f; - p->objdir = p->srcdir; - snprintf(line, MAXLINELEN, "cd %s && echo -n %s`/bin/pwd`", - p->srcdir, objprefix); - f = popen(line,"r"); - if (f) { - path[0]='\0'; - fgets(path,sizeof path, f); - if (!pclose(f)) { - if(is_dir(path)) - p->objdir = strdup(path); - } - } + + /* Determine the actual srcdir (maybe symlinked). */ + snprintf(line, MAXLINELEN, "cd %s && echo -n `/bin/pwd`", p->srcdir); + f = popen(line,"r"); + if (f) { + path[0] = '\0'; + fgets(path, sizeof path, f); + if (!pclose(f)) { + p->realsrcdir = strdup(path); + } + } + if (!p->realsrcdir) + errx(1, "Can't execute: %s\n", line); + + /* Unless the option to make object files was specified the + * the objects will be built in the source directory unless + * an object directory already exists. + */ + if(!makeobj && !p->objdir && p->srcdir) { + snprintf(line, sizeof line, "%s/%s", objprefix, p->realsrcdir); + if (is_dir(line)) + p->objdir = strdup(line); + else + p->objdir = p->realsrcdir; } /* * XXX look for a Makefile.{name} in local directory first. @@ -556,24 +566,12 @@ if(!p->objs && p->srcdir && is_nonempty_file(path)) fillin_program_objs(p, path); - if(!p->objpaths && p->objdir && p->objs) - for(s = p->objs; s != NULL; s = s->next) { - snprintf(line, MAXLINELEN, "%s/%s", p->objdir, s->str); - add_string(&p->objpaths, line); - } - if(!p->srcdir && verbose) warnx("%s: %s: warning: could not find source directory", infilename, p->name); if(!p->objs && verbose) warnx("%s: %s: warning: could not find any .o files", infilename, p->name); - - if(!p->objpaths) { - warnx("%s: %s: error: no objpaths specified or calculated", - infilename, p->name); - p->goterror = goterror = 1; - } } void fillin_program_objs(prog_t *p, char *path) @@ -694,9 +692,11 @@ if(p->objs) { fprintf(cachef, "special %s objs", p->name); output_strlst(cachef, p->objs); + } + if(p->objpaths) { + fprintf(cachef, "special %s objpaths", p->name); + output_strlst(cachef, p->objpaths); } - fprintf(cachef, "special %s objpaths", p->name); - output_strlst(cachef, p->objpaths); } fclose(cachef); } @@ -816,6 +816,13 @@ fprintf(outmk, "LIBS="); output_strlst(outmk, libs); + if (makeobj) { + fprintf(outmk, "MAKEOBJDIRPREFIX?=%s\n", objprefix); + fprintf(outmk, "MAKE=env MAKEOBJDIRPREFIX=$(MAKEOBJDIRPREFIX) make\n"); + } else { + fprintf(outmk, "MAKE=make\n"); + } + if (buildopts) { fprintf(outmk, "BUILDOPTS+="); output_strlst(outmk, buildopts); @@ -834,13 +841,13 @@ fprintf(outmk, " %s_clean", p->ident); fprintf(outmk, "\n\n"); + fprintf(outmk, "all: objs exe\nobjs: $(SUBMAKE_TARGETS)\n"); + fprintf(outmk, "exe: %s\n", execfname); fprintf(outmk, "%s: %s.o $(CRUNCHED_OBJS)\n", execfname, execfname); fprintf(outmk, "\t$(CC) -static -o %s %s.o $(CRUNCHED_OBJS) $(LIBS)\n", execfname, execfname); fprintf(outmk, "\tstrip %s\n", execfname); - fprintf(outmk, "all: objs exe\nobjs: $(SUBMAKE_TARGETS)\n"); - fprintf(outmk, "exe: %s\n", execfname); fprintf(outmk, "realclean: clean subclean\n"); fprintf(outmk, "clean:\n\trm -f %s *.lo *.o *_stub.c\n", execfname); @@ -856,6 +863,16 @@ if(p->srcdir && p->objs) { fprintf(outmk, "%s_SRCDIR=%s\n", p->ident, p->srcdir); + fprintf(outmk, "%s_REALSRCDIR=%s\n", p->ident, p->realsrcdir); + + fprintf(outmk, "%s_OBJDIR=", p->ident); + if (p->objdir) + fprintf(outmk, "%s", p->objdir); + else + fprintf(outmk, "$(MAKEOBJDIRPREFIX)/$(%s_REALSRCDIR)\n", + p->ident); + fprintf(outmk, "\n"); + fprintf(outmk, "%s_OBJS=", p->ident); output_strlst(outmk, p->objs); if (p->buildopts != NULL) { @@ -865,20 +882,27 @@ fprintf(outmk, "%s_make:\n", p->ident); fprintf(outmk, "\t(cd $(%s_SRCDIR) && ", p->ident); if (makeobj) - fprintf(outmk, "make obj && "); + fprintf(outmk, "$(MAKE) obj && "); fprintf(outmk, "\\\n"); - fprintf(outmk, "\t\tmake $(BUILDOPTS) $(%s_OPTS) depend && \\\n" - "\t\tmake $(BUILDOPTS) $(%s_OPTS) $(%s_OBJS))\n", + fprintf(outmk, "\t\t$(MAKE) $(BUILDOPTS) $(%s_OPTS) depend && \\\n" + "\t\t$(MAKE) $(BUILDOPTS) $(%s_OPTS) $(%s_OBJS))\n", p->ident, p->ident, p->ident); fprintf(outmk, "%s_clean:\n", p->ident); - fprintf(outmk, "\t(cd $(%s_SRCDIR) && make clean)\n\n", p->ident); + fprintf(outmk, "\t(cd $(%s_SRCDIR) && $(MAKE) clean)\n\n", p->ident); } else fprintf(outmk, "%s_make:\n\t@echo \"** cannot make objs for %s\"\n\n", p->ident, p->name); - fprintf(outmk, "%s_OBJPATHS=", p->ident); - output_strlst(outmk, p->objpaths); + fprintf(outmk, "%s_OBJPATHS=", p->ident); + if (p->objpaths) + output_strlst(outmk, p->objpaths); + else { + for (lst = p->objs; lst != NULL; lst = lst->next) { + fprintf(outmk, " $(%s_OBJDIR)/%s", p->ident, lst->str); + } + fprintf(outmk, "\n"); + } fprintf(outmk, "%s_stub.c:\n", p->name); fprintf(outmk, "\techo \"" --lrZ03NoBR/3+SXJZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message