Re: Recovering from a late make installworld failure?

2005-06-10 Thread Juha Saarinen
Again for the archives, I got out of the installworld mess caused by
an unknown error relatively simply. Booting into single mode was a
no-goer, but booting up with the 5.4-RELEASE CD and selecting Upgrade
existing system in the sysinstall menu was.

I selected the minimal User option (binaries and docs) and mounted
/, /var, /tmp and /usr but not /home in the disk editor. The installer
did its thing and all was copacetic after rebooting - 5.4-RELEASE
installed.

Before that, I backed up everything with /rescue/tar and copied it to
a safe place, just in case.

-- 

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


Recovering from a late make installworld failure?

2005-06-09 Thread Juha Saarinen
After cvsuping and doing the usual make
buildworld/buildkernel/installkernel, make installworld conked out,
very late in the game by the looks of it. I wasn't able to capture the
error message at the point of failure unfortunately.

Now it's all fun and games with even 'ls' segfaulting and 'make clean'
/ 'make cleanworld' hanging with:

/usr/src/Makefile, line 91: warning: /usr/bin/env -i
PATH=/sbin:/bin:/usr/sbin:/usr/bin make  -f /dev/null -V
MAKEOBJDIRPREFIX dummy returned non-zero status

and no further output.

This message:

http://docs.freebsd.org/cgi/mid.cgi?20031114153630.GA28567

describes a similar situation, and suggests:

Reboot to single user mode and finish the installworld, 
then boot multiuser and your fine again (hopefully)

Good advice or not?

-- 

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


Re: Recovering from a late make installworld failure?

2005-06-09 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 03:23:21PM +1200, Juha Saarinen wrote:
 After cvsuping and doing the usual make
 buildworld/buildkernel/installkernel, make installworld conked out,
 very late in the game by the looks of it. I wasn't able to capture the
 error message at the point of failure unfortunately.
 
 Now it's all fun and games with even 'ls' segfaulting and 'make clean'
 / 'make cleanworld' hanging with:
 
 /usr/src/Makefile, line 91: warning: /usr/bin/env -i
 PATH=/sbin:/bin:/usr/sbin:/usr/bin make  -f /dev/null -V
 MAKEOBJDIRPREFIX dummy returned non-zero status
 
 and no further output.
 
 This message:
 
 http://docs.freebsd.org/cgi/mid.cgi?20031114153630.GA28567
 
 describes a similar situation, and suggests:
 
 Reboot to single user mode and finish the installworld, 
 then boot multiuser and your fine again (hopefully)
 
 Good advice or not?

Maybe; this can happen if you e.g. forget to actually boot the new
kernel before installworld.  Or you could have destroyed your system
somehow and require a reinstall to recover.

Kris


pgpC2CuHZzRG0.pgp
Description: PGP signature


Re: Recovering from a late make installworld failure?

2005-06-09 Thread Juha Saarinen
On 6/10/05, Kris Kennaway [EMAIL PROTECTED] wrote:
 Maybe; this can happen if you e.g. forget to actually boot the new
 kernel before installworld.  Or you could have destroyed your system
 somehow and require a reinstall to recover.


Yep, you're right, I didn't boot the new kernel before installworld.

Oh well, only one way to find out... 

-- 

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


Re: Recovering from a late make installworld failure?

2005-06-09 Thread Kris Kennaway
On Fri, Jun 10, 2005 at 03:34:09PM +1200, Juha Saarinen wrote:
 On 6/10/05, Kris Kennaway [EMAIL PROTECTED] wrote:
  Maybe; this can happen if you e.g. forget to actually boot the new
  kernel before installworld.  Or you could have destroyed your system
  somehow and require a reinstall to recover.
 
 
 Yep, you're right, I didn't boot the new kernel before installworld.

This usually only causes problems when you also are trying to upgrade
across major revisions (e.g. FreeBSD 4.x - 5.x).  Did you do this by
accident?

Kris


pgppo9Q2gdwrU.pgp
Description: PGP signature


Re: Recovering from a late make installworld failure?

2005-06-09 Thread Juha Saarinen
On 6/10/05, Kris Kennaway [EMAIL PROTECTED] wrote:
 This usually only causes problems when you also are trying to upgrade
 across major revisions (e.g. FreeBSD 4.x - 5.x).  Did you do this by
 accident?


No, it's a RELENG-5 box that was freshly cvsup'ed this morning (NZ
time) and which I had upgraded several times before from source since
the original 5.2.1 installation -- I was able to cheat and not boot
into single mode for installworld before actually.

For the benefit of the list archive, booting into single mode didn't
help. Just about every single binary segfaults, including /bin/sh.

Never seen that happen before. 

-- 

Juha
___
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 failure

2003-09-11 Thread Elliott Perrin
Please cc me, I am not on either list

I tried the RELENG_4_8 as a workaround with the exact same error as before.

vm/vnode_pager.h - vm/vnode_pager.ph
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/utils/h2ph.
*** Error code 1

and a bunch of other error code 1's back up the directory tree.

[EMAIL PROTECTED]

on 9/9/03 6:18 PM, Alex de Kruijff at [EMAIL PROTECTED] wrote:

 On Tue, Sep 09, 2003 at 04:36:12PM -0400, Elliott Perrin wrote:
 Good Day,
 
 Please cc me ( [EMAIL PROTECTED] ) on responses to this, I am not on either
 mailing list anymore.
 
 I cvsup'ed on the STABLE branch today (September 9th) at around 2:30PM EDT.
 No problems with buildworld or kernel build, but I am getting failures
 during installworld
 
 
 You could try the RELENG_4_8 tag instead of STABLE as a work around.

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


Make installworld failure

2003-09-09 Thread Elliott Perrin
Good Day,

Please cc me ( [EMAIL PROTECTED] ) on responses to this, I am not on either
mailing list anymore.

I cvsup'ed on the STABLE branch today (September 9th) at around 2:30PM EDT.
No problems with buildworld or kernel build, but I am getting failures
during installworld

Error and output from uname -a are below.

vm/pmap.h - vm/pmap.ph
vm/swap_pager.h - vm/swap_pager.ph
vm/vm.h - vm/vm.ph
vm/vm_extern.h - vm/vm_extern.ph
vm/vm_kern.h - vm/vm_kern.ph
vm/vm_map.h - vm/vm_map.ph
vm/vm_object.h - vm/vm_object.ph
vm/vm_page.h - vm/vm_page.ph
vm/vm_pageout.h - vm/vm_pageout.ph
vm/vm_pager.h - vm/vm_pager.ph
vm/vm_param.h - vm/vm_param.ph
vm/vm_zone.h - vm/vm_zone.ph
vm/vnode_pager.h - vm/vnode_pager.ph
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/utils/h2ph.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/utils.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** 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.
[localhost] /usr/src# uname -a
FreeBSD localhost 4.7-STABLE FreeBSD 4.7-STABLE #1: Fri Jan  3 21:06:53 EST
2003 [EMAIL PROTECTED]:/usr/src/sys/compile/FIEND  i386


Strangely enough, using the mkcdroot port allowed me to build and install a
system without this error, albeit not as a base system. (need to cut some
CD's for 2 firewalls)

Any pointers appreciated

Thanks
[EMAIL PROTECTED]

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


Re: Make installworld failure

2003-09-09 Thread Alex de Kruijff
On Tue, Sep 09, 2003 at 04:36:12PM -0400, Elliott Perrin wrote:
 Good Day,
 
 Please cc me ( [EMAIL PROTECTED] ) on responses to this, I am not on either
 mailing list anymore.
 
 I cvsup'ed on the STABLE branch today (September 9th) at around 2:30PM EDT.
 No problems with buildworld or kernel build, but I am getting failures
 during installworld
 

You could try the RELENG_4_8 tag instead of STABLE as a work around.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]