Re: Kernel making problems
In message <[EMAIL PROTECTED]> Jaye Mathisen writes: : Wasn't there just a big to-do wrt to 4.0 (then -current), about the right : way to do things is to install a new kernel, then build the world? Yes. That was needed for a while since the new binaries produced code the olkd kernel couldn't execute. : I seem to remember Rod championing this method. (Had something to do with : some syscall interface changing). Yup. However, with the changes to binutils and also the kernel .s files, we have no choice. You'll need at least the binutils. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
Wasn't there just a big to-do wrt to 4.0 (then -current), about the right way to do things is to install a new kernel, then build the world? I seem to remember Rod championing this method. (Had something to do with some syscall interface changing). On Sat, 27 May 2000, Warner Losh wrote: > In message <[EMAIL PROTECTED]> John >Baldwin writes: > : You need to build and install a new world before a new kernel. It looks > : like this needs to go into src/UPDATING. > > Done. Others have suggested this as well. > > Warner > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
Warner Losh wrote: > > In message <[EMAIL PROTECTED]> "David O'Brien" writes: > : On Sat, May 27, 2000 at 11:09:00AM -0400, John Baldwin wrote: > : > You need to build and install a new world before a new kernel. It looks > : > like this needs to go into src/UPDATING. > : > : Actually just the following will also fix the problem: > : > : cd /usr/src/gnu/usr.bin/binutils > : make obj > : make depend > : make all install > > I thought about that, but wasn't sure that the new binutils would work > with all versions of -current that we support upgrading. > > There's also other issues that need a make install because of the > bsd.kmod.mk. > > Warner > actually, it seems that the "make includes" resolved my problem. Usually, i'll make buildworld, crank out a new kernel, then make installworld. I did make buildworld; make installworld, THEN made a new kernel and it seems to be running fine now. Thanks guys! -Otter To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
In message <[EMAIL PROTECTED]> "David O'Brien" writes: : On Sat, May 27, 2000 at 11:09:00AM -0400, John Baldwin wrote: : > You need to build and install a new world before a new kernel. It looks : > like this needs to go into src/UPDATING. : : Actually just the following will also fix the problem: : : cd /usr/src/gnu/usr.bin/binutils : make obj : make depend : make all install I thought about that, but wasn't sure that the new binutils would work with all versions of -current that we support upgrading. There's also other issues that need a make install because of the bsd.kmod.mk. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
On Sat, May 27, 2000 at 11:09:00AM -0400, John Baldwin wrote: > You need to build and install a new world before a new kernel. It looks > like this needs to go into src/UPDATING. Actually just the following will also fix the problem: cd /usr/src/gnu/usr.bin/binutils make obj make depend make all install -- -- David ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
In message <[EMAIL PROTECTED]> John Baldwin writes: : You need to build and install a new world before a new kernel. It looks : like this needs to go into src/UPDATING. Done. Others have suggested this as well. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
On 27-May-00 Otter wrote: > Matthew Hunt wrote: >> >> On Thu, May 25, 2000 at 10:58:41PM -0400, Otter wrote: >> >> > cc -ffast-math -pipe -march=pentiumpro -O3 -I/usr/include -I. -c >> > aicasm_gram.c >> > In file included from ../../dev/aic7xxx/aicasm_gram.y:40: >> > ../../dev/aic7xxx/aicasm.h:44: syntax error before `struct' >> > ../../dev/aic7xxx/aicasm.h:53: syntax error before `struct' >> >> I had the same problem. It looks like the following procedure >> fixes it: >> >> Make sure your source tree is up to date. >> cd /usr/src >> make includes >> >> Do the config/make depend/make bit again. >> >> Matt > > ok. that seems to have cured the problem in "make depend", but now i'm > finding a different problem in "make": > > cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi > -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include > opt_global.h -elf -mpreferred-stack-boundary=2 > ../../i386/i386/bioscall.s > /tmp/ccd70154.s: Assembler messages: > /tmp/ccd70154.s:796: Error: operands given don't match any known 386 > instruction > /tmp/ccd70154.s:861: Error: operands given don't match any known 386 > instruction > *** Error code 1 > > Stop in /usr/src/sys/compile/kashmir. > > Any ideas? I don't have a clue. Does anyone have a spare clue I could > use to get this kernel made? TIA. > -Otter You need to build and install a new world before a new kernel. It looks like this needs to go into src/UPDATING. -- John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
Matthew Hunt wrote: > > On Thu, May 25, 2000 at 10:58:41PM -0400, Otter wrote: > > > cc -ffast-math -pipe -march=pentiumpro -O3 -I/usr/include -I. -c > > aicasm_gram.c > > In file included from ../../dev/aic7xxx/aicasm_gram.y:40: > > ../../dev/aic7xxx/aicasm.h:44: syntax error before `struct' > > ../../dev/aic7xxx/aicasm.h:53: syntax error before `struct' > > I had the same problem. It looks like the following procedure > fixes it: > > Make sure your source tree is up to date. > cd /usr/src > make includes > > Do the config/make depend/make bit again. > > Matt ok. that seems to have cured the problem in "make depend", but now i'm finding a different problem in "make": cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s /tmp/ccd70154.s: Assembler messages: /tmp/ccd70154.s:796: Error: operands given don't match any known 386 instruction /tmp/ccd70154.s:861: Error: operands given don't match any known 386 instruction *** Error code 1 Stop in /usr/src/sys/compile/kashmir. Any ideas? I don't have a clue. Does anyone have a spare clue I could use to get this kernel made? TIA. -Otter To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Kernel making problems
On Thu, May 25, 2000 at 10:58:41PM -0400, Otter wrote: > cc -ffast-math -pipe -march=pentiumpro -O3 -I/usr/include -I. -c > aicasm_gram.c > In file included from ../../dev/aic7xxx/aicasm_gram.y:40: > ../../dev/aic7xxx/aicasm.h:44: syntax error before `struct' > ../../dev/aic7xxx/aicasm.h:53: syntax error before `struct' I had the same problem. It looks like the following procedure fixes it: Make sure your source tree is up to date. cd /usr/src make includes Do the config/make depend/make bit again. Matt -- Matthew Hunt <[EMAIL PROTECTED]> * UNIX is a lever for the http://www.pobox.com/~mph/ * intellect. -J.R. Mashey To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Kernel making problems
Running 5.0 source from 5/19/00, I cvsupped tonight, as I have the last few nights. I'm able to do a make buildworld, but I get errors on doing at "make depend" for the kernel. Did I miss something recently with this aicasm_gram.y file or is this still in the works? error shown below is the last bits of my "make depend". I know it's barfing on SCSI code, but I need my ahc driver. -Otter cc -ffast-math -pipe -march=pentiumpro -O3 -I/usr/include -I. -c aicasm_gram.c In file included from ../../dev/aic7xxx/aicasm_gram.y:40: ../../dev/aic7xxx/aicasm.h:44: syntax error before `struct' ../../dev/aic7xxx/aicasm.h:53: syntax error before `struct' In file included from ../../dev/aic7xxx/aicasm_gram.y:41: ../../dev/aic7xxx/aicasm_symbol.h:61: syntax error before `struct' ../../dev/aic7xxx/aicasm_symbol.h:109: syntax error before `struct' ../../dev/aic7xxx/aicasm_symbol.h:126: syntax error before `struct' ../../dev/aic7xxx/aicasm_symbol.h:127: syntax error before `struct' ../../dev/aic7xxx/aicasm_symbol.h:128: syntax error before `struct' ../../dev/aic7xxx/aicasm_symbol.h:137: syntax error before `struct' ../../dev/aic7xxx/aicasm_symbol.h:138: syntax error before `struct' In file included from ../../dev/aic7xxx/aicasm_gram.y:42: ../../dev/aic7xxx/sequencer.h:72: syntax error before `struct' ../../dev/aic7xxx/aicasm_gram.y: In function `initialize_symbol': ../../dev/aic7xxx/aicasm_gram.y:1062: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y: In function `type_check': ../../dev/aic7xxx/aicasm_gram.y:1329: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:1331: structure has no member named `sle_next' ../../dev/aic7xxx/aicasm_gram.y: In function `make_expression': ../../dev/aic7xxx/aicasm_gram.y:1352: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y: In function `is_download_const': ../../dev/aic7xxx/aicasm_gram.y:1405: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:1406: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y: In function `yyparse': ../../dev/aic7xxx/aicasm_gram.y:410: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:446: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:596: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:691: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:693: structure has no member named `tqh_last' ../../dev/aic7xxx/aicasm_gram.y:716: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:718: structure has no member named `tqh_last' ../../dev/aic7xxx/aicasm_gram.y:737: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:746: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:746: structure has no member named `slh_first' ../../dev/aic7xxx/aicasm_gram.y:750: structure has no member named `slh_first' *** Error code 1 Stop in /usr/src/sys/compile/kashmir. *** Error code 1 Stop in /usr/src/sys/compile/kashmir. kashmir# To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message