Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Josh Carroll
Sorry, I wasn't very clear. I am currently running FreeBSD 7.0 the regular i386 release. I would prefer to keep it that way if migration to the 64bit release would mean rebuilding from scratch (there is probably an easier way to convert an i386 release to a amd64 release). Another poster

Re: distributed shell (dancers shell)

2008-11-24 Thread Josh Carroll
On Mon, Nov 24, 2008 at 7:31 PM, Evuraan::ഏവൂരാന്‍ [EMAIL PROTECTED] wrote: How/where can I get dsh for Freebsd? attempts to compile it afresh have been failing, hence this question. thx. checking for endnetgrent... yes checking for open_dshconfig in -ldshconfig... no configure: error:

Re: Xeon Quad Core (Was: Server Freezing Solid)

2008-11-24 Thread Josh Carroll
I always thought AMD was Intel compatible. In this case, it's the reverse. Intel's EM64T extensions are compatible with AMD's X86-64. Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: Mounting ext3fs partition

2008-12-03 Thread Josh Carroll
On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apesteguía [EMAIL PROTECTED] wrote: Hi all, I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems in my computer and I would like to have full access to all of them. I've mounted the NTFS partition without problems (though it is

Re: Mounting ext3fs partition

2008-12-03 Thread Josh Carroll
Hi josh, Exactly, it is 256. So according to you, I can't use the mounted filesystem, right? Could you please explain in more detail, what the problem is? Thanks in advance. I believe around e2fsprogs version 1.40.5 or so, they changed the default inode size from 128 to 256. The current

Re: Setting per processor (/core) affinity from within FreeBSD

2008-12-15 Thread Josh Carroll
On Mon, Dec 15, 2008 at 7:34 PM, Garrett Cooper yanef...@gmail.com wrote: Hi guys, I was wondering if anyone has written a utility for FreeBSD to tie a particular process group to a processor / core, similar to what Linux has done with taskset, so that affinity can be properly set with

Re: 7.1 release / apache22 / php5

2009-01-05 Thread Josh Carroll
On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote: for some odd reason, with this latest install (7.1), apache22 complains that it cannot find libphp5.so I usually compile php5 from ports and apache22 from ports after I think about it, I have never actually placed

Re: 7.1 release / apache22 / php5

2009-01-05 Thread Josh Carroll
the httpd config file isn't the issue. it hasn't changed in a few years. yes, I do have the correct entries. what I do NOT have is the actual libphp5.so library file! it doesn't exist on my system, so apache complains that it can't open it. Did you build the lang/php5 port with the Build

Re: Portupgrade thru SSH session

2009-01-20 Thread Josh Carroll
On Tue, Jan 20, 2009 at 9:10 AM, Jos Chrispijn j...@webrz.net wrote: Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately

Re: coretemp for AMD?

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 11:21 AM, Chris Whitehouse cwhi...@onetel.com wrote: Hello, Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with coretemp? According to http://www.alcpu.com/CoreTemp/supportlist.html it includes AMD processors but when I load coretemp.ko sysctl still

Re: make -jN build with portmaster

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 4:44 PM, cpghost cpgh...@cordula.ws wrote: To build ports in parallel on a 4 core machine, I usually do this manually: # cd /usr/ports/some/port # make configure make -j5 build make install clean because all steps except make build are not compatible with -jN

Re: gpac-libgpac port not building on amd64

2009-02-14 Thread Josh Carroll
On Sat, Feb 14, 2009 at 1:42 PM, Troy t...@twisted.net wrote: I just did a successful portupgrade of multimedia/gpac-libgpac but when trying to upgrade the exact same port on amd64, it fails with the following error. Thanks cc -O3 -O2 -fno-strict-aliasing -pipe -fPIC -pthread

Re: gpac-libgpac port not building on amd64

2009-02-14 Thread Josh Carroll
http://pflog.net/~floyd/gpac-libgpac.patch Oops, if anyone grabbed that patch, grab it again, I ran the diff against the wrong original Makefile that had my --disable-opengl hard-coded in there during testing. Sorry for the trouble. Josh ___

Re: hardware list in a machine

2009-03-09 Thread Josh Carroll
On Mon, Mar 9, 2009 at 2:59 PM, gahn ipfr...@yahoo.com wrote: Hi all: How could I find out the list of hardware in my machine? I used dmesg and var/run/dmesg.boot, it didn't seem to help that much as I expected. which file lists all of hardware in the machine? Thanks. Give the

Re: Why?? (prog question)

2009-03-30 Thread Josh Carroll
On Mon, Mar 30, 2009 at 10:57 PM, Gary Kline kl...@thought.org wrote: people, i've been under the weather for days and will probably be for a few more. new  and TEMPORARY meds dont like me, ugh. can anybody clue me in why the followin joinline program fails to catch if argc == 1? /*  *

Re: find command question

2009-04-09 Thread Josh Carroll
On Thu, Apr 9, 2009 at 8:01 AM, Jay Hall jh...@socket.net wrote: When using the find command with the -exec option, does the find command wait for the command being executed to finish before returning the next result? For example, if I am using find -exec {} to copy files to tape, will find

Re: memtest question on 8 GB RAM AMD64 system

2009-04-09 Thread Josh Carroll
On Thu, Apr 9, 2009 at 2:43 PM, Dino Vliet dino_vl...@yahoo.com wrote: Dear freebsd people, I have just installed 4 x 2gb kingston memory banks (Kingston HyperX 4GB 800mhz DDR2 Non-ECC CL5 (5-5-5-15) DIMM) onto my AMD 64 system with a X2 5200 CPU. The motherboard I have in this system is

Re: Flash 10

2009-04-19 Thread Josh Carroll
On Sun, Apr 19, 2009 at 10:32 PM, Christopher Chambers ccha...@interchange.ubc.ca wrote: Hi, Nspluginwrapper's website says that version 1.2.2 is capable of installing flash 10. When I tried it, I got the message: no appropriate viewer found. Any ideas? I just installed it with success on

Re: mount_cd9660 - /dev/md0: Invalid Arguement

2009-04-20 Thread Josh Carroll
On Mon, Apr 20, 2009 at 12:32 PM, Евгений Л root1...@gmail.com wrote: Hello everyone, I am trying to mount an ISO image (which was converted with with help from ccd2iso tool), I used mdconfig -a -t vnode -f ./isoimage.iso -u 3 mount -t cd9660 /dev/md3 /cdrom and mdconfig -a -f

Re: Disabling ssh timeouts?

2009-05-12 Thread Josh Carroll
On Tue, May 12, 2009 at 10:03 PM, Steve Kargl s...@troutmask.apl.washington.edu wrote: Is there anyway to disable sshd from timing out a connection? I've tried setting  ClientAliveCountMax and ClientAliveInterval and TCPKeepAlive in sshd.conf, but no combination that I've tried has worked. My

RE: ICH8 Support

2006-08-14 Thread Josh Carroll
To follow up on a previous thread regarding ICH8 support, what parts of a P965 chipset based motherboard will work with existing 6-STABLE? I'm close to buying a Conroe-ready motherboard, but I'd rather spend $150 on a P965 board with DDR2-800 support than a more expensive 975-based board. I'm

Re: shared cache -- Re: SMP detection

2006-08-31 Thread Josh Carroll
Core 2 Duos have the EM64T extensions. Core Duos (Yonah) are a mobile chip only, not a full line of processors like the Core 2 architecture (Merom, Conroe, Woodcrest). I suspect the Core 2 chips do not suffer from the same security implications as HT-enabled processors. I'm not certain, but I

Re: Acroread doesn't find a lib

2006-09-08 Thread Josh Carroll
Does /usr/X11R6/lib/libXfixes.so.3 exist? It is in the xorg-libraries-6.9.0 package, so you might try re-installing it (via ports or pkg_add, depending which you originally used). If it does exist, try running ldconfig to see if the library shows up: ldconfig -r | grep libXfixes.so.3 If it

Re: atapicam trouble (me too)

2006-09-10 Thread Josh Carroll
Neither disabling atapicam nor atapicd works on my Core2Duo system. I don't know whether it's related to the new IDE controllers (JMicron 363 and Intel ICH8) or a similar problem to what you're reporting. The best I can do is about 3MB/s with atapicd and DMA disabled and also with atapicam. Both

Re: Has anyone on this list set up an internet connection using a Westell WireSpeed ADSL modem? If so, please

2006-09-26 Thread Josh Carroll
I use a Westell 6100 without problems with FreeBSD. It is setup in bridge mode and works great. I wrote some software (http://wdiag.sourceforge.net) if you want to query the DSL line stats/etc. Depending which model you have, it might work for you (36R516, 2200, and 6100 series are all

Re: Perl's GetOpt::Std -- Where is it?

2006-10-13 Thread Josh Carroll
Which version of perl do you currently have installed? For the latest perl port, it should be located here: /usr/local/lib/perl5/5.8.8/Getopt/Std.pm % pkg_which /usr/local/lib/perl5/5.8.8/Getopt/Std.pm perl-5.8.8 Perhaps try re-installing the perl port. Josh On 10/13/06, Garrett Cooper

Re: Perl's GetOpt::Std -- Where is it?

2006-10-13 Thread Josh Carroll
Actually, it looks like you're trying to: use GetOpt::Std; But it should be: use Getopt::Std; Note the non-capital o there :) Josh On 10/13/06, Garrett Cooper [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garrett Cooper wrote: I'm trying to make a Perl

Re: atapicam trouble

2006-10-16 Thread Josh Carroll
Johan, I have a PR submitted for this problem. I do not think it is particular to Asus P5B boards, as I tried a Gigabyte DS3 board and it had the same problem. PR is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=103602 I'm unable to copy a file from a udf-mounted DVD regardless of whether

Re: ATAPI CDROM Problem

2007-01-17 Thread Josh Carroll
I am trying to install FreeBSD 6.2 on my new machine and have a problem. I boot using 6.2-disc1, but when I try to choose CD/DVD as installation media, the installer says: No CD/DVD drives found. Is this by chance a newer Core 2 Duo system with a motherboard with an Intel p965 chipset? If so,

Re: Flash 9

2007-01-17 Thread Josh Carroll
and was wondering if anyone has tried it yet. I'm at work, not at a *BSD desktop. I get a segfault from linux-firefox when I try to play a video from youtube. It's been this way for the last few releases of the Linux Flash 9 player. Josh ___

Re: Q: re ASUS motherboard with dual inet interfaces

2007-01-30 Thread Josh Carroll
Using FreeBSD v6.0. Need separate local and public connections to this machine. There's your problem. If it's the board I'm thinking of, it has one of the newer Marvell chipsets which isn't supported in 6.0. Give 6.2-RELEASE a shot, and I imagine it'll see your network cards. Josh

Re: where are packeges after pkg_add -r zzz stored

2007-01-30 Thread Josh Carroll
I have a slow Internet connection at home and a fast one in the office. I want to download a package and ALL dependencies from office PC then take them and install them at home. My question is where are the packages stored after being downloaded with pkg_add -r zzz. From man pkg_add: -K

Re: (no subject)

2007-02-01 Thread Josh Carroll
In bash or csh I want to start nmap scanning at every 1 hour.how can I do this? thanks Use cron (man cron, man 5 crontab). Something like: 0 * * * * /usr/local/bin/nmap Would run it on the hour, each hour. Read the man pages for more details. Josh

Re: iTunes - once again.

2007-02-04 Thread Josh Carroll
Call me silly, but it seems to me you ought to be lobbying Apple for Linux support. Get a decent Apple-made Linux player, and FreeBSD support via the linux emulator would *probably* work, no? I agree, getting Apple to support iTunes on Linux is key. I don't know if there have been other online

Re: memory above 4Gb ignored

2007-02-05 Thread Josh Carroll
I do not see any reference to resolving the 786432K of memory above 4Gb ignored anywhere in Google or otherwise. Are you running the i386 version of 6.2-RELEASE? If so, you will need to enable PAE (recompile the kernel with options PAE), or install the amd64 version of 6.2 instead. Note that

Re: missing key: categories: Cannot read the portsdb!

2007-02-05 Thread Josh Carroll
cd: can't cd to /usr/ports/sysutils/portupgrade [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 331 packages found (-0 +1) . done] [missing key: categories] [Updating the portsdb format:bdb_btree in portupgrade moved from /usr/ports/sysutils/portupgrade to

Re: SCP Delete

2007-02-06 Thread Josh Carroll
How do I delete a file after I've copied it with SCP? Is there some sort of secure 'rm' command? ssh [EMAIL PROTECTED] 'rm /full/path/to/file' Should work. There's no srm (secure rm), you simply ssh to the machine and give it the command to execute.

Re: Problems with perl script on 6.1/5.8.8

2007-02-06 Thread Josh Carroll
Can't modify single ref constructor in lock at ./caldisp.pl line 84, near *LOCKF) Execution of ./caldisp.pl aborted due to compilation errors. I'm not sure what has changed in Perl 5.8, but this should work instead: if(open my $fh, $LOCKF) { lock($fh); } Josh

Re: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...

2007-02-08 Thread Josh Carroll
I noticed something strange: When I compile using ma in the ports tree, I only have 50% load. CPU1 is used at CPU0 is idle... As was already pointed out, ports do not compile with make -j X by default. You can do so for ports that will build cleanly (not all of them will), by adding

Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...

2007-02-08 Thread Josh Carroll
You know, it'd be cool if there were a knob in the ports framework that allowed port maintainers to specify this, something like PARALLEL_MAKE=yes in the Makefile ... Or is that a dumb idea for some reason I don't understand? I personally don't think it's a dumb idea at all. The problem is the

Re: LKM Trojan?

2007-02-18 Thread Josh Carroll
running ls in the /proc directory returns an empty list. I have recompiled the kernel and world but the problem persists. Any suggestions on how to fix this without having to reinstall from scratch? Are you sure /proc is mounted? I don't think it's mounted by default. Check the output of mount

login.conf not honored for rc scripts?

2007-02-21 Thread Josh Carroll
I've been having a problem with mysql and apache starting up properly, and finally I think I found the issue. I have a gallery class defined in /etc/login.conf with the limits I want, but the rc scripts are using the default class values instead. I put: limits /tmp/limits In the

[SOLVED] Re: login.conf not honored for rc scripts?

2007-02-21 Thread Josh Carroll
Ok, I should have dug into the rc scripts to begin with. For archive sake, and so others who may stumble upon this can find a solution, I found that for mysql, I needed the following in rc.conf: mysql_limits=YES And also, since the mysql rc script is hard-coded to use the login class mysql, I

Re: Patches in FreeBSD

2007-02-26 Thread Josh Carroll
My question is: How do I respond to this? I have seen the word patch used in security update messages - but didn't follow that path. Is that real? Does it cover kernel things essentially on the fly or is a 'time consuming' rebuild still needed? 6.2 now official supports binary patches via

Re: Patches in FreeBSD

2007-02-26 Thread Josh Carroll
and you can update your third party packages via binary packages (which you can get from freebsd.org or build yourself)...so it seems these two solutions would be a great fit. Right, using packages instead of ports means he can do binary updates of packages as well, without having to recompile

Re: pf.conf and cable modem

2007-02-27 Thread Josh Carroll
I am converting from DSL to RoadRunner this week and wondering if there is anything special I need to do to my pf.conf for passing DHCP into my NIC? I think all you'll need is: pass in quick on $ext_if proto udp from any port 67 to any port 68 keep state Thanks, Josh

Re: pf.conf and cable modem

2007-02-28 Thread Josh Carroll
When I used DHCP with PF, I found that it just worked without any rules at all. As long as you're allowing packets out with keep state, it may be that it is able to allow the inbound DHCPOFFER after a DHCP REQUEST outbound. The rule I provided may not be necessary, then. Josh

Re: /usr/local/etc/rc.d startup scripts

2007-03-07 Thread Josh Carroll
Someone is telling me they need to have a .sh suffix to startup correctly, but in past versions of FreeBSD anything you put in there would run as long as it was executable. It need not have an sh extension. The MySQL port, for example, installs /usr/local/etc/rc.d/mysql-server, which works

Re: AMD64 -current iso laying around? or How to make a LiveCD from scratch?

2007-03-10 Thread Josh Carroll
So, in an effort to get my system up and running I was wondering if someone could provide me with either a link to a v7 ISO available somewhere, or directions on how to make a FreeBSD LiveCD (I have 2 other IA32 systems kicking around I can use for building stuff :)..). There are 7.0-CURRENT

Re: IRQ storm

2007-03-24 Thread Josh Carroll
I've changed motherboard recently (now it is Intel DP965LT) and now I have my PC slowed down considerably. vmstat -i shows a huge amount of interrupts on irq17: atapci0: Do you have atapicam enabled or being loaded as a module? If so, I have the same problem, which is currently being tracked in

Re: the art of pkgdb -F

2007-03-27 Thread Josh Carroll
Stale dependency: p5-Authen-SASL-2.09 - p5-GSSAPI-0.24 (security/p5-GSSAPI): p5-Geography-Countries-1.4 (score:26%) ? ([y]es/[n]o/[a]ll) [no] Well this one is pretty obvious. Look at what the stale dependency is, and what it's suggesting? :) Sometimes it can be less clear, though. You just

Re: LD_LIBRARY_PATH

2007-03-28 Thread Josh Carroll
New to FreeBSD. How can I update my LD_LIBRARY_PATH? In Linux I modify my /etc/ld.so.conf file and run ldconfig. Is there an equivalent here? A pointer to docs would be fine. There are a couple of ways. First, you can look at /etc/defaults/rc.conf for the default value of ldconfig_paths. On

Re: SATA DVD-RW drive not recognised by FreeBSD

2007-03-29 Thread Josh Carroll
I have some trouble with my SATA-DVDRW. It's not recognised in the boot process, although I think all kernel settings are correct. A SATA harddisk works fine. Is there a general issue with SATA-dvd burners? At least in 6.x and I assume 6-STABLE (unless support has been MFC'd), SATA ATAPI

Re: Help Finding Disk Drive Usage

2007-03-30 Thread Josh Carroll
So why does du report only 2.0 GB of usage while df reports over 6 GB? Where has my storage gone? Or do I not understand proper usage of du? If you removed files that still had open file handles (e.g. from /var/log), they are likely still allocated and showing up in df, but not du since

Re: automatically starting PostgreSQL

2007-04-02 Thread Josh Carroll
Execute rights, yes, but you shouldn't rename it to foo.sh under 6.2 -- that's not how things are supposed to work in recent releases. Without the PROVIDE: in the rc script, it won't get executed unless it has an .sh extension. man rc has details, but .sh should still work and I think is

sshd+pam problem on a fresh 6.2-RELEASE (amd64) install

2007-09-29 Thread Josh Carroll
On a fresh install of FreeBSD 6.2 (amd64), I've run into a problem with sshd and PAM. When the box first boots up, I cannot ssh in. I am immediately disconnected. If I look in /var/log/auth.log, I see: Sep 29 03:20:47 pflog sshd[68798]: in openpam_load_module(): no pam_opieaccess.so found Sep 29

Re: what cpu type to use for a intel duo e6850 (i386 or amd64)

2007-09-29 Thread Josh Carroll
On 9/29/07, Aryeh Friedman [EMAIL PROTECTED] wrote: I have more then 4gb and was wondering why it didn't all show up is there anyway to do a in place upgrade (I have a lot of user data)... also someone should think about changing the naming on the iso/cpu types since 20 years of industry

Re: sshd+pam problem on a fresh 6.2-RELEASE (amd64) install

2007-09-29 Thread Josh Carroll
Any ideas? I tried doing an ldd on /usr/lib/pam* inside the /etc/rc.d/sshd script, but the output is identical when it starts up on boot as when I restart it. No missing libraries/etc. Problem solved! In going from 32-bit to 64-bit, my login.conf really needed to change. I had a default memory

Re: Strange perl script

2007-10-17 Thread Josh Carroll
The stangest thing is that I cann't find sploger on my system. After a reboot sploger doesn't appear anymore, which makes it more stranger. So you have done a: find / -name sploger -type f And nothing comes up? If that's the case, it sounds like it was a perl script that was run, then

Re: Can login using root password, but not remotely with SSH

2007-10-22 Thread Josh Carroll
At computer terminal: PAM authentication error for root from 192.168.XXX.XXX ssh access for root is disabled by default, for good reason. ssh as a normal user, then su to root instead. Josh ___ freebsd-questions@freebsd.org mailing list

Re: defend from - :() { ::; } ;

2007-10-22 Thread Josh Carroll
Please do not try to execute this: :() { ::; } ;: on your BSD machine. I ask all who already tried it how to defend from this? man login.conf Josh ___ freebsd-questions@freebsd.org mailing list

Re: Per-port options in make.conf?

2007-10-23 Thread Josh Carroll
Is there any way to specify options in make.conf on a per-port basis? Yes, something like this should work: .if ${.CURDIR:M*/portnamehere*} WITHOUT_X11=yes .endif Josh ___ freebsd-questions@freebsd.org mailing list

Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread Josh Carroll
I am writing some demo code (for teaching C) and need to have the same program run on a 32 bit machine and a 64 bit machine (showing that int's are always word length)... I have 8-current amd64 how do I force it to compile with 32 bit words? Add the following to your gcc command line: -m32

Re: Problem with VNC on AMD64

2007-10-28 Thread Josh Carroll
So VNC server will run, and I can connect to it from a VNC-client, but the window manager fails to start correctly. I am having the same problem. My vnc log looks similar: *snip* X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed

Re: Problem with VNC on AMD64

2007-10-29 Thread Josh Carroll
What version of VNC are you running.. ? vnc-4.1.2_2 from ports. I wonder if this is related to it compiling against ancient XFree86 source? Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Problem with VNC on AMD64

2007-10-29 Thread Josh Carroll
vnc-4.1.2_2 from ports. I wonder if this is related to it compiling against ancient XFree86 source? The tightvnc port has the same problem, actually. Same message in the vnc log, but also another: X Error of failed request: BadValue (integer parameter out of range for operation) Major

Re: Dangers of using a non-base shell

2007-10-30 Thread Josh Carroll
It's been drawn to my attention not to use bash from the ports collection, because if one of it's dependencies (gettext or libiconv) fails or is updated significantly, it could break, and prevent login. The suggested solution was to use a base shell (such as sh) and append 'bash -l' to .shrc

Re: C compiler cannot create executables

2007-11-06 Thread Josh Carroll
configure: error: C compiler cannot create executables I googled for awhile and found the suggestion to reinstall libtool, but that also fails with the same error. Can you paste the config.log from the port's work source directory (where configure is located)? Can you try the following and

Re: disk drive serial number

2007-11-11 Thread Josh Carroll
is there a way to get the serial number from a drive from within the OS? im trying to audit the drives in my file server, but without pulling the thing from the rack and cracking it open. they are just standard sata drives, not on any sort of raid controller (ie, i know 3ware cards are

Re: disk drive serial number

2007-11-11 Thread Josh Carroll
That's the _model_ number, not the _serial_ number, yes? Oops. Indeed. I misread the question. :/ Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Installing ports to /usr

2007-11-14 Thread Josh Carroll
Would there be any negative ramifications to installing ports in /usr instead of /usr/local? Like could they potentially clobber system binaries and other files or is this pretty safe to do? More importantly, why do you want/need to do this? I personally like the separation of world and ports.

Re: semi-OT: awk - field separator

2007-11-15 Thread Josh Carroll
What is the canonical way to get (FreeBSD default) awk to use a single double-quote as the field separator? I have tried variations on -F\\\ and -F\ and the best I can get is: + awk -F {print $2} ./script.sh: 1: Syntax error: word unexpected awk -F'' That's a single quote, then a

Re: FreeBSD Production Release ISO images

2007-11-19 Thread Josh Carroll
I'm wondering if the FreeBSD 6.2 Production Release ISO images get updated periodically when there are important patches, or is it better to download the latest snapshot to save the trouble of updating everything after installing? No, the ISOs remain the same as when the release happens. You

Re: Help for very bad perf for MySQL

2007-11-27 Thread Josh Carroll
Is Hyperthreading enabled (by default it is not under FreeBSD) mysql is heavily dependent on threading, if it is not built and linked into the freebsd threads package you will get poor performance. Some folks have installed the linux compat libs and linked mysql into the linux threads

Re: Waiting for BIND security announcement

2007-08-01 Thread Josh Carroll
You need wait no longer...the security advisory just went out with a patch: http://security.freebsd.org/advisories/FreeBSD-SA-07:07.bind.asc Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Forcing a port to install?

2007-08-02 Thread Josh Carroll
On 8/2/07, Chris Maness [EMAIL PROTECTED] wrote: If a port has been black listed by portaudit, how do you install it anyway? From the ports(7) man page: DISABLE_VULNERABILITIES If defined, disable check for security vulnerabilities using portaudit(1)

Re: Bizzare routing table entry.

2007-08-07 Thread Josh Carroll
root# route delete 00xc0a80132 [1] 37343 route: writing to routing socket: No such process delete net 0: not in table 0xc0a80132: Command not found. [1] + Exit 1route delete 0 root# route delete 00xc0a80132 [1] 37343 route: writing to routing

Re: freebsd 7 release date :)

2007-08-20 Thread Josh Carroll
I'm not suggesting we lay out a strict timeline, as I'd much prefer the releases when they're ready, but simply a page saying, 'Hey, FreeBSD x.y release is coming soon, we're currently working on 'blah.'' Something more than what's here then? http://www.freebsd.org/releng/ Josh

Re: Building UNSTRIPPED binaries in ports?

2007-08-21 Thread Josh Carroll
Is there some make.conf or compile time flag that I can set that would prevent the stripping from happening? Or would I just have to manually edit the makefile someplace -- and if so, can anyone give a pointer as to where? Setting the strip command to /bin/true or something, perhaps -- but

Re: Monitoring CPU usage on multi-core system

2007-08-27 Thread Josh Carroll
On 8/27/07, Paul Hoffman [EMAIL PROTECTED] wrote: Hi again. On a dual-core system, how do I tell how much of each of the CPU cores are in use? Is the CPU usage in 'top' for the two CPUs at once? Is there something in ports (that works without X...) that will give good info? The CPU states

Re: FreeBSD 4.7 make question

2007-09-07 Thread Josh Carroll
On 9/7/07, Jason Lieurance [EMAIL PROTECTED] wrote: Hi, I didn't keep our 4.7 up to date and now 'make' errors out whenever you try to update ports or install any software. How do I fix this issue? Update your ports tree with the RELEASE_4_EOL tag, then try again. Note that FreeBSD 4.x is no

Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?

2007-09-15 Thread Josh Carroll
In general, if you are running a multi-process or multi-threaded workload, FreeBSD 7 will be able to make good use of 8 CPU cores. Over the past 2 years we have done extensive benchmarking and optimizations that have resulted in *huge* performance improvements on many common workloads on

Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?

2007-09-15 Thread Josh Carroll
Yes, 4BSD is still the default, although you definitely want to use ULE for performance reasons (NB: only on 7, dont use ULE on 6). I don't know whether the release engineers plan to change that default, but I will check. Great, thanks for the info. Good to know, I'll be sure to use ULE when

Re: Building a new workstation - dual or quad-core CPU for FreeBSD 7?

2007-09-15 Thread Josh Carroll
That's good to know. You should be using libthr for threaded performance though :) That benchmark is probably almost all userland though, so performance may not suffer much from libpthread. Oh I wasn't sure if libthr was the preferred thread library for 6.2 also (I'd heard that was the case

Re: End-of-life for my amd64 ?

2007-09-19 Thread Josh Carroll
Thanks for the feedback. It's always good to hear it works fine anti-bug-reports :) Kris This is getting a bit off topic, so pardon me. :) I picked a bad time to try to move to 7-CURRENT, just after the gcc 4.2.1 integration. Many ports would not compile properly, etc. I hope that stabilizes

Re: GAIM??

2007-09-19 Thread Josh Carroll
On my ubuntu srver I've used gaim for quite awhile. When I looked for it with locate on my new server the file said it was going away by fall. Is there ea new, improved port? gary It was renamed to pidgin, which is in ports here: /usr/ports/net-im/pidgin

Re: Problem with portupgrade

2007-04-06 Thread Josh Carroll
deimos# portupgrade -PR libmpeg2 [Updating the portsdb format:bdb_btree in /usr/ports ... - 16851 port entries found {lines cut} . done] [missing key: categories: Cannot read the portsdb! database file error {following some ruby errors regarding the fact that the db can't be read?!} Try

Re: script perl with sed command

2007-04-08 Thread Josh Carroll
Interesting. Is that old perl syntax (v4, etc)? Just curious because most of the documentation and examples switched to: No, he's using a function prototype. In this particular case, he's saying the supfile_set_default_host function will take two scalars as arguments. For more info: perldoc

Re: No CD/DVD devices found after booting from FreeBSD 6.2 CD 1

2007-04-11 Thread Josh Carroll
Because before it starts it relies on BIOS to provide services (in 16-bit x86 mode), but after the kernel starts, it must use its own drivers (32-bit or 64-bit, depending on your choice) and it seems it doesn't have the right drivers. Most CD/DVD drives are standard and register as ATA or SCSI

Re: Migrating from i386 to AMD64

2007-04-17 Thread Josh Carroll
Now.. Can I just use the same SMP kernel I have currently (assuming the correct drivers are loaded) for the X2 processor if I just want to run it in 32 bit mode? Yes, it should work fine. You may need to update /etc/fstab of course, and any other settings that need to change along with the

Re: completly remove (or modify) a port

2007-04-18 Thread Josh Carroll
what is the way to either remove the stored configuration file, or to manually pass the parameters to make. A look at the Makefile and the other files in /usr/ports/mail/postfix didn't turn up any hints. You can either: make rmconfig or just: make config Then re-build/install it. Josh

find processes with pages in swap

2007-04-19 Thread Josh Carroll
Hello, I was wondering if there is a utility that allows you to query swap and determine which processes currently have virtual pages in swap. I couldn't find any way from the pstat/swapinfo man pages, but hopefully I'm overlooking something. Regards, Josh

Re: Why doesn't FreeBSD clear /tmp on bootup?

2007-05-03 Thread Josh Carroll
I've seen OpenBSD and some other variants of Unix clearing /tmp on bootup. But FreeBSD doesn't seem to do so. Is there any specific reason for this variation or is it just a matter of taste between these different Operating Systems? You can put the following in rc.conf to do this:

Re: home dir executable (!/bin/sh, chmod+x) shell scripts won't run without sh script

2008-01-07 Thread Josh Carroll
I keep reading about making sh scripts executable with #!/bin/sh on the first line and chmod to executable. That works with all my system scripts (rc, etc.) or my system would be DOA, no doubt. When I do it in my home folder, however, running script gives command not found. That typically

Re: home dir executable (!/bin/sh, chmod+x) shell scripts won't run without sh script

2008-01-07 Thread Josh Carroll
How are you running the commands? The problem is probably to do with your path. Your home directory isn't typically and shouldn't be in your PATH (try echo $PATH). You need to specify the full path to your scripts or place a ./ in front of the script name if in the same directory. e.g.

Re: passive ftp transfer with pkg_add

2008-01-27 Thread Josh Carroll
Thank you very much! When I want to revert it, will it suffice to type: export FTP_PASSIVE_MODE=false unset FTP_PASSIVE_MODE will unset the variable. Regards, Josh ___ freebsd-questions@freebsd.org mailing list

Re: libicui18n.so.36 not found, required by evolution

2008-02-09 Thread Josh Carroll
On Feb 9, 2008 12:17 PM, E. J. Cerejo [EMAIL PROTECTED] wrote: Running FBSD 6.3 and after updating the ports where icu was one of the ports to be updated I'm getting the libexec/ld-elf.so.1: Shared object libicui18n.so.36 not found, required by evolution error, I can see that the new version

Re: pkg_list mypackage?

2008-03-13 Thread Josh Carroll
The online FreeBSD manual in the 4.4 Using the Packages System part doesn't mention a command to list the files that were installed through a package. What is the equivalent of eg. pkg_list mypackage? Have a look at the pkg_info man page. The option you're looking for is -L. Regards,

Re: Any software that can do X windows screen capture (with mouse cursor)

2008-03-18 Thread Josh Carroll
On Tue, Mar 18, 2008 at 12:54 PM, Patrick Dung [EMAIL PROTECTED] wrote: Hello As title, I have tried xwd, it can't capture mouse curosr. The import program that's part of the ImageMagick port can do so: import image.png Then draw a box around whatever you want to screen shot. Alternatively,

Re: Too Much Context Switching? - FIXED

2008-06-30 Thread Josh Carroll
I will, probably as part of upgrading to 7.0 (which I may accelerate, given this point). I'm just ecstatic at the difference I'm already seeing, and specifically wanted to make note of it in the archives. Point very much taken, though. :-) It's trivial to change to libthr, as pointed out

  1   2   >