Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 01:45 pm, Jason Taylor wrote:
 Bill Moran wrote:
  Nico Meijer [EMAIL PROTECTED] wrote:
 Hi,
sniping a lot off

 Everything Bill is saying is correct.  The best way to cool is to
 move as much fluid (air is a fluid for the purpose of this
 discussion) as fast as possible across whatever is hot.  Of course,
 the fluid has to be cooler than whatever is being cooled.  A fan
 rotating at certain speed is going to push a given volume of air in a
 given amount of time.  By leaving the case covers on and providing
 only a few small holes for the air to travel through, you're going
 to force the air coming through those holes to travel through the
 case faster.

 That being said, if the case design, component placement, etc. is
 such that leaving the the cover off actually allows a significantly
 greater volume of air to get to the heatsink(s) in a given amount of
 time, then leaving the cover off is a good thing.
 

I have 2 identical machines (AMD 2400+'s) except that one has 2x120mm 
fans (push pull) and the other doesn't. The one that has 1x120mm fan 
has Sonata punched in the covers at the top  of the front and back 
covers and that case runs 3-5oC cooler than the other case. I leave the 
cover off of the other one to keep things running cool. They both run 
setiathome 24x7 and generate equal amounts of heat. I don't like cpus 
running close to 50oC or higher.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: port upgrades

2004-06-07 Thread Kent Stewart
On Monday 07 June 2004 10:28 am, Tim Traver wrote:
Hi all,
Is there a way to do a quick update of a particular port directory
 ??? I don't necessarily want to do the portupgrade, but just get the
 latest port files for a particular port.
Right now, if i want to make sure the ports are up to date, I have
 to use sysinstall to download the entire port collection, which takes
 forever...
Am I missing a quick utility to just check and make sure I have
 the latest port files for one at a time ?
Thanks,
Tim.

You need to read the Handbook on maintaing your ports, which is now 
chapter 4. Then, install cvsup[-without-gui], copy the ports-supfile 
from the share/examples directory into a safe place, change the 
CHANGE_THIS to something real from the cvsup mirror list in the 
handbook and run it.  If you don't know where the share/examples 
directory is located do a locate ports-supfile and locate will tell 
you where it is. If you don't have locate running, do a man located and 
then run the script to build the database.

You need to run portsdb -uU to update the INDEX[.db] files and then you 
can install ports such as portupgrade that make the actually upgrade 
process simple.

I maintain that sysinstall only has value when you are doing a SYStem 
INSTALL] and should be left alone after that. I don't do that because I 
still find adding a new HD easier from sysinstall. I do not use it to 
help maintain my system or the port-system. There are tools that are 
much better suited for that task once you have a running system.

Kent


SimpleNet's Back !
[1]http://www.simplenet.com/


 References

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

-- 
Kent Stewart
Richland, WA

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


Re: suggestions for optimal filesystem-layout over multiple harddrives?

2004-06-07 Thread Kent Stewart
On Sunday 06 June 2004 10:10 pm, Chuck Swiger wrote:
 Geert Hendrickx wrote:
  using multiple harddisks can increase performance, since I/O can be
  done in parallel.  But what would be an optimal filesystem-layout
  on, say, two disks of equal size?  Swap should evidently be spread
  equally over the different drives.  As for the filesystems, say I'd
  have a large /usr and /home, each on one harddrive, and smaller /,
  /var and /tmp which could reside on either disk.  / and /usr would
  be mostly read-only.

 There is nothing wrong with the approach you are taking, and it will
 indeed help balance load out between multiple spindles.  That being
 said, you have to know (by measuring) or at least predict what your
 I/O access patterns are between the various filesystems in order to
 gain full advantage.

 An easier way of balancing load between two or more drives involves
 using RAID-0 striping, although the drives do not have to be equal in
 size. Commodity ATA RAID controllers like Highpoint, Promise,  3ware
 are fairly cheap, or one could use software RAID like vinum.

I was worried about buildworld speed and found I could optimize for that 
very easy. You need 3 HDs on their own controller and create mount 
points for /usr/src and /usr/obj on the 2nd and 3rd controller. Since 
the HDs are so large, I also created a mount point for /usr/ports on 
one of those other controllers. You only see 10-15% faster build times 
when you do this and it is a question of how long you are going to run 
your system before you are paid back for the time you spent worrying 
about it.

From my days of benchmarking supercomputers, we found it was always easy 
to move files produced by users onto a different set of HDs than the 
system was using. You separated the files the system wanted quick 
access to from the files being produced by users. The programs we ran 
generated a lot of data and disk caching was much more important than 
location of the files. What becomes important with caching is whether 
fast access to files you want to read is most important or data 
integrity. If data integrity is not important because you are going to 
restart the program and run it from scratch, then write behind caching 
is easy to setup. 

I haven't encountered any environment like that since I retired. 
My /home/user accounts are all on /usr.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: port upgrades

2004-06-07 Thread Kent Stewart
On Monday 07 June 2004 02:01 pm, Daniela wrote:
 On Monday 07 June 2004 19:35, Kris Kennaway wrote:
  On Mon, Jun 07, 2004 at 07:14:34PM +, Daniela wrote:
   On Monday 07 June 2004 17:28, Tim Traver wrote:
   Hi all,
   Is there a way to do a quick update of a particular port
directory ??? I don't necessarily want to do the portupgrade,
but just get the latest port files for a particular port.
   Right now, if i want to make sure the ports are up to date,
I have to use sysinstall to download the entire port
collection, which takes forever...
   Am I missing a quick utility to just check and make sure I
have the latest port files for one at a time ?
  
   You could use CVSup to update just the directories you want, and
   you can also put this into the system crontab to periodically run
   it. That's pretty convenient.
 
  You _will_ run into problems if you only update parts of the ports
  collection.

 Well, I didn't mean upgrading of just one or two directories, but
 rather skipping directories such as the japanese ports if you don't
 speak japanese. Almost no ports depend on things in language-specific
 directories (at least not the ones I have installed).


Well, there are side effects that you may not know or think about. For 
example, many of the ports include pieces from other pieces. If you 
don't upgrade everything, you could be using old information. Make is 
very particular and the only safe way to refuse, is to delete the 
refused tree, and then modify /usr/ports/Makefile to ignore those 
pieces. If you follow those steps and something breaks during the make 
index process, there is a lot that you don't understand about make and 
will learn soon :). 

FWIW, you don't save a lot of disk space by cvsuping ports-all and you 
may save yourself a lot of problems you wouldn't think about.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: OT: do not read if OT annoys you group coding standards

2004-06-07 Thread Kent Stewart
On Monday 07 June 2004 02:55 pm, Daniela wrote:
 On Monday 07 June 2004 20:10, Goodleaf, John wrote:
 Hello,
 I'm abusing the mailing list because many of you are sickeningly
 clever and have long experience in IT. I'm working to establish
  a document (yep) providing guidance for our company's
 small-but-growing IT group with regard to coding standards and
 practices. It seems rife with potential problems and there is
 already the potential for one of those variable-naming holy wars
 (e.g. intVariableName, varname, VarName, varName). So my
  question: is there a good document out there on the net somewhere,
  maybe hiding at a University site from which I can draw for general
  consideration? Any experiences? Recommendations?
 
 It's a hard problem. How do you provide conventions that don't
  annoy the hell out of programmers, but which ensure that legibile,
  maintainable code is left?

 Well, other programmers may have a different opinion, but I can at
 least tell you what I would prefer:
 I would have no problems with coding standards that allow you to
 clean up _after_ a session, because I lose half of my good ideas
 while bothering with coding standards. Good would be some convention
 where you can just modify your code with sed(1) afterwards, that's
 not much overhead.


I used to think this was really true and then I started working in a 
group that dealt with computer controlled manufacturing. One of the 
people was a whiz at generating code. My mental image of him generating 
code has him running between rows of plants that produced a lot of 
polen dust as he ran. The amount of code he produced was amazing just 
like the clouds of polen dust. The problem was that he would make 
off_by_1 errors that would take as much as a year to track down. 

Programming fast doesn't mean much if some one has to come behind you 
and fix what you didn't do right. If you don't think like them, it is 
almost impossible if it wasn't documented as it was written. In my 
situation, since the program was now my responsibility, I was the one 
they called at 2am when one of the loader porgrams died because of one 
of the off_by_1 errors.

There has to be a happy median. I just never figured out where that was 
before I retired :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: starting Konqueror from the command line

2004-06-06 Thread Kent Stewart
On Saturday 05 June 2004 11:01 pm, Jay Moore wrote:
 On Sunday 06 June 2004 12:46 am, Bruce Hunter wrote:
   This oughta' be easy, but I've been unable to find any
   documentation on it...
  
   I'm using bluefish as an html editor. I don't have mozilla
   installed (don't really want it), and would like to preview my
   html in Konqueror.
  
   What is the correct command line incantation for this?
 
  I believe the command is #konqueror, only 50% sure though.

 I'm 100% sure you've got 50% of the answer, Bruce  :)

 What I need is the part that comes after konqueror... i.e. which
 file to open. And that's assuming Konqueror knows to start in html
 mode since the file it's opening is html. I thought there might even
 be a way to specify a profile file (??) to set window size  other
 options.

I tried 

konqueror pnl-1000th-patent.html

and it started a local copy of that web page.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: upgraded perl ... now missing mods that was installed before upgrade

2004-06-06 Thread Kent Stewart
On Sunday 06 June 2004 12:48 pm, white vamp wrote:
 i did a portupgrade -acCrRv -x kde
 and every thing upgraded just fine and now when i goto run perl
 -MCPAN -e shell
 it loads ok but in the shell if i do a install Bundle::CPAN or any
 outhere one it cant seam to find net::ftp
 and also sence i did my portupgrade all of my  perl modules are
 missing now .. that i had installed before the upgrade .. any ideas
 on how i can get the mods back?? or do i have to figure out all the
 mods that i had installed previousely and reinstall them??

 and thx inadvance for any help on this

I don't think you can upgrade perl to a new level with portupgrade. You 
have to run use.perl port after you update perl to a new level. You 
will find all of the p5-* in the old perl links. In addition, some of 
the older automake[s] have the perl version you were running at the 
time you installed them as the first line of the script. One these has 
been set, you can run your portupgrade.

Kent


 David D.

 PS:

 Summary of my perl5 (revision 5 version 8 subversion 4)
 configuration:

 uname -a
 FreeBSD vampextream.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jun
  3 15:24:56 PDT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAMPEXTREAM i386


 and my perl ver before was 5.8.2  ( before the upgrade )

 PSS:
 an example of of some of my missing mods are
 Text::Iconv
 net::ftp
 Can't locate auto/Compress/Zlib/autosplit.ix

 _
 Watch the online reality show Mixed Messages with a friend and enter
 to win a trip to NY
 http://www.msnmessenger-download.click-url.com/go/onm00200497ave/dire
ct/01/

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

-- 
Kent Stewart
Richland, WA

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


Re: Upgrading FreeBSD to a new release

2004-06-06 Thread Kent Stewart
On Sunday 06 June 2004 02:44 pm, Remko Lodder wrote:
 Hey Roman,

 Roman Kennke wrote:
  Hi list,
 
  One thing, that is making me _not_ using FreeBSD is, that I see no
  way to easily upgrade from, say 5.1 to 5.2 (just an example), over
  network. I mean, I have a server running, to which I have no
  physical access. The only way to maintain it, is over SSH.
  The upgrade instructions in INSTALL.txt suggest putting in the CD,
  and using sysinstall for a binary upgrade. That is no option for
  me.
 
  What I am looking for is an upgrade method which
  - can be used over an SSH connection
  - is not too difficult (like manually placing each piece in the
  right place)
  - does not leave old stuff on the HD (like the sysinstall method
  does, AFAIK)
 
  ... to make it short, something like the ports system (especially
  portupgrade) does with non-system apps would be cool.

 I use CVSup to update my system and then rebuild as described in the
 /usr/src/Makefile file, (yeah yeah there is a UPDATING file on should
 follow), the only thing that i am not doing, since i dont have
 physical access as well, is boot into single user mode and run
 mergemaster, mostly i am keen of knowing what changes , so far on my
 5.x servers there weren't any issue's requiring mergemaster to run.

 Apart from that i updated my systems many times, without being in
 single user mode, with an ssh connection.

This doesn't work on the upgrade to 5.2 from 5.1. You have to boot into 
single user mode to do the installworld. You have incompatible features 
at this upgrade.

Kent


 Hope this helps a bit..

 ow yeah

 /usr/ports/net/cvsup-without-gui is where the cvsup lives :)

 Cheers

  Is there a way to achieve that? This would be the one bit, which
  would make me switch to FreeBSD.
 
  /Roman

-- 
Kent Stewart
Richland, WA

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


Re: Upgrading FreeBSD to a new release

2004-06-06 Thread Kent Stewart
On Sunday 06 June 2004 02:55 pm, Roman Kennke wrote:
 Hi,

One thing, that is making me _not_ using FreeBSD is, that I see
no way to easily upgrade from, say 5.1 to 5.2 (just an
example),

 ..

   Apart from that i updated my systems many times, without being in
   single user mode, with an ssh connection.
 
  This doesn't work on the upgrade to 5.2 from 5.1. You have to boot
  into single user mode to do the installworld. You have incompatible
  features at this upgrade.

 Exactly these kinds of hassles I don't want. I am wondering - FreeBSD
 has built such a nice thing like the ports system. It's a work of
 genius. Only that the install/upgrade process of the system itself is
 completely different (and not very convenient IMO). Is it not
 possible to 'port' the System stuff into the ports system (or a
 different ports system, say, the 'system ports' or something like
 that). Just an idea.

 Ok, are there other ways? Isn't there a script, which places the new
 archives over the old ones, and removes the stuff, that's left from
 the old system? Or is this a too-difficult task?


The problem with 5.1  5.2 is called statfs. See, /usr/src/UPDATING. It 
will run with a new kernel and not the old kernel. If you do an 
installworld before you do an installkernel, you have to use the fixit 
CD to fix it. For a while, they thought you had to do a clean install. 

I have no idea what happens if you boot to a 5.2 kernel with a 5.1 
userland. 

The ports are entirely different because they don't deal with basic 
things such as fs'es. Somewhere in the 5.2 chain is the port problem 
with pthreads. You can count on rebuilding all of your ports that use 
pthreads. Portupgrade does a lot of what you talk about but I always 
use puf and it avoids moving the libraries in to the compat directory.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: New apache2 rc.conf start syntax check

2004-06-05 Thread Kent Stewart
On Saturday 05 June 2004 01:16 pm, Stacey Roberts wrote:
 Hello,
  Sorry if this is a straight-forward case, but I just wanted to
 double-check the syntax for the new apache2 start syntax that's to be
 added to /etc/rc.conf.

 The pkg-message reads:

 # Add the following lines to /etc/rc.conf to enable apache2:
 # apache2_enable (bool):  Set to NO by default.
 # Set it to YES to enable apache2
 # apache2ssl_enable (bool):   Set to NO by default.
 # Set it to YES to start apache with
 SSL # (if IfDefined SSL exists in
 httpd.conf) # apache2limits_enable (bool):Set to NO by default.
 # Set it to yes to run `limits
 $limits_args` # just before apache
 starts.
 # apache2_flags (str):Set to  by default.
 # Extra flags passed to start command

 Now following from what's normally used for /etc/rc.conf, its
 reasonable to me that the syntax should be along the lines of:

 apache2_enable=YES

 But reading the apache2 pkg-message, there's no mention of the use of
 the = for the apache2_enable statement. Is the = required or not?
 If it is, then shouldn't the examples in pkg-message include a
 reference to using the = before the bool selection?



If you do a man rc.conf, you will see that for (bool), you have to set 
'=YES' or '=NO'.

Since you have to stop apache and restart it, you could have done a 
shutdown now and watch it come up the new way.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: FreeBSD / Gnome Performance Tuning

2004-06-05 Thread Kent Stewart
On Saturday 05 June 2004 09:48 pm, Bruce Hunter wrote:
 Hey everyone,
 I have noticed that my system isn't as fast as the windows gui is.
 Probably has to do with Gnome and GTK 2.0 issues. Is there anything I
 can do, to increase system wide performance? Either harddrive access
 time, or gui performance when running multiple apps?


It depends on what you are comparing. For example, I think the numerical 
libraries in Windows are significantly faster than FreeBSD. On the same 
system, I see ~25% more wu's calculated by setiathome from the Windows 
XP side than are processed on the FreeBSD 4.x side.

I could be wrong on where the 25% speed gain is coming from but the 
difference is there. I added the cpu_time from the report that is 
uploaded to Berkely into a spread sheet and then compared the averages 
once I had accrued more than 200 wu's by each OS. You need to process 
several hundred wu's before the really short running ones ceased to 
affect the first few digits in the average.

Look while you are doing some gui stuff and see if you are swapping. 
Your 8ns memory suddenly becomes equivalent to your HD average access 
time at that point and everything is going to run slower. I started 
looking at swapinfo on systems that I did port builds and frequent 
system builds and upped the memory until I quit swapping. The first DDR 
was 512 and it swapped. The 2nd DDR stick was also 512 and it didn't 
swap. 

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Portupgrade -N for gimp-devel : install help

2004-06-03 Thread Kent Stewart
On Thursday 03 June 2004 07:50 pm, Bruce Hunter wrote:
 I am trying to install graphics/gimp-devel
 I have never had an error before with the portupgrade -N command
 This is my error:

 [EMAIL PROTECTED] portupgrade -N graphics/gimp-devel/
 make: don't know how to make all-depends-list. Stop
 ** Invalid package name: graphics/gimp-devel: : Not in due form:
 name-version
 ** Listing the failed packages (*:skipped / !:failed)
 ! graphics/gimp-devel   (invalid package name)
 ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
 [EMAIL PROTECTED]

 Anyone have any ideas?

Gimp-devel was moved to graphics/gimp more than 2 months ago.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Portupgrade -N for gimp-devel : install help

2004-06-03 Thread Kent Stewart
On Thursday 03 June 2004 10:07 pm, Bruce Hunter wrote:
 On Thu, 2004-06-03 at 23:03, Kent Stewart wrote:
  On Thursday 03 June 2004 07:50 pm, Bruce Hunter wrote:
   I am trying to install graphics/gimp-devel
   I have never had an error before with the portupgrade -N command
   This is my error:
  
   [EMAIL PROTECTED] portupgrade -N graphics/gimp-devel/
   make: don't know how to make all-depends-list. Stop
   ** Invalid package name: graphics/gimp-devel: : Not in due form:
   name-version
   ** Listing the failed packages (*:skipped / !:failed)
   ! graphics/gimp-devel   (invalid package name)
   ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1
   failed [EMAIL PROTECTED]
  
   Anyone have any ideas?
 
  Gimp-devel was moved to graphics/gimp more than 2 months ago.
 
  Kent

 Well, that is funny. I do cvsup -g -L 2 /root/ports-supfile
 it updates my ports with the current. I only have graphics/gimp1 and
 graphics/gimp-devel.
 Why don't I have have graphics/gimp??
 What am I doing wrong when updating my ports collection?


I don't know if I cc'ed the list on my reply or not. 

One additional piece of information, when something strange like this 
happens, check cvsweb at http://cvsweb.freebsd.org/. The history of 
freebsd source is there as a series of web pages and, in this case, you 
can see where gimp-devel was moved into gimp. When that has been done 
and you are having problems, you have to assume up front that your 
supfile or mirror is messed up. That may not be true but it is a 
starting point.

Mirrors occasionally get locked up and the only way you can find out is 
to try a different one and watch what happens.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: script entry to finding the version after a cvsup

2004-06-01 Thread Kent Stewart
On Tuesday 01 June 2004 06:55 am, Paul Hamilton wrote:
 Hi,

 I have written a basic script to cvsup, buildworld and install the
 new kernel-world etc.  I have introduced some basic logging, so I can
 track the time taken.  Now I would like to track the version it was
 before the upgrade (ie. uname -r ), and what it is after the upgrade.
  Now, I can't use uname -r, because the server has to be restarted so
 it can pick up the new kernel etc.

 So my question is,  where can I find a entry in the downloaded
 kernel/world source files that says that it is FreeBSD 4.9 p9 etc.  I
 can't use stable-supfile, because it only records the 'branch' that
 is being upgraded, not the full version.

 Any clues?

Look at
/usr/src/sys/conf/newvers.sh

Kent

-- 
Kent Stewart
Richland, WA

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


Re: buildworld actually crashed

2004-05-28 Thread Kent Stewart
On Friday 28 May 2004 10:00 am, Robert Downes wrote:
 During buildworld, I wandered off. When I returned, my machine was,
 alarmingly, in single user mode, demanding that I run fsck manually.

 I'm running fsck right now, and it's finding all sorts of block size
 errors, to which I'm simply hitting 'y' and agreeing that things
 should be salvaged and corrected.

 Before running fsck, I had a look at the buildworld.out script that
 was being written to during the buildworld process. I can't tell you
 exactly what it says, but it definitely came to a stop in the middle
 of a 'sentence' of output. I.e. it looks like my new machine (yeah,
 the soon-to-be-fanless EPIA again) must have crashed during
 buildworld.

 What could cause buildworld to crash like that? I'm now worried that
 my PSU board *was* damaged the other day. Is a damaged PSU the most
 likely cause of this incident?

Just one of the possibilities. There are connectors that will test ATX 
psu's. My experience with psu failures is the system dies and you don't 
have something like HDs. I had what I think is a cpu failure that 
caused a voltage regulator IC to explode on the mobo. I was looking at 
the mobo from about 2 feet when it did this. That was about the most 
exciting thing that happended that day :). I was telling a friend about 
it and he made the comment that they don't throw shrapnel but disappear 
into dust. I never saw or felt anything and assume that he was right.

Insufficient size will cause intermitant errors depending on the cpu. I 
usually go at least the next 50 watts up from what is recommended for a 
cpu. I also have a tendancy to like 350+'s with dual fans.


 All advice very welcome.

In the FAQs trouble shooting link is a section on signal 11's. I would 
look at the options. Very little will cause a buildwold to die but 
hardware errors.

You have to use wavy hands at this point because -stable and -current 
occasionaly have errors but none of the software errors are likely to 
cause the system to reset it self during a build.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Searching CVS commits

2004-05-28 Thread Kent Stewart
On Friday 28 May 2004 01:01 pm, Kevin A. Pieckiel wrote:
 On Tue, May 18, 2004 at 08:43:33PM +0200, Andreas Kohn wrote:
  cvs can't provide you with that kind of information, because it
  doesn't remember it (cvs works on file-by-file base). But, it can
  tell you when the 1.337 commit to vfs_syscalls.c happened.
 
  ...
 
  You can then use the archive of the cvs-src mailing list at
  http://lists.freebsd.org/pipermail/cvs-src/2004-February to find
  the commit:
 
  http://lists.freebsd.org/pipermail/cvs-src/2004-February/018554.htm
 l
 
  That should tell you all modified files in this commit.

 That's EXACTLY what I was looking for!  That's a HUGE help.  I didn't
 even know the info in the cvs-src mailing list existed.  Thanks a
 bunch.


The history is always available using cvsweb.cgi such as

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/vfs_syscalls.c

Back up to the top and bookmark it.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: config is out of sinc

2004-05-28 Thread Kent Stewart
On Friday 28 May 2004 02:55 pm, Earl Larsen wrote:
 On Thursday 27 May 2004 01:01 am, Kent Stewart wrote:
  On Wednesday 26 May 2004 10:19 pm, Earl Larsen wrote:
   What would change for 4.9 current? I am a little confused on the
   difference of RELENG_4_9 and RELENG_4_9_0_RELEASE. Is the first
   one for stable systems, and the later one for current systems?
 
  You need to read about the branch tags on
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.
 html
 
  RELENG_4 is stable, which is now going by the name 4.10-STABLE.
  There is now a RELENG_4_10_0_RELEASE, which never changes, and
  RELENG_4_10, which is only updated with critical fixes and security
  advisories.

 Thank you all for the clarafacation.

 Two last question. I just want to duble check myself.

 1) If I want to update 4.9 to 4.10 I would put RELENG_4_10_0_RELEASE
 in my supfile. And it will update everything to the current version
 of 4.10.

It is a matter of semantics. To me, the current version of 4.10 will be 
RELENG_4_10. The release version never changes and is out of date the 
first time they post a fix to RELENG_4_10. So, it can never be the 
current version.


 2) The cvsroot-all is for a cvsup-mirror.

Ok, but you still don't want to do things the way you were setting it 
up. Don't waste your network bandwidth and the remote computer 
resources when you have the same data on a local machine. My mirror is 
on a computer I call crystal and my stable-supfile on crystal looks 
like

# cat stable-supfile
# listed at http://www.freebsd.org/handbook/mirrors.html.
#*default host=cvsup8.FreeBSD.org
*default host=crystal
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
src-all

I would make one other point. When you install cvsup-mirror, it wants to 
run the update on the hour. I find that 20-25 minutes after the hour is 
much more successful. The mirrored code only changes once an hour and 
you don't miss anything. I have found that the mirrors are usually 
loaded on the hour and I got a lot of denied messages until I setup my 
cvsup mirror update cronjob to run 20-25 minutes later. I still get 
occasional denies when a new release is tagged but not nearly as many 
as I had in the past.

I don't update my mirror every hour and if I want to force an update in 
between cronjobs, I run upcvs, which looks like

# cat upcvs
#! /bin/sh
sh /usr/local/etc/cvsup/update.sh

Once you get a mirror cvsup, if you have a web server, install 
cvsweb-2.0.6_1. You can look at the source just like cvsweb.cgi does on 
freebsd.org.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Problems after CVSUP

2004-05-28 Thread Kent Stewart
On Friday 28 May 2004 09:41 pm, Edward Carmody wrote:
 Not quite a newbie, but not very good either, apparently. :(  I did a
 cvsup last night, following instructions from the handbook, and hosed
 up my box.

 =
 [EMAIL PROTECTED] /home/ecarmody] $ uname -a
 FreeBSD oberon.hudsonvalleynetworks.com 5.2.1-RELEASE-p7 FreeBSD
 5.2.1-RELEASE-p7 #0: Thu May 27 19:57:55 EDT 2004
 root@:/usr/obj/usr/src/sys/GENERIC  i386
 [EMAIL PROTECTED] /home/ecarmody] $
 =

 I should not be running 5.2.1-RELEASE due to my inexperience, I know,
 but need to in order to support my IDE controller.  I was using the
 box for www, sendmail, tacacs, ntp, syslog, samba, for my home
 network, and just trying to learn UNIX a la FreeBSD.

 My immediate issues are these:
 At boot, ntpd hangs, holding up the rest of the startup process.  If
 I kill it with a ctrl-c, sendmail then does some funky things, and
 also hangs.

 ===
 /var/log/ntp shows:
 [EMAIL PROTECTED] /var/log] # cat ntp.log
 28 May 23:53:37 ntpd[609]: ntpd exiting on signal 15
 28 May 23:56:37 ntpd[409]: ntpd exiting on signal 2
 [EMAIL PROTECTED] /var/log] #

 which I think is from me killing it via ctrl-c
 ===

 So, to workaround temporarily, I commented out ntpd_enable=YES in
 rc.conf. Ntpd obviously doesn't hold up my boot anymore but sendmail
 does.

 ===
 Starting sendmail.
 safefile(etc/mail/services.switch, uid=0, gid=0, flags=6480,
 mode=400): safedirpath(/etc/mail, uid=0, gid=0 flags =6580, level=0,
 offset=0): [dir /etc/mail] OK
   No such file or directory

 Then I get similar lines for /etc/mail/submit.cf,
 etc/mail/relay-domains, The last line is:
 Recipient names must be specified

 I can't seem to find the output I'm seeing in /var/log/messages or
 /var/log/maillog, so I've hand-typed in the bit above.

 /var/log/maillog has lots of:
 May 29 00:00:05 oberon sm-msp-queue[436]: i4S2ug7P087593: to=root,
 ctladdr=root (0/0), delay=1+01:03:23, xdelay=00:00:00, mailer=relay,
 pri=4980184, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
 refused by [127.0.0.1]

 which also started after my cvsup last night.
 ===


 Not sure what else to provide.  Any direction on how to 'shoot and
 fix this wins a free beer next time you're in NYC.  Thanks...

Running cvsup didn't do all of this. What did you cvsup and what  else 
did you do :)?

Kent

-- 
Kent Stewart
Richland, WA

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


Re: config is out of sinc

2004-05-27 Thread Kent Stewart
On Wednesday 26 May 2004 10:19 pm, Earl Larsen wrote:
 On Wednesday 26 May 2004 11:39 pm, Kent Stewart wrote:
  On Wednesday 26 May 2004 09:10 pm, Earl Larsen wrote:
   On Wednesday 26 May 2004 10:59 pm, Kris Kennaway wrote:
On Wed, May 26, 2004 at 10:23:03PM -0500, Earl Larsen wrote:
  Read the documentation to find out what the tag=. does
  ;-)
 
  Kris

 So I should edit my cvsupfile to read as the fallowing:

 *default host=cvsup12.us.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default tag=RELENG_4_9_RELEASE
 *default date=2003.10.28
 *default release=cvs delete use-rel-suffix
 *default compress
 src-all date=.
 ports-all tag=.
 doc-all tag=.
 cvsroot-all date=.

 And it will update all of 4.9 as 4.9? To update my system
 corectly. Should I run mergmaster, after cvsed the system.
 Since I ran mergmaster with the incorrect files.
   
No, you're way off.  See the sample configuration files, and
read the documentation on cvsup in the handbook.
   
Kris
  
   Where is the sample config files located?
 
  /usr/share/examples/cvsup
 
  Kent

 Ok I did a little more research on making the cvsupfile. And to make
 my system up to date for everything for 4.9(stable). Please correct
 me if I am wrong. Will be the fallowing:

 default host=cvsup12.us.FreeBSD.org
 *default base=/usr/local/etc/cvsup
 *default prefix=/usr
 *default release=cvs tag=RELENG_4_9
 *default delete use-rel-suffix
 *default compress
 src-all
 ports-all tag=.
 doc-all tag=.
 cvsroot-all

Keep your supfile simple like the examples and don't include features 
such as cvsroot-all that you don't understand the side effects. If you 
want a local mirror, install cvsup-mirror but you need to understand 
the consequences of what you are doing before you try that. 

The current cvsup-mirror is over 2GB and you are going to download all 
of it. /usr/src for RELENG_4 is around 300MB and that is much easier to 
deal with than a 2GB system that you still need to run cvsup or cvs 
against to use. Since you are already asking for src-all, you just 
quadrupled the amount of data you are going to transfer each time you 
run cvsup.

I use a cvsup script for each of those processes (src-all, ports-all, 
and doc-all) because I don't believe they need to be updated at the 
same frequency. I have a local mirror and feed 6 other computers from 
it. I think the break even point is 2 and you don't see any gain until 
you have more than 3. If you install a mirror on a single computer, you 
are downloading everything for all of the branch tags.


 What would change for 4.9 current? I am a little confused on the
 difference of RELENG_4_9 and RELENG_4_9_0_RELEASE. Is the first one
 for stable systems, and the later one for current systems?

You need to read about the branch tags on
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

RELENG_4 is stable, which is now going by the name 4.10-STABLE. There is 
now a RELENG_4_10_0_RELEASE, which never changes, and RELENG_4_10, 
which is only updated with critical fixes and security advisories.

-- 
Kent Stewart
Richland, WA

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


Re: Errors with Freebsd 4.10

2004-05-27 Thread Kent Stewart
On Thursday 27 May 2004 11:45 am, Dan Ferris wrote:
 Been habving problems making a new kernel with 4.10:
snip
 /usr/src/sys/modules/usb/../../dev/usb/ohci_pci.c:371: syntax error
 at end of input
 *** Error code 1

 This is the result of make when building the kernel with both GENERIC
 and my custom configuration.  It even occurs when I comment out USB
 in the config files.

 make buildworld doesn't work for me either.

 /usr.bin/binutils/gdb/kvm-fbsd.c
 /usr/src/gnu/usr.bin/binutils/gdb/kvm-fbsd.c:739: macro `SOLIB_ADD'
 used with too many (4) args
 mkdep: compile failed
 *** Error code 1


You aren't supposed to try a kernel if the buildworld doesn't work 
because buildkernel depends on a current buildworld.

What version did you start out with. I just finished adding 4-10 to 5 
machines and didn't have a problem. So, what did you do different.

You might try make cleandir twice in /usr/src and see if that helps.



 Hardware is a dual processor P3 at 450MHz with 1GB of RAM and a 40GB
 hard disk.  I don't know the exact make of the motherboard, but I'm
 pretty sure that it's an Intel.


Hardware at this point doesn't mean anything. You have something wrong 
with your processing of source. For example, did you cvsup src-all and 
do you have any WITH type of entries in your /etc/make.conf.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: config is out of sinc

2004-05-26 Thread Kent Stewart
On Wednesday 26 May 2004 09:10 pm, Earl Larsen wrote:
 On Wednesday 26 May 2004 10:59 pm, Kris Kennaway wrote:
  On Wed, May 26, 2004 at 10:23:03PM -0500, Earl Larsen wrote:
Read the documentation to find out what the tag=. does ;-)
   
Kris
  
   So I should edit my cvsupfile to read as the fallowing:
  
   *default host=cvsup12.us.FreeBSD.org
   *default base=/usr/local/etc/cvsup
   *default prefix=/usr
   *default tag=RELENG_4_9_RELEASE
   *default date=2003.10.28
   *default release=cvs delete use-rel-suffix
   *default compress
   src-all date=.
   ports-all tag=.
   doc-all tag=.
   cvsroot-all date=.
  
   And it will update all of 4.9 as 4.9? To update my system
   corectly. Should I run mergmaster, after cvsed the system. Since
   I ran mergmaster with the incorrect files.
 
  No, you're way off.  See the sample configuration files, and read
  the documentation on cvsup in the handbook.
 
  Kris

 Where is the sample config files located?

/usr/share/examples/cvsup

Kent
-- 
Kent Stewart
Richland, WA

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


Re: which kinds of AMD work withh FBSD?

2004-05-25 Thread Kent Stewart
On Monday 24 May 2004 10:53 pm, Gary Kline wrote:
 On Mon, May 24, 2004 at 10:30:09PM -0700, Kris Kennaway wrote:
  On Mon, May 24, 2004 at 09:45:08PM -0700, Gary Kline wrote:
 Fellow BSD'ers,
  
 What kinds of the newer AMD processors worth with FreeBSD?
 
  All.
 
  Kris

 Memory: 256MB DDR PC-2100
 Processor:  AMD Duron 1.4
 Hard drive: 40GB 7200 RPM
 Floppy: SONY 1.44MB 3.5 DRIVE
 CD-ROM: 52x32x52 CDRW
 DVD-ROM:None
 Modem:  56K Modem
 Network:Integrated ethernet 10/100
 Video:  Integrated Graphics
 Sound:  Integrated sound
 Speakers:   2 Channel Stereo Speakers
 Input Devices:  PS/2 Keyboard  Scroll Mouse
 Case:   Mid Tower Case 400 WATTS
 Operating System: none


   (You're right, Kent, Seymour's law is still true...  So,
   this 1.4 should be plenty fast.)

It will be slow by modern standards but probably a lot faster than what 
you are using now. I wouldn't buy it because it is a duron and not an 
XP. That is sort of simiar to buying a Celeron and not a P-4. I don't 
think the Duron's have either the data paths or bandwidth. Besides, 
what I see is 2400+'s going for $80+ and the 133MHZ fsb is 
IMPORTANT :). I also think that USB-2 is important for future options. 

FWIW, none of my new systems have floppies and the smallest has 3 x 40GB 
HDs. The new HDs all run ATA-133 and have 8MB of cache. I have about 
40GB of mp3 and wma that I have created from CDs that I own and backup 
on one of the 2400's. It isn't the one with the 3-40's :). None of the 
on-board audio connect to the CD-Rom with a digital connection. Digital 
extraction turns out to be very important when converting audio cds.

An ATA-133 controller is also important because you will find it 
difficult to buy HDs under 120GB and the older mobo may not recognize 
the newer, large ones. A 2400+ with ATA-133 HDs will do a buildworld in 
18 minutes. 


   Anyway, this one can be a starting point if/when I spring
   for it.  But what about the Video and Sound?  Are the FBSD
   problems going to ID the kind of chipsets on this board?

I happen to like Creative Audigy Sound Cards and only 5-current will 
recognize it. I don't have a high opinion of on mobo sound but I am 
using one. I definitely do not like on board video. Every system I have 
had to support with on board video came up lacking but my fastest ftp 
sessions come between 2 machines with onboard SiS NICs. In the end, my 
only won't touch bias is on board video.

I am currently using 4-stable on that system with the Audigy and do 
without sound on those days when I boot that system to FreeBSD. Most of 
the time it is running XP because I have to maintain my Nomad Zen2 from 
XP. It also shares a monitor, keyboard, and mouse with the 3 systems 
that run FreeBSD almost 100%.The 2 - 2400's run FreeBSD most of the 
time. The 1400 Duron will probably take 2-3x longer.


   Would you gents, Chris, Kent, Kris, recommend a second or
   second and third fan?  The AMD's are known to run hot.
   This is at computersonics, just down the hill and a few/several
   bloks east.


The last 2 2400+ XPs that I bought had enough fans on them. They run 
setiathome 24x7, which keeps the cpu at 100%. I have one in an Antec 
Sonata case and the other in one of the other Antec's. The Sonata has 
its name spelled in holes at the top of both sides of the case but only 
has a 120mm push fan. The Sonata power supply has 2 fans that help keep 
the system cool. It runs 4-5oC cooler than the other 2400+ in the other 
Antec case that has both a push and pull 120mm case fans. The HDs pull 
out from the side, which makes accessing them very easy. Almost all of 
my cases have 3 or more fans that cool the cases. I don't want to lose 
a system because the case got too hot because the only fan died.

Think about what you will be content with for x-more years and go with 
it. If it is the 1400, so be it. When I buy something, I want to know 
all of the negatives so that what I buy is the combo that irritates me 
the least :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Kernel compile failing

2004-05-25 Thread Kent Stewart
On Monday 24 May 2004 11:13 pm, Odhiambo Washington wrote:
 FreeBSD 4.9-STABLE here.
 I have done cvsup several times hoping the problem would go away but
 no. The log of the kernel compiling is here:

 http://ns2.wananchi.com/~wash/pain/KERNEL.TXT

 Please tell me what you think is screwing this up ..


I almost forgot about this one. I started to look at the TXT and other 
konsole session covered it up while it was downloading and I forgot 
about it. What I don't see is an error. You have the Error code 1, 
which I have always understood as an indication of an error and that 
you had to look elsewhere to find it. I couldn't.

What kind of options to you have in your kernel config files and 
make.conf. Make didn't like something but I sure don't have a clue.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: which kinds of AMD work withh FBSD?

2004-05-25 Thread Kent Stewart
On Tuesday 25 May 2004 11:36 am, Derrick Ryalls wrote:
 snip

  FWIW, none of my new systems have floppies and the smallest
  has 3 x 40GB HDs. The new HDs all run ATA-133 and have 8MB of
  cache. I have about 40GB of mp3 and wma that I have created
  from CDs that I own and backup on one of the 2400's. It isn't
  the one with the 3-40's :). None of the on-board audio
  connect to the CD-Rom with a digital connection. Digital
  extraction turns out to be very important when converting audio
  cds.
 
  An ATA-133 controller is also important because you will find
  it difficult to buy HDs under 120GB and the older mobo may
  not recognize the newer, large ones. A 2400+ with ATA-133 HDs
  will do a buildworld in
  18 minutes.

 That makes me wonder what I am doing wrong.  I have an 2500XP, gig of
 ram, and a SATA drive, and buildworld take about 45min, buildkernel
 about 5-10min.  Yes, timing measured from pure console, not X.

I have /usr, /usr/src, and /usr/obj on their own ATA-133 controllers. 
When I was benchmarking Cray's, the kind of write caching you were 
doing could double the ouput. You wanted the write to be allowed to 
wait so that reads had priority. If you are running a corp. data base, 
data integrity if more important but this is my own machine and I 
wanted turn around speed on the buildworld.

A buildworld on 5.x is about 50% slower than 4-stable. On a single cpu, 
using -j? actually slowed the build down. I do not use the -j option.

Kent

-- 
Kent Stewart
Richland, WA

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


Re:

2004-05-24 Thread Kent Stewart
On Monday 24 May 2004 06:58 am, [EMAIL PROTECTED] wrote:
 I have an older computer wich cant`t boot CD-ROM discs and I hawe two
 ways: -to boot from the hard disc;
 -or to boot from the floppy and instal it from CD-ROM.
 But i have no idea how to do this.
 Marko, Slovenia

Choose your closest mirror and look at the following path
ftp://ftp9.us.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/floppies

You also have to choose which release you are going to install as part 
of the path.

The directory has a boot.flp and mfsroot.flp. The README.TXT tells you 
how to write the images to a floppy.I always did wrote them on a W2K 
Server using ../tools/fdimage.exe.

After you have loaded the 2nd floppy, you are just like you had booted 
from the CD-ROM.

Kent

-- 
Kent Stewart
Richland, WA

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


Re:

2004-05-24 Thread Kent Stewart
On Monday 24 May 2004 06:34 am, Kent Stewart wrote:
 On Monday 24 May 2004 06:58 am, [EMAIL PROTECTED] wrote:
  I have an older computer wich cant`t boot CD-ROM discs and I hawe
  two ways: -to boot from the hard disc;
  -or to boot from the floppy and instal it from CD-ROM.
  But i have no idea how to do this.
  Marko, Slovenia

 Choose your closest mirror and look at the following path
 ftp://ftp9.us.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/flopp
ies

If you have a CD-ROM, this could all be on the CD and you don't need to 
download the files.

Kent


 You also have to choose which release you are going to install as
 part of the path.

 The directory has a boot.flp and mfsroot.flp. The README.TXT tells
 you how to write the images to a floppy.I always did wrote them on a
 W2K Server using ../tools/fdimage.exe.

 After you have loaded the 2nd floppy, you are just like you had
 booted from the CD-ROM.

 Kent

-- 
Kent Stewart
Richland, WA

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


Re: which kinds of AMD work withh FBSD?

2004-05-24 Thread Kent Stewart
On Monday 24 May 2004 09:45 pm, Gary Kline wrote:
   Fellow BSD'ers,

   What kinds of the newer AMD processors worth with FreeBSD?
   It might be better long-run to buy a barebones system than
   mess with upgrading 5-yr-old boxen.  I'm thinking of something
   in the = 2GHz rangewith 512MB and a 60 or 80G drive.  So far
   I've stuck with Intel since my first 8085/8088.  No problems
   with Unix.  If AMD is a good enough clone, it may be time to
   give it a shot.


I don't know if it is still true but for quite a while I thought they 
were the only Intel class cpu that understood Seymour's principle. It 
doesn't matter how many cpus you have if you don't have the data paths 
and bandwidth to load and store data. A little X/MP was faster than a 
Cray 2 because of memory contention.

Kent


-- 
Kent Stewart
Richland, WA

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


Is www.freebsd.org down.

2004-05-23 Thread Kent Stewart
http://www.freebsd.org seems to be down. Everything else appears to be 
working.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Is www.freebsd.org down.

2004-05-23 Thread Kent Stewart
On Sunday 23 May 2004 11:43 am, J.D. Bronson wrote:
 been this way for hours. Perhaps someone has an explanation ?

It has also been down for me for hours but the only thing it affects is 
my grabing INDEX and INDEX-5 and access to cvsweb.cgi. It has a benefit 
because it finally caused me to add the port to do that so I can 
reference everything to my local mirror. It is alway running the latest 
version of Apache-2 and access via the Internet is always slower :). I 
just don't fix anything that isn't broken.

Kent


 At 01:39 PM 5/23/2004, you wrote:
 http://www.freebsd.org seems to be down. Everything else appears to
  be working.
 

-- 
Kent Stewart
Richland, WA

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


Re: compiler err trying to make buildworld.

2004-05-22 Thread Kent Stewart
On Saturday 22 May 2004 12:07 am, Gary Kline wrote:
   People,

   Doesn't a bunch of ftal signal 11's indicate probable
   bad RAM?  In my maillog, sendmail exited scores of times
   with a sig 11 errror, and earlier tonight, in trying
   to do a make wold/kernel, and so on, the following err
   showed up:

 cc: Internal compiler error: program cpp0 got fatal signal 11
 mkdep: compile failed
 *** Error code 1

   Does this mean that I may have a disc drive going bad,
   or flakey memory, or what??


There is a FAQ on tracing down sig-11's. Anything that heats up or 
memory can be bad. If the fans on your coolers are more than a year 
old, make sure they are turning as fast as they should be :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: installer source location

2004-05-20 Thread Kent Stewart
On Wednesday 19 May 2004 11:57 pm, [EMAIL PROTECTED] wrote:
 Hi,

 Can anyone there please show/driect/point out where the sysinstall
 source is located at? I have the need to edit it and see if its
 possible for me to work on it.

 I am using CVS via Internet.



/usr/src/release/sysinstall

Kent

-- 
Kent Stewart
Richland, WA

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


Re: signal 11 during buildworld

2004-05-20 Thread Kent Stewart
On Thursday 20 May 2004 02:27 pm, Richard Kästner wrote:
 Help please!

 Up to yesterday, I could make buildworld / kernel etc without
 problem.

 Since today (after cvsup, RELENG_4_9) I get:

 c++  -O -pipe -march=pentiumpro -DHAVE_CONFIG_H
 -I/usr/src/gnu/usr.bin/groff/
 src/preproc/soelim/../../../../../../contrib/groff/src/include
 -I/usr/src/ gnu/usr.bin/groff/src/preproc/soelim/../../../src/include
 -D__FBSDID=__RCSID -fno-rtti -fno-exceptions  -static -o soelim
 soelim.o /
 usr/obj/usr/src/i386/usr/src/gnu/usr.bin/groff/src/preproc/soelim/../
../../ src/libs/libgroff/libgroff.a
 c++: Internal compiler error: program ld got fatal signal 11
 *** Error code 1

 Stop in /usr/src/gnu/usr.bin/groff/src/preproc/soelim.
 *** Error code 1
 ...
 (typical for several attempts, some report an internal compiler
 error, some report Syntax errors )


 This happens at different points of compiling:
 sv01(root) /rfk/pub/logs/BuildSystem ll
 total 49936
 -rw-r--r--  1 root  wheel  9792443 May 17 17:33 01-buildall-GENERIC
 -rw-r--r--  1 root  wheel  9674630 May 17 18:14 02-buildall-CVSUP
 -rw-r--r--  1 root  wheel  8996893 May 17 19:01 03-buildall-RFK
 -rw-r--r--  1 root  wheel   719329 May 17 21:09 04-installworld
 -rw-r--r--  1 root  wheel  3191543 May 20 13:13 05-buildall.log
 -rw-r--r--  1 root  wheel  6202233 May 20 13:33 06-buildall.log
 -rw-r--r--  1 root  wheel95567 May 20 13:42 07-buildall.log
 -rw-r--r--  1 root  wheel  4938777 May 20 15:07 08-buildall.log
 -rw-r--r--  1 root  wheel  3189326 May 20 18:03 09-buildall.log
 -rw-r--r--  1 root  wheel  3961683 May 20 18:45 10-buildall.log
 -rw-r--r--  1 root  wheel97564 May 20 23:07 11-buildall.log

 and several entries in /var/log/messages:

 May 20 18:31:29 sv01 /kernel: ipfw2 initialized, divert disabled,
 rule-based forwarding enabled, default to deny, logging disabled
 May 20 18:31:39 sv01 login: ROOT LOGIN (root) ON ttyv0
 May 20 18:32:11 sv01 su: rfk to root on /dev/ttyp0
 May 20 18:32:44 sv01 su: rfk to root on /dev/ttyp1
 May 20 18:33:18 sv01 su: rfk to root on /dev/ttyp2
 May 20 22:59:53 sv01 /kernel: pid 81718 (ld), uid 0: exited on signal
 11 (core dumped)
 sv01(root) /rfk/pub/logs/BuildSystem


 sv01(root) /rfk/pub/logs/BuildSystem uname -a
 FreeBSD sv01.rfk.priv 4.9-RELEASE-p7 FreeBSD 4.9-RELEASE-p7 #1: Mon
 May 17 20:17:24 CEST 2004
 [EMAIL PROTECTED]:/rfk/pub/obj/usr/src-4.9/sys/RFK i386

 sv01(root) /rfk/pub/logs/BuildSystem uptime
 11:23PM  up  4:53, 4 users, load averages: 0.00, 0.00, 0.00
 sv01(root) /rfk/pub/logs/BuildSystem

 Is my machine gone? (running HW-Diagnostic did not show bad things,
 CPU temp is 56 C, MB is 43 C)


You need to read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGNAL11

Something probably changed yesterday on your hardware and is causing 
problems.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: installed perl 5.8. from the ports ??

2004-05-20 Thread Kent Stewart
On Thursday 20 May 2004 08:51 pm, Shawn Guillemette wrote:
 I needed to install something better then perl 5.6.1 in order to
 install something from another port. So I did a locate on perl and
 found /usr/ports/lang/perl5.8  So I cd to the dir and make install
 and after it completed with no errors the I go back to the port I was
 attempting to install and I get the same message:

  rt3-3.0.9 This program only support perl 5.6.1 or above.

 Unfortunately I dont know what version I has using before. I was
 wondering if there was somthign I needed to do to stop using the
 older version and start using the new one?


Read /usr/ports/UPDATING because there is a section on updating perl. 
You also need to update automake* because some of them create a link to 
the current perl as the first line,

If you are running 4.x, the install tells you to run use.perl port and 
that is all you need to do to use the new perl.

Kent

-- 
Kent Stewart
Richland, WA

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



Re: permissions

2004-05-19 Thread Kent Stewart
On Wednesday 19 May 2004 11:05 am, arden wrote:
 hi all

 i only have two users on my bsd box me as a standard user and root

 the prob ive got at the mo is that only root can mount my cd drive
 how do i halter its permissions so standard user can use it

 on a similar vain on my linux boxes i can su root but i get a message
 saying sorry is this a bsd thing ?


It sounds like you may need to add your personal user name to the wheel 
group in /etc/group. You don't su root but just su. I have never 
worried about mounting a CD-ROM from the user because I usually have a 
console session running as root.

I use su - to switch to root because that invokes the root 
environment.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: third IDE

2004-05-19 Thread Kent Stewart
On Wednesday 19 May 2004 02:13 pm, Mark wrote:
 Ok, I bought the Promise Ultra133, and now FreeBSD (4.9R) recognized
 my third IDE port:

 ATA channel 2:
 Master:  ad4 Maxtor 6Y080L0/YAR41BW0 ATA/ATAPI rev 7
 Slave:   no device present

 But I cannot mount it! mount /dev/ad4s1a /backup says:

 mount: /dev/ad4s1a: No such file or directory

 And /dev/ad4 does not exist in /dev/. How do I create it??


I would try

cd /dev
sh MAKEDEV ad4s1a

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Why has cvsup quit working for me?

2004-05-19 Thread Kent Stewart
On Wednesday 19 May 2004 07:10 pm, Jonathon McKitrick wrote:
 I don't get it.  It was working last week.  Here's what I get now:

 root:~# cvsup /usr/share/examples/cvsup/ports-supfile
 Cannot get IP address of my own host -- is its hostname correct?
 root:~#

 I have not changed my hostname.  I have a new firewall at home, but I
 get the same message at work as well.  I upgrading something the
 other day that updated cvsup, and I had to fix the example supfile,
 the one I was using. Other than that, I don't get it.



You system doesn't know who it is. Check hosts and rc.conf.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: sound driver not loading

2004-05-18 Thread Kent Stewart
On Tuesday 18 May 2004 07:46 am, arden wrote:
 hi all

 another newbie question I'm afraid when i boot my machine the sound
 driver module is not loading and have to type kldload snd_drivers
 every time did i miss something on install?

You have to add something like
snd_driver_load=YES
to /boot/loader.conf for it to be run everytime you boot.


 is it time to get a crash course in kernel compiling?


That is what I did. I added options pcm to my kernel config file, 
which requires building a kernel, but why do it if the loader.conf 
addition works :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: sound driver not loading

2004-05-18 Thread Kent Stewart
On Tuesday 18 May 2004 07:59 am, Kent Stewart wrote:
 On Tuesday 18 May 2004 07:46 am, arden wrote:
  hi all
 
  another newbie question I'm afraid when i boot my machine the sound
  driver module is not loading and have to type kldload snd_drivers
  every time did i miss something on install?

 You have to add something like
 snd_driver_load=YES
 to /boot/loader.conf for it to be run everytime you boot.

  is it time to get a crash course in kernel compiling?

 That is what I did. I added options pcm to my kernel config file,
 which requires building a kernel, but why do it if the loader.conf
 addition works :).


That is device  pcm and not options.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: sound driver not loading

2004-05-18 Thread Kent Stewart
On Tuesday 18 May 2004 08:59 am, arden wrote:
 thanks that sorted it
 another quick one

 how do you access the cdrom?
 tried cd /mnt/cdrom as would do in linux

Never tried it that way. I have a directory called /cdrom and all I do 
is mount /cdrom. You can't mount audio cds. You simply play them.

Some of the ports tell you to link /dev/acd0c to /dev/cdrom and chmod it 
to something like 744. I use xmcd or kscd to play my audiio cds but 
usually configure them to use acd0c.

Kent


 arden

 On Tue, 2004-05-18 at 15:59, Kent Stewart wrote:
  On Tuesday 18 May 2004 07:46 am, arden wrote:
   hi all
  
   another newbie question I'm afraid when i boot my machine the
   sound driver module is not loading and have to type kldload
   snd_drivers every time did i miss something on install?
 
  You have to add something like
  snd_driver_load=YES
  to /boot/loader.conf for it to be run everytime you boot.
 
   is it time to get a crash course in kernel compiling?
 
  That is what I did. I added options pcm to my kernel config file,
  which requires building a kernel, but why do it if the loader.conf
  addition works :).
 
  Kent

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

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 11:39 am, Doug Poland wrote:
 Greetings,

 I was running a portupgrade -a this morning on my 5.2.1-RELEASE
 system on a freshly cvsup'd ports tree.  The first hint of trouble
 was gtk-2.4.1 failed to upgrade from 2.4.0...


You need to visit 
http://www.freebsd.org/gnome/docs/faq26.html

They had an update script that is supposed to take you from 2.4 to 2.6 
and you need to do that upgrade. You also have a lot of cpu time usage 
ahead of you.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 11:58 am, Doug Poland wrote:
 Kent Stewart said:
  On Monday 17 May 2004 11:39 am, Doug Poland wrote:
  Greetings,
 
  I was running a portupgrade -a this morning on my 5.2.1-RELEASE
  system on a freshly cvsup'd ports tree.  The first hint of trouble
  was gtk-2.4.1 failed to upgrade from 2.4.0...
 
  You need to visit
  http://www.freebsd.org/gnome/docs/faq26.html
 
  They had an update script that is supposed to take you from 2.4 to
  2.6 and you need to do that upgrade. You also have a lot of cpu
  time usage ahead of you.

 I'm on may way over there but, I'm not running Gnome on this system.

You may not be. I run KDE but you still have pieces such as glib and 
gtk.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 12:22 pm, Doug Poland wrote:
 Kent Stewart said:
  On Monday 17 May 2004 11:58 am, Doug Poland wrote:
  Kent Stewart said:
   On Monday 17 May 2004 11:39 am, Doug Poland wrote:
   Greetings,
  
   I was running a portupgrade -a this morning on my 5.2.1-RELEASE
   system on a freshly cvsup'd ports tree.  The first hint of
   trouble was gtk-2.4.1 failed to upgrade from 2.4.0...
  
   You need to visit
   http://www.freebsd.org/gnome/docs/faq26.html
  
   They had an update script that is supposed to take you from 2.4
   to 2.6 and you need to do that upgrade. You also have a lot of
   cpu time usage ahead of you.
 
  I'm on may way over there but, I'm not running Gnome on this
  system.
 
  You may not be. I run KDE but you still have pieces such as glib
  and gtk.

 Thanks Kent.  I too have glib and gtk running, or not :(   I'll start
 the script upgrade now.  Thanks for the tip.

You were just a wee bit slow updating. They removed the message about 
the URL about 1 day ago :). Timing can be everything at times. I did a 
-rf glib portupgrade but I think it failed. The script may also fail 
and they tell you to run it again. The 2nd portupgrade worked and that 
is all that matters :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 12:27 pm, Doug Poland wrote:
  Kent Stewart said:
  On Monday 17 May 2004 11:58 am, Doug Poland wrote:
  Kent Stewart said:
   On Monday 17 May 2004 11:39 am, Doug Poland wrote:
   Greetings,
  
   I was running a portupgrade -a this morning on my
   5.2.1-RELEASE system on a freshly cvsup'd ports tree.  The
   first hint of trouble was gtk-2.4.1 failed to upgrade from
   2.4.0...
  
   You need to visit
   http://www.freebsd.org/gnome/docs/faq26.html
  
   They had an update script that is supposed to take you from 2.4
   to 2.6 and you need to do that upgrade. You also have a lot of
   cpu time usage ahead of you.
 
  I'm on may way over there but, I'm not running Gnome on this
  system.
 
  You may not be. I run KDE but you still have pieces such as glib
  and gtk.
 
  Thanks Kent.  I too have glib and gtk running, or not :(   I'll
  start the script upgrade now.  Thanks for the tip.

 Well, that was too quick.  Python2.3 core dumped in stage 2 of 5 and
 everything failed. My world is looking pretty bleak right about now.

Look at what is out of date. You may have to update ruby, portupgrade,  
and python before you try glib.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 12:45 pm, Doug Poland wrote:
 Kent Stewart said:
  On Monday 17 May 2004 12:27 pm, Doug Poland wrote:
   Kent Stewart said:
   On Monday 17 May 2004 11:58 am, Doug Poland wrote:
   Kent Stewart said:
On Monday 17 May 2004 11:39 am, Doug Poland wrote:
Greetings,
   
I was running a portupgrade -a this morning on my
5.2.1-RELEASE system on a freshly cvsup'd ports tree.  The
first hint of trouble was gtk-2.4.1 failed to upgrade from
2.4.0...
   
You need to visit
http://www.freebsd.org/gnome/docs/faq26.html
   
They had an update script that is supposed to take you from
2.4 to 2.6 and you need to do that upgrade. You also have a
lot of cpu time usage ahead of you.
  
   I'm on may way over there but, I'm not running Gnome on this
   system.
  
   You may not be. I run KDE but you still have pieces such as
   glib and gtk.
  
   Thanks Kent.  I too have glib and gtk running, or not :(   I'll
   start the script upgrade now.  Thanks for the tip.
 
  Well, that was too quick.  Python2.3 core dumped in stage 2 of 5
  and everything failed. My world is looking pretty bleak right
  about now.
 
  Look at what is out of date. You may have to update ruby,
  portupgrade, and python before you try glib.

 I cannot run portupgrade or make on any port, up-to-date or not.  For
 example, lang/ruby18 yields...

 ===   ruby-1.8.1.2004.05.02 depends on file:
 /usr/local/lib/libcrypto.so.3 - found ===  Configuring for
 ruby-1.8.1.2004.05.02
 /usr/bin/touch
 /usr/ports/lang/ruby18/work/ruby-1.8.1-2004.05.02/configure
 configure: WARNING: you should use --build, --host, --target checking
 build system type... i386-portbld-freebsd5
 checking host system type... i386-portbld-freebsd5
 checking target system type... i386-portbld-freebsd5
 checking for i386-portbld-freebsd5-gcc... cc
 checking for C compiler default output... configure: error: C
 compiler cannot create executables
 ===  Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and attach
 the /usr/ports/lang/ruby18/work/ruby-1.8.1-2004.05.02/config.log
 including the output of the failure of your make command. Also, it
 might be a good idea to provide an overview of all packages installed
 on your system (e.g. an `ls /var/db/pkg`).
 *** Error code 1

Did you run portsdb -uU after you cvsup'ed ports-all. I have never seen 
a message like what your are seeing on the lists.

FWIW, your upgrade is old enough that you may have problems with ruby 
and portupgrade.  I deleted ruby-* and portupgrade and then did a make 
install in portupgrades directory.

Kent


Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 01:37 pm, Doug Poland wrote:

 Yes, I ran portsdb -uU.  However, portsdb will not run now, python2.3
 core dumps.

  FWIW, your upgrade is old enough that you may have problems with
  ruby and portupgrade.  I deleted ruby-* and portupgrade and then
  did a make install in portupgrades directory.

 My system was reasonably up-to-date (about two weeks) before this
 disaster.  IIRC, my list of ports to upgrade included the latest
 changes to XFree86-4.3-libs, gtk, glib, python, ruby, and a few
 others.  I may just blow away all ports, and start from scratch.

Python has no dependancies. I wonder if something is out of kilter on 
your base system? I am not running 5.2.1. I have one system running 
5-current and it only had time as a problem of updating these ports. 

I am also running perl 5.8.2_5 on that system. There were a number of 
things that popped up when I updated perl because all of the p5-* 
needed to be updated as well and some of the automakes. Most of these 
were covered in /usr/ports/UPDATING.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 02:08 pm, Joe Altman wrote:
 On Mon, May 17, 2004 at 03:37:00PM -0500, Doug Poland wrote:
  I may just blow away all ports, and start from scratch.

 Could you not re-cvsup, and then try to build world, before blowing
 away your ports? Isn't blowing it all away a bit extreme?

I also wonder if you have an option in CFLAGS that you shouldn't have.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Help, GTK and my ports system broke!

2004-05-17 Thread Kent Stewart
On Monday 17 May 2004 02:27 pm, Doug Poland wrote:
 Kent Stewart said:
  On Monday 17 May 2004 02:08 pm, Joe Altman wrote:
  On Mon, May 17, 2004 at 03:37:00PM -0500, Doug Poland wrote:
   I may just blow away all ports, and start from scratch.
 
  Could you not re-cvsup, and then try to build world, before
  blowing away your ports? Isn't blowing it all away a bit extreme?
 
  I also wonder if you have an option in CFLAGS that you shouldn't
  have.

 CFLAGS= -O -pipe
 COPTFLAGS= -O -pipe
 NOPROFILE=  true# Avoid compiling profiled libraries
 USA_RESIDENT=   YES

The only thing I do differently is I have athlon-xp for a CPUTYPE. I 
will only be running 5.x on XPs.

Since you have deleted all of the ports, if the builds die on the 
reinstalls, I would suspect your userland/kernel or hardware.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: Portsdb Update Error

2004-05-14 Thread Kent Stewart
On Thursday 13 May 2004 11:37 pm, Kevin Greenidge wrote:
 The thing is I always have the whole Chinese ports collection in my
 refuse file when I do a cvsup among with a bunch of other stuff so I
 don't know why this error decides to show itself now. Any help would
 be appreciated.

That doesn't mean one of the Makefiles in one of the other port 
directories isn't pointing there as a dependancy. If you want make 
index to almost always work, don't refuse. You really don't save that 
much space.

Kent


 I am using the following:

 FreeBSD santacruz 4.9-RELEASE-p7 FreeBSD 4.9-RELEASE-p7 #0: Sat May 
 8 01:42:38 GMT 2004



 santacruz# portsdb -Uu
 Updating the ports index ... Generating INDEX.tmp - please wait..===
 chinese/op
 enoffice-zh_CN failed:
 Makefile, line 17: Could not find
 /usr/ports/chinese/openoffice-zh_CN/../../ed
 itors/openoffice/Makefile
 make: fatal errors encountered -- cannot continue
 *** Error code 1
 1 error

 
 Before reporting this error, verify that you are running a supported
 version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
 have a complete and up-to-date ports collection.  If so, then report
 the failure to [EMAIL PROTECTED] together with relevant details of
 your ports configuration (including FreeBSD version, environment and
 /etc/make.conf settings).
 

 *** Error code 1

 Stop in /usr/ports.
 *** Error code 1

 Stop in /usr/ports.
 failed to generate INDEX!
 portsdb: index generation error
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Kent Stewart
Richland, WA

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


Re: glib problems

2004-05-14 Thread Kent Stewart
On Friday 14 May 2004 01:43 am, hatter wrote:
 Hello.

 I have fairly fresh install of 5.2.1 where I installed xfree, gnome
 2.6 and xfce4 (in this order).
 Now, whenever I install something from ports tree, that has anything
 to do with glib, it will
 build fine without any errors but when I try to launch the program it
 will complain about
 missing libraries.
 Like this:
 bash-2.05b$ rox
 /libexec/ld-elf.so.1: Shared object libgobject-2.0.so.200 not found
 bash-2.05b$ gftp
 /libexec/ld-elf.so.1: Shared object libgobject-2.0.so.200 not found
 bash-2.05b$ evolution
 /libexec/ld-elf.so.1: Shared object libgobject-2.0.so.200 not found

 I did a search and found that I have libgobject-2.0.so.400 in
 /usr/local/lib which belongs
 to the package glib-2.4.1_1.

 I have all the possible glib packages installed:
 bash-2.05b$ pkg_info | grep glib
 glib-1.2.10_10  Some useful routines of C programming (previous
 stable vers
 glib-2.4.1_1Some useful routines of C programming (current
 stable versi

 I have updated my ports tree and did portupgrade -a.

 Any help appreciated.

Try a portupgrade -rf glib. I always do a -fa to force all. I have never 
timed an -rf glib on a 5.x system but it should keep your machine busy 
for some time :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Oddball package and portupgrade

2004-05-14 Thread Kent Stewart
On Friday 14 May 2004 11:37 am, Lord Sith wrote:
 I have a non standard package installed on a FreeBSD box. It is the
 FreeBSD version of Adaptec's RAID management software.

 I want to use portupgrade to manage the other packages and ports on
 that same server however portupgrade gets very upset about this
 non-standard package and refuses to run any command:

 myserver# portupgrade -an
 ---  Session started at: Fri, 14 May 2004 12:34:27 -0600
 adptfbsd_304: Not in due form: name-version
 ---  Session ended at: Fri, 14 May 2004 12:34:27 -0600 (consumed
 00:00:00)

 I tried following the instructions in the man page by putting in a
 +IGNOREME into the package's directory (/var/db/pkg/adptfbsd_304/)
 but I still get the same error.

 How can I get portupgrade to ignore this installed package?

/usr/local/etc/pkgtools.conf has the following comment.

  # To completely hide the existence of a package, put a dummy file
  # named +IGNOREME in the package directory.

You might try adding that to /var/db/pkg for it and see what it does.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: remove users from system

2004-05-13 Thread Kent Stewart
On Thursday 13 May 2004 11:14 am, OLAF STEIN wrote:
 hi everybody,

 i recently switched from linux to freebsd, so this question might
 sound a little stupid

 the problem
 i removed 2 users from my system by deleting their entries in
 /etc/passwd and /etc/group (they had their own group and where in no
 other groups)

 the users are still able to login after i deleted them
 the rmuser command now does not remove them anymore because it cannot
 find their entries in /etc/passwd, cause as mentioned i deleted them
 from their

 the handbook lists all actions that are taken, when the rmuser
 command is executed and i did all actions manually except the
 deletion of the home directories of those users, because i want to
 keep them

 how can i remove those users completely?
 and is there something like a /etc/shadow file?


Use vipw to do the delete. You deleted the text in the shadow text file 
and left /etc/master.passwd with the previous working version. You can 
force the update of master.passwd but I think you should get used to 
using vipw.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Transfering Files

2004-05-13 Thread Kent Stewart
On Thursday 13 May 2004 07:11 pm, Bruce Hunter wrote:
 I have two computer systems. 1 windows 2k system where I do web
 development work, specifically php development. The other system is a
 FBSD headless system that I control via ssh, from my windows system.
 The FBSD system is my local webserver where I do my testing before
 transfering to another server.

 My question is this. What is the best way to get my files from my
 windows system over to the FBSD webserver. FTP? Samba? or someting
 else? Also, I  want to make this webserver a file server wher I can
 save my downloads and mp3's. Not sure what which direction to go with
 these two tasks?


I use ws_ftp pro because it is easy and it also does a good job of 
rearranging the folder lists in newest to oldest date order. Older 
versions used to remember you were doing that but I is still easy to 
do. Similar products on FreeBSD haven't worked as well. So, I ftp from 
my w2k server to both of the servers I use. 

I also use Adobe's GoLive to maintain my html pages and haven't found 
anything on FreeBSD that will do what I want it to do better. Quanta on 
KDE does somethings better than GoLive, so , it is easy to work on both 
machines and then copy the quanta modified sources back to the w2k 
machine. This also provides a back up in case one HD fails.

I try to separate my systems and wouldn't use samba unless I couldn't do 
it any other way.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Freebsd 4.9 installation question

2004-05-12 Thread Kent Stewart
On Wednesday 12 May 2004 01:30 pm, Christopher Svensrud wrote:
 I am getting a message that prevents me from furthering the
 installation:



 The disk in your drive looks more like an Audio disc than a FreeBSD
 release.



 Is there anything I can do?


Your computer doesn't think you have a real iso. Try burning it on a 
different cd-burner. If that doesn't work, use different CD-R media and 
if that doesn't work, suspect your CD-Rom drive on the computer your 
are trying to install it on.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: your mail

2004-05-11 Thread Kent Stewart
On Tuesday 11 May 2004 12:04 pm, Jason Stewart wrote:
 On 11/05/04 11:52 -0400, wendy wrote:

  the installation actually is very difficult and so this
  Superior OS is not for 99.9% computer users

 The installation is difficult compared to what? A desktop OS? FreeBSD
 shines as a server OS, and while it does a fine job on the desktop,
 try installing and administrating other server OSes, and you'll see
 just how easy FreeBSD is. You'll definitely worry much less about the
 latest worm taking out your servers.

 Comparing this OS to the one that 99.9% people use us an apples to
 oranges comparison.


One of the features that I really find to be valuable is the upgrade 
capabilities. For example, have an old motherboard with a P-II 400 die 
and then try to upgrade the system with Windows. You have a number of 
hoops that you have to jump through before it will run. You may even 
have to reinstall and lose your setup. You also stand a chance that you 
will have to get a new key before XP will run. Telephone calls to 
Microsoft have never been immediate from my experience.

With FreeBSD, you move your periphrials such as floppies, CD-ROM, and 
HDs into a system with a new mobo and cpu and it will boot and run like 
nothing had happened. The only time I had a problem was when a SMP 
system died and I went to a single cpu environment. The SMP hardware 
wasn't there and it paniced but no big deal, I booted to the GENERIC 
kernel, changed my kernel config to a single cpu, built and installed 
it and rebooted. Within minutes I was back to running my specialized 
kernel. Changing from a single processor to a SMP system is relatively 
easy on both system. With Windows NT/XP you have to find your CDs to 
make the change and by the time you do that, I have been running 
FreeBSD for minutes :).

I have seen a bug on FreeBSD and sent an email to the maintainer. They 
got rid of the bug and the fix was available to the world on the next 
on the hour updates of the public mirrors. The last time I submitted a 
bug to Microsoft, I had to wait for 98se to come out. The response time 
comparisons were months different.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Installing linuxpluginwrapper

2004-05-10 Thread Kent Stewart
On Monday 10 May 2004 09:51 am, Stephen Liu wrote:
 Hi folks,

 I encountered following problem in installing
 'linuxpluginwrapper'

 # cd /usr/ports
 # make search name=linuxpluginwrapper
 Port:   linuxpluginwrapper-20031122
 Path:   /usr/ports/www/linuxpluginwrapper
 ..

 # cd /usr/ports/www/linuxpluginwrapper/
 # make install clean

  linuxpluginwrapper-20031122.tar.gz doesn't seem to

 exist in /usr/ports/distfi
 les/.


ruby# cd /usr/ports/www/linuxpluginwrapper/
ruby# make fetch
===  Vulnerability check disabled
 linuxpluginwrapper-20040310.tar.gz doesn't seem to exist 
in /usr/ports/distfiles/.
 Attempting to fetch from http://people.FreeBSD.org/~nork/distfiles/.
linuxpluginwrapper-20040310.tar.gz100% of   12 kB   26 kBps

Your port tree is out of date and that tarball must not exist any more. 
Cvsuping ports-all may get this to work but cause other problems.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Anyone else having trouble with Samsung 160G drives?

2004-05-10 Thread Kent Stewart
On Monday 10 May 2004 10:23 am, Bill Moran wrote:
 This is the weirdest problem I'm seen in a while.

 Client bought a pair of 160G Samsung SP1604N ATA drives.  I'm
 supposed to install them in an existing FreeBSD 4.9 system for
 additional storage space.

 As soon as the drives are installed, kernel won't boot.  It freezes
 up right before the ad0: ... messages appear and won't respond to
 anything except the reset button. Tried primary slave, secondary
 slave ... threw in a Highpoint ATA card and tried every possible
 configuration ... no dice.  This was on a relatively new AOpen mobo
 with a 2G processor (don't have the model # handy, but I'll get it if
 it's important)

 Moved the drives into an older 466mhz system ... same effect ... boot
 locks up at the probe message just before it would normally detect
 ad0.  In this new system, we even tried removing the existing drives
 altogether and starting from scratch on these drives ... the boot
 from the CD hangs just like everything else.

 So ... I brought one back to the office to put in a test machine so I
 could gather lots of good data, file a PR and get the problem fixed. 
 Threw it into an old lab machine (266 mhz SOYO board) and the sucker
 WORKS PERFECT! (so much for gathering data for a bug report)

 So ... I'm at a complete loss as to what I should do ... and a bigger
 loss on what I should recommend to the client.

I don't think it is the drive unless size is considered. There are bios 
problems when the size goes above 120GB or so. You may be bumping into 
this problem.If that is the case, a bios upgrade may let you use the 
HD.

Kent


 Does anyone have any experience with Samsung hard drives?  Are they
 buggy in some way?  I've got the feeling that I'm going insane ...
 seriously, these things work everywhere except where I need them to
 work (as an aside ... the client tried them in a Windows desktop
 machine and they worked fine there as well)

 Does anyone have any suggestions?  Thoughts?  Anything?

-- 
Kent Stewart
Richland, WA

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


Re: Anyone else having trouble with Samsung 160G drives?

2004-05-10 Thread Kent Stewart
On Monday 10 May 2004 10:46 am, Bill Moran wrote:
 Kent Stewart wrote:
  On Monday 10 May 2004 10:23 am, Bill Moran wrote:
 This is the weirdest problem I'm seen in a while.
 
 Client bought a pair of 160G Samsung SP1604N ATA drives.  I'm
 supposed to install them in an existing FreeBSD 4.9 system for
 additional storage space.
 
 As soon as the drives are installed, kernel won't boot.  It freezes
 up right before the ad0: ... messages appear and won't respond to
 anything except the reset button. Tried primary slave, secondary
 slave ... threw in a Highpoint ATA card and tried every possible
 configuration ... no dice.  This was on a relatively new AOpen mobo
 with a 2G processor (don't have the model # handy, but I'll get it
  if it's important)
 
 Moved the drives into an older 466mhz system ... same effect ...
  boot locks up at the probe message just before it would normally
  detect ad0.  In this new system, we even tried removing the
  existing drives altogether and starting from scratch on these
  drives ... the boot from the CD hangs just like everything else.
 
 So ... I brought one back to the office to put in a test machine so
  I could gather lots of good data, file a PR and get the problem
  fixed. Threw it into an old lab machine (266 mhz SOYO board) and
  the sucker WORKS PERFECT! (so much for gathering data for a bug
  report)
 
 So ... I'm at a complete loss as to what I should do ... and a
  bigger loss on what I should recommend to the client.
 
  I don't think it is the drive unless size is considered. There are
  bios problems when the size goes above 120GB or so. You may be
  bumping into this problem.If that is the case, a bios upgrade may
  let you use the HD.

 That's pretty odd, as the only mobo that the drive works with is has
 a bios that's completely unable to understand the drive (the bios
 screen says it's 8G).  Both of the other machines we tried in
 detected the drive size correctly in the bios.

 Are you saying that an older bios that incorrectly detects the drive
 is more likely to work than a newer one that _does_ detect it
 correctly? Scratch that ... _I'm_ the one that's saying it, since
 that's what I'm seeing.

No, I was thinking just the opposite. The 160's aren't supposed to work 
in all of the older bioses. IIRC, you need a larger version of LBA to 
map the drive. The 8GB is a sign of even older bios problems. The only 
time I had the hang problem with booting was when I made the drive 
dangerously dedicated. There are bioses that simply hang at discovery 
time with a DD drive mounted.

I have a 160 Maxtor running in my test machine. There were messages 
about it not working on all systems but it installed without a problem 
on 4-stable. It is also very fast for an IDE. I can do a buildworld 
with an AMD 2400+ in 18 minutes using it for my /usr/obj.

-- 
Kent Stewart
Richland, WA

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


Re: FreeBSD 5.2.1: Booting Issue

2004-05-08 Thread Kent Stewart
On Saturday 08 May 2004 01:17 pm, Silencium68 wrote:
 Hello,

 I am trying to setup FreeBSD 5.2.1 on a PC, which is equipped with

   * AMD K6/233
   * 256 MB RAM
   * Adaptec AHA-1542 (SCSI-Id #7, I/O 0x0330, IRQ 15, DMA 0)
   * RealTek RTL8139
   * Seagate ST34520N (SCSI-Id #0)
   * Quantum Fireball 540S (SCSI-Id #1)
   * Matshita CR-8005A (SCSI-Id #6)
   * SoundBlaster SB2 (I/O 0x0220, IRQ 2, DMA 1)
   * 1,44 MB/3,5 Floppy

 Booting from CDROM doesn't work, so I created two floppies, one made
 from kern.flp, the other made from mfsroot.flp, but unfortunately
 booting from the floppies doesn't work either! After replacing the
 boot floppy with the one containing the root file system, the kernel
 says something like

   AHA invalid DMA setting

 and stops after some time asking with file system to continue with.
 When going for ufs:md0 I am ending with the sysinstall, but I can't
 install anything because not a single disk can be found!

 How can I solve this one?

Look at http://www.freebsd.org/releases/5.2.1R/hardware-i386.html#AEN65

You may have to set the device hints like they describe in the man page 
for ahc. I think they are located in /boot/device.hints but I don't 
have my 5-current system running right now.

Also, you want to read the sbc man page and setup your SoundBlaster 
using those defaults. If you use the defaults, it is much easier. These 
are all available off of the freebsd 5.2.1 web site.

If these hints don't work and a more knowledgeable answer(s) popup, you 
should ask on freebsd-current. This isn't a -hackers problem.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Makefile for XFree86-fontScalable-4.3.0 port is broken?

2004-05-07 Thread Kent Stewart
On Friday 07 May 2004 02:54 am, Daniel Wijnands wrote:
 Did you find a solution for this problem ?


You didn't give enough information such as version of FreeBSD that you 
are running. After I read your message, I tried building it again on 2 
recently cvsup'ed different computers running 4-stable and had no 
problem doing so.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Stop. in installworld (4.9)

2004-05-06 Thread Kent Stewart
On Thursday 06 May 2004 09:45 am, Ewald Jenisch wrote:
 Hi,

 Upon trying to upgrade a 4.9 system to the most recent version I
 ended up with a Stop. during make installworld.

When ever touch gets involved in an installworld, your computer's clock 
is usually off and make thinks it needs to recreate something. Set the 
clock to the proper time and rebuild your world and then try the 
install.

Kent


 Here's what I did:

 cvsup ... stable-supfile
 cd /usr/src
 make buildworld
 make buildkernel KERNCONF=... (Kernel-config-file below)
 make installkernel KERNCONF=...
 reboot to single-mode (no errors booting with the new kernel)
 mergemaster -p
 cd /usr/src
 make installworld

 Installworld ends with a Stop. (see below).

 Anybody else already seen this?

 What can I do against it?

 BTW, cvsup-ing again about an hour later didn't help.

 TIA for your help,
 -ewald

 PS: I'm including the full text of the error message as well as my
 kernel config and the /var/log/messages below.

 --  Cut here 
 --

 # cd /usr/src
 # make installworld
 mkdir -p /tmp/install.42
 for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
 find grep  ln make makewhatis mkdir mtree mv pwd_mkdb rm sed sh
 sysctl  test true uname wc zic; do  cp `which $prog` /tmp/install.42;
  done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 
 MACHINE=i386  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec 
 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin 
 GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font 
 GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac
 PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 
 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/us
r/obj/usr/src/i386/usr/games:/tmp/install.42 make -f Makefile.inc1
 reinstall
 --

  Making hierarchy

 --
 cd /usr/src; make -f Makefile.inc1 hierarchy
 cd /usr/src/etc;  make distrib-dirs
 set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`;  while [ $#
 -gt 0 ] ;  do  for dir in /usr/share/locale  /usr/share/nls 
 /usr/local/share/nls;  do  test -d /${dir}  cd /${dir};  test -L
 $2  rm -rf $2;  test \! -L $1  test -d $1  mv $1
 $2;  done;  shift; shift;  done mtree -deU -f
 /usr/src/etc/mtree/BSD.root.dist -p /
 mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var
 mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
 mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
 mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p
 /usr/libdata/perl/5.00503/mach mtree -deU -f
 /usr/src/etc/mtree/BSD.sendmail.dist -p /
 cd /; rm -f /sys; ln -s usr/src/sys sys
 cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
 cd /usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`; 
 while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift;
 shift;  done cd /usr/share/locale;  set - `grep ^[a-zA-Z]
 /usr/src/etc/locale.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1; 
 ln -s $2 $1;  shift; shift;  done cd
 /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
 cd /usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`; 
 while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift;
 shift;  done

 --

  Installing everything..

 --
 cd /usr/src; make -f Makefile.inc1 install
 === share/info
 === include
 creating osreldate.h from newvers.sh
 setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  .
 /usr/src/include/../sys/conf/newvers.sh;   echo $COPYRIGHT 
 osreldate.h;   echo #ifdef _KERNEL  osreldate.h; 
   echo '#error
 osreldate.h must not be used in the kernel, use sys/param.h' 
 osreldate.h;  echo #else  osreldate.h; echo \#'undef
 __FreeBSD_version'  osreldate.h; echo \#'define __FreeBSD_version'
 $RELDATE  osreldate.h;  echo #endif  osreldate.h touch: not
 found
 *** Error code 127

 Stop in /usr/src/include.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 # exit

 Script done on Wed Jan 28 04:57:15 2004

 --  Cut here 
 --

 Kernel-config-file:


 machine   i386
 # cpu I386_CPU
 # cpu I486_CPU
 # cpu I586_CPU
 cpu   I686_CPU
 ident EJ
 maxusers  0

 #makeoptions  DEBUG=-g#Build kernel with gdb(1) debug symbols

 options   MATH_EMULATE#Support for x87 emulation
 options   INET#InterNETworking
 options   INET6   #IPv6 communications protocols
 options   FFS #Berkeley Fast Filesystem
 options   FFS_ROOT

Re: Stop. in installworld (4.9)

2004-05-06 Thread Kent Stewart
On Thursday 06 May 2004 11:04 am, Ewald Jenisch wrote:
 On Thu, May 06, 2004 at 10:30:33AM -0700, Kent Stewart wrote:
  On Thursday 06 May 2004 09:45 am, Ewald Jenisch wrote:
   Hi,
  
   Upon trying to upgrade a 4.9 system to the most recent version I
   ended up with a Stop. during make installworld.
 
  When ever touch gets involved in an installworld, your computer's
  clock is usually off and make thinks it needs to recreate
  something. Set the clock to the proper time and rebuild your world
  and then try the install.

 Hi Kent,

 Thanks very much for the hint. As it turns out the clock of the
 system was completely off - it's a new system that I set up today
 which out of the box had the clock months (!) off...

 Changed date/time, remade everything and make installworld ran
 without problems.



One of the first things I setup on a computer is ntpd and then I let it 
run. Sometimes, you have to manually set the clock but it is part of my 
install first list. The hardest part is finding a public time server 
than you can access.

Computer clocks are notorious for being in another world but now I joke 
that my computer's clock is more accurate than my digital wristwatch. 
They always gain or lose time but my computer is always accurate within 
a fraction of a second.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Interpreting `pkgdb -F' output

2004-05-06 Thread Kent Stewart
On Thursday 06 May 2004 12:14 pm, Mark Ovens wrote:
 I've run `pkgdb -F' prior to using portupgrade to update some ports.
 The obvious stuff, such as dependency versions being bumped, I've
 dealt with as they were pretty much self-explanatory but I'm left
 with these few.

 The manpage doesn't offer any explanation and I can't find anything
 else useful.

That usually means that you don't have the port it want to link to 
installed. Install what it wants and the message will go away :).

Portugrade uusally takes care of this problems but, like all computer 
problems, you can bet money on it :).

Kent


 How do I interpret this output? The first one for example seems to me
 to be telling me that digikam-0.5.1 depends on openldap-client-2.1.23
 but it wants to change that dependency to open-motif-2.2.2_2, which
 doesn't make much sense.

 /home/mark{36}# pkgdb -F
 ---  Checking the package registry database
 Stale dependency: digikam-0.5.1 - openldap-client-2.1.23
 (net/openldap21-client):
 open-motif-2.2.2_2 (score:23%) ? ([y]es/[n]o/[a]ll) [no]
 New dependency? (? to help):
 Skip this? ([y]es/[n]o/[a]ll) [yes]
 Skipped.
 Stale dependency: kdesdk-3.1.4 - openldap-client-2.1.23
 (net/openldap21-client):
 Skip this? ([y]es/[n]o/[a]ll) [yes]
 Stale dependency: kdesdk-3.1.4 - samba-libsmbclient-3.0.0
 (net/samba-libsmbclient):
 samba-2.2.8a (score:31%) ? ([y]es/[n]o/[a]ll) [no]
 New dependency? (? to help):
 Skip this? ([y]es/[n]o/[a]ll) [yes]
 Skipped.
 Stale dependency: xnview-1.50 - compat4x-i386-5.0.20030328
 (misc/compat4x): compupic-5.1.1063 (score:17%) ? ([y]es/[n]o/[a]ll)
 [no]
 New dependency? (? to help):
 Skip this? ([y]es/[n]o/[a]ll) [yes]
 Skipped.
 /home/mark{37}#

 TIA

 Regards,

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

-- 
Kent Stewart
Richland, WA

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


Re: Ports Index Update Error - mail/lmtpd Failure

2004-05-05 Thread Kent Stewart
On Wednesday 05 May 2004 09:42 am, Joshua Lokken wrote:
 * Bob Perry [EMAIL PROTECTED] [2004-05-04 22:04]:
  Was unsucessful at upgrading my ports system Saturday due to a
  failure during the port index update.  More specifically, I
  received an error message stating that mail/lmtpd file failed.
 
  The upgrade process is fairly basic beginning with a backup of
  /var/db/pkg, followed with pkgdb -Fv, cvsup -g -L 2 -z cvsupfile,
  and then portsdb -uU.  The error ocurred during the index update
  and a message followed describing the error stating Makefile,
  line 47: You cannot use DB3 and DB4 in the same time.

 I've been using the ports collection happily for a couple of years
 now, and portsdb -Uu has correctly made me an index once.  I believe
 it's redundant, though, to immediately follow a cvsup with a portsdb
 -Uu, as the cvsup takes care of the index for you.  I wouldn't worry
 too much; I've seen other folks recommend recvsupping and trying
 again; It should be ok to ignore it; at least I always have.

This is really not true. INDEX is updated infrequently and depending on 
the version cvsup downloads will leave you with a version that can be 
as much as 2 months out of date. 

If you don't use ports such as portupgrade, it doesn't matter because 
make will use the proper parameters from the port location. If you want 
to use portupgrade, you have to rebuild INDEX[-5] and INDEX.db after 
every cvsup.

If you check the update dates on INDEX, you will see that it was updated 
on 1 May, 28 Apr, 3 Apr, and then on 13 Feb. You could have missed an 
important security fix because none of the ports such as portversion or 
pkg_version would have recognized that the port had been updated.

If it has only made a proper INDEX twice for you, I really suspect that 
you are refusing ports that are important to the make index process. I 
build the INDEXs twice a day and the last time make index failed was on 
12-13 Apr. FWIW, portsdb -U now uses make index to build INDEX.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: makestrs not found installing X

2004-05-05 Thread Kent Stewart
On Wednesday 05 May 2004 02:13 pm, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Thomas Beer wrote:
 Hi,
 
 I'm currently trying to install XFree86-4. It stops with
 Error code 127 makestrs: not found but makestrs is located
 in /usr/X11R6/bin and the path is set. Any pointers would
 be highly appreciated.
 
 Thanks Tom

 Hello Tom,

 Unfortunately, I'm not able to help you.  There are various reasons
 for that; one of them is that I'm a bit of a newbie when it comes to
 such things.


I can't either but when I read this, one of the first things that popped 
into my mind is installing a version built for the wrong version of 
FreeBSD. For example, installing a version for 5.x on 4.x or vice 
versa.

Kent

 However, it might be good for the list, and for you if you want
 an answer to your question, to post a few details:

 *what command did you use?  Is this a package, or a port?
 *what is your environment?  Other than assuming that you
  are running FreeBSD, you didn't give us any information.
  (By way of example, the FBSD docs inform you to include
  the output of uname -a in your posts to the list...)

 It might be good to quote just the last few lines of the
 output (which is from make?  or install?)

 HTH,

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

-- 
Kent Stewart
Richland, WA

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


Re: arp issues...but WHY

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 05:23 am, J.D. Bronson wrote:
 I have a FreeBSD 5.2.1 machine that has dual NICs.
 I would expect the following behavior if I placed both NICs
 on the same subnet (192.168.1.1 and 192.168.1.2 for example)...

 But in this case they are totally unique:

 NIC #1 - 10.10.10.1 255.255.255.0
 NIC #2 - 192.168.10.1 255.255.255.0
 Default gateway: 10.10.10.10

 I am using a single SWITCH for all of my connections.

This is the problem. You don't have two networks and since both NICs are 
on the same network, it complains.

Kent


 most of my LAN is on the '10' block, but I have a few machines and 1
 router that are on the '192' block.

 When I telnet into the freebsd machine from the '10.10.10.5' to the
 '10' block I see ARP comments on the console that I dont understand:


 arp: 10.10.10.5 is on fxp0 but got reply from 00:10:7b:80:04:40 on
 fxp1

 How is this possible? - the laptop has NO IP on the 192 block at all.
 I understand how to shut up these errors using 'sysctl' - but I
 wanted to know why I am seeing them in the first place?

   -JDB

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 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]

-- 
Kent Stewart
Richland, WA

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


Re: arp issues...but WHY

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 07:15 am, J.D. Bronson wrote:
 At 08:35 AM 05/04/2004, Kent Stewart wrote:
   But in this case they are totally unique:
  
   NIC #1 - 10.10.10.1 255.255.255.0
   NIC #2 - 192.168.10.1 255.255.255.0
   Default gateway: 10.10.10.10
  
   I am using a single SWITCH for all of my connections.
 
 This is the problem. You don't have two networks and since both NICs
  are on the same network, it complains.
 
 Kent

 How are these not different networks? Could you explain?
 What would I need to do to MAKE then different?


They are on the same cable or wire. So, you only have one network.  For 
example, on this computer, I have a 192.168.x.x network and a 
207.41.x.x network. The 207. network is hooked up to my DSL modem 
switch and the 192. network is connected to a different switch. All of 
my local computers are hooked up to this network. They are physically 
different networks. 

You have two logically different IP addresses but they are on the same 
network.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: arp issues...but WHY

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 07:31 am, J.D. Bronson wrote:
 At 09:24 AM 05/04/2004, Kent Stewart wrote:
   Kent
  
   How are these not different networks? Could you explain?
   What would I need to do to MAKE then different?
 
 They are on the same cable or wire. So, you only have one network. 
  For example, on this computer, I have a 192.168.x.x network and a
  207.41.x.x network. The 207. network is hooked up to my DSL modem
  switch and the 192. network is connected to a different switch. All
  of my local computers are hooked up to this network. They are
  physically different networks.
 
 You have two logically different IP addresses but they are on the
  same network.
 
 Kent

 ahh..NOW I understand. thanks.

 If I got a switch for the 192 block machines and a switch for the 10
 block machines that would be 2 distinct networks...right?

 Next question..

 Then how do I get data from one segment to the other w/o using a
 router and yet at the same time keeping 'arp' happy ?

In my case, I have a gateway that I call crystal, which has 2 NICs. 
Crystal forwards and NATs all of my 192.x.x.x. traffic to my 207.x.x.x 
NIC. Topaz, which also has 2 NICs, shares the DSL modem switch and is 
also connected to the 192.x.x.x network with a 2nd NIC. Topaz is not 
setup as a gateway and does not forward any 192. traffic to the 207. 
NIC. Both crystal and topaz have static IP addresses in the 207. block.

There isn't any problem with crystal talking to topaz on either the 207. 
network or the 192. network. The firewalls don't permit any in-bound 
traffic such as telnet, ftp, ssh, and etc over the 207. network.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: freebsd-stable packages on freebsd-release-4.9

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 11:26 am, Clay Holladay wrote:
 I upgraded my ports tree with cvsup using . for the release so I
 would get the latest ports.  pkg_add -r downloads packages from
 freebsd-release-4.9 and portupgrade -aPPR fails because it tries to
 download packages with version numbers matching the ports tree from
 the freebsd-release-4.9 directory.  Compiling from ports give up to
 date software.  I know that ports only supports freebsd-stable and
 freebsd- current, so is this what should be happening?  Or should
 pkg_add -r be in synch with ports.  Is it possible to use freebsd
 stable packages on freebsd-4.9, or do I need to always compile from
 ports?

You might do a man pkg_add and pay attention to the environmental 
variable PACKAGESITE. Yours is pointing to the freebsd-4.9 packages 
Building all of the packages is an enormous task and some mirrors stay 
closer than others. I use snapshots.jp.freebsd.org for somethings but 
my ports were updated more recently that snapshots were. I have an 
AMD-2400+ that is mostly used as a test machine and will rebuild them 
when I think it is time. Updating the 303 ports that I have installed 
required just over 12 hours of cpu time.

If you have a computer that is faster than 2GHz, you can probably build 
from ports better than you can find a mirror to download from. When 
they upgraded KDE to version 3.2.1, I set PACKAGESITE to point to 
FruitSalad, the home of kde FreeBSD, and did a package update using the 
-P option. The update using portupgrade -puf was only 20% slower than 
the system using FruitSalad. A 3GHz machine would eliminate the 
difference. The download speed from FruitSalad varied all of the way 
from 8KB/s to 40+KB/s. I don't know what I would see on a really good 
connection with no interference.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: libgthread error building arts

2004-05-04 Thread Kent Stewart
On Wednesday 05 May 2004 09:20 am, Redmond Militante wrote:
 hi

 i'm having trouble building kde3 on a freshly installed box.  the
 ports tree has been cvsupp'ed, i've portupgraded -rf gettext, and
 portupgraded -rf textproc/expat2.

 the kde3 install errors out while installing arts.  the error i get
 is

 /usr/local/lib/libgthread-2.0.so: undefined reference to
 'pthread_attr_destroy' /usr/local/lib/libgthread-2.0.so: undefined
 reference to 'pthread_create' /usr/local/lib/libgthread-2.0.so:
 undefined reference to 'pthread_attr_init' ...
 gmake[2] *** [mcopid1] Error 1
 gmake[2] Leaving directory
 '/usr/ports/audio/arts/work/arts-1.2.2/mcopid1' gmake[1] ***
 [all-recursive] Error 1
 gmake[1] Leaving directory '/usr/ports/audio/arts/work/arts-1.2.2/'
 gmake[1] *** [all] Error 2
 *** Error code 2

 i've tried to google this one.  all i could find were references to
 people having the same sort of problem while installing other apps,
 but no solution.  anyone know what's going on?



Did you search on -current for pthreads and libc_r? You have a mixed 
setup that is trying to use both and that doesn't work. There are 
several solutions. One is to use libmap.conf to map them and the other 
is to rebuild everything that uses pthreads such as gmake, glib, and 
the rest of the ports. I started out using libmap.conf and eventually 
did a portupgrade -rRfa. 

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Problem: /libexec/ld-elf.so.1: Shared object libexpat.so.4 not found

2004-05-03 Thread Kent Stewart
On Monday 03 May 2004 09:54 am, Oxid wrote:
 SM On Mon, 3 May 2004, Oxid wrote:
  I recive this message: /libexec/ld-elf.so.1: Shared object
  libexpat.so.4 not found , when trying to start apache :(

 SM You might have recently upgraded (intentionally or not) expat.
 Do a SM pkg_info | grep -i expat, if it says expat-1.95.7 then you
 need to SM reinstall the apache module which relies on expat
 (usually php). To really SM make sure that everything's in sync
 with the new expat, see SM /usr/ports/UPDATING, entry 20040313 for
 authoritative recommendation. SM (portupgrade -rf textproc/expat2).

 SM --mendonan
 SM Yang mimpikan secangkir kopi panas dengan selimut..
 SM  (Dreaming of a cup of hot coffee, and a blanket..)


 OHere:

 O $ pkg_info | grep -i expat
 O expat-1.95.6_1  XML 1.0 parser written in C
 O p5-XML-Parser-2.34  Perl extension interface to James Clark's XML
 parser, expat

 O - do i still should reinstall php?



 I have reinstalled APACHE...but i still recive: /libexec/ld-elf.so.1:
 Shared object libexpat.so.4 not found

 How can i fix it? PLEASE HELP!

 I can't start APACHE becose of that and i can't install PHP becose of
 that error :(((

 HELP!

I think you are running into the following problem. Libexpat.so.4 is the 
old library version. The current version is expat-1.95.7, which 
produces version ..so.5. The update changed the interface, which caused 
the following section to be added to /usr/ports/UPDATING.

20040313:
  AFFECTS: users of textproc/expat2

  Users of expat2 (and its many dependencies) should do the following to
  properly update expat2 and all of its dependencies:

  portupgrade -rf textproc/expat2

Did you install Apache from a package, which was built using the old 
version of expat. At any rate, I think you have a version that wants 
the old version of expat.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: Problem: /libexec/ld-elf.so.1: Shared object libexpat.so.4 not found

2004-05-03 Thread Kent Stewart
On Monday 03 May 2004 11:44 am, Oxid wrote:
 Çäðàâñòâóéòå, Kent.

 Âû ïèñàëè 3 ìàÿ 2004 ã., 21:11:39:

 KS On Monday 03 May 2004 09:54 am, Oxid wrote:
  SM On Mon, 3 May 2004, Oxid wrote:
   I recive this message: /libexec/ld-elf.so.1: Shared object
   libexpat.so.4 not found , when trying to start apache :(
 
  SM You might have recently upgraded (intentionally or not)
  expat. Do a SM pkg_info | grep -i expat, if it says expat-1.95.7
  then you need to SM reinstall the apache module which relies on
  expat (usually php). To really SM make sure that everything's in
  sync with the new expat, see SM /usr/ports/UPDATING, entry
  20040313 for authoritative recommendation. SM (portupgrade -rf
  textproc/expat2).
 
  SM --mendonan
  SM Yang mimpikan secangkir kopi panas dengan selimut..
  SM  (Dreaming of a cup of hot coffee, and a blanket..)
 
 
  OHere:
 
  O $ pkg_info | grep -i expat
  O expat-1.95.6_1  XML 1.0 parser written in C
  O p5-XML-Parser-2.34  Perl extension interface to James Clark's
  XML parser, expat
 
  O - do i still should reinstall php?
 
 
 
  I have reinstalled APACHE...but i still recive:
  /libexec/ld-elf.so.1: Shared object libexpat.so.4 not found
 
  How can i fix it? PLEASE HELP!
 
  I can't start APACHE becose of that and i can't install PHP becose
  of that error :(((
 
  HELP!

 KS I think you are running into the following problem. Libexpat.so.4
 is the KS old library version. The current version is expat-1.95.7,
 which KS produces version ..so.5. The update changed the interface,
 which caused KS the following section to be added to
 /usr/ports/UPDATING.

 KS 20040313:
 KS   AFFECTS: users of textproc/expat2

 KS   Users of expat2 (and its many dependencies) should do the
 following to KS   properly update expat2 and all of its
 dependencies:

 KS   portupgrade -rf textproc/expat2

 KS Did you install Apache from a package, which was built using the
 old KS version of expat. At any rate, I think you have a version
 that wants KS the old version of expat.

 KS Kent

 I tryed to reinstall expat2:

  make install
 ===  Patching for expat-1.95.7
 ===  Applying FreeBSD patches for expat-1.95.7
 Ignoring previously applied (or reversed) patch.
 1 out of 1 hunks ignored--saving rejects to configure.rej

  Patch patch-configure failed to apply cleanly.

 *** Error code 1

 Stop in /usr/ports/textproc/expat2.

 --

 Where can i get expat in tar.gz.
 I mean..not from ports..?

It depends on how your download status is. I would think about 
downloading one of the 4.10-rc's. If you are careful, you should be 
able to find one that has packages/All on it. 

Up front, you have a systematic problem here because on my system, there 
are probably 40-50 ports that depend on expat2 and you have to upgrade 
all of them. 

Fruitsalad has some of them that are of interest to KDE. That site is
http://rabarber.fruitsalad.org/packages/3.2.2-final-6/4-STABLE/All/

Like all mirrors, they run a bit behind. I recently built everything 
(-rRfa) on ruby, my test computer, and 303 ports required 12:20. I use 
an Intel P-II 400 for some stuff and it runs close to 16x slower at 
building things than ruby does.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: ports hosed

2004-05-03 Thread Kent Stewart
On Monday 03 May 2004 05:20 pm, Jay Moore wrote:
 On Sunday 04 April 2004 05:24 pm, you wrote:
   But I guess I'm not completely convinced that it'll take far less
   time. I started the K3b port install Friday evening... I'm on
   about the third iteration of portupgrade, and each iteration is
   an _extremely_ long process on this old 350 MHz system with 211+
   ports. Several of the port installs require input from the
   console to continue, so I've been friggin' chained to this desk
   all weekend long. Too much work, too much time!
 
  I understand that problem. I have a P-II 400 that I don't build
  anything on because it takes so long. I did the portupgrade -rf
  expat2 on an AMD 2400+ XP and complained because it ran for 13
  hours. If you use ratios, which don't always apply, your 350 is
  close to 16x slower. It is 8x by the clock and 2x for hardware
  speed ups.

 Whew! It took almost a  month, but I think I made it - well,
 almost... I've had an unbelievable string of mishaps (UPS died,
 travel, etc, etc). I re-started 'portupgrade -rf textpproc/expat2'
 Thursday, and early this morning was able to startx  see KDE 3.2 for
 the first time - about a 3 day process to build on this  350 MHz
 machine.


There is no substitute for speed. Last weekend, I did a -prRfa on ruby 
and it had updated all 303 ports a little over 12 hours later.

 I say almost because two ports are still hosed: samba and
 openoffice. I'm thinking the best strategy from here is to remove
 these ports  re-install as pre-built packages... any analysis or
 comments on this approach?

I can't think of anything. I don't use either but have seen a number of 
messages on OO. Since I don't user either, I didn't pay attention to 
what the problems were. Those are 2 ports that I wouldn't willingly add 
to my sacrificial system :).

The snapshots.jp.freebsd.org site looks like it has current port 
packages for both 4-stable and 5-current. A download and pkg_add would 
probably much faster than a build from source :).

Kent


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

-- 
Kent Stewart
Richland, WA

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


Re: The date on Kmail is running in advance.

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 09:41 am, Stephen Liu wrote:
 Hi folks,

 The date setting on Kmail is running in advance.  All
 emails received are now dated May 03, 2004.  I have
 checked the date and time on the right bottom corner
 and found they displaying correctly.

 Kindly advise what is wrong and how to fix the
 problem.

I am not sure it is you. Your headers show

Received: from [203.88.168.130] by web40307.mail.yahoo.com via HTTP;
Mon, 03 May 2004 00:41:39 CST

and it looks like Yahoo thinks it is Monday. If your date (+time) and 
timezone is right, there isn't much you can do at that point.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: UPDATING - perl

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 04:25 pm, Tuc wrote:
  cvsup ports-all first?

   Done. Did it just before I started.


I think you need to run use.perl port before you update your p5-*

Kent

-- 
Kent Stewart
Richland, WA

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


Re: UPDATING - perl

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 04:39 pm, Tuc wrote:
  On Sunday 02 May 2004 04:25 pm, Tuc wrote:
cvsup ports-all first?
  
 Done. Did it just before I started.
 
  I think you need to run use.perl port before you update your p5-*

   Thats what I wondered, how they were getting around that part.
 Thought maybe the way the portupgrade was done it somehow might have
 gotten around it or done it on its own or something.

What I see is a link to the current version and I run use.perl port 
after every update of perl.


   Ok, after I do that, it doesn't seem to want to load 5.6.1 anymore.

   Besides a p5 module, is there other commands I should run to update
 other things that depend on perl? (I wanted this mainly for the perl
 part of GAIM).



portupgrade -f  automake

It has the current version of perl as the first line of code.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: UPDATING - perl

2004-05-02 Thread Kent Stewart
On Sunday 02 May 2004 04:35 pm, Kiel Stirling wrote:
 On Mon, 2004-05-03 at 09:29, Kent Stewart wrote:
  On Sunday 02 May 2004 04:25 pm, Tuc wrote:
cvsup ports-all first?
  
 Done. Did it just before I started.
 
  I think you need to run use.perl port before you update your p5-*

 I thought you did this after upgrading?

The upgrade from 5.6 to 5.8 is the upgrade. You want to use it to build 
the p5-* and other ports that depend on perl.

You also see links in /usr/bin and /usr/local/bin that use.perl port 
creates. I want to make sure they point to the latest version and not 
the one I updated.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: handbook - kernel build question

2004-04-23 Thread Kent Stewart
On Friday 23 April 2004 06:15 am, Terry L. Tyson Jr. wrote:
 In section 9.3 of the handbook just before the two procedures it
 lists If you are building a new kernel without updating the source
 code (perhaps just to add a new option, such as IPFIREWALL) you can
 use either procedure.

 However, after the two procedures it says If you have not upgraded
 your source tree in any way (you have not run CVsup, CTM, or used
 anoncvs), then you should use the config, make depend, make, make
 install sequence. which is procedure 1.

 This seems contradictory to me. Also, I have not upgraded anything on
 this particular box, used procedure 2 and all seems well.

 Have I missed something here? Are the words update and upgrade the
 same thing here or are they different?



Procedure 1 uses the installed world to build the kernel and procedure 2 
uses the libraries created by the buildworld but not installed to build 
the kernel. Once you have done an installworld, you are using the same 
libraries regardless of the method.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Keeping Ports synchronised with Packages

2004-04-22 Thread Kent Stewart
On Thursday 22 April 2004 08:01 am, Matthew Seaman wrote:
 On Thu, Apr 22, 2004 at 02:57:53PM +0100, Richard Bradley wrote:
snip

 Absolutely.  Now, where are you getting the pre-compiled packages
 from?  If it's from one of the 4-Disk FreeBSD CD Rom sets, then yes,
 you're going to have problems with file versions as there have been
 updates to a number of major software systems gone into the ports
 tree in the 4 months or so since 4.9-RELEASE.

 On the other hand, if you're downloading the packages from the ftp
 sites, you should be within a week or two of the latest versions.
 Take a look at, eg:


 http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/
packages-4-stable/Latest/

 (if you want to access that server for your FTP'ing needs, it's also
 known as ftp2.uk.freebsd.org)

 That shows you all of the packages for 4-STABLE that have been
 updated since 4.9-RELEASE came out. (There's a similar directory
 structure for the 5.x packages).  Looks like there was a new batch
 produced on 11th April, including the KDE packages:


 http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/ports/i386/
packages-4-stable/Latest/kde.tgz

 That gets you kde-3.2.1_1 The ports tree is currently at kde-3.2.2 --
 like you say, a minor version number behind.  Unfortunately, that's
 just the way things are: the project only has a limited capacity to
 keep compiling new packages when ports get updated, especially since
 they're producing packages for both 4.x and 5.x at the moment.  Also,
 sometime soon the new package set for 4.10-RELEASE will be produced,
 which means compiling *everything* in the ports tree from scratch.

 You should be able to get all of the dependencies of KDE etc. as
 precompiled packages -- using:

 # pkg_add -r kde

 will try and download everything required.

 I should note that you're particularly unlucky right now with both
 KDE and Gnome having gone through some major updates just recently.
 Usually the lag between the port coming out and the updated package
 doesn't affect such a large proportion of all of the available
 ports/packages.


A fix for kde is on Fruitsalad

Last stable version build

3.2.2 Packages 
i386 4-STABLE (Posted Tue April 20 01:47 CET 2004) 
Packages: http://rabarber.fruitsalad.org/packages/3.2.2-final-3/4-STABLE 

PACKAGESITE: 
http://rabarber.fruitsalad.org/packages/3.2.2-final-3/4-STABLE/Latest/

While I was downloading the source tarballs from a mirror in Oregon, I 
updated the computer I am using right now defining the packagsite 
option.

Kent

  If I use `portupgrade -PP` (i.e. forcing it to use packages) it
  (almost) always fails because there are never precompiled packages
  of the same version as my (cvsup'ed) ports tree.
 
  In the same way, `portupgrade -P` (i.e. try to use packages) is
  equivalent to `portupgrade` (i.e. compile from source) because of
  the version lag in the packages as compared to the ports.
 
  One solution might be to get cvsup to check out slightly older
  versions of the port tree that matches up with the available
  packages. However this doesn't seem possible.

 As someone else commented, you can hold various packages inside
 pkgtools.conf -- that means portupgrade won't even attempt to upgrade
 them.  Or you can tell portupgrade that you want certain ports to be
 installed either preferentially or exclusively via packages -- see
 the section in /usr/local/etc/pkgtools.conf on USE_PKGS and
 USE_PKGS_ONLY. If you enter the names of the really big packages that
 you never want to spend time compiling in one or other of those
 arrays, then you can let portupgrade upgrade everything else around
 them.  You will find that certain ports are marked as 'ignored' if
 they depend on a port where there isn't the latest version of a
 package available yet, but that includes a lot of ports that wouldn't
 need to be upgraded anyhow.

 You can certainly check out a backdated version of the ports tree via
 cvsup(1) -- eg. to get the ports tree from 1st April just add:

 *default date=2004.04.01.12.00

 to your supfile.

   Cheers,

   Matthew

-- 
Kent Stewart
Richland, WA

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


Re: verizon dsl connexn

2004-04-21 Thread Kent Stewart
On Wednesday 21 April 2004 07:04 pm, Mike Maltese wrote:
  i have verizon dsl service using macronix nic.  free bsd unleashed
  book, man pages and install man dont say how to set this up.  my
  provider gives dns address automatically.  linux rpppoe works fine.
   does bsd have equivalent? i can boot into grub but get warning
  about not being connected to bsd  other than dsl internet
  service i am not networked per se so network setup questions are
  difficult to answer.

 As far as I know, Verizon uses DHCP to assign addresses, etc. You
 shouldn't need to fool with PPPoE.
 Take a look here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dhc
p.html


It depends on the account and location. It is my understanding that most 
of the Western USA just uses simple dhcp. 

Kent

 If you're sure you have a PPPoE connection, this may be helpful:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html

 In the future, keep in mind that taking the time to write up an
 intelligible question will greatly improve your odds of receiving
 useful help.

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

-- 
Kent Stewart
Richland, WA

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


Re: 5.2.1 can't find sound card

2004-04-20 Thread Kent Stewart
On Tuesday 20 April 2004 02:17 am, [EMAIL PROTECTED] wrote:
 Hi all

 I have just installed FreeBSD 5.2.1 release on my friends i386
 computer with a Creative soundblaster audigy sound card. We compiled
 a new kernel with device pcm, but the kernel doesn't find the card.
 We have tried turning PnP on and off in the BIOS, but still no luck.
 Any ideas?


I found an email that said Audigy support was added to current after 5.2 
was released. I doubt it ever made it into 5.2.1. You might do your own 
search of the archives. I was looking for the commit. I thought O'Brien 
did it but couldn't find it.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: 5.2.1 can't find sound card

2004-04-20 Thread Kent Stewart
On Tuesday 20 April 2004 08:40 am, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Chris wrote:
 On Tuesday 20 April 2004 07:02 am, [EMAIL PROTECTED] wrote:
 On Tuesday 20 April 2004 12:18, you wrote:
 I found an email that said Audigy support was added to current
  after 5.2 was released. I doubt it ever made it into 5.2.1. You
  might do your own search of the archives. I was looking for the
  commit. I thought O'Brien did it but couldn't find it.
 
 Look at
 
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/emu10k
 1.c
 
 It has no commit to any RELENG_* branch.
 
 Ok, so in order to get it to work you sugests we do.?
 
 br
 db
 
 Wait till next release in the 5.x branch comes out?

 Or run -CURRENT, as I understand it.


That was my implication. I don't run any releases but YMMV.

If it is a new machine and you want sound, you don't have much choice. 
The Audigy has never been MFCed to 4-stable.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: 5.2.1 can't find sound card

2004-04-20 Thread Kent Stewart
On Tuesday 20 April 2004 09:52 am, [EMAIL PROTECTED] wrote:
 On Tuesday 20 April 2004 17:47, you wrote:
   Wait till next release in the 5.x branch comes out?
  
   Or run -CURRENT, as I understand it.
 
  That was my implication. I don't run any releases but YMMV.
 
  If it is a new machine and you want sound, you don't have much
  choice. The Audigy has never been MFCed to 4-stable.

 Hmm, I read that you could download and install
 emu10kx-22-june-2003.tar.gz from http://chibis.persons.gfk.ru/audigy/
 ? But you all recommend that he wait for the 5.3-release?

I didn't but then I run 5-current. It has an Ensoniq sound card that 
worked from the boot of the first modified kernel.

I have a system that 99% of the time runs Windows XP because that is the 
place where the support for my Creative Nomad Zen2 is located. It has 
an Audigy Gamer sound card that has never worked on 4-stable. I have 
found that digital audio extraction from my audio CDs was very 
important and the Audigy supports that on XP. Since it is on a kvm with 
3 other systems with working sound support, I have never missed it. 

I am going to try Chibis' driver on it. I tried the OSS driver and it 
sounded terrible. No sound was better than what I was hearing and I 
really didn't want to spend the time to figure out what was wrong. 
There are a lot of DK (don't knows) on the Audigy. A kldload is too 
simple to try to not make the effort.

Kent


 br
 db

-- 
Kent Stewart
Richland, WA

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


Re: Using portsupgrade with make arguments

2004-04-20 Thread Kent Stewart
On Tuesday 20 April 2004 12:23 pm, [EMAIL PROTECTED] wrote:
 Hi all,

 just to get it clear for me: If I upgrade a port that has been
 originally installed with additional make arguments I must include
 them again. Is the following correct?

 Original installation:
 # make arg_1=val_1 arg_2=arg_2 install clean

 Upgrading port using portupgrade:
 # portupgrade -R -m arg_1=val_1 arg_2=arg_2 port


I add them to /usr/local/etc/pkgtools.conf. You don't have to remember 
to do it and they also work when you do a recursive update.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: soundcard

2004-04-19 Thread Kent Stewart
On Monday 19 April 2004 11:15 am, pvargas wrote:
 Good day everybody, I'am a real newbie and i got some questions the
 first one is how can i know what devices are installed on my
 computer, I mean if there is a command for do that, the second is how
 can I configure my soundcard, I think that first I need to know what
 soundacard is installed on my pc, any help is welcome. Saludos desde
 Guatemala.


The Handbook has a chapter on sound. That is a good place to learn about 
what you need to do. It also depends on which version of FreeBSD you 
are using. I have always added device  pcm to my kernel 
config file. You can also just kldload the sound module. I haven't done 
that and can't really tell you how to do that but it should be 
searchable from an archive of the messages.

The devices that your system recognizes can be seen by typing dmesg. 
This can be a long list and you may want to add  | more. If it has 
been too long since you booted your system, it is always in 
/var/run/dmesg.boot

If you are more comfortable with español, there is a Spanish list at
https://listas.es.freebsd.org/mailman/listinfo/freebsd

I see a lot more questions answered quickly on this list. 

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Lost expat dependency

2004-04-18 Thread Kent Stewart
On Sunday 18 April 2004 10:22 am, Remko Lodder wrote:
 antenneX wrote:
  It seems that when I updated to expat-1.95.7, it replaced some
  1.95.5 dependencies needed for some other programs. For instance
  some daemons will not load (or update) because of this error:
  #Shared object libintl.so.4 not found#
  or then some .so module cannot be loaded

 Did you use portupgrade to update it recursivly? then everythint that
 had .5 as dep was reinstalled using .7 instead..

 Perhaps you can (dirty solution)

 ln -s libintl.so.5 libintl.so.4
 in the directory wehere libintl.so.5 lives.


The solution is in /usr/ports/UPDATING. They changed the interface and 
you have to portupgrade -rf expat.

Kent

 HTH

  I updated the expat according the the instructions in
  /usr/ports/UPDATING.
 
  Any suggestions on how to fix this???
 
  Thanks!
 
  Jack

-- 
Kent Stewart
Richland, WA

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


Re: Lost expat dependency

2004-04-18 Thread Kent Stewart
On Sunday 18 April 2004 01:12 pm, antenneX wrote:
 - Original Message -
 From: Kent Stewart [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: antenneX [EMAIL PROTECTED]; Remko Lodder
 [EMAIL PROTECTED] Sent: Sunday, April 18, 2004 1:17 PM
 Subject: Re: Lost expat dependency

  On Sunday 18 April 2004 10:22 am, Remko Lodder wrote:
   antenneX wrote:
It seems that when I updated to expat-1.95.7, it replaced some
1.95.5 dependencies needed for some other programs. For
instance some daemons will not load (or update) because of this
error: #Shared object libintl.so.4 not found#
or then some .so module cannot be loaded
  
   Did you use portupgrade to update it recursivly? then everythint
   that had .5 as dep was reinstalled using .7 instead..
  
   Perhaps you can (dirty solution)
  
   ln -s libintl.so.5 libintl.so.4
   in the directory wehere libintl.so.5 lives.
 
  The solution is in /usr/ports/UPDATING. They changed the interface
  and you have to portupgrade -rf expat.
 
  Kent
 
   HTH
  
I updated the expat according the the instructions in
/usr/ports/UPDATING.
   
Any suggestions on how to fix this???
   
Thanks!
   
Jack
 
  --
  Kent Stewart
  Richland, WA

 Kent: Indeed I had read UPDATING as my message stated, I used the:
 #portupgrade -rf expat
 ...but, some programs are making that same complaint and won't load.

The libintl problem is a port that uses an old version of gettext. You 
may have to track them down one at a time. The libintl.so.4 is version 
0.11.5. Libintl.so.5 is 0.12.1 and the current version is 
gettext-0.13.1_1, which is libintl.so.6. If you are lucky, you may find 
which one is doing it by using pkg_info -R gettext. I would be 
surprised that a pkgdb -F wouldn't fix the links and let you update 
dependancies of gettext.

Make sure you are using the current version of portupgrade and ruby. It 
seems to fix a lot of those problems.

The upgrade to 0.12.1 suggested the following
portupgrade -rf gettext -m BATCH=yes

The BATCH tells it to upgrade everything without having you choose from 
a menu and probably still applies in your situation. There are a _LOT_ 
of ports that depend on gettext and you have to update each one of 
them :(.

There were problems when they created gettext-old and promptly deleted 
it after they fixed ports that used it. It was easier to pkg_delete -f 
gettext-version and reinstall gettext and then run pkgdb -F to fix the 
links than it was to use portupgrade. I think portupgrade deals with 
that now but I wouldn't bet money.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Problems building gtk20

2004-04-18 Thread Kent Stewart
On Sunday 18 April 2004 02:14 pm, Jonathon McKitrick wrote:
 Making all in stock-icons
 GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders
 ../../gdk-pixbuf/gdk-pixbuf-csource
 --raw --build-list stock_add_16./stock_add_16.png
 stock_add_24  ./stock_add_24.png
 stock_align_center_16  ./stock_align_center_16.png
 stock_align_center_24  ./stock_align_center_24.png
 stock_align_justify_16 ./stock_align_justify_16.png
 stock_align_justify_24 ./stock_align_justify_24.png
 stock_align_left_16 ./stock_align_left_16.png   
 stock_align_left_24
 ./stock_align_left_24.pngstock_align_right_16
 ./stock_align_right_16.png   stock_align_right_24
 ./stock_align_right_24.png stock_apply_20  
 ./stock_apply_20.png stock_cancel_20./stock_cancel_20.png   
 stock_dnd_multiple_32 ./stock_dnd_multiple_32.png  stock_bottom_16
 ./stock_bottom_16.pngstock_bottom_24./stock_bottom_24.png
 stock_cdrom_16 ./stock_cdrom_16.png stock_cdrom_24
 ./stock_cdrom_24.png stock_clear_24
 ./stock_clear_24.png stock_close_20 ./stock_close_20.png
 stock_close_24 ./stock_close_24.png
 stock_colorselector_24
 ./stock_colorselector_24.png stock_color_picker_25
 ./stock_color_picker_25.png  gtkstockpixbufs.h ||   ( rm -f
 gtkstockpixbufs.h  false )
 rcmdsh: unknown user: ƒÄü$ûPjV菍ûÿƒÄ F‹ƒX
 Bus error (core dumped)
 *** Error code 1

 Stop in
 /usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.0/gtk/stock-icons. ***
 Error code 1


 -

 In the original, the unknown user is unprintable characters.  What
 could be causing this?


I think that instead of a signal 11 error, you fired up rcmdsh. Treat it 
like a signal 11 error in a buildworld.

Kent

 NOTE: Please CC me, as I am not currently subscribed.  Thanks.

 jm

-- 
Kent Stewart
Richland, WA

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


Re: KDE 3.2/Xwindows dying strangely without warning

2004-04-18 Thread Kent Stewart
On Sunday 18 April 2004 03:24 pm, Dragoncrest wrote:
  Nobody has any answers for me on this?


I have had my .kde* files get corrupted and do what you describe. I 
finally did a cd and then 
rm -rf .kde*

I had to resetup kde for that user but my problems went away. You want 
to back up your bookmarks and address book. Then, re-import them after 
you setup kde. 

FWIW, I have had kde sessions running for much longer than 10 days 
without problems. I have been following the upgrade to 4.10 and those 
systems were updated less than 10 days ago.

Kent

 At 10:42 AM 4/17/04 -0400, Dragoncrest wrote:
 Ok, I can't contribute this to anything I've ever encountered or
 something that I'm doing, but it seems that after about 7-10 days
  KDE just dies on me.  No crash, no errors, no I'm gonna shut
  down. Nothing.  I will be working along and then suddenly it's
  just not there. It just goes away without a single bit of warning. 
  So I login under my user account at the console that's now staring
  at me and only the basic processes that should be running just
  after startup are there, but not a single Xwindows thing, or
  anything related to KDE.
 
 Even the logs show nothing.  No core dumps, no memory errors, not
  even an Xwindows shutting down message.  It's just like Xwindows
  and KDE were never running in the first place.  I can then restart
  KDE and it goes back to the same saved state from the last time kde
  was restarted as though nothing had happened.  I'm seriously
  baffled.  This just started about 2 weeks ago after my last reboot.
   Anyone got any ideas?  None of my other boxes do this, so I'm
  lacking other systems to use as examples. Any help is apreciated.
 
 Here's the apps I have running at the time it goes away/dies.
 
 BitTorrent
 Mozilla (for work related webpages)
 FireFox (for personal surfing)
 XMMS (playing)
 Knotes
 Klipper
 Krusader
 Kedit
 3 console windows
 Gaim
 Kmail
 
 That's it.  Nothing that I can think of that might destabalize KDE
  like this.  Thanks in advance for your help.
 
 ___
 [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]

-- 
Kent Stewart
Richland, WA

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


Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]

2004-04-17 Thread Kent Stewart
On Saturday 17 April 2004 01:44 am, Jay Moore wrote:
 Entering the third week of my portupgrade... some progress has been
 made (I think), but several items remain. Last week I was on travel,
 but started the following before leaving:

 portupgrade -rf textproc/expat2

 This completed with the result shown below. As you can see, KDE stuff
 was involved in the majority of my issues. I read the 'UPDATING' file
 from my last CVSup, but it doesn't seem to address this.

 What must I do to resolve the KDE install error(s)?

You have to pkg_delete kdebase-3.1.4 before you can update kde to 3.2.1. 
The Makefile for kdelibs has CONFLICTS=  kdebase-3.1.* and it 
won't build until you have deleted kdebase.

Kent


 Thanks,
 Jay

 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 232
 packages found (-0 +1) . done]
 ** Listing the failed packages (*:skipped / !:failed)
 ! net/samba (samba-2.2.8a_2)(uninstall error)
 ! x11/kdelibs3 (kdelibs-3.1.4_1)(install error)
 * x11/kdebase3 (kdebase-3.1.4)
 * x11-wm/kdeartwork3 (kdeartwork-3.1.4_1)
 * games/kdegames3 (kdegames-3.1.4)
 * net/kdenetwork3 (kdenetwork-3.1.4)
 * devel/kdesdk3 (kdesdk-3.1.4)
 * misc/kdeutils3 (kdeutils-3.1.4)
 * deskutils/kdepim3 (kdepim-3.1.4)
 * devel/kdevelop (kdevelop-2.1.5)
 * x11-clocks/kdetoys3 (kdetoys-3.1.4)
 * editors/koffice-kde3 (koffice-1.2.1_1,1)
 * graphics/kdegraphics3 (kdegraphics-3.1.4)
 * www/quanta (quanta-3.1.4,2)
 * multimedia/kdemultimedia3 (kdemultimedia-3.1.4)
 * sysutils/kdeadmin3 (kdeadmin-3.1.4_1)
 * misc/kdeaddons3 (kdeaddons-3.1.4)
 ! editors/openoffice-1.1 (openoffice-1.1.0_1)   (unknown
 build error) ---  Packages processed: 113 done, 0 ignored, 15
 skipped and 3 failed ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Kent Stewart
Richland, WA

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


Re: portupgrade for KDE [ part of 5.2 portupgrade hairball ]

2004-04-17 Thread Kent Stewart
On Saturday 17 April 2004 09:33 am, Jay Moore wrote:
 On Saturday 17 April 2004 09:24 am, Kent Stewart wrote:
   What must I do to resolve the KDE install error(s)?
 
  You have to pkg_delete kdebase-3.1.4 before you can update kde to
  3.2.1. The Makefile for kdelibs has CONFLICTS=  kdebase-3.1.*
  and it won't build until you have deleted kdebase.

 After pkg_delete (or make deinstall??) on kdebase-3.1.4, should I
 re-start my portupgrade on expat2, (# portupgrade -rf
 textproc/expat2), or is there a better/quicker way to reach the
 objective state?


You probably can but more likely there will be some more manual 
portupgrades that you have to run. A write up is on 

http://freebsd.kde.org/

They also explain why packages have not been built. I can hear one of 
them and will have ro rebuild the 2 kdeports on my topaz machine.

Kent
-- 
Kent Stewart
Richland, WA

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


Re: ports upgrade error?

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 08:11 am, Marwan Sultan wrote:
 Hello everyone,

 Im on FreeBSD 5.1-Release, CVsup, portupgrade are installed.
 I want to upgrade my ports tree, so I did whats on the Handbook.
 I'v copied and edit the file - ports-supfile.
 I ran the command cvsup -g -L 2 /path/to/ports-supfile

 And it gave me the following error:

 Parsing supfile /usr/home/deadline/things/ports-supfile
 Release not specified for collection host=cvsup1.freebsd.org

 I tired to change the mirror site, Also i tried to uncomment one
 of the packages, and I tired to add ports-all to end of the entries,
 but all gave the same error, any ideas? tips? please.

 This is my ports-supfile entries:

 host=cvsup1.freebsd.org
 *default host=cvsup1.freebsd.org

You only need the one with the *default on it. It is complaining about 
the first one.

Kent

 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 *default compress
 ports-all


 PS: This command will run as a background proccess? if i disconnect
 from internet and I connect again later (Dialup) it will resume the
 updating? or i have to download it one time?
 --
 Marwan Sultan

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

-- 
Kent Stewart
Richland, WA

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


Re: upgrading Gnome components using portupgrade

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 11:39 am, sAndri Kok wrote:
 Hi guys,

 I have what I believe are Gnome components installed on my computer
 (gimp, Gconf, gtk, glib, etc). I'm running portupgrade now and I read
 the message that I should upgrade Gnome using the script provided by
 FreeBSD Gnome. The question is, if I only have parts of Gnome
 installed, while I'm using fluxbox as window manager, do I need to
 run the script? or is portupgrade fine? my portupgrade is currently
 still running and I don't seem to encounter any problem (yet).


I also run that way and from my experience the odds are pretty high that 
something will be done out of order. I did a portupgrade -pufr glib to 
do the upgrade and had a few problems that I had to manually update. I 
understand from other comments that re-running the upgrade script makes 
the update go faster than a -rf glib. If you look at ports that you 
have installed that depend on glib, the list seems to go forever. I 
don't know if a -pufrR glib would have prevented the problems but that 
would have used even more computer time to do the update. I think the 
AMD 2400+ needed something like 13 hours to do the update the way I did 
it.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: How to capture/record virtual console output?

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 11:54 am, Mike wrote:
 Greetings:

 System: FreeBSD 4.9-stable

 KDE (3.14) is crashing on me and I need to capture the error messages
 (so that I can submit my problem to the this mailing list).

 I'm logged in as root. And I'm in tty0.  KDE crashes (core dump) and
 produces several error messages along with mention of the file
 /var/log/XFree86.0.log.

 I checked the contents of /var/log/XFree86.0.log and it does not
 contain the error messages produced by the crashing KDE.

Have you tried something like
startx  kde.log

I don't start up in kde but at the cli and use startx to fire off kde.

I suspect that you did a partial update of some of the recent library 
changes. Something is linking to a new library but has the old 
structures.

Kent


 So I need to find a way grab or capture the text output generated
 from the crash.

 I've tried opening pico in tty1 and using the mouse in tty0 to
 highlight (and place in the buffer?) the error messages on tty0.  No
 go. It's either that the buffer gets cleared when switching between
 tty0 and tty1 or that highlighting the text via mouse isn't working.

 I've gone through 2-years worth of FreeBSD mailing list messages but
 I can't seem to come up with solution.

 Hints?  Thank you.

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

-- 
Kent Stewart
Richland, WA

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


Re: upgrading Gnome components using portupgrade

2004-04-16 Thread Kent Stewart
On Friday 16 April 2004 12:42 pm, Jeremy Messenger wrote:
 On Fri, 16 Apr 2004 11:52:04 -0700, Kent Stewart [EMAIL PROTECTED] 
wrote:
  On Friday 16 April 2004 11:39 am, sAndri Kok wrote:
  Hi guys,
 
  I have what I believe are Gnome components installed on my
  computer (gimp, Gconf, gtk, glib, etc). I'm running portupgrade
  now and I read the message that I should upgrade Gnome using the
  script provided by FreeBSD Gnome. The question is, if I only have
  parts of Gnome installed, while I'm using fluxbox as window
  manager, do I need to run the script? or is portupgrade fine? my
  portupgrade is currently still running and I don't seem to
  encounter any problem (yet).
 
  I also run that way and from my experience the odds are pretty high
  that something will be done out of order. I did a portupgrade -pufr
  glib to do the upgrade and had a few problems that I had to
  manually update. I understand from other comments that re-running
  the upgrade script makes the update go faster than a -rf glib. If
  you look at ports that you have installed that depend on glib, the
  list seems to go forever. I don't know if a -pufrR glib would have
  prevented the problems but that would have used even more computer
  time to do the update. I think the AMD 2400+ needed something like
  13 hours to do the update the way I did it.

 I personal would go for rebuild everything that depend on pkg-config
 instead glib, because of libxml2, libxslt and etc that don't depend
 on glib.


I think that is close to the overkill -rRfa. You only want to update the 
ports that should be updated. It hasn't been that long since I did a 
-rf expat. I feel strongly about updating all dependancies of 
libraries. That is one of the fine features of make in the programming 
world. If you modify a library, it updates everything that uses it. It 
just isn't always necessary.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: What happened after gnome upgrade??

2004-04-15 Thread Kent Stewart
On Wednesday 14 April 2004 09:21 pm, R. M. Los wrote:
 OK...so I got this idea, maybe if I did a portupgrade
 gnomesystemmonitor, something would giveboy was I wrong.  What
 the heck is this?!


 ERROR from 'portupgrade gnomesystemmonitor'
 checking what warning flags to pass to the C compiler... -Wall
 -Wmissing-prototypes
 checking what language compliance flags to pass to the C compiler...
 checking for pkg-config... /usr/local/bin/pkg-config
 checking for libgnome-2.0 = 2.0.0 libgnomeui-2.0 = 2.0.0 gconf-2.0
 = 1.1.5 libgtop-2.0 = 2.5.2 libwnck-1.0 = 2.5.0 gtk+-2.0 =
 2.3.0... Requested 'libgtop-2.0 = 2.5.2' but version of libgtop is
 2.0.7

I would suspect that you had ports that depend on glib-2.4.0 get updated 
in a bad order. Gtk-2.4.0, for example, depends on atk and pago, which 
also depend on glib-2.4.0. Portversion lists the ports in alphabetical 
order and not the order they need to be updated in. I have used -rR and 
seen things build out of order. They could have been built more than 
once because all I saw was the resulting package and it was built after 
a port that had it as a dependancy.

If you remember what you updated, you could force build them again. If 
you don't, you might consider portupgrade -rf glib. This is a start it 
and go away solution because it will take a lot of computer time. I 
would also set BATCH=yes in /etc/make.con

Kent


 configure: error: Library requirements (libgnome-2.0 = 2.0.0
 libgnomeui-2.0 = 2.0.0 gconf-2.0 = 1.1.5 libgtop-2.0 = 2.5.2
 libwnck-1.0 = 2.5.0 gtk+-2.0 = 2.3.0) not met; consider adjusting
 the PKG_CONFIG_PATH environment variable if your libraries are in a
 nonstandard prefix so pkg-config can find them.
 ===  Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and
 attach the
 /usr/ports/sysutils/gnomesystemmonitor/work/gnome-system-monitor-2.6
.0/config.log including the output of the failure of your make
 command. Also, it might be
 a good idea to provide an overview of all packages installed on your
 system
 (e.g. an `ls /var/db/pkg`).
 *** Error code 1

 Stop in /usr/ports/sysutils/gnomesystemmonitor.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade22439.0 make
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped /
 !:failed)
 ! sysutils/gnomesystemmonitor (gnomesystemmonitor-2.4.0)
 (configure error)

 /ERROR

-- 
Kent Stewart
Richland, WA

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


Re: Calling the pros .. sound troubleshooting

2004-04-13 Thread Kent Stewart
On Tuesday 13 April 2004 11:50 am, Mazen S. Alzogbi wrote:
 Kent Stewart wrote:
  On Monday 12 April 2004 01:46 pm, Mazen S. Alzogbi wrote:
 Hi,
 
 I already posted this question in this list and got some answers
  that was half-solutions to my case. I read a lot about this issue
  in every resource I could get my hands on. I am very keen to make
  my sound system work on my FreeBSD 4.9 system. This is a laptop
  with built-in sound system. It's not old, pretty new so I suppose
  PCM is my way to go.
 
 I recompiled the kernel aftering adding device pcm. After reboot
 and dmesg | grep pcm I get the following:
 
 pcm0: SiS 7012 at device 2.7 on pci0
 pcm0: unable to map IO port space
 device_probe_and_attach: pcm0 attach returned 6
 
 Can someone please guide me through the process of troubleshooting
  in a step-by-step fashion?
 
  There isn't one.
 
  I see the following and all I did was add option pcm and follow
  the steps in the Handbook. Since it isn't working for you, you may
  have some competition for the I/O port space.
 
  pcm0: SiS 7012 port 0xc400-0xc43f,0xc800-0xc8ff irq 10 at device
  2.7 on pci0
  pcm0: C-Media Electronics CMI9738 AC97 Codec
 
  You might get a clue by running pciconf -l. You might also find
  something by doing a boot -v instead of booting the normal way.
 
  They may have added a new chipset and you need the pciconf
  information to patch the sound driver. Everytime I have received a
  returned 6, I have had to program something or get some one else
  to do it. Your best bet there is the people that are maintaing pcm.
 
  Kent

 Kent,
 Thanks for your reply. I ran the pciconf -lv command I can see the
 following under multimedia?:

 [EMAIL PROTECTED]:2:7: class=0x040100 card=0x42011558 chip=0x70121039
 rev=0xa0 hdr=0x00
  vendor   = 'Silicon Integrated Systems (SiS)'
  device   = 'SiS7012 PCI Audio Accelerator'
  class= multimedia
  subclass = audio

 But what does that mean ? Doens't it mean it can see it but can't
 probe it?

 I believe that the pcm0 is fighting for IRQ 10 which is used by:

They can share. My line from pciconf is 
[EMAIL PROTECTED]:2:7:  class=0x040100 card=0x030013f6 chip=0x70121039 
rev=0xa0 hdr=0x00

It knows mine is pcm0 and we have a different card number. I don't know 
if that is important.


 ohci1: SiS 5571 USB controller mem 0xec001000-0xec001fff irq 10 at
 device 2.3 on pci0
 fwohci0: 1394 Open Host Controller Interface irq 10 at device 11.0
 on pci0

 Is there anything I can do to resolve this, you think?


Probably not unless you can program. You have to go through the kernel 
modules and find which sound module handles the SiS7012. That is where 
the maintainer comes in and I don't have any idea who that is right 
now.

I have never looked at the sound stuff. It has been a sort of black 
magic that worked. I also have a -current machine that won't do the 
installworld and it has my attention right now :(.

If you do a find from /usr/src. For the lack of a better idea, I just 
used sound. You will see something like

# find . -name sound -print
./sys/compile/TOPAZ/modules/usr/src/sys/modules/sound
./sys/dev/sound
./sys/gnu/dev/sound
./sys/gnu/i386/isa/sound
./sys/i386/isa/sound
./sys/modules/sound

Your problem is buried in there somewhere. I think you can ignore 
the ../gun and ../isa. TOPAZ is the name of my kernel and the kernel 
config moved the code that handled  SiS7012 in there. TOPAZ/.../sound 
has 3 directories, driver, pcm, and snd. I assume that your 7012 
handling code that doesn't recognize your module will probably show up 
in one of them. 

You can use http://www.freebsd.org/cgi/cvsweb.cgi/ to track who did the 
last work on the module with the SiS7012 in it. They will be your best 
bet on getting sound.

I don't what sound cards run where you live but I can buy really cheap 
pci ones that work for under $20 USD. They are usually as good as the 
integrated ones if not better. It all depends on the import duty and 
how long you can deal with a computer and no sound :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Calling the pros .. sound troubleshooting

2004-04-13 Thread Kent Stewart
On Tuesday 13 April 2004 09:14 am, Kent Stewart wrote:
 On Tuesday 13 April 2004 11:50 am, Mazen S. Alzogbi wrote:
  Kent Stewart wrote:
   On Monday 12 April 2004 01:46 pm, Mazen S. Alzogbi wrote:
  Hi,
  
snip
 
  [EMAIL PROTECTED]:2:7: class=0x040100 card=0x42011558 chip=0x70121039
  rev=0xa0 hdr=0x00
   vendor   = 'Silicon Integrated Systems (SiS)'
   device   = 'SiS7012 PCI Audio Accelerator'
   class= multimedia
   subclass = audio
 
  But what does that mean ? Doens't it mean it can see it but can't
  probe it?
 

I was waiting for opal to build and break on -current and found the 
following. The SIS7012 is handled by ich.c. You can find it in
/usr/src/sys/dev/sound/pci/ich.c

I had to laugh when I saw
#define SIS7012ID   0x70121039  /* SiS 7012 needs special 
handling */

Because of your problems all I could do was chuckle and agree with 
someone's comment.

The last modification header was  
 * Copyright (c) 2001 Cameron Grant [EMAIL PROTECTED]
There have been many modifications to main by other people since then. 
The last mod was 13 days ago. The last RELENG_4 mod was last August.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: BSD and copyright issues

2004-04-13 Thread Kent Stewart
On Tuesday 13 April 2004 01:37 pm, davjos wrote:
 Hi, I expect this is a question you get asked a lot these days, but
 in the light of SCO claims to ownership of Unix copyright and their
 legal action against IBM etc. What is the copyright/legal position
 with respect to FreeBSD?


I would like to see them start to deal with FreeBSD. The original 
agreement, as I recall, had the BSD group removing Bell Labs 
enhancements from BSD's version of Unix and let BL keep the BSD 
enhancements in BL Unix. My experient is that BL Unix made Unix 
functional but it was the BSD enhancements that made is usable. Let SCO 
remove the BSD enhancements and see what they have left :).

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Calling the pros .. sound troubleshooting

2004-04-12 Thread Kent Stewart
On Monday 12 April 2004 01:46 pm, Mazen S. Alzogbi wrote:
 Hi,

 I already posted this question in this list and got some answers that
 was half-solutions to my case. I read a lot about this issue in every
 resource I could get my hands on. I am very keen to make my sound
 system work on my FreeBSD 4.9 system. This is a laptop with built-in
 sound system. It's not old, pretty new so I suppose PCM is my way to
 go.

 I recompiled the kernel aftering adding device pcm. After reboot
 and dmesg | grep pcm I get the following:

 pcm0: SiS 7012 at device 2.7 on pci0
 pcm0: unable to map IO port space
 device_probe_and_attach: pcm0 attach returned 6

 Can someone please guide me through the process of troubleshooting in
 a step-by-step fashion?


There isn't one.

I see the following and all I did was add option pcm and follow the 
steps in the Handbook. Since it isn't working for you, you may have 
some competition for the I/O port space.

pcm0: SiS 7012 port 0xc400-0xc43f,0xc800-0xc8ff irq 10 at device 2.7 
on pci0
pcm0: C-Media Electronics CMI9738 AC97 Codec

You might get a clue by running pciconf -l. You might also find 
something by doing a boot -v instead of booting the normal way.

They may have added a new chipset and you need the pciconf information 
to patch the sound driver. Everytime I have received a returned 6, I 
have had to program something or get some one else to do it. Your best 
bet there is the people that are maintaing pcm.

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Step-by-step to upgrade Perl

2004-04-12 Thread Kent Stewart
On Monday 12 April 2004 11:30 am, Matthew Seaman wrote:
 On Mon, Apr 12, 2004 at 01:30:37PM -0300, [EMAIL PROTECTED] wrote:
  I'd like to upgrad Perl to 5.8 using ports on FreeBSD 4.7, but
  how to do that in order to completely overwrite the old version
  (5.5.3). Which is the correct steps to upgrade Perl?

 No -- it's a lot easier than you seem to think.

i) Install the perl5.8 port:

 # portinstall lang/perl5.8

- or -

 # cd /usr/ports/lang/perl5.8
 # make install

   ii) Set the new version of perl to be the default. (This also turns
   off building perl as part of the base system):

 # use.perl port

  iii) Re-install any 3rd party modules, etc that you've installed so
   the new perl can access them.  There should be a neater way of
   doing this...

 # find /usr/local/lib/perl5/{site_perl/5.005,5.00503} -type f
 -print0 | \ xargs -0 -n 1 pkg_which | sort -u  /tmp/perl-ports # vi
 perl-ports

   [ Sanity check the results: take out any non-ports (like
'?'), ports that are now bundled with perl or that you no
 longer wish to have installed ]

 # portupgrade -f `cat /tmp/perl-ports`

 Et voila.  New version of perl installed and ready to go.


There is one group that doesn't appear. All of the versions of automake 
use perl and have the version to use as the 1st line. You need to 
portupgrade -f automake
to get things ready for your new version of perl. FWIW, I am using
perl-5.8.2_5

There should be some sort of USE_PERL in their makefiles but isn't 
there.

Kent

-- 
Kent Stewart
Richland, WA

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


<    1   2   3   4   5   6   7   8   9   10   >