Date: Sun, 25 Jan 2009 15:16:06 -0500 (Eastern Standard Time) From: "Bob Falanga" <rfalang@twcny.rr.com> To: <freebsd-questions@freebsd.org> Subject: Re: freebsd-questions Digest, Vol 246, Issue 51 Message-ID: <497CC886.000009.03040@BOBSCOMPUTER> References: <20090124224546.8058310656F1@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--------------Boundary-00=_UYM1MY50000000000000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0D =0D -------Original Message-------=0D =0D From: freebsd-questions-request@freebsd.org=0D Date: 1/24/2009 5:47:01 PM=0D To: freebsd-questions@freebsd.org=0D Subject: freebsd-questions Digest, Vol 246, Issue 51=0D =0D Send freebsd-questions mailing list submissions to=0D freebsd-questions@freebsd.org=0D =0D To subscribe or unsubscribe via the World Wide Web, visit=0D http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0D or, via email, send a message with subject or body 'help' to=0D freebsd-questions-request@freebsd.org=0D =0D You can reach the person managing the list at=0D freebsd-questions-owner@freebsd.org=0D =0D When replying, please edit your Subject line so it is more specific=0D than "Re: Contents of freebsd-questions digest..."=0D =0D =0D Today's Topics:=0D =0D 1. default CFLAGS (Saifi Khan)=0D 2. Re: port openoffice.org-devl (3.1.20081224) installs fine but=0D does not run (Sergio de Almeida Lenzi)=0D 3. Re: flashplugin7 doesn't play video (Wojciech Puchar)=0D 4. Re: default CFLAGS (RW)=0D 5. Re: opera 9.63 installation and Qt version (Saifi Khan)=0D 6. Re: Registry corrupt? (Jack L. Stone)=0D 7. Re: default CFLAGS (RW)=0D 8. Re: Registry corrupt? (Robert Huff)=0D 9. Re: Registry corrupt? (Jack L. Stone)=0D 10. Re: Start-up of freeBSD need help with one question.=0D (Lowell Gilbert)=0D 11. Re: x11-toolkits/linux-gtk2 problem/question. (Lowell Gilbert)=0D 12. Re: Registry corrupt? (Jack L. Stone)=0D 13. Healtd (Graeme Dargie)=0D 14. Re: port openoffice.org-devl (3.1.20081224) installs fine but=0D does not run (Matthias Apitz)=0D 15. Re: default CFLAGS (Morgan Wesstr?m)=0D 16. Re: opera 9.63 installation and Qt version (Paul B. Mahol)=0D 17. Re: Registry corrupt? (Daniel Bye)=0D 18. Re: default CFLAGS (RW)=0D 19. Re: jdk16 (Frank Shute)=0D 20. Re: x11-toolkits/linux-gtk2 problem/question. (Jimmie James)=0D 21. Re: default CFLAGS (Pojken Purken)=0D 22. Sharing ports hierarchy via NFS to different arch/versions.=0D (Doug Poland)=0D 23. Re: default CFLAGS (Saifi Khan)=0D 24. Re: default CFLAGS (Morgan Wesstr?m)=0D 25. Re: Registry corrupt? (Wojciech Puchar)=0D 26. Re: how to scrollback in terminal (Tim Judd)=0D 27. Re: Registry corrupt? (Tim Judd)=0D 28. Re: swap_pager complaints but not using swap (Tim Judd)=0D 29. Re: default CFLAGS (RW)=0D 30. Re: mounting Nokia N95 (Warren Liddell)=0D 31. Re: default CFLAGS (Morgan Wesstr?m)=0D 32. Re: swap_pager complaints but not using swap (Kris Kennaway)=0D =0D =0D ----------------------------------------------------------------------=0D =0D Message: 1=0D Date: Sat, 24 Jan 2009 17:35:38 +0000 (GMT)=0D From: Saifi Khan <saifi.khan@twincling.org>=0D Subject: default CFLAGS=0D To: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID: <Pine.LNX.4.64.0901241734020.6296@localhost>=0D Content-Type: TEXT/PLAIN; charset=3DUS-ASCII=0D =0D Hi all:=0D =0D What is the default CFLAGS if *no* CFLAGS has been specified in=0D /etc/make.conf ?=0D =0D As an example, let us consider a FreeBSD 7.1 system running on a=0D Intel Celeron M.=0D =0D thanks=0D Saifi.=0D =0D =0D ------------------------------=0D =0D Message: 2=0D Date: Sat, 24 Jan 2009 10:13:32 -0200=0D From: Sergio de Almeida Lenzi <lenzi@k1.com.br>=0D Subject: Re: port openoffice.org-devl (3.1.20081224) installs fine but=0D does not run=0D To: Matthias Apitz <guru@unixarea.de>, freebsd-questions=0D <questions@freebsd.org>=0D Message-ID: <1232799212.7222.10.camel@lenzix.cwb.casa>=0D Content-Type: text/plain=0D =0D Hello...=0D =0D =0D It is because the installation (the makefile is wrong, it install the=0D binary /usr/local/openoffice.org..../openoffice.org3/program/soffice=0D as a copy of soffice.bin)=0D it must install it as a shell script that fixes the loader path.=0D here is the shell script (named soffice).=0D copy over the binary soffice and make it executable=0D here it runs fine... FreeBSD amd64.=0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D #!/bin/sh=0D #************************************************************************= *=0D #=0D # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.=0D #=0D # Copyright 2008 by Sun Microsystems, Inc.=0D #=0D # OpenOffice.org - a multi-platform office productivity suite=0D #=0D # $RCSfile: soffice.sh,v $=0D #=0D # $Revision: 1.34 $=0D #=0D # This file is part of OpenOffice.org.=0D #=0D # OpenOffice.org is free software: you can redistribute it and/or modify=0D # it under the terms of the GNU Lesser General Public License version 3=0D # only, as published by the Free Software Foundation.=0D #=0D # OpenOffice.org is distributed in the hope that it will be useful,=0D # but WITHOUT ANY WARRANTY; without even the implied warranty of=0D # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the=0D # GNU Lesser General Public License version 3 for more details=0D # (a copy is included in the LICENSE file that accompanied this code).=0D #=0D # You should have received a copy of the GNU Lesser General Public=0D License=0D # version 3 along with OpenOffice.org. If not, see=0D # <http://www.openoffice.org/license.html>=0D # for a copy of the LGPLv3 License.=0D #=0D #************************************************************************= *=0D =0D #=0D # STAR_PROFILE_LOCKING_DISABLED=3D1=0D # export STAR_PROFILE_LOCKING_DISABLED=0D #=0D =0D # file locking now enabled by default=0D SAL_ENABLE_FILE_LOCKING=3D1=0D export SAL_ENABLE_FILE_LOCKING=0D =0D # Uncomment the line below if you suspect that OpenGL is not=0D # working on your system.=0D # SAL_NOOPENGL=3Dtrue; export SAL_NOOPENGL=0D =0D # the following test is needed on Linux PPC with IBM j2sdk142=0D if [ "`uname -s`" =3D "Linux" -a "`uname -m`" =3D "ppc" ] ; then=0D JITC_PROCESSOR_TYPE=3D6=0D export JITC_PROCESSOR_TYPE=0D fi=0D =0D # resolve installation directory=0D sd_cwd=3D"`pwd`"=0D if [ -h "$0" ] ; then=0D sd_basename=3D`basename "$0"`=0D sd_script=3D`ls -l "$0" | sed "s/.*${sd_basename} -> //g"`=0D cd "`dirname "$0"`"=0D cd "`dirname "$sd_script"`"=0D else=0D cd "`dirname "$0"`"=0D fi=0D sd_prog=3D`pwd`=0D cd "$sd_cwd"=0D =0D sd_binary=3D`basename "$0"`.bin=0D =0D #collect all bootstrap variables specified on the command line=0D #so that they can be passed as arguments to javaldx later on=0D for arg in $@=0D do=0D case "$arg" in=0D -env:*) BOOTSTRAPVARS=3D$BOOTSTRAPVARS" ""$arg";;=0D esac=0D done=0D =0D # extend the ld_library_path for java: javaldx checks the sofficerc for=0D us=0D if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then=0D # this is a temporary hack until we can live with the default search=0D paths=0D case "`uname -s`" in=0D FreeBSD)=0D sd_prog1=3D"$sd_prog/../basis-link/program"=0D sd_prog2=3D"$sd_prog/../basis-link/ure-link/lib"=0D LD_LIBRARY_PATH=3D$sd_prog1:$sd_prog2${LD_LIBRARY_PATH+:=0D ${LD_LIBRARY_PATH}}=0D export LD_LIBRARY_PATH=0D ;;=0D esac=0D my_path=3D`"$sd_prog/../basis-link/ure-link/bin/javaldx"=0D $BOOTSTRAPVARS \=0D "-env:INIFILENAME=3Dvnd.sun.star.pathname:$sd_prog/redirectrc"`=0D if [ -n "$my_path" ] ; then=0D LD_LIBRARY_PATH=3D$my_path${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}=0D export LD_LIBRARY_PATH=0D fi=0D fi=0D =0D unset XENVIRONMENT=0D =0D # uncomment line below to disable anti aliasing of fonts=0D # SAL_ANTIALIAS_DISABLE=3Dtrue; export SAL_ANTIALIAS_DISABLE=0D =0D # uncomment line below if you encounter problems starting soffice on=0D your system=0D # SAL_NO_XINITTHREADS=3Dtrue; export SAL_NO_XINITTHREADS=0D =0D # pagein=0D for sd_arg in ${1+"$@"} ; do=0D case ${sd_arg} in=0D -calc)=0D sd_pagein_args=3D"${sd_pagein_args:=0D +${sd_pagein_args} }@pagein-calc"=0D break;=0D ;;=0D -draw)=0D sd_pagein_args=3D"${sd_pagein_args:=0D +${sd_pagein_args} }@pagein-draw"=0D break;=0D ;;=0D -impress)=0D sd_pagein_args=3D"${sd_pagein_args:=0D +${sd_pagein_args} }@pagein-impress"=0D break;=0D ;;=0D -writer)=0D sd_pagein_args=3D"${sd_pagein_args:=0D +${sd_pagein_args} }@pagein-writer"=0D break;=0D ;;=0D *)=0D ;;=0D esac=0D done=0D =0D # read database entries for Adabas D=0D if [ -f /etc/adabasrc ]; then=0D . /etc/adabasrc=0D fi=0D =0D sd_pagein_args=3D"${sd_pagein_args:+${sd_pagein_args} }@pagein-common"=0D "$sd_prog/../basis-link/program/pagein"=0D -L"$sd_prog/../basis-link/program" \=0D ${sd_pagein_args}=0D =0D # Set PATH so that crash_report is found:=0D PATH=3D$sd_prog${PATH+:$PATH}=0D export PATH=0D =0D # execute soffice binary=0D "$sd_prog/$sd_binary" "$@" &=0D trap 'kill -9 $!' TERM=0D wait $!=0D =0D while [ $? -eq 79 ]=0D do=0D "$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &=0D wait $!=0D done=0D =0D exit=0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=0D =0D =0D =0D ------------------------------=0D =0D Message: 3=0D Date: Sat, 24 Jan 2009 13:19:36 +0100 (CET)=0D From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>=0D Subject: Re: flashplugin7 doesn't play video=0D To: Joakim Fogelberg <joafog.lists@gmail.com>=0D Cc: Old Zhang <toold.zhang@gmail.com>, FreeBSD Mailing List=0D <freebsd-questions@freebsd.org>=0D Message-ID: <20090124131926.M40840@wojtek.tensor.gdynia.pl>=0D Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed=0D =0D > On Fri, Jan 23, 2009 at 5:06 AM, Old Zhang <toold.zhang@gmail.com> wrot= e:=0D >> I just updated linux-flashplugin7, xorg, and firefox (version 2) up to date.=0D >> However, the flashplugin7 can't play video, I see only a black box on= =0D >> YouTube.=0D =0D youtube-dl from ports is your friend=0D =0D >=0D > I had the same problem with linux-flashplugin7.=0D > Switching to linux-flashplugin9 fixed the problem.=0D >=0D > --=0D >=0D > Joakim Fogelberg=0D > _______________________________________________=0D > freebsd-questions@freebsd.org mailing list=0D > http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0D > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd org"=0D >=0D >=0D =0D =0D ------------------------------=0D =0D Message: 4=0D Date: Sat, 24 Jan 2009 12:45:35 +0000=0D From: RW <rwmaillists@googlemail.com>=0D Subject: Re: default CFLAGS=0D To: freebsd-questions@freebsd.org=0D Message-ID: <20090124124535.3006687c@gumby.homeunix.com>=0D Content-Type: text/plain; charset=3DUS-ASCII=0D =0D On Sat, 24 Jan 2009 17:35:38 +0000 (GMT)=0D Saifi Khan <saifi.khan@twincling.org> wrote:=0D =0D > Hi all:=0D >=0D > What is the default CFLAGS if *no* CFLAGS has been specified in=0D > /etc/make.conf ?=0D >=0D > As an example, let us consider a FreeBSD 7.1 system running on a=0D > Intel Celeron M.=0D =0D It depends on what you've set as CPUTYPE, and the platform; you can=0D find out with=0D =0D make -V CFLAGS=0D =0D =0D =0D ------------------------------=0D =0D Message: 5=0D Date: Sat, 24 Jan 2009 18:31:32 +0000 (GMT)=0D From: Saifi Khan <saifi.khan@twincling.org>=0D Subject: Re: opera 9.63 installation and Qt version=0D To: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID: <Pine.LNX.4.64.0901241829590.6358@localhost>=0D Content-Type: TEXT/PLAIN; charset=3DUS-ASCII=0D =0D On Sat, 24 Jan 2009, Paul B. Mahol wrote:=0D =0D > On 1/24/09, Saifi Khan <saifi.khan@twincling.org> wrote:=0D > > Hi:=0D > >=0D > > Qt 4.4.3 is installed on my FreeBSD 7.1 i386 system.=0D > >=0D > > Now, when i attempt to install Opera 9.63 from the ports, it tries to= =0D > > download Qt 3.3.8=0D > > Is there a way to modify the installation script so that Opera can us= e=0D > > the installed qt 4.4.3 version ?=0D >=0D > Yes you can modify it, but question is will opera work at all with qt 4= =2E=0D > There is static opera binary, try it.=0D >=0D >=0D > --=0D > Paul=0D >=0D =0D The download site for FreeBSD is=0D http://www.opera.com/browser/download/?os=3Dfreebsd-i386&list=3Dall=0D =0D It shows the following entry=0D FreeBSD 7.x (static) 7 MB=0D =0D But when the file is downloaded, it is "shared" version.=0D opera-9.63-freebsd7-shared-qt3.i386.tar.bz2=0D =0D Thus static opera binary is not available :(=0D =0D =0D thanks=0D Saifi.=0D =0D =0D ------------------------------=0D =0D Message: 6=0D Date: Sat, 24 Jan 2009 07:06:39 -0600=0D From: "Jack L. Stone" <jacks@sage-american.com>=0D Subject: Re: Registry corrupt?=0D To: cpghost <cpghost@cordula.ws>=0D Cc: freebsd-questions@freebsd.org=0D Message-ID: <3.0.1.32.20090124070639.00f092c0@sage-american.com>=0D Content-Type: text/plain; charset=3D"us-ascii"=0D =0D At 04:33 PM 1.23.2009 +0100, cpghost wrote:=0D >On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:=0D >> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone=0D <jacks@sage-american.com>wrote:=0D >>=0D >> > During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange happened.=0D >> > Some of the programs will not run after rehash or even when given th= e=0D >> > precise path to the program. System doesn't "see" several but not al= l=0D >> > programs. I've upgraded several servers (using source files -- cvsup= )=0D >> > withoug any such problem. It's just this one machine.=0D >=0D >Some programs will not run because of a library version bump. Those=0D >programs will need to be recompiled, i.e. rebuild all ports.=0D >=0D >You can check this by running 'ldd' on the specific program. Let's=0D >assume that you have zip installed:=0D >=0D >$ ldd /usr/local/bin/zip=0D >/usr/local/bin/zip:=0D > libbz2.so.3 =3D> /usr/lib/libbz2.so.3 (0x80065c000)=0D > libc.so.7 =3D> /lib/libc.so.7 (0x80076c000)=0D >=0D =0D Thanks for that tip. Here's output of one of the programs that doesn't ru= n:=0D ldd /usr/local/bin/fastest_cvsup=0D ldd: /usr/local/bin/fastest_cvsup: not a dynamic executable=0D =0D BUT, it is executable and using the exact path to the program still gives= =0D this error:=0D /usr/local/bin/fastest_cvsup: not found=0D =0D Yes, I did re-install the port too. No dice.=0D =0D Again MOST all programs run except for this one and maybe a couple others= =0D that may be causing buildworld to fail.=0D =0D Strange!=0D =0D Jack=0D =0D (^_^)=0D Happy trails,=0D Jack L. Stone=0D =0D System Admin=0D Sage-american=0D =0D =0D ------------------------------=0D =0D Message: 7=0D Date: Sat, 24 Jan 2009 13:16:29 +0000=0D From: RW <rwmaillists@googlemail.com>=0D Subject: Re: default CFLAGS=0D To: Saifi Khan <saifikhan@gmail.com>, freebsd-questions@freebsd.org=0D Message-ID: <20090124131629.1f9fabe4@gumby.homeunix.com>=0D Content-Type: text/plain; charset=3DUS-ASCII=0D =0D On Sat, 24 Jan 2009 12:51:32 +0000=0D Saifi Khan <saifikhan@gmail.com> wrote:=0D =0D =0D > on running the command 'make -V CFLAGS', the output is=0D >=0D > -O2 -fno-strict-aliasing -pipe=0D >=0D > i haven't setup the CPUTYPE anywhere (not as an env variable nor in=0D > /etc/make.conf)=0D > So are these default settings for a generc x86 based system ?=0D =0D Yes, if you are using i386.=0D =0D Most CPUs have the same default CFLAGS, it's the value of CPUTYPE=0D that's passed to the compiler that determines processor optimizations.=0D =0D =0D ------------------------------=0D =0D Message: 8=0D Date: Sat, 24 Jan 2009 08:23:56 -0500=0D From: Robert Huff <roberthuff@rcn.com>=0D Subject: Re: Registry corrupt?=0D To: "Jack L. Stone" <jacks@sage-american.com>=0D Cc: cpghost <cpghost@cordula.ws>, freebsd-questions@freebsd.org=0D Message-ID: <18811.5740.824872.505272@jerusalem.litteratus.org>=0D Content-Type: text/plain; charset=3Dus-ascii=0D =0D =0D Jack L. Stone writes:=0D =0D > >Some programs will not run because of a library version bump. Those=0D > >programs will need to be recompiled, i.e. rebuild all ports.=0D > >=0D > >You can check this by running 'ldd' on the specific program. Let's=0D > >assume that you have zip installed:=0D >=0D > Thanks for that tip. Here's output of one of the programs that doesn't run:=0D > ldd /usr/local/bin/fastest_cvsup=0D > ldd: /usr/local/bin/fastest_cvsup: not a dynamic executable=0D >=0D > BUT, it is executable and using the exact path to the program=0D > still gives this error:=0D =0D No, it's a script - perl, to be exact - and does not count for=0D the purposes of ldd.=0D Compare "more /usr/local/ bin/fastest_cvsup" and "more=0D /usr/bin/csup".=0D =0D =0D Robert Huff=0D =0D =0D =0D ------------------------------=0D =0D Message: 9=0D Date: Sat, 24 Jan 2009 07:29:16 -0600=0D From: "Jack L. Stone" <jacks@sage-american.com>=0D Subject: Re: Registry corrupt?=0D To: cpghost <cpghost@cordula.ws>=0D Cc: freebsd-questions@freebsd.org=0D Message-ID: <3.0.1.32.20090124072916.00edaf80@sage-american.com>=0D Content-Type: text/plain; charset=3D"us-ascii"=0D =0D At 07:06 AM 1.24.2009 -0600, Jack L. Stone wrote:=0D >At 04:33 PM 1.23.2009 +0100, cpghost wrote:=0D >>On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:=0D >>> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone=0D ><jacks@sage-american.com>wrote:=0D >>>=0D >>> > During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange=0D happened.=0D >>> > Some of the programs will not run after rehash or even when given t= he=0D >>> > precise path to the program. System doesn't "see" several but not a= ll=0D >>> > programs. I've upgraded several servers (using source files -- cvsu= p)=0D >>> > withoug any such problem. It's just this one machine.=0D >>=0D =0D BTW: as more details of the problem, I had found a tiny bug in "mkdep"=0D which initially caused the upgrade from 6.3 to 7.0 to fail during=0D buildworld. Once fixed, it "appeared" to upgrade fine=0D (build/install/mergemaster), including a new kernel build/install, but on= =0D reboot it still shows 6.3...!!! I have rmoved /usr/obj and even /usr/src=0D and tried over several times, but same result. Some parts of the system i= s=0D running okay, but not others.=0D =0D Have wasted too much time on this machine and today will move to a new=0D machine and start over. This server is one of our DNS servers, so we're=0D covered with others that take over during shutdown of this problem server= =2E=0D The DNS (or named) is one of the parts not running correctly and the most= =0D vital.=0D =0D Just a very strange issue and wondered if anyone else had similar results= =0D ever -- it may just be the machine, but didn't act like it.=0D =0D Thanks again,=0D Jack=0D =0D (^_^)=0D Happy trails,=0D Jack L. Stone=0D =0D System Admin=0D Sage-american=0D =0D =0D ------------------------------=0D =0D Message: 10=0D Date: Sat, 24 Jan 2009 08:42:24 -0500=0D From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>=0D Subject: Re: Start-up of freeBSD need help with one question.=0D To: Bob Falanga <rfalang.bob@gmail.com>=0D Cc: freebsd-questions@freebsd.org=0D Message-ID: <44iqo4vn0f.fsf@lowell-desk.lan>=0D Content-Type: text/plain; charset=3Dus-ascii=0D =0D Bob Falanga <rfalang.bob@gmail.com> writes:=0D =0D > When I try to configure a printer, CUPS requires a user id, my own or r= oot =0D > But it will not accept either.=0D > Interestingly, at boot up time I saw CUPS started three times but canno= t=0D > find where all the requests for start is.=0D > I added a line in rd.conf to start CUPS but that is the only place.=0D =0D I'd try to solve the second problem before the first (for me, the root=0D password works fine; although normally, I don't *have* a valid password=0D on the root account).=0D =0D The correct way to start cups from rc.conf is:=0D cupsd_enable=3D"YES"=0D Is that how you do it?=0D =0D That is how I configured rc.conf.=0D Why should it start 3 times in the startup?=0D =0D Bob Falanga=0D =0D --=0D Lowell Gilbert, embedded/networking software engineer, Boston area=0D http://be-well.ilk.org/~lowell/=0D =0D =0D ------------------------------=0D =0D Message: 11=0D Date: Sat, 24 Jan 2009 08:49:43 -0500=0D From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>=0D Subject: Re: x11-toolkits/linux-gtk2 problem/question.=0D To: jimmiejaz@gmail.com=0D Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org=0D Message-ID: <44eiysvmo8.fsf@lowell-desk.lan>=0D Content-Type: text/plain; charset=3Dus-ascii=0D =0D Jimmie James <jimmiejaz@gmail.com> writes:=0D =0D > While it looks like it install/runs fine (i.e, linux-flash9 works,=0D > skype works) the following error is show=0D > (process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown=0D > user id (0)=0D >=0D > Following this advice, all I could find,=0D > http://archive.netbsd.se/?ml=3Dfreebsd-emulation&a=3D2005-11&t=3D150683= 3=0D > The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too.= =0D > Is UID 0 in your /etc/passwd? Can you try changeing=0D > /compat/linux/etc/nsswitch.conf to something like this:=0D >=0D > passwd: files nisplus nis=0D > shadow: files nisplus nis=0D > group: files nisplus nis=0D >=0D > Uid 0 is in my /etc/passwd, there's no /compat/linux/etc/passwd., and=0D > changing /compat/linux/etc/nsswitch.conf to read the same doesn't fix=0D > the error message.=0D >=0D > Advice, suggestions?=0D =0D Those setting for nsswitch.conf don't look right to me.=0D There should have been a message printed out when you installed one of=0D the linux_base ports, telling you how to configure it.=0D I think the fc4 version is the default these days; if that is what you=0D are using, the message is in the file=0D /usr/ports/emulators/linux_base-fc4/pkg-message=0D =0D =0D --=0D Lowell Gilbert, embedded/networking software engineer, Boston area=0D http://be-well.ilk.org/~lowell/=0D =0D =0D ------------------------------=0D =0D Message: 12=0D Date: Sat, 24 Jan 2009 07:53:47 -0600=0D From: "Jack L. Stone" <jacks@sage-american.com>=0D Subject: Re: Registry corrupt?=0D To: cpghost <cpghost@cordula.ws>=0D Cc: freebsd-questions@freebsd.org=0D Message-ID: <3.0.1.32.20090124075347.00edaf80@sage-american.com>=0D Content-Type: text/plain; charset=3D"us-ascii"=0D =0D At 07:29 AM 1.24.2009 -0600, Jack L. Stone wrote:=0D >At 07:06 AM 1.24.2009 -0600, Jack L. Stone wrote:=0D >>At 04:33 PM 1.23.2009 +0100, cpghost wrote:=0D >>>On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:=0D >>>> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone=0D >><jacks@sage-american.com>wrote:=0D >>>>=0D >>>> > During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange=0D >happened.=0D >>>> > Some of the programs will not run after rehash or even when given = the=0D >>>> > precise path to the program. System doesn't "see" several but not = all=0D >>>> > programs. I've upgraded several servers (using source files -- cvs= up)=0D >>>> > withoug any such problem. It's just this one machine.=0D >>>=0D >=0D =0D BTW2: Yes, I do know this isn't windows and doesn't have a "registry" per= =0D se in that regard, but "something" does keep track of the programs=0D installed and I've never located that place/file/db not having a crucial=0D reason to before.=0D =0D Jack=0D =0D (^_^)=0D Happy trails,=0D Jack L. Stone=0D =0D System Admin=0D Sage-american=0D =0D =0D ------------------------------=0D =0D Message: 13=0D Date: Sat, 24 Jan 2009 14:18:45 -0000=0D From: "Graeme Dargie" <arab@tangerine-army.co.uk>=0D Subject: Healtd=0D To: <freebsd-questions@freebsd.org>=0D Message-ID:=0D <01FB8F39BAD0BD49A6D0DA8F78973929561A@Mercury.galaxy.lan.lcl>=0D Content-Type: text/plain; charset=3D"us-ascii"=0D =0D Having upgraded my motherboard I have discovered that healthd does not=0D like the chipset as the values it is producing are way out eg cpu temp=0D 255c, I wonder if anyone can recommend a good more upto date alternative=0D that would work with phpsysinfo or mrtg ?=0D =0D =0D =0D Regards=0D =0D =0D =0D Graeme=0D =0D =0D =0D ------------------------------=0D =0D Message: 14=0D Date: Sat, 24 Jan 2009 15:25:25 +0100=0D From: Matthias Apitz <matthias.apitz@oclc.org>=0D Subject: Re: port openoffice.org-devl (3.1.20081224) installs fine but=0D does not run=0D To: Sergio de Almeida Lenzi <lenzi@k1.com.br>=0D Cc: freebsd-questions <questions@freebsd.org>=0D Message-ID: <20090124142525.GA14942@rebelion.Sisis.de>=0D Content-Type: text/plain; charset=3Diso-8859-1=0D =0D El d=EDa Saturday, January 24, 2009 a las 10:13:32AM -0200, Sergio de Alm= eida Lenzi escribi=F3:=0D =0D > Hello...=0D >=0D >=0D > It is because the installation (the makefile is wrong, it install the=0D > binary /usr/local/openoffice.org..../openoffice.org3/program/soffice=0D > as a copy of soffice.bin)=0D > it must install it as a shell script that fixes the loader path.=0D > here is the shell script (named soffice).=0D > copy over the binary soffice and make it executable=0D > here it runs fine... FreeBSD amd64.=0D =0D Hola S=E9rgio,=0D =0D =A1Obrigado!=0D =0D I will give it a try. The e-mail transport has mangeled a bit with your=0D shell script but I have seen two identicals ones in the port:=0D =0D work/DEV300_m38/desktop/scripts/soffice.sh=0D work/DEV300_m38/desktop/unxfbsdi.pro/misc/soffice.sh=0D =0D and I will test it.=0D =0D Thx=0D =0D matthias=0D =0D --=0D Matthias Apitz=0D Manager Technical Support - OCLC GmbH=0D Gruenwalder Weg 28g - 82041 Oberhaching - Germany=0D t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211=0D e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.= de/=0D b http://gurucubano.blogspot.com/=0D =0D SPAMer of the year: Subject: Alle Software ist Deutsche Sprachen=0D >From: -40 % die Neujahrsaktion <GabrielleKelley@grungecafe.com>=0D =0D =0D ------------------------------=0D =0D Message: 15=0D Date: Sat, 24 Jan 2009 15:27:02 +0100=0D From: Morgan Wesstr?m <freebsd-questions@pp.dyndns.biz>=0D Subject: Re: default CFLAGS=0D To: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID: <497B2536.7030907@pp.dyndns.biz>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D RW wrote:=0D > On Sat, 24 Jan 2009 12:51:32 +0000=0D > Saifi Khan <saifikhan@gmail.com> wrote:=0D >=0D >=0D >> on running the command 'make -V CFLAGS', the output is=0D >>=0D >> -O2 -fno-strict-aliasing -pipe=0D >>=0D >> i haven't setup the CPUTYPE anywhere (not as an env variable nor in=0D >> /etc/make.conf)=0D >> So are these default settings for a generc x86 based system ?=0D >=0D > Yes, if you are using i386.=0D >=0D > Most CPUs have the same default CFLAGS, it's the value of CPUTYPE=0D > that's passed to the compiler that determines processor optimizations.=0D =0D If you want to know what gcc processor optimizations will be enabled you=0D can do this:=0D =0D Create hello.c:=0D =0D #include <stdio.h>=0D main()=0D {=0D printf("hello, world\n");=0D }=0D =0D Then compile it with -Q -v in addition to the default CFLAGS:=0D =0D gcc -O2 -fno-strict-aliasing -pipe -Q -v -o hello hello.c=0D =0D The section "options enabled" will list them all. I usually only add=0D "-march=3Dnative" to my CFLAGS to enable a few more CPU specific=0D optimizations.=0D =0D /Morgan=0D =0D =0D ------------------------------=0D =0D Message: 16=0D Date: Sat, 24 Jan 2009 17:36:37 +0100=0D From: "Paul B. Mahol" <onemda@gmail.com>=0D Subject: Re: opera 9.63 installation and Qt version=0D To: Saifi Khan <saifi.khan@twincling.org>=0D Cc: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID:=0D <3a142e750901240836s4461ee1dt9cdb806dcf34492a@mail.gmail.com>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D On 1/24/09, Saifi Khan <saifi.khan@twincling.org> wrote:=0D > On Sat, 24 Jan 2009, Paul B. Mahol wrote:=0D >=0D >> On 1/24/09, Saifi Khan <saifi.khan@twincling.org> wrote:=0D >> > Hi:=0D >> >=0D >> > Qt 4.4.3 is installed on my FreeBSD 7.1 i386 system.=0D >> >=0D >> > Now, when i attempt to install Opera 9.63 from the ports, it tries t= o=0D >> > download Qt 3.3.8=0D >> > Is there a way to modify the installation script so that Opera can u= se=0D >> > the installed qt 4.4.3 version ?=0D >>=0D >> Yes you can modify it, but question is will opera work at all with qt = 4.=0D >> There is static opera binary, try it.=0D >>=0D >>=0D >> --=0D >> Paul=0D >>=0D >=0D > The download site for FreeBSD is=0D > http://www.opera.com/browser/download/?os=3Dfreebsd-i386&list=3Dall=0D >=0D > It shows the following entry=0D > FreeBSD 7.x (static) 7 MB=0D >=0D > But when the file is downloaded, it is "shared" version.=0D > opera-9.63-freebsd7-shared-qt3.i386.tar.bz2=0D >=0D > Thus static opera binary is not available :(=0D =0D Well for 9.63 there is only static one for FreeBSD 5.=0D After all this is not freebsd problem, ask opera where is=0D static version for FreeBSD 7=0D =0D --=0D Paul=0D =0D =0D ------------------------------=0D =0D Message: 17=0D Date: Sat, 24 Jan 2009 16:50:01 +0000=0D From: "Daniel Bye" <danielby@slightlystrange.org>=0D Subject: Re: Registry corrupt?=0D To: freebsd-questions@freebsd.org=0D Message-ID: <20090124165001.GC54892@torus.slightlystrange.org>=0D Content-Type: text/plain; charset=3D"us-ascii"=0D =0D On Sat, Jan 24, 2009 at 07:53:47AM -0600, Jack L. Stone wrote:=0D > At 07:29 AM 1.24.2009 -0600, Jack L. Stone wrote:=0D > >At 07:06 AM 1.24.2009 -0600, Jack L. Stone wrote:=0D > >>At 04:33 PM 1.23.2009 +0100, cpghost wrote:=0D > >>>On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:= =0D > >>>> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone=0D > >><jacks@sage-american.com>wrote:=0D > >>>>=0D > >>>> > During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange=0D > >happened.=0D > >>>> > Some of the programs will not run after rehash or even when give= n the=0D > >>>> > precise path to the program. System doesn't "see" several but no= t all=0D > >>>> > programs. I've upgraded several servers (using source files -- cvsup)=0D > >>>> > withoug any such problem. It's just this one machine.=0D > >>>=0D > >=0D >=0D > BTW2: Yes, I do know this isn't windows and doesn't have a "registry" p= er=0D > se in that regard, but "something" does keep track of the programs=0D > installed and I've never located that place/file/db not having a crucia= l=0D > reason to before.=0D =0D Ports and packages are, if you like, 'registered' in subdirectories of=0D /var/db/pkg=0D =0D Dan=0D =0D --=0D Daniel Bye=0D _=0D ASCII ribbon campaign ( )=0D - against HTML, vCards and X=0D - proprietary attachments in e-mail / \=0D -------------- next part --------------=0D A non-text attachment was scrubbed...=0D Name: not available=0D Type: application/pgp-signature=0D Size: 196 bytes=0D Desc: not available=0D Url : http://lists.freebsd org/pipermail/freebsd-questions/attachments/20090124/b7158197/attachment-= 0001 pgp=0D =0D ------------------------------=0D =0D Message: 18=0D Date: Sat, 24 Jan 2009 17:43:57 +0000=0D From: RW <rwmaillists@googlemail.com>=0D Subject: Re: default CFLAGS=0D To: freebsd-questions@freebsd.org=0D Message-ID: <20090124174357.4aafcf1a@gumby.homeunix.com>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D On Sat, 24 Jan 2009 15:27:02 +0100=0D Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> wrote:=0D =0D =0D > The section "options enabled" will list them all. I usually only add=0D > "-march=3Dnative" to my CFLAGS to enable a few more CPU specific=0D > optimizations.=0D =0D If you set CPUTYPE, -march is set to match, so setting -march=3Dnative=0D should be redundant. OTOH a number of other make variables are defined=0D from CPUTYPE, so if you set -march=3Dnative, but not CPUTYPE you might=0D miss some optimisations based on build options.=0D =0D I've no idea whether there are any such options, just that you're=0D probably not going to do better than setting CPUTYPE, and leaving the=0D rest alone.=0D =0D =0D ------------------------------=0D =0D Message: 19=0D Date: Sat, 24 Jan 2009 17:56:35 +0000=0D From: Frank Shute <frank@shute.org.uk>=0D Subject: Re: jdk16=0D To: Brian McQueen <mcqueenorama@gmail.com>=0D Cc: freebsd-questions@freebsd.org=0D Message-ID: <20090124175635.GA95379@melon.esperance-linux.co.uk>=0D Content-Type: text/plain; charset=3Dus-ascii=0D =0D On Thu, Jan 22, 2009 at 10:53:31PM -0800, Brian McQueen wrote:=0D >=0D > I can't seem to find the files listed in the jdk16 port. What are=0D > folks doing to get java going? The urls listed in the port are not=0D > right, so the manual download step does not work.=0D =0D I built jdk16 a few months ago & the urls were right.=0D =0D Is your ports tree up-to-date? Although I don't think the urls have=0D changed.=0D =0D What errors are you getting? 404s? What urls are you using?=0D =0D IIRC you have to register an account with Sun before you can download=0D the jdk from their site.=0D =0D You have to place the downloaded files in /usr/ports/distfiles/ before=0D you can build the port without make(1) dropping out after printing the=0D message with the urls.=0D =0D The port built fine for me.=0D =0D =0D Regards,=0D =0D --=0D =0D Frank=0D =0D =0D Contact info: http://www.shute.org.uk/misc/contact.html=0D =0D =0D =0D ------------------------------=0D =0D Message: 20=0D Date: Sat, 24 Jan 2009 13:06:08 -0500=0D From: Jimmie James <jimmiejaz@gmail.com>=0D Subject: Re: x11-toolkits/linux-gtk2 problem/question.=0D To: freebsd-questions@freebsd.org=0D Cc: freebsd-ports@freebsd.org=0D Message-ID: <497B5890.9050309@gmail.com>=0D Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed=0D =0D Lowell Gilbert wrote:=0D > Jimmie James <jimmiejaz@gmail.com> writes:=0D >=0D >> While it looks like it install/runs fine (i.e, linux-flash9 works,=0D >> skype works) the following error is show=0D >> (process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown=0D >> user id (0)=0D >>=0D >> Following this advice, all I could find,=0D >> http://archive.netbsd.se/?ml=3Dfreebsd-emulation&a=3D2005-11&t=3D15068= 33=0D >> The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too= =2E=0D >> Is UID 0 in your /etc/passwd? Can you try changeing=0D >> /compat/linux/etc/nsswitch.conf to something like this:=0D >>=0D >> passwd: files nisplus nis=0D >> shadow: files nisplus nis=0D >> group: files nisplus nis=0D >>=0D >> Uid 0 is in my /etc/passwd, there's no /compat/linux/etc/passwd., and=0D >> changing /compat/linux/etc/nsswitch.conf to read the same doesn't fix=0D >> the error message.=0D >>=0D >> Advice, suggestions?=0D >=0D > Those setting for nsswitch.conf don't look right to me.=0D > There should have been a message printed out when you installed one of=0D > the linux_base ports, telling you how to configure it.=0D > I think the fc4 version is the default these days; if that is what you=0D > are using, the message is in the file=0D > /usr/ports/emulators/linux_base-fc4/pkg-message=0D =0D =0D =0D You're right, missed the message during the install, scrolled off=0D screen. Following the pkg-message in=0D /usr/ports/emulators/linux_base-f8/pkg-message and reinstalling=0D linux-gtk2-2.6.10_1 still gives me the same message.=0D =0D I knew I forgot something with the original message.=0D =0D FreeBSD 7.1-STABLE #0: Tue Jan 6 03:43:02 EST 2009=0D jimmie@fortytwo.zapto.org:/usr/obj/usr/src/sys/FORTYTWO=0D =0D linux-atk-1.9.1_1 Accessibility Toolkit, Linux/i386 binary=0D linux-cairo-1.0.2 Linux cairo binary=0D linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library=0D linux-flashplugin-9.0r152 Adobe Flash Player NPAPI Plugin=0D linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig=0D linux-gspca-kmod-1.0.20 A port of the linux gspcav1 webcam driver=0D =0D *** linux-gtk2-2.6.10_1 GTK+ library, version 2.X, Linux binary ***=0D What's giving me the error.=0D =0D linux-jpeg-6b.34 RPM of the JPEG lib=0D linux-kmod-compat-20080408 Adaptation layer to build linux drivers on=0D FreeBSD=0D linux-libsigc-2.0.17 Callback Framework for C++ (linux version)=0D linux-openssl-0.9.7f SSL and crypto library (Linux Version)=0D linux-pango-1.10.2_1 Linux pango binary=0D linux-png-1.2.8_2 RPM of the PNG lib=0D linux-tiff-3.7.1 TIFF library, Linux/i386 binary=0D linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries=0D =0D *** linux_base-f8-8_10 Base set of packages needed in Linux mode (for=0D i386/amd64)*** emulators/linux_base-f8=0D =0D linux_dri-7.0 Binary Linux DRI libraries for 3D hardware=0D acceleration of=0D linuxdoc-1.1_1 The Linuxdoc SGML DTD=0D lirc-0.8.0_2 Linux Infared Remote Control=0D sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook=0D SGML doc=0D v4l_compat-1.0.20060801 Video4Linux compatibility header=0D =0D --=0D Over the years I've come to regard you as people I've met.=0D =0D =0D =0D ------------------------------=0D =0D Message: 21=0D Date: Sat, 24 Jan 2009 18:57:26 +0100=0D From: Pojken Purken <pp@pp.dyndns.biz>=0D Subject: Re: default CFLAGS=0D To: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID: <497B5686.8050600@pp.dyndns.biz>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D RW wrote:=0D > On Sat, 24 Jan 2009 15:27:02 +0100=0D > Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> wrote:=0D >=0D >=0D >> The section "options enabled" will list them all. I usually only add=0D >> "-march=3Dnative" to my CFLAGS to enable a few more CPU specific=0D >> optimizations.=0D >=0D > If you set CPUTYPE, -march is set to match, so setting -march=3Dnative=0D > should be redundant. OTOH a number of other make variables are defined=0D > from CPUTYPE, so if you set -march=3Dnative, but not CPUTYPE you might= =0D > miss some optimisations based on build options.=0D >=0D > I've no idea whether there are any such options, just that you're=0D > probably not going to do better than setting CPUTYPE, and leaving the=0D > rest alone.=0D =0D I'm sorry I was unclear. I set CPUTYPE to native of course which is then=0D passed as -march=3Dnative to compiler.=0D =0D =0D ------------------------------=0D =0D Message: 22=0D Date: Sat, 24 Jan 2009 12:32:54 -0600 (CST)=0D From: "Doug Poland" <doug@polands.org>=0D Subject: Sharing ports hierarchy via NFS to different arch/versions.=0D To: questions@freebsd.org=0D Message-ID:=0D <f0c8cc893db0ae217f945b3cbeafb422.squirrel@email.polands.org>=0D Content-Type: text/plain;charset=3Diso-8859-1=0D =0D Hello,=0D =0D I've got a network running different versions of FreeBSD (6.3, 7.0) on=0D different architectures (i386, SPARC64).=0D =0D What I'd like to do is export the ports hierarchy to all machines, but=0D preserving ports/packages for each version/architecture. I also want=0D to make rebuilding indexes run as fast as possible.=0D =0D Right now, I simply exports(5) /usr/ports via NFSv3. The problem=0D comes in with INDEX files and packages. Indexes get updated only when=0D the host serving the export updates the hierarchy via portsnap update.=0D If I create a package on SPARC64 and the package exists already for=0D an i386 build, then I've got an issue.=0D =0D Can someone point me to a doc/google/man page that may give me some=0D guidance in setting up such an environment?=0D =0D =0D =0D --=0D Regards,=0D Doug=0D =0D =0D =0D ------------------------------=0D =0D Message: 23=0D Date: Sat, 24 Jan 2009 19:07:57 +0000=0D From: Saifi Khan <saifikhan@gmail.com>=0D Subject: Re: default CFLAGS=0D To: Pojken Purken <pp@pp.dyndns.biz>=0D Cc: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID:=0D <9a52b1190901241107h5bff8c1al6c980b7ad8e99051@mail.gmail.com>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D On Sat, Jan 24, 2009 at 5:57 PM, Pojken Purken <pp@pp.dyndns.biz> wrote:=0D > RW wrote:=0D >> On Sat, 24 Jan 2009 15:27:02 +0100=0D >> Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> wrote:=0D >>=0D >>=0D >>> The section "options enabled" will list them all. I usually only add=0D >>> "-march=3Dnative" to my CFLAGS to enable a few more CPU specific=0D >>> optimizations.=0D >>=0D >> If you set CPUTYPE, -march is set to match, so setting -march=3Dnative= =0D >> should be redundant. OTOH a number of other make variables are defined= =0D >> from CPUTYPE, so if you set -march=3Dnative, but not CPUTYPE you migh= t=0D >> miss some optimisations based on build options.=0D >>=0D >> I've no idea whether there are any such options, just that you're=0D >> probably not going to do better than setting CPUTYPE, and leaving the=0D >> rest alone.=0D >=0D > I'm sorry I was unclear. I set CPUTYPE to native of course which is the= n=0D > passed as -march=3Dnative to compiler.=0D >=0D =0D The entry in file /var/run/dmesg.boot shows the CPU information as=0D CPU: Intel (R) Celeron (R) CPU 2.40 GHz (686-class CPU)=0D =0D The entry in /usr/share/examples/etc/make.conf shows CPU types for Intel = as=0D core2 core nocona pentium4m pentium4 prescott pentium3m pentium3 pentium-= m=0D pentium2 pentiumpro pentium-mx pentium i486 i386=0D =0D What would be the appropriate CPUTYPE specification in this case ?=0D =0D Is there any table which sort of maps the marketing names of the Intel processor=0D with the CPU information shown in dmesg ?=0D =0D --=0D thanks=0D Saifi.=0D =0D =0D ------------------------------=0D =0D Message: 24=0D Date: Sat, 24 Jan 2009 21:13:00 +0100=0D From: Morgan Wesstr?m <freebsd-questions@pp.dyndns.biz>=0D Subject: Re: default CFLAGS=0D To: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID: <497B764C.4080109@pp.dyndns.biz>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D =0D =0D Saifi Khan wrote:=0D > On Sat, Jan 24, 2009 at 5:57 PM, Pojken Purken <pp@pp.dyndns.biz> wrote= :=0D >> RW wrote:=0D >>> On Sat, 24 Jan 2009 15:27:02 +0100=0D >>> Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> wrote:=0D >>>=0D >>>=0D >>>> The section "options enabled" will list them all. I usually only add= =0D >>>> "-march=3Dnative" to my CFLAGS to enable a few more CPU specific=0D >>>> optimizations.=0D >>> If you set CPUTYPE, -march is set to match, so setting -march=3Dnativ= e=0D >>> should be redundant. OTOH a number of other make variables are define= d=0D >>> from CPUTYPE, so if you set -march=3Dnative, but not CPUTYPE you mig= ht=0D >>> miss some optimisations based on build options.=0D >>>=0D >>> I've no idea whether there are any such options, just that you're=0D >>> probably not going to do better than setting CPUTYPE, and leaving the= =0D >>> rest alone.=0D >> I'm sorry I was unclear. I set CPUTYPE to native of course which is th= en=0D >> passed as -march=3Dnative to compiler.=0D >>=0D >=0D > The entry in file /var/run/dmesg.boot shows the CPU information as=0D > CPU: Intel (R) Celeron (R) CPU 2.40 GHz (686-class CPU)=0D >=0D > The entry in /usr/share/examples/etc/make.conf shows CPU types for Inte= l as=0D > core2 core nocona pentium4m pentium4 prescott pentium3m pentium3 pentiu= m-m=0D > pentium2 pentiumpro pentium-mx pentium i486 i386=0D >=0D > What would be the appropriate CPUTYPE specification in this case ?=0D >=0D > Is there any table which sort of maps the marketing names of the Intel processor=0D > with the CPU information shown in dmesg ?=0D >=0D =0D gcc 4.2 and later will figure out the correct -march and -mtune for you=0D automatically if you use CPUTYPE=3Dnative. How it does it in detail can b= e=0D seen in its source code but basically it's decided by checking=0D manufacturer, cpu family and whether sse2 and sse3 support is present.=0D Your processor is most likely a prescott and you can see what gcc=0D selects by running the compilation example from my previous post. The=0D choice shows up in its output.=0D /Morgan=0D =0D =0D ------------------------------=0D =0D Message: 25=0D Date: Sat, 24 Jan 2009 21:33:02 +0100 (CET)=0D From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>=0D Subject: Re: Registry corrupt?=0D To: "Jack L. Stone" <jacks@sage-american.com>=0D Cc: cpghost <cpghost@cordula.ws>, freebsd-questions@freebsd.org=0D Message-ID: <20090124213215.P42124@wojtek.tensor.gdynia.pl>=0D Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed=0D =0D >>>>>> Some of the programs will not run after rehash or even when given = the=0D >>>>>> precise path to the program. System doesn't "see" several but not = all=0D >>>>>> programs. I've upgraded several servers (using source files -- cvs= up)=0D >>>>>> withoug any such problem. It's just this one machine.=0D >>>>=0D >>=0D >=0D > BTW2: Yes, I do know this isn't windows and doesn't have a "registry" p= er=0D > se in that regard, but "something" does keep track of the programs=0D =0D package manages has it's database in /var/db/pkg=0D =0D but it's COMPLETELY different that registry. it only keep track of packag= e=0D files etc.=0D =0D > installed and I've never located that place/file/db not having a crucia= l=0D > reason to before.=0D =0D =0D ------------------------------=0D =0D Message: 26=0D Date: Sat, 24 Jan 2009 13:34:24 -0700=0D From: Tim Judd <tajudd@gmail.com>=0D Subject: Re: how to scrollback in terminal=0D To: Saifi Khan <saifi.khan@twincling.org>=0D Cc: Dan Nelson <dnelson@allantgroup.com>,=0D freebsd-questions@freebsd.org=0D Message-ID: <497B7B50.6020201@gmail.com>=0D Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed=0D =0D Saifi Khan wrote:=0D > On Sat, Jan 24, 2009 at 8:07 AM, Dan Nelson <dnelson@allantgroup.com> wrote:=0D >> In the last episode (Jan 24), Tim Judd said:=0D >>> Saifi Khan wrote:=0D >>>> i'd like to scrollback on the multi page output on the terminal in=0D >>>> FreeBSD 7.1=0D >>>>=0D >>>> SHIFT key + Pg Up doesn't seem to work.=0D >>>>=0D >>>> Can somebody post how to scrollback in terminal ?=0D >>> scroll lock, and pgup=0D >> After you hit scroll-lock, up/down/pgup/pgdn/home/end all work, you ca= n=0D >> copy and paste the history text with your mouse, and there's a separat= e=0D >> history per VTY. You can also set the number of scrollback lines with= =0D >> the "vidcontrol -n ###" command. Significantly better than Linux's=0D >> scrollback...=0D >>=0D >> --=0D >> Dan Nelson=0D >> dnelson@allantgroup.com=0D >=0D > Thank you Tim and Dan for helping me out.=0D >=0D > The BSD model is more logical and straightforward.=0D >=0D =0D Yes it is. As you get into BSD more, you'll find it makes more logical=0D sense to stick with it, over Linux. Welcome to the group.=0D =0D =0D ------------------------------=0D =0D Message: 27=0D Date: Sat, 24 Jan 2009 13:39:12 -0700=0D From: Tim Judd <tajudd@gmail.com>=0D Subject: Re: Registry corrupt?=0D To: "Jack L. Stone" <jacks@sage-american.com>=0D Cc: cpghost <cpghost@cordula.ws>, freebsd-questions@freebsd.org=0D Message-ID: <497B7C70.2010508@gmail.com>=0D Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed=0D =0D Jack L. Stone wrote:=0D > At 04:33 PM 1.23.2009 +0100, cpghost wrote:=0D >> On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:=0D >>> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone=0D > <jacks@sage-american.com>wrote:=0D >>>> During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange happened.=0D >>>> Some of the programs will not run after rehash or even when given th= e=0D >>>> precise path to the program. System doesn't "see" several but not al= l=0D >>>> programs. I've upgraded several servers (using source files -- cvsup= )=0D >>>> withoug any such problem. It's just this one machine.=0D >> Some programs will not run because of a library version bump. Those=0D >> programs will need to be recompiled, i.e. rebuild all ports.=0D >>=0D >> You can check this by running 'ldd' on the specific program. Let's=0D >> assume that you have zip installed:=0D >>=0D >> $ ldd /usr/local/bin/zip=0D >> /usr/local/bin/zip:=0D >> libbz2.so.3 =3D> /usr/lib/libbz2.so.3 (0x80065c000)=0D >> libc.so.7 =3D> /lib/libc.so.7 (0x80076c000)=0D >>=0D >=0D > Thanks for that tip. Here's output of one of the programs that doesn't run:=0D > ldd /usr/local/bin/fastest_cvsup=0D > ldd: /usr/local/bin/fastest_cvsup: not a dynamic executable=0D >=0D > BUT, it is executable and using the exact path to the program still giv= es=0D > this error:=0D > /usr/local/bin/fastest_cvsup: not found=0D >=0D > Yes, I did re-install the port too. No dice.=0D >=0D > Again MOST all programs run except for this one and maybe a couple othe= rs=0D > that may be causing buildworld to fail.=0D >=0D > Strange!=0D >=0D > Jack=0D >=0D > (^_^)=0D > Happy trails,=0D > Jack L. Stone=0D >=0D > System Admin=0D > Sage-american=0D =0D is the shebang line invalid?=0D head -1 /usr/local/bin/fastest_cvsup=0D =0D and see if the program on that line is truly on your system:=0D ls -lF <program location>=0D =0D The error above makes it look like it's the command line that's missing,=0D but the shell will use the command line argument when the interpreter is=0D missing.=0D =0D Good luck!=0D =0D =0D ------------------------------=0D =0D Message: 28=0D Date: Sat, 24 Jan 2009 14:28:07 -0700=0D From: Tim Judd <tajudd@gmail.com>=0D Subject: Re: swap_pager complaints but not using swap=0D To: Kris Kennaway <kris@FreeBSD.org>=0D Cc: freebsd@sopwith.solgatos.com, freebsd-questions@freebsd.org=0D Message-ID: <497B87E7.6020601@gmail.com>=0D Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed=0D =0D Kris Kennaway wrote:=0D > Dieter wrote:=0D >> AMD64 FreeBSD 7.0 2 GiB main memory=0D >>=0D >> My console says:=0D >>=0D >> login: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22,=0D >> size: 4096=0D >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096=0D >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096=0D >> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096=0D >>=0D >> pstat -sk=0D >> Device 1K-blocks Used Avail Capacity=0D >> /dev/ad6s10 4590208 96 4590112 0%=0D >>=0D >> Wow, using a whole 96K of swap. I don't see any disk related=0D >> complaints in dmesg.=0D >>=0D >> Is this something to worry about?=0D >=0D > Yes, the system was *trying* to do swap I/O and timing out while doing=0D > so.=0D >=0D > Kris=0D > _______________________________________________=0D > freebsd-questions@freebsd.org mailing list=0D > http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0D > To unsubscribe, send any mail to=0D > "freebsd-questions-unsubscribe@freebsd.org"=0D isn't swapspace supposed to be on a 'b' partition? Are you using swap=0D on a slice 10? how is that possible when the i386/amd64 BIOS can't see=0D more than 4 primary partitions?=0D =0D Kris, would you mind giving input to this? How can there be a s10, and=0D how can you add swapspace to a device that isn't a partition 'b' nor a=0D file backed swapspace? Those were the only two ways I thought was=0D supported for swap.=0D =0D Dieter, does my questions above sound to be a correct interpretation of=0D your disk setup?=0D =0D =0D thanks!=0D =0D --Tim=0D =0D =0D ------------------------------=0D =0D Message: 29=0D Date: Sat, 24 Jan 2009 21:50:02 +0000=0D From: RW <rwmaillists@googlemail.com>=0D Subject: Re: default CFLAGS=0D To: freebsd-questions@freebsd.org=0D Message-ID: <20090124215002.6a0bf24e@gumby.homeunix.com>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D On Sat, 24 Jan 2009 21:13:00 +0100=0D Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> wrote:=0D =0D > gcc 4.2 and later will figure out the correct -march and -mtune for=0D > you automatically if you use CPUTYPE=3Dnative.=0D =0D The point I was making before, is that CPUTYPE isn't just passed=0D transparently to gcc, it's used for setting other variables, such as=0D CFLAGS. So unless you know that CPUTYPE=3Dnative is supported by the OS a= s=0D well as the compiler, you probably shouldn't use it in make.conf.=0D =0D =0D ------------------------------=0D =0D Message: 30=0D Date: Sun, 25 Jan 2009 08:42:30 +1000=0D From: Warren Liddell <shinjii@maydias.com>=0D Subject: Re: mounting Nokia N95=0D To: Ramiro Caso <misha_78@hotmail.com>=0D Cc: freebsd-questions@freebsd.org=0D Message-ID: <497B9956.6030805@maydias.com>=0D Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed=0D =0D What about this? Try in /usr/ports:=0D >=0D > # make print-index=0D > # make search key=3Dmobile=0D >=0D =0D Thanks for the info .. will give some a try and see how it goes :)=0D =0D =0D ------------------------------=0D =0D Message: 31=0D Date: Sat, 24 Jan 2009 23:44:51 +0100=0D From: Morgan Wesstr?m <freebsd-questions@pp.dyndns.biz>=0D Subject: Re: default CFLAGS=0D To: FreeBSD Questions <freebsd-questions@freebsd.org>=0D Message-ID: <497B99E3.7010901@pp.dyndns.biz>=0D Content-Type: text/plain; charset=3DISO-8859-1=0D =0D RW wrote:=0D > On Sat, 24 Jan 2009 21:13:00 +0100=0D > Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> wrote:=0D >=0D >> gcc 4.2 and later will figure out the correct -march and -mtune for=0D >> you automatically if you use CPUTYPE=3Dnative.=0D >=0D > The point I was making before, is that CPUTYPE isn't just passed=0D > transparently to gcc, it's used for setting other variables, such as=0D > CFLAGS. So unless you know that CPUTYPE=3Dnative is supported by the OS= as=0D > well as the compiler, you probably shouldn't use it in make.conf.=0D =0D I got that point. As with all tuning you always take the risk of=0D breaking something but that is a personal choice. From my own experience=0D I prefer that the compiler choses the optimizations.=0D I don't know about the base OS but a quick grep through /usr/ports only=0D reveals 5 or 6 ports that actually checks CPUTYPE and they don't do much=0D more than setting -march=3D{$CPUTYPE} which is pretty redundant.=0D =0D Regards=0D Morgan=0D =0D =0D ------------------------------=0D =0D Message: 32=0D Date: Sat, 24 Jan 2009 22:45:31 +0000=0D From: Kris Kennaway <kris@FreeBSD.org>=0D Subject: Re: swap_pager complaints but not using swap=0D To: Tim Judd <tajudd@gmail.com>=0D Cc: freebsd@sopwith.solgatos.com, freebsd-questions@freebsd.org=0D Message-ID: <497B9A0B.50305@FreeBSD.org>=0D Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed=0D =0D Tim Judd wrote:=0D > Kris Kennaway wrote:=0D >> Dieter wrote:=0D >>> AMD64 FreeBSD 7.0 2 GiB main memory=0D >>>=0D >>> My console says:=0D >>>=0D >>> login: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22,=0D >>> size: 4096=0D >>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096=0D >>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096=0D >>> swap_pager: indefinite wait buffer: bufobj: 0, blkno: 22, size: 4096=0D >>>=0D >>> pstat -sk=0D >>> Device 1K-blocks Used Avail Capacity=0D >>> /dev/ad6s10 4590208 96 4590112 0%=0D >>>=0D >>> Wow, using a whole 96K of swap. I don't see any disk related=0D >>> complaints in dmesg.=0D >>>=0D >>> Is this something to worry about?=0D >>=0D >> Yes, the system was *trying* to do swap I/O and timing out while doing= =0D >> so.=0D >>=0D >> Kris=0D >> _______________________________________________=0D >> freebsd-questions@freebsd.org mailing list=0D >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0D >> To unsubscribe, send any mail to=0D >> "freebsd-questions-unsubscribe@freebsd.org"=0D > isn't swapspace supposed to be on a 'b' partition? Are you using swap=0D > on a slice 10? how is that possible when the i386/amd64 BIOS can't see= =0D > more than 4 primary partitions?=0D >=0D > Kris, would you mind giving input to this? How can there be a s10, and= =0D > how can you add swapspace to a device that isn't a partition 'b' nor a=0D > file backed swapspace? Those were the only two ways I thought was=0D > supported for swap.=0D >=0D > Dieter, does my questions above sound to be a correct interpretation of= =0D > your disk setup?=0D =0D swap can be put anywhere thesedays (post-FreeBSD 4.x), even on things=0D that are not even simple disk devices.=0D =0D Kris=0D =0D =0D ------------------------------=0D =0D _______________________________________________=0D freebsd-questions@freebsd.org mailing list=0D http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0D To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg"=0D =0D End of freebsd-questions Digest, Vol 246, Issue 51=0D **************************************************=0D =0D ____________________________________________________________=0D =0D No virus found in this incoming message.=0D Checked by AVG - http://www.avg.com=0D Version: 8.0.176 / Virus Database: 270.10.13/1914 - Release Date: 1/24/20= 09 8:40 PM=0D =0D =20 --------------Boundary-00=_UYM1MY50000000000000--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497CC886.000009.03040>