Re: picobsd and mdconfig
On Fri, Jun 22, 2001 at 12:26:39PM +0200, Luigi Rizzo wrote: On line 336 of the script, you export dead air, resulting in and Makefile.conf handles that in a way similar to the one you show below. Luigi, you cannot run dead air. Makefile.conf only handles that if the variable does not exist, not if the variable is empty. CONFIG=${CONFIG:-config} cheers luigi To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message -- Omachonu Ogali [EMAIL PROTECTED] http://www.informationwave.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
picobsd and mdconfig
=package, it creates a neat set of floppies 723,724c734,736 if [ $1 = package ] ; then build_package --- if [ $1 = package ] ; then build_package fi 725a738 734a748,749 # Do final cleanup -- Omachonu Ogali [EMAIL PROTECTED] http://www.informationwave.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: picobsd and mdconfig
On Thu, Jun 21, 2001 at 10:03:27AM -0500, Michael C . Wu wrote: On Thu, Jun 21, 2001 at 10:52:32AM -0400, Omachonu Ogali scribbled: | vnconfig has changed to mdconfig in -current, but the | picobsd build script still references vnconfig, also | CONFIG isn't defined anywhere in the script, resulting | in the process dying when it tries to configure the | kernel, a couple of punctuation mods here and there, | and dumped the vnode is... log. Hi Omachonu, Do you mind posting a URL with the above patch in unified form? (i.e. diff -u) http://www.informationwave.net/~missng/freebsd/notsubmitted/picobsd-build.unified.patch Thanks, Michael -- +---+ | [EMAIL PROTECTED] | [EMAIL PROTECTED] | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +---+ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message -- Omachonu Ogali [EMAIL PROTECTED] http://www.informationwave.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: picobsd and mdconfig
On Thu, Jun 21, 2001 at 10:17:52AM -0500, Michael C . Wu wrote: On Thu, Jun 21, 2001 at 11:02:02AM -0400, Omachonu Ogali scribbled: | On Thu, Jun 21, 2001 at 10:03:27AM -0500, Michael C . Wu wrote: | On Thu, Jun 21, 2001 at 10:52:32AM -0400, Omachonu Ogali scribbled: | | vnconfig has changed to mdconfig in -current, but the | | picobsd build script still references vnconfig, also | | CONFIG isn't defined anywhere in the script, resulting | | in the process dying when it tries to configure the | | kernel, a couple of punctuation mods here and there, | | and dumped the vnode is... log. | | Hi Omachonu, | | Do you mind posting a URL with the above patch | in unified form? (i.e. diff -u) | | http://www.informationwave.net/~missng/freebsd/notsubmitted/picobsd-build.unified.patch Attached is my questions about this. The rest of it looks great. We shouldn't have any problem with this patch at all. I will test this tonight or at USENIX. -- +---+ | [EMAIL PROTECTED] | [EMAIL PROTECTED] | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +---+ | --- src/release/picobsd/build/picobsd.orig Thu Jun 21 04:49:46 2001 | +++ src/release/picobsd/build/picobsd Thu Jun 21 10:08:00 2001 | @@ -2,3 +2,3 @@ | -gzip -9 etc/* | +for f in `find etc/ -type 'f'` ; do gzip -9 $f ; done | log --- Compressed files in etc/ Good idea! | +newfs -i ${MFS_INODES} -m 0 -p 0 -o space /dev/md${VNUM}c /dev/null | +mount /dev/md${VNUM}c ${MFS_MOUNTPOINT} || fail $? no_mount | +log `df /dev/md${VNUM}c` | } | @@ -527,3 +518,3 @@ | log --- Copy generic floppy_tree into MFS... | - cp -Rp ${BUILDDIR}/floppy.tree/* ${MFS_MOUNTPOINT}/fd | + cp -Rp ${BUILDDIR}/floppy.tree/* ${MFS_MOUNTPOINT}/fd || fail $? ftree_copy | + | +du -k kernel.gz | +df -k ${MFS_MOUNTPOINT} | +cp -p kernel.gz ${MFS_MOUNTPOINT}/kernel || fail $? kernel_copy Why do you call du and df? That can be removed, that was just for debugging sake, I wanted to see how big the image is, and how much free space I had available on the floppy, so I could say, 'the image overshoots the floppy by NNN kB' and then work on the space problem from there... -- Omachonu Ogali [EMAIL PROTECTED] http://www.informationwave.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: picobsd and mdconfig
On Thu, Jun 21, 2001 at 06:18:47PM +0200, Luigi Rizzo wrote: would you mind resubmitting a patch for the version of picobsd i committed this morning, also keeping in mind the following: That patch was based off of your 8:49AM (revision 1.7) commit this morning. * it would be better to define a variable, say MD, which holds the string vn or md, and is used in accessing the memory device, so we have mostly the same script working on both current and stable with just a one-line change. The method of allocating and releasing a md and vn are different, would it be too much to maintain two different scripts (-stable and -current) until mdconfig replaces its counterpart? * you are recursively gzipping files in /etc now, so you should also modify the mfs_tree/etc/rc script which decompresses things; This might be annoying as gzip is unable to recurse in a directory tree. Good idea, I missed that. * re. the CONFIG variable... it does not seem to give problem with the version i committed this morning. I think there was a bug in the previous commit, but now it should be ok. On line 336 of the script, you export dead air, resulting in no program being passed to Makefile.conf, my snippet of code at the bottom should be removed and a more appropriate line inserted after line 62 along the lines of: CONFIG=${CONFIG:-config} I missed that portion of that script when I was looking at it this morning. * i am not sure the way you handle arguments is correct, from your patch it appears that you ignore THETYPE (first argument) if there are not two arguments. This is wrong, the second argument is optional. Yeah, that should be $1 not $2. thanks luigi ---+- Luigi RIZZO, [EMAIL PROTECTED] . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 ---+- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message -- Omachonu Ogali [EMAIL PROTECTED] http://www.informationwave.net To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
PicoBSD
Ok, parts of PicoBSD are finally working again. I've managed to get dial, isp, and net working again. The only ones left to check out are bridge and install, I'm not sure about router, does that still exist or was that replaced by bridge? Bridge is too big to fit on a floppy so I'm working on slimming that down a little. -- +-+ | Omachonu Ogali [EMAIL PROTECTED] | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
PicoBSD
on secure -ttyv5 "/usr/libexec/getty Pc" cons25 on secure -ttyv6 "/usr/libexec/getty Pc" cons25 on secure -ttyv7 "/usr/libexec/getty Pc" cons25 on secure -ttyv8 "/usr/libexec/getty Pc" cons25 on secure -ttyv9 "/usr/libexec/getty Pc" cons25 on secure -# Pseudo terminals -ttyp0 nonenetwork secure -ttyp1 nonenetwork secure -ttyp2 nonenetwork secure -ttyp3 nonenetwork -ttyp4 nonenetwork -ttyp5 nonenetwork -ttyp6 nonenetwork -ttyp7 nonenetwork -ttyp8 nonenetwork -ttyp9 nonenetwork --- /usr/src/release/picobsd/floppy.tree/etc/fstab Tue Feb 8 09:20:49 2000 +++ /usr/src/release/picobsd/floppy.tree/etc/fstab Thu Mar 30 20:48:48 2000 @@ -1,2 +1 @@ -proc /proc procfs rw 0 0 /dev/fd0c /fd ufs rw,noauto 0 0 -- snip -- -- +-+ | Omachonu Ogali [EMAIL PROTECTED] | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Traceroute
IPSEC is hard-defined into the Makefile...not good, especially for PicoBSD. -- snip -- --- /usr/src/usr.sbin/traceroute/Makefile.orig Thu Mar 30 14:16:52 2000 +++ /usr/src/usr.sbin/traceroute/Makefile Thu Mar 30 14:23:28 2000 @@ -5,4 +5,11 @@ BINMODE=4555 + +.ifndef (NOIPSEC) CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \ -DSTDC_HEADERS=1 -DIPSEC +.else +CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \ + -DSTDC_HEADERS=1 +.endif + # RTT Jitter on the internet these days means printing 3 decimal places on @@ -14,4 +21,7 @@ CLEANFILES+= version.c + +.ifndef (NOIPSEC) DPADD= ${LIBIPSEC} LDADD= -lipsec +.endif -- snip -- -- +-+ | Omachonu Ogali [EMAIL PROTECTED] | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Am I doing this right?
This comes from /usr/src/UPDATING, which contains important information on upgrading, etc. -- snip -- COMMON ITEMS: To build a kernel - Update config, genassym and go: cd src/usr.bin/genassym make depend all install clean cd ../../usr.sbin/config make depend all install clean cd ../../sys/i386/conf config YOUR_KERNEL_HERE cd ../../compile/YOUR_KERNEL_HERE make depend make make install To rebuild disk /dev entries MAKEDEV should be copied from src/etc/MAKEDEV to /dev before starting the following: For N in the list of disks MAKEDEV N # eg ad0 for M in the list of slices MAKEDEV NsMa# eg ad0s1a To rebuild everything - make world Except when it doesn't work. To update from 3.x to 4.0 stable cd /usr/src make buildworld cd sbin/mknod make install follow directions to build/install a kernel follow rebuild disk /dev entries above[*] reboot in single user cd /usr/src make -DNOINFO installworld make installworld [*] You may need to switch from wd to ad ala 19991210 -- snip -- On Sun, 27 Feb 2000, Steve Kaczkowski wrote: I'm trying to upgrade a 3.4 Release box to the latest Release tree, but running into a few problems, I'm betting someone here can help me! :) From what I've found searching the mailing list archives and web pages,etc this appears to be the way to do things: I cvsup'd the the latest Release and all went well (no complaints), here's my supfile: *default host=cvsup3.freebsd.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix src-all cvs-crypto Nothing too strange there so I'm assuming that's ok. I then remove the /usr/obj directory do the 'make buildworld' which churns for a while (Only a P166) All seems fine with the build, now here is where I run into some issues. I've found some conflicting infomation as to what the next step is. One source says that I should recompile my kernel, reboot into single user and do a 'make installworld'. Makes sense but I can't recompile my kernel, I get errors like: config GENERIC config: line 20: Unknown machine type config: line 20: syntax error config: line 21: syntax error config: line 22: syntax error ... Specify machine type, e.g. ``machine vax'' Etc,etc,etc,etc... It doesn't know ANY x86 CPU, funny enough it doesn't complain if I stick in 'machine vax'. Now if I do the 'make buildworld' then drop directly to single users and attempt the 'make installworld' it'll go for a bit and then finally error out with: install-info --quiet --defsection="Programming development tools." --defentry="* libcom_err: (com_err).A Common Error Description Library for UNIX." com_err.info /usr/share/info/dir install-info: unrecognized option `--defsection=Programming development tools.' Try `install-info --help' for a complete list of options. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Not quite sure what to check, I've done this probably 10 times now and it seems to do the same thing each time... Any hints? Thanks in advance! -- +-----+ | Omachonu Ogali [EMAIL PROTECTED] | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make world
Anyone else got this error? -- snip -- === lib/libcom_err/doc install-info --quiet --defsection="Programming development tools." --defentry="* libcom_err: (com_err).A Common Error Description Library for UNIX." com_err.info /usr/share/info/dir install-info: unrecognized option `--defsection=Programming development tools.' Try `install-info --help' for a complete list of options. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. # -- snip -- -- +-----+ | Omachonu Ogali [EMAIL PROTECTED] | | Intranova Networking Group http://tribune.intranova.net | | PGP Key ID: 0xBFE60839 | | PGP Fingerprint: C8 51 14 FD 2A 87 53 D1 E3 AA 12 12 01 93 BD 34 | +-+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message