Re: Problems with 'make world' stuff

2003-10-28 Thread Frank Laszlo
Did you build a new kernel as well as world? did you run mergemaster?


On Tue, 2003-10-28 at 16:57, Jason Williams wrote:
 Hello everyone.
 
 Im pretty new to building my own world here, but im excited to learn it.
 
 I followed the handbook as suggested on how to make world.
 
 I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured 
 my stable-supfile as well as my ports-supfile. I updated my ports no problem.
 Here are the contents of my stable-supfile:
 
 *default host=cvsup12.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default release=cvs tag=RELENG_4
 *default delete use-rel-suffix
 
 I did a: cvsup -g -L 2 stable-supfile and it did its work.
 
 I then proceeded as in the handbook.
 
 After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I 
 booted correctly).
 
 However, im having some problems when I test the kernel: Specifically with 
 'top' and 'ps'
 
 # top
 kvm_open: proc size mismatch (34048 total, 1060 chunks)
 top: Out of memory.
 
 # ps
 ps: proc size mismatch (29792 total, 1060 chunks)
 
 At this point, I was going to go back and retry doing everything as 
 suggested in the handbook.
 
 In the meantime, anyone have any idea what im missing or what is going on?
 
 I appreciate it.
 
 Cheers,
 
 Jason
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Problems with 'make world' stuff

2003-10-28 Thread Jason Williams
Once I had my sources updated, I did the following:

I booted into single mode:

cd /usr/src
make buildworld
cd /usr/src
make buildkernel
make installkernel
I rebooted to test the kernel and that is where I ran into trouble. I did 
not type make installworld as suggested in the handbook. It said to test 
the kernel first.

I was told I did not have to run mergemaster since this was a brand new 
install of 4.8. Is that incorrect?

I appreciate your help.

Jason

At 05:08 PM 10/28/2003 -0500, you wrote:
Did you build a new kernel as well as world? did you run mergemaster?

On Tue, 2003-10-28 at 16:57, Jason Williams wrote:
 Hello everyone.

 Im pretty new to building my own world here, but im excited to learn it.

 I followed the handbook as suggested on how to make world.

 I installed FreeBSD 4.8 on my workstation. I installed cvsup and 
configured
 my stable-supfile as well as my ports-supfile. I updated my ports no 
problem.
 Here are the contents of my stable-supfile:

 *default host=cvsup12.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default release=cvs tag=RELENG_4
 *default delete use-rel-suffix

 I did a: cvsup -g -L 2 stable-supfile and it did its work.

 I then proceeded as in the handbook.

 After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, 
so I
 booted correctly).

 However, im having some problems when I test the kernel: Specifically with
 'top' and 'ps'

 # top
 kvm_open: proc size mismatch (34048 total, 1060 chunks)
 top: Out of memory.

 # ps
 ps: proc size mismatch (29792 total, 1060 chunks)

 At this point, I was going to go back and retry doing everything as
 suggested in the handbook.

 In the meantime, anyone have any idea what im missing or what is going on?

 I appreciate it.

 Cheers,

 Jason

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


Re: Problems with 'make world' stuff

2003-10-28 Thread Erik Trulsson
On Tue, Oct 28, 2003 at 01:57:58PM -0800, Jason Williams wrote:
 Hello everyone.
 
 Im pretty new to building my own world here, but im excited to learn it.
 
 I followed the handbook as suggested on how to make world.
 
 I installed FreeBSD 4.8 on my workstation. I installed cvsup and configured 
 my stable-supfile as well as my ports-supfile. I updated my ports no 
 problem.
 Here are the contents of my stable-supfile:
 
 *default host=cvsup12.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default release=cvs tag=RELENG_4
 *default delete use-rel-suffix
 
 I did a: cvsup -g -L 2 stable-supfile and it did its work.
 
 I then proceeded as in the handbook.
 
 After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, so I 
 booted correctly).
 
 However, im having some problems when I test the kernel: Specifically with 
 'top' and 'ps'
 
 # top
 kvm_open: proc size mismatch (34048 total, 1060 chunks)
 top: Out of memory.
 
 # ps
 ps: proc size mismatch (29792 total, 1060 chunks)
 
 At this point, I was going to go back and retry doing everything as 
 suggested in the handbook.
 
 In the meantime, anyone have any idea what im missing or what is going on?

It sounds like your world and kernel are out of sync.
Have you actually installed the new world yet, or are you testing the
new kernel with the old world?
If it is the latter, then that is the reason for ps and top not working.
Some programs, ps and top in particular, do not work correctly if the
world and kernel are not in sync; the error messages you report are
typical for such a case.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with 'make world' stuff

2003-10-28 Thread Frank Laszlo
So you did not run mergemaster.
This is what i usually no.
NOTE: I do this on production servers, so i do not do it in single user
mode.

cd /usr/src
make buildkernel KERNCONF=MYCONF
make buildworld
make installkernel 
make installworld
mergemaster
reboot


Hope this helps.

-Frank


On Tue, 2003-10-28 at 17:09, Jason Williams wrote:
 Once I had my sources updated, I did the following:
 
 I booted into single mode:
 
 cd /usr/src
 make buildworld
 
 cd /usr/src
 make buildkernel
 make installkernel
 
 I rebooted to test the kernel and that is where I ran into trouble. I did 
 not type make installworld as suggested in the handbook. It said to test 
 the kernel first.
 
 I was told I did not have to run mergemaster since this was a brand new 
 install of 4.8. Is that incorrect?
 
 I appreciate your help.
 
 Jason
 
 At 05:08 PM 10/28/2003 -0500, you wrote:
 Did you build a new kernel as well as world? did you run mergemaster?
 
 
 On Tue, 2003-10-28 at 16:57, Jason Williams wrote:
   Hello everyone.
  
   Im pretty new to building my own world here, but im excited to learn it.
  
   I followed the handbook as suggested on how to make world.
  
   I installed FreeBSD 4.8 on my workstation. I installed cvsup and 
  configured
   my stable-supfile as well as my ports-supfile. I updated my ports no 
  problem.
   Here are the contents of my stable-supfile:
  
   *default host=cvsup12.FreeBSD.org
   *default base=/usr/local/etc/cvsup
   *default prefix=/usr
   *default release=cvs tag=RELENG_4
   *default delete use-rel-suffix
  
   I did a: cvsup -g -L 2 stable-supfile and it did its work.
  
   I then proceeded as in the handbook.
  
   After I booted to my new kernel (I noticed it said FreeBSD 4.9 stable, 
  so I
   booted correctly).
  
   However, im having some problems when I test the kernel: Specifically with
   'top' and 'ps'
  
   # top
   kvm_open: proc size mismatch (34048 total, 1060 chunks)
   top: Out of memory.
  
   # ps
   ps: proc size mismatch (29792 total, 1060 chunks)
  
   At this point, I was going to go back and retry doing everything as
   suggested in the handbook.
  
   In the meantime, anyone have any idea what im missing or what is going on?
  
   I appreciate it.
  
   Cheers,
  
   Jason
  
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Problems with 'make world' stuff

2003-10-28 Thread Scott W
Jason Williams wrote:

Once I had my sources updated, I did the following:

I booted into single mode:

cd /usr/src
make buildworld
cd /usr/src
make buildkernel
make installkernel
I rebooted to test the kernel and that is where I ran into trouble. I 
did not type make installworld as suggested in the handbook. It said 
to test the kernel first.

I was told I did not have to run mergemaster since this was a brand 
new install of 4.8. Is that incorrect?

I appreciate your help.

Jason


I've seen the same problem when building 'world' and the kernel at the 
same time.  I'm not sure if this is the 'correct' way to do it, but the 
logical (and in both of my cases) sequence is:
make buildworld - compiles only
make installworld- installs the new system binaries

reboot
make buildkernel - now building against the 'new' user space libraries, 
utils, etc
make installkernel

reboot and you should be OK.

What appears make have happened is you missed the 'make installworld' 
step, so userspace libraries and tools were not up to date.  I'd try:
cd/ /usr/src
make installworld
make installkernel

reboot and post if any change, but I suspect that will fix it..

HTH,

Scott

At 05:08 PM 10/28/2003 -0500, you wrote:

Did you build a new kernel as well as world? did you run mergemaster?

On Tue, 2003-10-28 at 16:57, Jason Williams wrote:
 Hello everyone.

 Im pretty new to building my own world here, but im excited to 
learn it.

 I followed the handbook as suggested on how to make world.

 I installed FreeBSD 4.8 on my workstation. I installed cvsup and 
configured
 my stable-supfile as well as my ports-supfile. I updated my ports 
no problem.
 Here are the contents of my stable-supfile:

 *default host=cvsup12.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default release=cvs tag=RELENG_4
 *default delete use-rel-suffix

 I did a: cvsup -g -L 2 stable-supfile and it did its work.

 I then proceeded as in the handbook.

 After I booted to my new kernel (I noticed it said FreeBSD 4.9 
stable, so I
 booted correctly).

 However, im having some problems when I test the kernel: 
Specifically with
 'top' and 'ps'

 # top
 kvm_open: proc size mismatch (34048 total, 1060 chunks)
 top: Out of memory.

 # ps
 ps: proc size mismatch (29792 total, 1060 chunks)

 At this point, I was going to go back and retry doing everything as
 suggested in the handbook.

 In the meantime, anyone have any idea what im missing or what is 
going on?

 I appreciate it.

 Cheers,

 Jason

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


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



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


Re: Problems with 'make world' stuff

2003-10-28 Thread Jud
On Tue, 28 Oct 2003 14:09:24 -0800, Jason Williams 
[EMAIL PROTECTED] wrote:

Once I had my sources updated, I did the following:

I booted into single mode:

cd /usr/src
make buildworld
cd /usr/src
make buildkernel
make installkernel
I rebooted to test the kernel and that is where I ran into trouble. I 
did not type make installworld as suggested in the handbook. It said to 
test the kernel first.

I was told I did not have to run mergemaster since this was a brand new 
install of 4.8. Is that incorrect?

I appreciate your help.
If the new kernel boots, that's fine.  Just continue on with the rest of 
the Handbook procedure.  After you have installed the new world, run 
mergemaster, and rebooted, then you can test your userland (apps/utilities 
like top and ps).

Stick with the Handbook procedure.  Customized build procedures *usually* 
work (otherwise people wouldn't use them), but the folks who build FreeBSD 
try to ensure that the steps outlined in the Handbook will pretty much 
*always* work.

BTW, there's a prescribed step I don't see above.  Before buildworld, you 
should update any config files necessary for buildworld by running 
mergemaster -p (mergemaster with the pre-buildworld option).  See 
Section 21.4.3 of the Handbook at URL: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html.

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