Re: 3.4 - current upgrade/bootstrap problem

2000-01-17 Thread David O'Brien

On Mon, Jan 17, 2000 at 12:39:12PM +1100, Carl Makin wrote:
 Here is what I did...
 
 1.  install gcc 2.95 port.
 2.  cd /usr/bin and rename cc and gcc to *.old and symlink cc and gcc to
 /usr/local/bin/gcc295 (Remember to delete the .old entries once you're
 finished)

This is definately the wrong thing to be doing.  I don't guarentee that
the GCC 2.95 port can properly build world or kernels on 3.4.  Anyway,
the upgrade should be self-hosting, and this approach isn't.

-- 
-- David([EMAIL PROTECTED])


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 3.4 - current upgrade/bootstrap problem

2000-01-17 Thread Carl Makin


Hi David,

On Mon, 17 Jan 2000, David O'Brien wrote:

 On Mon, Jan 17, 2000 at 12:39:12PM +1100, Carl Makin wrote:
  Here is what I did...

  1.  install gcc 2.95 port.
  2.  cd /usr/bin and rename cc and gcc to *.old and symlink cc and gcc to
  /usr/local/bin/gcc295 (Remember to delete the .old entries once you're
  finished)

 This is definately the wrong thing to be doing.  I don't guarentee that
 the GCC 2.95 port can properly build world or kernels on 3.4.  Anyway,
 the upgrade should be self-hosting, and this approach isn't.

Yes, I thought it wasn't ideal either but gcc 2.7.2.1 that comes with
3.4-RELEASE doesn't seem to be able to build the world OR the kernel at
the moment.  

At least with the above steps I got the system up enough to be able to
rebuild world and the kernel with the 4.0 toolset.

I also had problems with "genassym".  I had to build and install it before
I could compile the kernel.

Carl.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 3.4 - current upgrade/bootstrap problem

2000-01-16 Thread David W. Chapman Jr.

The procedure for going form 3.4 to -current is

make your -current kernel
reboot
do make world
make -current kernel again

- Original Message -
From: "Robert Schien" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 16, 2000 9:42 AM
Subject: 3.4 - current upgrade/bootstrap problem


 I wanted to upgrade my 3.4 system to current. I cvsuped the current
sources
 and did a 'make buildworld'. This went fine.
 Now I tried 'make installworld' . This crashed with a signal 12 error
 in /bin/sh.
 I already have used current for years. For some reason I had to install
 3.4 on the machine and now I wanted to go back to current.

 The procedure I always used was:
 make buildworld
 make installworld
 reboot
 compiling new kernel
 reboot

 Now I have a bootstrapping problem with /bin/sh (bad system call).

 How can I solve this problem?

 TIA
 Robert



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: 3.4 - current upgrade/bootstrap problem

2000-01-16 Thread Carl Makin



On Sun, 16 Jan 2000, David W. Chapman Jr. wrote:

 The procedure for going form 3.4 to -current is
 
 make your -current kernel
 reboot
 do make world
 make -current kernel again

I have just successfully done this.

I had problems trying to compile with gcc 2.7.2 so I installed the gcc 
2.95 package and did all my compiles using it.

Here is what I did...

1.  install gcc 2.95 port.
2.  cd /usr/bin and rename cc and gcc to *.old and symlink cc and gcc to
/usr/local/bin/gcc295 (Remember to delete the .old entries once you're
finished)

I did the cc/gcc rename as the buildworld kept complaining that it
couldn't find gcc295. :(

Then I built the 4.0-CURRENT config so I could build a kernel.

2.  update to current sources (cd /usr ; cvs co src)
3.  cd /usr/src/usr.sbin/config
4.  "make ; make install"

Created and built the new kernel.

5.  cd /usr/src/sys/i386/conf
6.  create new kernel config file
7.  config -r KERNEL
8.  cd /usr/src/sys/compile/KERNEL
9.  "make depend ; make ; make install"

Then booted into the kernel to do the rest of the install.

10. reboot into single user mode (boot -s)
11. mount / /usr /var /tmp (readwrite)
12. cd /usr/src
13. "make buildworld"  (I think at this point I had problems using the
"-j14" parm)
14. "make installworld"
15. cd /etc
16. run "mergemaster" and update your configuration
17. reboot into 4.0-CURRENT

Then I rebuilt the kernel with a complete 4.0-CURRENT toolset.

18. cd /usr/src/sys/i386/conf
19. "config -r KERNEL"
20. cd /usr/src/sys/compile/KERNEL
21. "make depend ; make ; make install"
22. reboot

This was done on a Dell PowerEdge 2300 with Dual PIII 450s, 512Mb RAM  and
54Gb disk (3 x 9Gb in a Vinum stripe).



Carl.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message