Re: kernel: locore.s doesn't assemble (fillkpt, $PAGE_SHIFT,$PTESHIFT)

2003-08-23 Thread Clemens Fischer
* Luoqi Chen:

 since august 8th, 2003 the kernel on my i386 pentiumIII won't
 compile.  the problem arises in locore.s with the definition of the
 constants $PAGE_SHIFT and $PTESHIFT used in `shr' and `shl'
 instructions within the macros `fillkpt' and `fillkptphys'.
 
 Did you do a make depend beforehand? The assym.s file is generated
 during the make depend phase.

yes, i go by the book.  but while tracking RELENG_4 i use make
buildworld  make buildkernel KERNCONF=n1  make installkernel
KERNCONF=n1, just as outlined in usr/src/Makefile.

i'll check assym.s right after make depend, that's a good idea!

/sys/compile/n1

1 p2 # cc -c -O -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I-
-I. -I../.. -I../../../include -I../../contrib/dev/acpica
-I../../contrib/ipfilter -D_KERNEL -include opt_global.h
-mpreferred-stack-boundary=2 ../../i386/i386/genassym.c

0 p2 # lt|tail
1334981 -rw-r--r--  1 root  wheel  -  0 Aug 23 14:57 assym.s
1334281 -rw-r--r--  1 root  wheel  -  14202 Aug 23 14:59 genassym.o
1334458 drwxr-xr-x  2 root  wheel  -  10752 Aug 23 14:59 ./

0 p2 # sh ../../kern/genassym.sh genassym.o  assym.s

0 p2 # lt|tail
1334281 -rw-r--r--  1 root  wheel  -  14202 Aug 23 14:59 genassym.o
1334458 drwxr-xr-x  2 root  wheel  -  10752 Aug 23 14:59 ./
1334981 -rw-r--r--  1 root  wheel  -  0 Aug 23 14:59 assym.s

but i found something very interesting:

basically genassym.sh is a boune-shell script doing nm object-file
| awk 'awk-script'.  genassym.o is that object file, and it sure
contains all the symbols needed.  so i ran this line manually, and the
result was correct, all the symbols needed were either on stdout or in
assym.s!

my question is this:  why does sys/kern/genassym.sh have this funny
redirection (`3/dev/stdout 3 3-') at the end?  why not only write
` $outfile'?  i tried this version, and it works perfectly fine.
the original line highly depends on when the shell does redirection.

i don't understand why fd-3 is used at all, why it is closed,
redirected from stdout and redirected to the file which can be
specified with the `-o' option to genassym.sh.  the simple version
would do this equaly well, without complications.  i have to admit,
though, that i don't understand why nobody else is experiencing this
problem.

i have a build running currently, but with creating assym.s manually
as a workaround i think i'll be able to install world and kernel fine.

  clemens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SOLVED kernel: locore.s doesn't assemble (fillkpt, $PAGE_SHIFT,$PTESHIFT)

2003-08-23 Thread Clemens Fischer
* Bosko Milekic:

 Please show us exactly what you're doing to build the kernel.

nothing other than outlined in usr/src/Makefile or the handbook
article on making custom kernels.

 Try whiping the old kernel build directory and make sure that after
 you config you make depend before you make.

i had tried this several times without success.  now hold on to your
seats:  sys/kern/genassym.sh looked fishy to me due to its funny
redirection.  it basically does nm genassym.o | awk '...' 
/dev/stdout to make #define constant value pairs in assym.s.
redirecting to /dev/stdout showed nothing on the tube.  i checked
that, and /dev/stdout turned out to be a regular file instead of a
character special device!

i think i broke this when playing with rsync i did rsync
localhost::rsync/readme /dev/stdout.  i'll verify this and do a PR to
the rsync team when i have the time.  the line sh
../../kern/genassym.sh genassym.o  assym.s is ok, but only after cd
/dev; ./MAKEDEV std.

thanks for all your help,

  clemens

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Working configuration for 5.1 and VMware 3 or 2?

2003-08-23 Thread Clemens Fischer
* 2003-08-18 Kevin Oberman:

 I can't help on the main issue, but most FreeBSD mailing lists
 (including ports and stable) are searchable on Google Groups. They
 are in mailing.freebsd and you can do full Google searching on them.

...and on gmane.org, using either HTTP or NNTP.  eg. this list here is
gmane.os.freebsd.stable.  most of our lists can be seartched there as
well.

  clemens

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Cerb-list] CerbNG v1.0-RC2 is now avaliable!

2003-06-11 Thread clemens fischer
* Pawel Jakub Dawidek:

 We are proudly announce that CerbNG-1.0 Release Candidate 2 is now
 avaliable.

congratulations!  may i suggest to always include the CVS tag of any
release announced here?  i just tried to make(1) the CVS HEAD on my
freebsd-4.8, but this failed the compilation.

  clemens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Cerb-list] CerbNG v1.0-RC2 is now avaliable!

2003-06-11 Thread clemens fischer
* Pawel Jakub Dawidek:

 On Wed, Jun 11, 2003 at 07:20:26PM +0200, clemens fischer wrote:
 +  We are proudly announce that CerbNG-1.0 Release Candidate 2 is now
 +  avaliable.
 + 
 + congratulations!  may i suggest to always include the CVS tag of any
 + release announced here?  i just tried to make(1) the CVS HEAD on my
 + freebsd-4.8, but this failed the compilation.

 Could you please send any compilation output on cerb mailing list?
 Maybe it's just because cerb releases don't needed bison and source
 from CVS head branch does.

(i have bison installed)  this is what i did:

 1509  cvs up -A
 1510  make clean all install

=== ucerb
cc -O -pipe  -g -Wall -Wno-unused -I. -I/www/src/cerb-ng/ucerb/../kcerb -c -o clang2.o 
clang2.c
In file included from clang2.y:21:
libtree.h:5: y.tab.h: No such file or directory
In file included from clang2.y:21:
libtree.h:8: syntax error before `int'
libtree.h:9: syntax error before `int'
libtree.h:10: syntax error before `expr_list'
libtree.h:11: syntax error before `char'
libtree.h:12: syntax error before `int'
libtree.h:13: syntax error before `int'
libtree.h:14: syntax error before `char'
libtree.h:15: syntax error before `expr'
libtree.h:16: syntax error before `char'
libtree.h:17: syntax error before `char'
libtree.h:18: syntax error before `char'
libtree.h:19: syntax error before `expr'
*** Error code 1

Stop in /www/src/cerb-ng/ucerb.
*** Error code 1

Stop in /www/src/cerb-ng.

  clemens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]