Re: make installworld failed
On Monday 21 January 2008 02:49:22 pm Paul Procacci wrote: Do you have any partitions mounted with noexec? I just got a very similar problem and it was due to me having /tmp mounted with noexec. On Mon, Jan 21, 2008 at 01:49:11PM -0500, Joe Demeny wrote: After building world and kernel, installed kernel, but got an error when I tried make installworld: # [...] Indeed, that was the problem, thank you... should have thought of this! -- Joe Demeny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make installworld failed
After building world and kernel, installed kernel, but got an error when I tried make installworld: # make installworld mkdir -p /tmp/install.uV1yfKEs for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.uV1yfKEs; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.uV1yfKEs /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall awk: Permission denied /usr/src/Makefile.inc1, line 101: warning: awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h returned non-zero status echo:Permission denied *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is FreeBSD 6.3-PRERELEASE (just installed new kernel...) I'm wondering why do I get this error? -- Joe Demeny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installworld failed
Do you have any partitions mounted with noexec? I just got a very similar problem and it was due to me having /tmp mounted with noexec. On Mon, Jan 21, 2008 at 01:49:11PM -0500, Joe Demeny wrote: After building world and kernel, installed kernel, but got an error when I tried make installworld: # make installworld mkdir -p /tmp/install.uV1yfKEs for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.uV1yfKEs; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.uV1yfKEs /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall awk: Permission denied /usr/src/Makefile.inc1, line 101: warning: awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h returned non-zero status echo:Permission denied *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is FreeBSD 6.3-PRERELEASE (just installed new kernel...) I'm wondering why do I get this error? -- Joe Demeny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make kernel / make installworld failed - Signal 4
Hello all, My PC is (or rather until Sunday, WAS) running 5.2.1#9. I edited the kernel to reflect my installed hardware and add support for the PF firewall and then did a CVSup for sources - keeping to 5.2.1. This isn't the first kernel edit and upgrade I've done but as far as I recall the only changes I made were the pfi_hooks (or something similar - for the PF firewall) and to disable the ata keyboard - I can use USB to a KVM switch. Here's what happened . . . # make buildworld - finished OK # make kernel KERNCONF=EDEN - finished OK * PC rebooted OK # make installworld - failed with errors part way through. * PC failed to reboot. It gets part way through and then reboots. . . . So, at the boot loader prompt: OK unload OK load /boot/kernel.save/kernel OK boot kernel.save -s . . . #mount -a illegal instruction. Signal 4 # Unloading the kernel and booting into single user mode seems to be OK and the PATH is correct. No command except cd or pwd works, everything fails with illegal instruction Signal 4 e.g. ls or df or mount -a all fail with illegal instruction Signal 4 Any ideas please. Thanks in anticipation, Owen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make kernel / make installworld failed - Signal 4
-Original Message- Hello all, My PC is (or rather until Sunday, WAS) running 5.2.1#9. I edited the kernel to reflect my installed hardware and add support for the PF firewall and then did a CVSup for sources - keeping to 5.2.1. This isn't the first kernel edit and upgrade I've done but as far as I recall the only changes I made were the pfi_hooks (or something similar - for the PF firewall) and to disable the ata keyboard - I can use USB to a KVM switch. Here's what happened . . . # make buildworld - finished OK # make kernel KERNCONF=EDEN - finished OK * PC rebooted OK # make installworld - failed with errors part way through. * PC failed to reboot. It gets part way through and then reboots. .. . . So, at the boot loader prompt: OK unload OK load /boot/kernel.save/kernel OK boot kernel.save -s .. . . #mount -a illegal instruction. Signal 4 # Unloading the kernel and booting into single user mode seems to be OK and the PATH is correct. No command except cd or pwd works, everything fails with illegal instruction Signal 4 e.g. ls or df or mount -a all fail with illegal instruction Signal 4 Any ideas please. Thanks in anticipation, Owen ___ [EMAIL PROTECTED] wrote: Sounds like you complete enough of the make installworld to prove fatal. When you backup and use your old kernel its got binaries of a new and old make world. Sadly, only way I ever found to get around that was a full fresh reinstall. If you have another machine you could possibly complete the entire build process on it, boot up with the new kernel, and then run a make installworld from the /usr/obj of the other machine. Just make sure to specify the proper runtime compile options as the install will fail if you compile for a specific arch that doesn't match. ___ Thanks, I'll leave the PC until 5.Stable comes out then. I hadn't got past the stage of failing to get kde 3.3 to work under xorg in any case! I don't know what went wrong in the build/upgrade process so I'd be suprised if it was something in the sources because I upgraded to 5.2.1#2 and then #9 both with custom kernels before making the most recent edits (and it all going wrong). Owen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make kernel / make installworld failed - Signal 4
On Thu, Sep 16, 2004 at 10:57:44AM +0200, Owen.G wrote: Hello all, My PC is (or rather until Sunday, WAS) running 5.2.1#9. I edited the kernel to reflect my installed hardware and add support for the PF firewall and then did a CVSup for sources - keeping to 5.2.1. This isn't the first kernel edit and upgrade I've done but as far as I recall the only changes I made were the pfi_hooks (or something similar - for the PF firewall) and to disable the ata keyboard - I can use USB to a KVM switch. Here's what happened . . . # make buildworld - finished OK # make kernel KERNCONF=EDEN - finished OK Shouldn't this be 'make buildkernel KERNCONF=EDEN make installkernel KERNCONF=EDEN'? * PC rebooted OK # make installworld - failed with errors part way through. * PC failed to reboot. It gets part way through and then reboots. . . . Have you looked for clues at /usr/src/UPDATE? You may have forgot to perform a mergemaster -p -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make kernel / make installworld failed - Signal 4
On Thu, Sep 16, 2004 at 02:30:21PM +0200, Alex de Kruijff wrote: On Thu, Sep 16, 2004 at 10:57:44AM +0200, Owen.G wrote: Hello all, My PC is (or rather until Sunday, WAS) running 5.2.1#9. I edited the kernel to reflect my installed hardware and add support for the PF firewall and then did a CVSup for sources - keeping to 5.2.1. This isn't the first kernel edit and upgrade I've done but as far as I recall the only changes I made were the pfi_hooks (or something similar - for the PF firewall) and to disable the ata keyboard - I can use USB to a KVM switch. Here's what happened . . . # make buildworld - finished OK # make kernel KERNCONF=EDEN - finished OK Shouldn't this be 'make buildkernel KERNCONF=EDEN make installkernel KERNCONF=EDEN'? * PC rebooted OK # make installworld - failed with errors part way through. * PC failed to reboot. It gets part way through and then reboots. . . . Have you looked for clues at /usr/src/UPDATE? You may have forgot to perform a mergemaster -p This should be /usr/src/UPDATING -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make installworld failed
You might need cd /usr/src make cleandir make cleandir If it keeps giving errors. -Murat On Thu, 16 Jan 2003 01:11:10 -0800, Kent Stewart [EMAIL PROTECTED] said: On Thursday 16 January 2003 12:56 am, Selvam wrote: Hi Kent, thanks for replying, I tried the way to tell my but still no avail.. I tried cvsup'ing again and i did the below :- # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL then i rebooted the server and ran # cd /usr/src # make installworld and still i get the same error..like below You didn't change anything. Your build created a file called osreldate.h. The creation date of that file is bad. It is probably older then the files that it was created from. So, it tries to redo things and it can't because touch isn't one of the included files. You have to do make buildworld to recreate the files with the proper date. Kent -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:37 PM To: Selvam; Freebsd Subject: Re: make installworld failed On Wednesday 15 January 2003 11:50 pm, Selvam wrote: HI there, After cvsup i ran make buildkernel and installkernel but when i ran make installworld for the binaries I ran into some error like below :- -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can be the problem? I remember reseting the date earlier; but I ran make installworld after setting to new date. Would this be athe problem? In that case what should I do? You needed to do the buildworld again. It still has the old date on files that it created. Kent Thanks in advance.. Selvam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html 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-questions in the body of the message
Re: make installworld failed
On Wednesday 15 January 2003 11:50 pm, Selvam wrote: HI there, After cvsup i ran make buildkernel and installkernel but when i ran make installworld for the binaries I ran into some error like below :- -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can be the problem? I remember reseting the date earlier; but I ran make installworld after setting to new date. Would this be athe problem? In that case what should I do? You needed to do the buildworld again. It still has the old date on files that it created. Kent Thanks in advance.. Selvam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: make installworld failed
Hi Kent, thanks for replying, I tried the way to tell my but still no avail.. I tried cvsup'ing again and i did the below :- # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL then i rebooted the server and ran # cd /usr/src # make installworld and still i get the same error..like below -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:37 PM To: Selvam; Freebsd Subject: Re: make installworld failed On Wednesday 15 January 2003 11:50 pm, Selvam wrote: HI there, After cvsup i ran make buildkernel and installkernel but when i ran make installworld for the binaries I ran into some error like below :- -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can be the problem? I remember reseting the date earlier; but I ran make installworld after setting to new date. Would this be athe problem? In that case what should I do? You needed to do the buildworld again. It still has the old date on files that it created. Kent Thanks in advance.. Selvam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld failed
On Thursday 16 January 2003 12:56 am, Selvam wrote: Hi Kent, thanks for replying, I tried the way to tell my but still no avail.. I tried cvsup'ing again and i did the below :- # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL then i rebooted the server and ran # cd /usr/src # make installworld and still i get the same error..like below You didn't change anything. Your build created a file called osreldate.h. The creation date of that file is bad. It is probably older then the files that it was created from. So, it tries to redo things and it can't because touch isn't one of the included files. You have to do make buildworld to recreate the files with the proper date. Kent -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:37 PM To: Selvam; Freebsd Subject: Re: make installworld failed On Wednesday 15 January 2003 11:50 pm, Selvam wrote: HI there, After cvsup i ran make buildkernel and installkernel but when i ran make installworld for the binaries I ran into some error like below :- -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can be the problem? I remember reseting the date earlier; but I ran make installworld after setting to new date. Would this be athe problem? In that case what should I do? You needed to do the buildworld again. It still has the old date on files that it created. Kent Thanks in advance.. Selvam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make installworld failed
HI there, After cvsup i ran make buildkernel and installkernel but when i ran make installworld for the binaries I ran into some error like below :- -- Installing everything.. -- cd /usr/src; make -f Makefile.inc1 install === share/info === include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo $COPYRIGHT osreldate.h; echo #ifdef _KERNEL osreldate.h; echo '#error osreldate.h must not be used in the kernel, use sys/param.h' osreldate.h; echo #else osreldate.h; echo \#'undef __FreeBSD_version' osreldate.h;echo \#'define __FreeBSD_version' $RELDATE osreldate.h; echo #endif osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What can be the problem? I remember reseting the date earlier; but I ran make installworld after setting to new date. Would this be athe problem? In that case what should I do? Thanks in advance.. Selvam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message