Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 19:17:36 -0800 (PST)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-small@freebsd.org
Subject:   router config under 5.0-current
Message-ID:  <200203110317.g2B3HaF01273@mail.cruzio.com>

next in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203110317.g2B3HaF01273>