Re: dumb question 'Bad system call' after make world

2003-11-24 Thread Doug White
On Fri, 21 Nov 2003, Barney Wolff wrote:

 Does make world build a kernel?  I didn't think so, and OP's message
 indicates that make world is all he did.  I suspect re-install is the
 best answer now.

 Will somebody please tell me when make world is ever correct in the
 environment of the last several years?  I've been unable to understand
 its continued existence as a target.

I'd call it hysterical raisins, but there are some decomposed targets,
which I use regularly:


buildworld
buildkernel
installworld
installkernel

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dumb question 'Bad system call' after make world

2003-11-22 Thread Szilveszter Adam
Hello,

On Fri, Nov 21, 2003 at 09:44:17PM -0500, Barney Wolff wrote:
 Does make world build a kernel?  I didn't think so, and OP's message
 indicates that make world is all he did.  I suspect re-install is the
 best answer now.

Yes, make world does not build or install kernels. I'd also go for
reinstall, provided the OP has not yet put a lot of work into
customising the install...

 Will somebody please tell me when make world is ever correct in the
 environment of the last several years?  I've been unable to understand
 its continued existence as a target.

One of it's last hideouts seems to be the make release target...

-- 
Regards:

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


Re: dumb question 'Bad system call' after make world

2003-11-22 Thread Bruce Evans
On Fri, 21 Nov 2003, Barney Wolff wrote:

 Will somebody please tell me when make world is ever correct in the
 environment of the last several years?  I've been unable to understand
 its continued existence as a target.

From my normal world-building script:

DESTDIR=/c/z/root \
MAKEOBJDIRPREFIX=/c/z/obj \
time -l make -s world  /tmp/world.out 21

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


Re: dumb question 'Bad system call' after make world

2003-11-22 Thread Barney Wolff
On Sat, Nov 22, 2003 at 11:42:04PM +1100, Bruce Evans wrote:
 On Fri, 21 Nov 2003, Barney Wolff wrote:
 
  Will somebody please tell me when make world is ever correct in the
  environment of the last several years?  I've been unable to understand
  its continued existence as a target.
 
 From my normal world-building script:
 
 DESTDIR=/c/z/root \
 MAKEOBJDIRPREFIX=/c/z/obj \
 time -l make -s world  /tmp/world.out 21

Oh, so it's only correct when you're not really installing world on
the system you're building on?  Would replacing this with
( make buildworld  make installworld ) really be a hardship?
Must we continue to invite innocents to clobber their systems?

-- 
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: dumb question 'Bad system call' after make world

2003-11-22 Thread Don Bowman
From: Barney Wolff [mailto:[EMAIL PROTECTED]
 Sent: Saturday, November 22, 2003 1:14 PM
 To: Bruce Evans
 Cc: [EMAIL PROTECTED]
 Subject: Re: dumb question 'Bad system call' after make world
 
 
 On Sat, Nov 22, 2003 at 11:42:04PM +1100, Bruce Evans wrote:
  On Fri, 21 Nov 2003, Barney Wolff wrote:
  
   Will somebody please tell me when make world is ever 
 correct in the
   environment of the last several years?  I've been unable 
 to understand
   its continued existence as a target.
  
  From my normal world-building script:
  
  DESTDIR=/c/z/root \
  MAKEOBJDIRPREFIX=/c/z/obj \
  time -l make -s world  /tmp/world.out 21
 
 Oh, so it's only correct when you're not really installing world on
 the system you're building on?  Would replacing this with
 ( make buildworld  make installworld ) really be a hardship?
 Must we continue to invite innocents to clobber their systems?

For interest, in case this happens to someone else, i 'fixed'
it by booting from the mini iso disk, inserting disk 2 (live),
going to a shell, and copying all of /bin, /usr/bin, /usr/lib,
/usr/libexec, /lib over to the hd, rebooting, and then doing
the rest of the normal steps.

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


Re: dumb question 'Bad system call' after make world

2003-11-21 Thread Scott Long
On Fri, 21 Nov 2003, Don Bowman wrote:

 So i have a machine freshly installed from 5.1 mini iso.
 I did a cvs co of latest current sources, and accidentally
 did a 'make world' instead of 'make buildworld'.
 Now i just get 'Bad system call' when i try to do anything.
 i need to get the correct kernel on there, does anyone have a
 suggestion for how to fix this?

 --don

Probably the easiest thing will be to start over with a fresh 5.1 install,
then follow the steps in UPDATING of

make buildworld
make kernel
reboot to single user
make installworld
mergemaster
reboot

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


Re: dumb question 'Bad system call' after make world

2003-11-21 Thread Doug White
On Fri, 21 Nov 2003, Don Bowman wrote:


 So i have a machine freshly installed from 5.1 mini iso.
 I did a cvs co of latest current sources, and accidentally
 did a 'make world' instead of 'make buildworld'.
 Now i just get 'Bad system call' when i try to do anything.
 i need to get the correct kernel on there, does anyone have a
 suggestion for how to fix this?

If you have it, boot off of the mini iso, pull down and burn CD 2, then
use the fixit facility to start a fixit shell with teh CD.  From there
manually install the new kernel (it'll be in
/usr/obj/usr/src/sys/KERNELNAME/kernel) and boot from it.  From there you
should be able to finish the installworld.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dumb question 'Bad system call' after make world

2003-11-21 Thread Barney Wolff
On Fri, Nov 21, 2003 at 05:35:59PM -0800, Doug White wrote:
 On Fri, 21 Nov 2003, Don Bowman wrote:
 
 
  So i have a machine freshly installed from 5.1 mini iso.
  I did a cvs co of latest current sources, and accidentally
  did a 'make world' instead of 'make buildworld'.
  Now i just get 'Bad system call' when i try to do anything.
  i need to get the correct kernel on there, does anyone have a
  suggestion for how to fix this?
 
 If you have it, boot off of the mini iso, pull down and burn CD 2, then
 use the fixit facility to start a fixit shell with teh CD.  From there
 manually install the new kernel (it'll be in
 /usr/obj/usr/src/sys/KERNELNAME/kernel) and boot from it.  From there you
 should be able to finish the installworld.

Does make world build a kernel?  I didn't think so, and OP's message
indicates that make world is all he did.  I suspect re-install is the
best answer now.

Will somebody please tell me when make world is ever correct in the
environment of the last several years?  I've been unable to understand
its continued existence as a target.

-- 
Barney Wolff http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]