LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-16-2005, 12:50 PM   #16
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30

code:

TYPE="FreeBSD"
REVISION="5.3"
BRANCH="BETA5"
RELEASE=5.3-BETA5
VERSION="${TYPE} ${RELEASE}"


Hmmm. I'm not understanding what I am doing wrong. But it looks like you two must be correct in your assesment. From portsupfile:

code:

# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup10.us.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs
*default tag=RELENG_5_3
*default delete use-rel-suffix

# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection. It includes all of the individual "ports-*"
# collections,
ports-all



I am just running command:

sudo cvsup -g -L 2 portsupfile

I'm not root when I do it (obviously thus the sudo). It runs for a while and seems to finish fine. I have ran cvsup like 6 times now. I do notice though again, you must be on to something because /usr/ports is looking mighty thin. There is hardly anything in there. Perhaps I should just toast the portsupfile and start again.
 
Old 01-16-2005, 12:55 PM   #17
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Ah... change the ports-all to a src-all

You are updating your ports tree to RELENG_5_3 -- which doesn't exist and likely wiped everything out or did nothing at all... whichever is more anoying... probably the delete.

Then run the same command again... with the "src-all" instead of the "ports-all"
 
Old 01-16-2005, 12:56 PM   #18
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Notice anything stange?

edit:
guru frob23 to the rescue!

I always seperate my cvsup.os and cvsup.ports files. Here's my cvsup.ports file that I use with a refuse file.

*default host=cvsup17.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress
## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection. It includes all of the individual "ports-*"
# collections,
ports-all

Last edited by -X-; 01-16-2005 at 01:02 PM.
 
Old 01-16-2005, 12:58 PM   #19
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by -X-
Yeah, that's a good idea checking both files.

Just for grins, here's my os sup file which always works, just change the tag.

*default host=cvsup10.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress
## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection. It includes all of the individual "src-*" collections.
# Please note: If you want to track -STABLE, leave this uncommented.
src-all

Note:
Seeing this, make sure you have the src-all.
Thanks again -X-. And just for grins, as you have suggested, I have copied your os sup file verbatim. Not sure what you meant by change the tag, unless you were pointing out what was mentioned prior...
code
default realease=cvs
tag=RELENG_5_3

If for some reason, this go around doesn't work, I'll try that next. I guess any improvements I thought I saw must be purely wishful thinking at this stage.
 
Old 01-16-2005, 01:00 PM   #20
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
"Whichever is most annoying." Got a good chuckle out of that. Yes. I see what you mean. And right now, I do see a difference already just examining the output. It seems to be taking much longer. So perhaps this will do the trick this time.
 
Old 01-16-2005, 01:06 PM   #21
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by -X-
Notice anything stange?

edit:
guru frob23 to the rescue!

I always seperate my cvsup.os and cvsup.ports files. Here's my cvsup.ports file that I use with a refuse file.

*default host=cvsup17.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress
## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection. It includes all of the individual "ports-*"
# collections,
ports-all
Glad you mentioned that. That makes perfect sense. After I get done with this little exercise, I can see I need to upgrade my ports again (for real this time).
 
Old 01-16-2005, 01:08 PM   #22
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
I use the same cvsup file and change the tag when I upgrade to a different version, that's all. Also, I have different cvsup files for os, ports, docs that let me update what and when I want to and avoid this type of problems.

See my edit on a previous post. Thought I'd get it in there before you posted again, otherwise I would have made a new post.

See, told you some guru would come along and find what the problem is!

Glad you're off on the right track!
 
Old 01-16-2005, 01:16 PM   #23
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
Glad we are on the right track too. Interesting mysterious problem...or so I thought. Grateful to you both. I think I have learned more in these posts/exercise than I have in quite a while. Yes frob23 does appear to have the guru gleam to him doesn't he?
 
Old 01-16-2005, 01:18 PM   #24
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
lol... not so sure I want to snatch the label guru just yet. Maybe a little experienced because I have made similar mistakes in the past (once confused my supfiles and wiped out my ports tree... while upgrading to current... which was something I wasn't expecting).

I keep them seperate as well.
/root/srcup -- my scr supfile
root/portsup -- my ports supfile.

Once you create them it is a cake-walk to upgrade the source. And upgrading a version is just an edit away... like -X- said.
 
Old 01-16-2005, 01:19 PM   #25
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Been a pretty good exercise for me to. Posted more today that the last few weeks combined. yeah, frob23 is good to have around.
 
Old 01-16-2005, 01:20 PM   #26
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
You have to remember... FreeBSD has been my only operating system for over five years. If I didn't have some idea of how it worked I would be in trouble.
 
Old 01-16-2005, 01:38 PM   #27
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
I think this will be a good valuable thread for people. I know I'll use it again. Having said that, just for the curious, even though I was on the wrong track I do have a couple of questions:

1. I wonder why I went from FreeBSD .xyz.net 5.3-BETA5 FreeBSD 5.3-BETA5 #2 to FreeBSD .xyz.net 5.3-BETA5 FreeBSD 5.3-BETA5 #0. From two to zero. Just curious there.

2. Is there a reason why I would not want to stick with my own custom kernel config? Again, I have been away from FreeBSD for a while, but back when I was using it quite a bit, you had to recompile the kernel to get sound to work and cd burning.

Running buildworld now.
 
Old 01-16-2005, 01:51 PM   #28
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
The only thing I can think of is that you used the old method to install the #2 (and #1 and original #0) kernels but the new method when you installed this one. The old method creates a folder /usr/src/sys/i386/compile/KERNNAME

Somewhere in this folder... something allows the build process to bump the build number. Sorry for being non-specific. I'll need to hunt it up in a couple minutes. But the new method builds in /usr/obj (which is why it needs to be populated) and thus the old versions weren't seen to be bumped.

The custom kernel thing is weird right now. It is nice to remove stuff you don't need but not needed if you want to add stuff as all the drivers are built as modules (if they aren't in the kernel) and can be selected and loaded at boot time or any time after boot.

So, to enable sound you just tell the kernel to load a module at boot and you won't need to recompile it.

Last edited by frob23; 01-16-2005 at 02:07 PM.
 
Old 01-16-2005, 02:02 PM   #29
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Original Poster
Rep: Reputation: 30
I think your on to something frob23. I did in fact, when I compiled the MYKERNEL kernel, do it old style. Wow. Amazing you knew that.
 
Old 01-16-2005, 02:10 PM   #30
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
lol... maybe.. just maybe... I might earn that guru title someday.

Tooling around in the kernel is something I get a kick out of. I am trying to figure out how exactly the version gets put there each time (I know it is retained... but I need to find where) it is going to take a few minutes because these recursive makefiles can be a bear to wade through. But you've got me interested.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow NFS Mount between Gentoo & FreeBSD Gsee Linux - Networking 3 10-23-2006 04:34 PM
freeBSD 4.9 SLOW writes to disk dkc_ace *BSD 1 08-04-2005 04:16 PM
FreeBSD up and running smoothly...but a few questions? detpenguin *BSD 6 06-11-2005 11:27 AM
VERY SLOW printing in FreeBSD?!? Cron *BSD 5 12-16-2004 11:48 PM
Perl script not running on FreeBSD J_Szucs *BSD 12 07-13-2002 09:05 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration