From Andreas.Fierlinger at energieag.at Wed Aug 2 23:48:51 2006 From: Andreas.Fierlinger at energieag.at (Andreas Fierlinger) Date: Wed, 02 Aug 2006 15:48:51 +0200 Subject: [flashboot] crunchgen ? Message-ID: <44D0C940.5856.0066.0@energieag.at> Hello, i recently downladed flashboot-SNAP-20060802 and tried to build it with the 3.9 Stable Sources. i changed mk-mini.conf, build.sh and the Makefile for flashboot to fit my env. It starts to compile and stops if it tries to crunchgen -E -D /usr/src -L //usr/lib -c instbin.c -e instbin -m instbin.mk instbin.conf crunchgen: not found I searched for crunchgen but with minor success. O.k. there is something written about crunchgen in README, but changing STATIC= doesnt help. TIA Andreas Fierlinger -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mindrot.org/pipermail/flashboot/attachments/20060802/4b667d84/attachment.html From massimo at cedoc.mo.it Thu Aug 3 01:27:23 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Wed, 02 Aug 2006 17:27:23 +0200 Subject: [flashboot] crunchgen ? In-Reply-To: <44D0C940.5856.0066.0@energieag.at> References: <44D0C940.5856.0066.0@energieag.at> Message-ID: <1154532443.4306.8.camel@massimo.datacode.it> On Wed, 2006-08-02 at 15:48 +0200, Andreas Fierlinger wrote: > I searched for crunchgen but with minor success. > > O.k. there is something written about crunchgen in README, but > changing STATIC= doesnt help. You should start reading http://www.openbsd.org/faq/faq5.html#Release Regards -- Massimo.run(); From stu at spacehopper.org Thu Aug 3 01:19:12 2006 From: stu at spacehopper.org (Stuart Henderson) Date: Wed, 2 Aug 2006 16:19:12 +0100 Subject: [flashboot] crunchgen ? In-Reply-To: <44D0C940.5856.0066.0@energieag.at> References: <44D0C940.5856.0066.0@energieag.at> Message-ID: <20060802151912.GC21042@zeyk.spacehopper.org> On 2006/08/02 15:48, Andreas Fierlinger wrote: > Hello, > > i recently downladed flashboot-SNAP-20060802 and tried to build it with > the 3.9 Stable Sources. > > i changed mk-mini.conf, build.sh and the Makefile for flashboot to fit > my env. > > It starts to compile and stops if it tries to > crunchgen -E -D /usr/src -L //usr/lib -c instbin.c -e instbin -m > instbin.mk instbin.conf > > crunchgen: not found you are supposed to follow release(8), specifically the bit about "special tools needed to build the release". From djm at mindrot.org Fri Aug 4 19:24:30 2006 From: djm at mindrot.org (Damien Miller) Date: Fri, 4 Aug 2006 19:24:30 +1000 (EST) Subject: [flashboot] Announce: flashboot-1.0beta1 Message-ID: Hi, OpenBSD CVS head has switched from 3.9-current to 4.0-beta, so I have made a corresponding flashboot-1.0beta1 release. This release has been tested on the Soekris NET4501, Commell LE564 SBC, iBase FWA7204 and PC Engines WRAP. The binary distribution includes kernels for all these (the same kernel is used for the Commell LE564 as the iBase FWA7204). It also includes a GENERIC kernel and one for the Soekris NET4801, which I am not able to test for lack of hardware. Some additional changes in this release: * Add ipw(4) and iwi(4) wireless devices * Add support for ipsectl(8) and ipsec.conf * Many build system fixes and improvements, including support builds as non-root with $SUDO set * Removed deprecated utilities: ipsecadm(8) and spppcontrol(8) * Add tcpdrop(8), rdate(8) and rtsold(8) Flashboot is available from: http://www.mindrot.org/flashboot.html Enjoy! -d From stevesk at pobox.com Sun Aug 13 05:45:41 2006 From: stevesk at pobox.com (Kevin Steves) Date: Sat, 12 Aug 2006 12:45:41 -0700 Subject: [flashboot] Status of misc/patches In-Reply-To: <44CD59A8.3010804@gmail.com> References: <44CD59A8.3010804@gmail.com> Message-ID: <20060812194541.GC11467@steam.sbcglobal.net> On Sun, Jul 30, 2006 at 08:15:20PM -0500, farlies wrote: : Curious about the status of the patches in the misc/patches : file. These seem incompatible with Current ldconfig.c: : several hunks fail; make build fails with partial patch installed. : The patches file seems identical in snapshot and alpha release. : Attempted to merge manually, but some incompatibilities, e.g. : semantics of '-S'. : : * Are these patches important/necessary? : * If so, would one be advised to backtrack to stable? no, it just adds some features to ldconfig that are useful if you are running things in chroot spaces. From rd at tilde.se Wed Aug 23 23:35:10 2006 From: rd at tilde.se (Rickard Dahlstrand) Date: Wed, 23 Aug 2006 15:35:10 +0200 Subject: [flashboot] 19200 baud-rate during boot after kernel Message-ID: <44EC598E.3060905@tilde.se> Hi, I'm using the binary release 1.0beta1 for the wrap-box and I'm having some troubles with the baudrate on the console. The bios, boot-load and kernel are all using 38400, but when the Kernel is done and starts executing rc it jumps to 19200. After rc and rc.more is done I'm back to 38400 and I can login. All of the tty (/etc/ttys, /flash/etc/ttys, /flash/conf/etc/ttys) are saying 38400 and there is no boot.conf. The kernel seems to be compiled with 38400 because I can see the kernel loading and I have checked the source and it has been 38400 for a while now. So why am I getting 19200 during rc? Rickard. From rd at tilde.se Thu Aug 24 00:48:02 2006 From: rd at tilde.se (Rickard Dahlstrand) Date: Wed, 23 Aug 2006 16:48:02 +0200 Subject: [flashboot] 19200 baud-rate during boot after kernel In-Reply-To: <20060823140254.GA18572@zeyk.spacehopper.org> References: <44EC598E.3060905@tilde.se> <20060823140254.GA18572@zeyk.spacehopper.org> Message-ID: <44EC6AA2.3040905@tilde.se> Stuart Henderson wrote: > On 2006/08/23 15:35, Rickard Dahlstrand wrote: > >> All of the tty (/etc/ttys, /flash/etc/ttys, /flash/conf/etc/ttys) are >> saying 38400 and there is no boot.conf. >> > > See if boot.conf (and using OS serial-console rather than > BIOS redirection) helps - > (echo "stty com0 38400"; echo "set tty com0") > /flash/etc/boot.conf > > /flash/etc/ttys is unused; the boot loader looks there for > boot.conf but that's it. Other parts of the system use the files > in the ramdisk-image ($FLASHBOOT/initial-conf/$FOO when making > the flashboot kernel), or after a certain point in /etc/rc the > files copied from /flash/conf or untarred from *.tgz files. > Yup, that did the trick. Thanks Stuart. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mindrot.org/pipermail/flashboot/attachments/20060823/ff8e2535/attachment.html From rd at tilde.se Thu Aug 24 00:56:18 2006 From: rd at tilde.se (Rickard Dahlstrand) Date: Wed, 23 Aug 2006 16:56:18 +0200 Subject: [flashboot] Named In-Reply-To: References: <44EC5CF0.8010505@tilde.se> Message-ID: <44EC6C92.9040703@tilde.se> Jakob Schlyter wrote: >> What about adding named? I know it's big but it is the last piece to >> make flashboot to a complete firewall-solution. > > I really like that, but we still have the problem the small ramdisk. > is there any way we can fix this? it's getting really annoying... I guess it's always going to be a trade off between compatibility with devices with small memory versus functionality. But as far as I understand it there shouldn't be a problem to increase the disksize now that DMA is out of the picture. And it has been for some time now, or am I wrong? Rickard. (I'm adding the list to this discussion as other people possible have comments on this issue) From stu at spacehopper.org Thu Aug 24 00:02:55 2006 From: stu at spacehopper.org (Stuart Henderson) Date: Wed, 23 Aug 2006 15:02:55 +0100 Subject: [flashboot] 19200 baud-rate during boot after kernel In-Reply-To: <44EC598E.3060905@tilde.se> References: <44EC598E.3060905@tilde.se> Message-ID: <20060823140254.GA18572@zeyk.spacehopper.org> On 2006/08/23 15:35, Rickard Dahlstrand wrote: > All of the tty (/etc/ttys, /flash/etc/ttys, /flash/conf/etc/ttys) are > saying 38400 and there is no boot.conf. See if boot.conf (and using OS serial-console rather than BIOS redirection) helps - (echo "stty com0 38400"; echo "set tty com0") > /flash/etc/boot.conf /flash/etc/ttys is unused; the boot loader looks there for boot.conf but that's it. Other parts of the system use the files in the ramdisk-image ($FLASHBOOT/initial-conf/$FOO when making the flashboot kernel), or after a certain point in /etc/rc the files copied from /flash/conf or untarred from *.tgz files. From yg at ygunit.net Thu Aug 24 14:07:21 2006 From: yg at ygunit.net (Yannick Gravel) Date: Thu, 24 Aug 2006 00:07:21 -0400 Subject: [flashboot] Named Message-ID: <44ED25F9.9090104@ygunit.net> Rickard Dahlstrand wrote: >Jakob Schlyter wrote: >>> What about adding named? I know it's big but it is the last piece to >>> make flashboot to a complete firewall-solution. >> I really like that, but we still have the problem the small ramdisk. >> is there any way we can fix this? it's getting really annoying... >I guess it's always going to be a trade off between compatibility with >devices with small memory versus functionality. But as far as I >understand it there shouldn't be a problem to increase the disksize now >that DMA is out of the picture. And it has been for some time now, or am >I wrong? > >Rickard. > >(I'm adding the list to this discussion as other people possible have >comments on this issue) I built a slave/secondary dns server using one of my soekris and flashboot. In this case the extra disk space was added by creating /etc/rc.init and adding this line. mount_mfs -s 4096 swap /var/named/slave (adjust size to your specific need) Right now the zones file on this slave would not persist after a reboot, but the point is that if some extra space is needed there is an other way than changing MINIROOTSIZE kernel option and rebuilding. (when you can edit the rc.init file and reboot :-) Cheers Yannick. From stu at spacehopper.org Thu Aug 24 17:35:02 2006 From: stu at spacehopper.org (Stuart Henderson) Date: Thu, 24 Aug 2006 08:35:02 +0100 Subject: [flashboot] Named In-Reply-To: <44ED25F9.9090104@ygunit.net> References: <44ED25F9.9090104@ygunit.net> Message-ID: <20060824073501.GC10573@zephyr.spacehopper.org> On 2006/08/24 00:07, Yannick Gravel wrote: > I built a slave/secondary dns server using one of my soekris and flashboot. fwiw, nsd works very nicely under flashboot for authoritative or secondary DNS servers - I think the original comment here was about resolvers though. From jakob at rfc.se Fri Aug 25 04:03:11 2006 From: jakob at rfc.se (Jakob Schlyter) Date: Thu, 24 Aug 2006 20:03:11 +0200 Subject: [flashboot] Named In-Reply-To: <44ED25F9.9090104@ygunit.net> References: <44ED25F9.9090104@ygunit.net> Message-ID: <3D422144-D64D-4BAD-A56F-247D535CA5AF@rfc.se> On 24 aug 2006, at 06.07, Yannick Gravel wrote: > I built a slave/secondary dns server using one of my soekris and > flashboot. > In this case the extra disk space was added by creating /etc/ > rc.init and > adding this line. > > mount_mfs -s 4096 swap /var/named/slave the problem is not /var/named, it's getting the named binary included in the ramdisk. jakob From stevesk at pobox.com Fri Aug 25 04:25:09 2006 From: stevesk at pobox.com (Kevin Steves) Date: Thu, 24 Aug 2006 11:25:09 -0700 Subject: [flashboot] Named In-Reply-To: <3D422144-D64D-4BAD-A56F-247D535CA5AF@rfc.se> References: <44ED25F9.9090104@ygunit.net> <3D422144-D64D-4BAD-A56F-247D535CA5AF@rfc.se> Message-ID: <20060824182509.GA11137@steam.sbcglobal.net> On Thu, Aug 24, 2006 at 08:03:11PM +0200, Jakob Schlyter wrote: : the problem is not /var/named, it's getting the named binary included : in the ramdisk. it does fit on 3.9 (haven't tried current). just uncomment these lines in list: [stevesk at steam flashboot]$ grep named list #COPY ${DESTDIR}/var/named/etc/named.conf var/named/etc/named.conf #COPY /dev/null var/named/etc/rndc.key #COPY ${DESTDIR}/var/named/standard/localhost var/named/standard/localhost #COPY ${DESTDIR}/var/named/standard/loopback var/named/standard/loopback #COPY ${DESTDIR}/var/named/standard/loopback6.arpa var/named/standard/loopback6.arpa #COPY ${DESTDIR}/var/named/standard/root.hint var/named/standard/root.hint #COPY ${DESTDIR}/usr/sbin/named usr/sbin/named From stevesk at pobox.com Sat Aug 26 05:21:30 2006 From: stevesk at pobox.com (Kevin Steves) Date: Fri, 25 Aug 2006 12:21:30 -0700 Subject: [flashboot] Named In-Reply-To: <20060824182509.GA11137@steam.sbcglobal.net> References: <44ED25F9.9090104@ygunit.net> <3D422144-D64D-4BAD-A56F-247D535CA5AF@rfc.se> <20060824182509.GA11137@steam.sbcglobal.net> Message-ID: <20060825192130.GE30975@steam.sbcglobal.net> On Thu, Aug 24, 2006 at 11:25:09AM -0700, Kevin Steves wrote: : it does fit on 3.9 (haven't tried current). just uncomment these : lines in list: just built 4.0-current and named fits: [root at localhost root]# df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/rd0a 14695 12154 2541 83% / /dev/wd0a 121534 6302 109156 5% /flash [root at localhost root]# ls -l /usr/sbin/named -r-xr-xr-x 1 root wheel 1469242 Aug 25 19:03 /usr/sbin/named From rd at tilde.se Tue Aug 29 23:12:53 2006 From: rd at tilde.se (Rickard Dahlstrand) Date: Tue, 29 Aug 2006 15:12:53 +0200 Subject: [flashboot] A couple of additions for comments.. Message-ID: <44F43D55.4070209@tilde.se> Hi, The attached a patch makes some extensive additions to the flashboot-system. There are some changes that where committed last week that are not part of this patch, so update you releases from the CVS or from a late snapshop before you use the patch. Here are the proposed additions: * Added watchdogd(8) to list * Added ldconfig to list * Added a extension system in /usr/local that support (some) standard OpenBSD packages and configuration from rc.conf. * Added ro/rw-scripts for easy access to the flash * Added blink and kitt scripts to contrib for blinking leds on Wrap and Soekris with optional inclusion in list. * Added a large kernel option with a 25 mb ramdisk with it's own build-script and distribution-list (that now includes named..) My idea with the larger kernel options is an attempt to add all the stuff people ask for without making the system unusable for devices with less memory. The new usr/local packaging was originally proposed by Dominique Jacquel and Damien sent me his patch last year when I was working on a much more comprehensive system. The changes I have done to Dominique's patch are minor details and I moved the configuration to rc.conf. However Dominique Jacquel should have the credit for this one. Please comment and test these changes. Thanks, Rickard. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: all.diff Url: http://lists.mindrot.org/pipermail/flashboot/attachments/20060829/7f19bbde/attachment.ksh From massimo at cedoc.mo.it Wed Aug 30 02:50:46 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Tue, 29 Aug 2006 18:50:46 +0200 Subject: [flashboot] A couple of additions for comments.. In-Reply-To: <44F43D55.4070209@tilde.se> References: <44F43D55.4070209@tilde.se> Message-ID: <1156870246.14073.4.camel@massimo.datacode.it> On Tue, 2006-08-29 at 15:12 +0200, Rickard Dahlstrand wrote: > Please comment and test these changes. Great work! I'm building from this right now! But it already looks great! Thanks Rickard and all involved! BTW i guess if the support for executing ipsecctl[1] (not in your patch) at boot has something wrong, why check for -f /etc/ipsec.conf and then call ipsecctl -f ${ipsec_rules} which could not be initialized? Best regards [1] http://cvsweb.mindrot.org/index.cgi/flashboot/initial- conf/rc.initial.diff?r1=1.21;r2=1.22 -- Massimo.run(); From massimo at cedoc.mo.it Thu Aug 31 00:23:06 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Wed, 30 Aug 2006 16:23:06 +0200 Subject: [flashboot] A couple of additions for comments.. In-Reply-To: <44F43D55.4070209@tilde.se> References: <44F43D55.4070209@tilde.se> Message-ID: <1156947786.4327.2.camel@massimo.datacode.it> On Tue, 2006-08-29 at 15:12 +0200, Rickard Dahlstrand wrote: > Please comment and test these changes. list.largekernel includes wicontrol which has been removed. -- Massimo.run(); From jakob at rfc.se Thu Aug 31 01:45:34 2006 From: jakob at rfc.se (Jakob Schlyter) Date: Wed, 30 Aug 2006 17:45:34 +0200 Subject: [flashboot] A couple of additions for comments.. In-Reply-To: <1156870246.14073.4.camel@massimo.datacode.it> References: <44F43D55.4070209@tilde.se> <1156870246.14073.4.camel@massimo.datacode.it> Message-ID: <919CD4DB-28C0-4416-AEF3-3124E89E7336@rfc.se> On 29 aug 2006, at 18.50, Massimo Lusetti wrote: > BTW i guess if the support for executing ipsecctl[1] (not in your > patch) > at boot has something wrong, why check for -f /etc/ipsec.conf and then > call ipsecctl -f ${ipsec_rules} which could not be initialized? fixed in CVS now (will always use /etc/ipsec.conf if IPSEC=yes). we might consider actually using ipsec_rules & pf_rules as OpenBSD does by default, but that is another issue. jakob From massimo at cedoc.mo.it Thu Aug 31 02:00:34 2006 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Wed, 30 Aug 2006 18:00:34 +0200 Subject: [flashboot] A couple of additions for comments.. In-Reply-To: <1156947786.4327.2.camel@massimo.datacode.it> References: <44F43D55.4070209@tilde.se> <1156947786.4327.2.camel@massimo.datacode.it> Message-ID: <1156953634.4327.6.camel@massimo.datacode.it> On Wed, 2006-08-30 at 16:23 +0200, Massimo Lusetti wrote: > On Tue, 2006-08-29 at 15:12 +0200, Rickard Dahlstrand wrote: > > > Please comment and test these changes. > > list.largekernel includes wicontrol which has been removed. > Sorry to flood the list :/ you link to libssl.so.10.0 which now is .11 -- Massimo.run();