Am I doing this right?

2000-02-27 Thread Steve Kaczkowski

I'm trying to upgrade a 3.4 Release box to the latest Release tree, but
running into a few problems, I'm betting someone here can help me! :)

From what I've found searching the mailing list archives and web
pages,etc
this appears to be the way to do things:


I cvsup'd the the latest Release and all went well (no complaints),
here's
my supfile:

*default host=cvsup3.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
cvs-crypto

Nothing too strange there so I'm assuming that's ok.

I then remove the /usr/obj directory
do the 'make buildworld' which churns for a while (Only a P166)
All seems fine with the build, now here is where I run into some issues.
I've found some conflicting infomation as to what the next step is. 

One source says that I should recompile my kernel, reboot into single
user and do a 'make installworld'. Makes sense but I can't recompile my
kernel, I get errors like:

config GENERIC
config: line 20: Unknown machine type
config: line 20: syntax error
config: line 21: syntax error
config: line 22: syntax error
...
Specify machine type, e.g. ``machine vax''

Etc,etc,etc,etc... It doesn't know ANY x86 CPU, funny enough it doesn't 
complain if I stick in 'machine vax'.

Now if I do the 'make buildworld' then drop directly to single users and
attempt
the 'make installworld' it'll go for a bit and then finally error out
with:

install-info --quiet  --defsection="Programming  development tools." 
--defentry="* libcom_err: (com_err).A Common Error Description
Library for UNIX."  com_err.info /usr/share/info/dir
install-info: unrecognized option `--defsection=Programming 
development tools.'
Try `install-info --help' for a complete list of options.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Not quite sure what to check, I've done this probably 10 times now and
it seems
to do the same thing each time...

Any hints?

Thanks in advance!

-- 
Steve KaczkowskiTime Warner Telecom IDD
[EMAIL PROTECTED]   (414)908-9012
http://www.inc.net  (603)737-9209 Fax


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



Re: Am I doing this right?

2000-02-27 Thread Omachonu Ogali

This comes from /usr/src/UPDATING, which contains important information on
upgrading, etc.

-- snip --
COMMON ITEMS:

To build a kernel
-
Update config, genassym and go:
cd src/usr.bin/genassym
make depend all install clean
cd ../../usr.sbin/config
make depend all install clean
cd ../../sys/i386/conf
config YOUR_KERNEL_HERE
cd ../../compile/YOUR_KERNEL_HERE
make depend  make
make install

To rebuild disk /dev entries


MAKEDEV should be copied from src/etc/MAKEDEV to /dev before
starting the following:

For N in the list of disks
MAKEDEV N   # eg ad0
for M in the list of slices
MAKEDEV NsMa# eg ad0s1a


To rebuild everything
-
make world

Except when it doesn't work.

To update from 3.x to 4.0 stable

cd /usr/src
make buildworld
cd sbin/mknod
make install
follow directions to build/install a kernel
follow rebuild disk /dev entries above[*]
reboot
in single user
cd /usr/src
make -DNOINFO installworld
make installworld

[*] You may need to switch from wd to ad ala 19991210
-- snip --

On Sun, 27 Feb 2000, Steve Kaczkowski wrote:

 I'm trying to upgrade a 3.4 Release box to the latest Release tree, but
 running into a few problems, I'm betting someone here can help me! :)
 
 From what I've found searching the mailing list archives and web
 pages,etc
 this appears to be the way to do things:
 
 
 I cvsup'd the the latest Release and all went well (no complaints),
 here's
 my supfile:
 
 *default host=cvsup3.freebsd.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 src-all
 cvs-crypto
 
 Nothing too strange there so I'm assuming that's ok.
 
 I then remove the /usr/obj directory
 do the 'make buildworld' which churns for a while (Only a P166)
 All seems fine with the build, now here is where I run into some issues.
 I've found some conflicting infomation as to what the next step is. 
 
 One source says that I should recompile my kernel, reboot into single
 user and do a 'make installworld'. Makes sense but I can't recompile my
 kernel, I get errors like:
 
 config GENERIC
 config: line 20: Unknown machine type
 config: line 20: syntax error
 config: line 21: syntax error
 config: line 22: syntax error
 ...
 Specify machine type, e.g. ``machine vax''
 
 Etc,etc,etc,etc... It doesn't know ANY x86 CPU, funny enough it doesn't 
 complain if I stick in 'machine vax'.
 
 Now if I do the 'make buildworld' then drop directly to single users and
 attempt
 the 'make installworld' it'll go for a bit and then finally error out
 with:
 
 install-info --quiet  --defsection="Programming  development tools." 
 --defentry="* libcom_err: (com_err).A Common Error Description
 Library for UNIX."  com_err.info /usr/share/info/dir
 install-info: unrecognized option `--defsection=Programming 
 development tools.'
 Try `install-info --help' for a complete list of options.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Not quite sure what to check, I've done this probably 10 times now and
 it seems
 to do the same thing each time...
 
 Any hints?
 
 Thanks in advance!
 
 

-- 
+-+
| Omachonu Ogali [EMAIL PROTECTED] |
| Intranova Networking Group http://tribune.intranova.net |
| PGP Key ID:  0xBFE60839 |
| PGP Fingerprint:   C8 51 14 FD 2A 87 53 D1  E3 AA 12 12 01 93 BD 34 |
+-+



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



Re: Am I doing this right?

2000-02-27 Thread R Joseph Wright

On Sun, 27 Feb 2000, Steve Kaczkowski wrote:

 I'm trying to upgrade a 3.4 Release box to the latest Release tree, but
 running into a few problems, I'm betting someone here can help me! :)

 I cvsup'd the the latest Release and all went well (no complaints),
 here's
 my supfile:
 
 *default host=cvsup3.freebsd.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.

The expression "tag=." will get you the latest 4.0-CURRENT sources.  If
you want to track -STABLE, that should be changed to "tag=RELENG_3". 

 *default delete use-rel-suffix
 src-all
 cvs-crypto
 
 Nothing too strange there so I'm assuming that's ok.
 I then remove the /usr/obj directory
 do the 'make buildworld' which churns for a while (Only a P166)
 All seems fine with the build, now here is where I run into some issues.
 I've found some conflicting infomation as to what the next step is. 
 
 One source says that I should recompile my kernel, reboot into single
 user and do a 'make installworld'. Makes sense but I can't recompile my
 kernel, I get errors like:
 
 config GENERIC
 config: line 20: Unknown machine type
 config: line 20: syntax error
 config: line 21: syntax error
 config: line 22: syntax error
 ...
 Specify machine type, e.g. ``machine vax''
 
 Etc,etc,etc,etc... It doesn't know ANY x86 CPU, funny enough it doesn't 
 complain if I stick in 'machine vax'.

This is happening because under 4.0, you no longer need quotes around
options, for example if you have 
cpu "I586_CPU"
it would be changed to 
cpu I586_CPU

 
 Now if I do the 'make buildworld' then drop directly to single users and
 attempt
 the 'make installworld' it'll go for a bit and then finally error out
 with:
 
 install-info --quiet  --defsection="Programming  development tools." 
 --defentry="* libcom_err: (com_err).A Common Error Description
 Library for UNIX."  com_err.info /usr/share/info/dir
 install-info: unrecognized option `--defsection=Programming 
 development tools.'
 Try `install-info --help' for a complete list of options.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Stop.
 *** Error code 1
 
 Not quite sure what to check, I've done this probably 10 times now and
 it seems
 to do the same thing each time...
 
 Any hints?

Upgrading to 4.0 from 3.x is a little bit more complicated than simply
doing "make buildworld  make installworld".
The file /usr/src/UPDATING will tell you how to do it under the heading
"COMMON ITEMS".
Also, note that 4.0 has not yet been released and is still under
development, meaning be prepared to have flames in your mailbox should you
ask any questions that are "stupid".
You should also subscribe to freebsd-current.




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



Re: Am I doing this right?

2000-02-27 Thread Doug Barton

Steve Kaczkowski wrote:
 
 I'm trying to upgrade a 3.4 Release box to the latest Release tree,

If you are at 3.4-Release that IS the latest release. If you mean that
you want to upgrade to 3.4-Stable you should look at the stable-supfile
in /usr/share/examples/cvsup. 

 *default release=cvs tag=.

You've downloaded the sources for 4.0-Current. 

-- 
"Welcome to the desert of the real." 

- Laurence Fishburne as Morpheus, "The Matrix"


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



Re: Am I doing this right?

2000-02-27 Thread R Joseph Wright

 Also, note that 4.0 has not yet been released and is still under
 development, meaning be prepared to have flames in your mailbox should you
 ask any questions that are "stupid".
 You should also subscribe to freebsd-current.

Whoa there, I thought I was replying to -questions.  I didn't make myself
look stupid, did I? =)



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



Re: Am I doing this right?

2000-02-27 Thread Steve Kaczkowski

R Joseph Wright wrote:
 
 On Sun, 27 Feb 2000, Steve Kaczkowski wrote:
 
  I'm trying to upgrade a 3.4 Release box to the latest Release tree, but
  running into a few problems, I'm betting someone here can help me! :)
 
  I cvsup'd the the latest Release and all went well (no complaints),
  here's
  my supfile:
 
  *default host=cvsup3.freebsd.org
  *default base=/usr
  *default prefix=/usr
  *default release=cvs tag=.
 
 The expression "tag=." will get you the latest 4.0-CURRENT sources.  If
 you want to track -STABLE, that should be changed to "tag=RELENG_3".
 

A!

That's my mistake! I was reading 'Current' as Current 3.4 not CURRENT
4.0..

My fault.. I betcha I'm going to have much better luck now!


whoops..

*Hides face*

Thanks!

heheh..


-- 
Steve KaczkowskiTime Warner Telecom IDD
[EMAIL PROTECTED]   (414)908-9012
http://www.inc.net  (603)737-9209 Fax


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



Re: Am I doing this right?

2000-02-27 Thread Kris Kennaway

On Sun, 27 Feb 2000, Steve Kaczkowski wrote:

 *default host=cvsup3.freebsd.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 src-all
 cvs-crypto

Do you really want the crypto CVS repository, or just the checked-out
(latest version of) crypto sources?

 config GENERIC
 config: line 20: Unknown machine type
 config: line 20: syntax error
 config: line 21: syntax error
 config: line 22: syntax error
 ...
 Specify machine type, e.g. ``machine vax''
 
 Etc,etc,etc,etc... It doesn't know ANY x86 CPU, funny enough it doesn't 
 complain if I stick in 'machine vax'.

4.0 changed a lot of the config syntax, not to mention actual drivers, etc
- you'll be best off regenerating your old config file from what's in
GENERIC and LINT.

Kris


"How many roads must a man walk down, before you call him a man?"
"Eight!"
"That was a rhetorical question!"
"Oh..then, seven!" -- Homer Simpson



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



Re: Am I doing this right?

2000-02-27 Thread Udo Erdelhoff

On Sun, Feb 27, 2000 at 10:37:01PM -0600, Steve Kaczkowski wrote:
 One source says that I should recompile my kernel, reboot into single
 user and do a 'make installworld'. Makes sense but I can't recompile my
 kernel, I get errors like:
 
 config GENERIC
You're using the 3.x-version of config to parse a config file for a 4.x
system. You have to use the new versions of config etc. to generate a
4.x kernel. If you're able to boot your machine with the GENERIC kernel,
the sequence "make buildkernel  make installkernel" will work just fine.
Otherwise, you'll have to follow the instructions in /usr/src/UPDATING
to update the neccessary tools.

 the 'make installworld' it'll go for a bit and then finally error out
 with:
 [install-info fails]
Known problem. make -DNOINFO installworld; make installworld. See
/usr/src/UPDATING for details.

 Any hints?
/usr/src/UPDATING :)

/s/Udo
-- 
Abandon the search for Truth; settle for a good fantasy.


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