From owner-freebsd-small Sun Mar 10 18: 9:41 2002 Delivered-To: freebsd-small@freebsd.org Received: from mail.cruzio.com (dsl3-63-249-70-181.cruzio.com [63.249.70.181]) by hub.freebsd.org (Postfix) with ESMTP id 6AE6937B41B for ; Sun, 10 Mar 2002 18:09:35 -0800 (PST) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id g2B3HaF01273 for freebsd-small@freebsd.org; Sun, 10 Mar 2002 19:17:36 -0800 (PST) (envelope-from brucem) Date: Sun, 10 Mar 2002 19:17:36 -0800 (PST) From: "Bruce R. Montague" Message-Id: <200203110317.g2B3HaF01273@mail.cruzio.com> To: freebsd-small@freebsd.org Subject: router config under 5.0-current Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A quick build of the picobsd "router" config from a 5.0-current cvsuped as of this morning (10-march-2002): 1) File PICOBSD: PCI_QUIET needs to be deleted. 2) File PICOBSD: "device miibus" needs to be added (if the default drivers currently there are used). 3) File tinyware/sps.c references a ki_priority field that no longer exists in struct kinfo_proc in "user.h" (looks like it should display the "ki_pri" struct, a struct of 4 single-byte (that is, a ref to a "struct priority" field). I just changed it to display "priority.pri_level", dont know if this is right. 4) File PICOBSD: Had to increase the size of mfs (3000 worked). ============================== ERROR MSGS ---- PICOBSD-router: unknown option "PCI_QUIET" *** Error code 1 ---- ---- make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs env MKDEP_CPP="cc -E" CC="cc" mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include -D_KERNEL -ffreestanding -include opt_global.h -fno-common -elf -mpreferred-stack-boundary=2 /usr/src/sys/dev/fxp/if_fxp.c:81: miibus_if.h: No such file or directory mkdep: compile failed *** Error code 1 ---- ---- /usr/src/release/picobsd/tinyware/sps/sps.c: In function `main': /usr/src/release/picobsd/tinyware/sps/sps.c:112: structure has no member named `ki_priority' *** Error code 1 ---- ============================== DIFFS (the following built, dont know if its really Right): router/PICOBSD ------ 6,7c6,7 < #PicoBSD 820 oinit 3072 32768 < options MD_ROOT_SIZE=820 # same as def_sz --- > #PicoBSD 3000 oinit 3072 32768 > options MD_ROOT_SIZE=3000 # same as def_sz 30d29 < options PCI_QUIET 53a53,54 > > device miibus --------- /usr/src/release/picobsd/tinyare/sps/sps.c ----- 112c112 < ki->ki_priority - 22, --- > ki->ki_pri.pri_level, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message