Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-19 Thread Andy Wodfer
Thanks for all your feedback. The problem occurs in the RAID controller BIOS (before we even boot or get to the OS install). Thanks to John for confirming these cards do work above 2TB. I will look into upgrading the firmware (on these brand new cards). Perhaps it's just the current firmware

Re: greylisting with sendmail recommendations

2010-03-19 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/03/2010 04:08:45, Warren Block wrote: On Fri, 19 Mar 2010, Jamie Griffin wrote: I'm thinking of implementing a greylisting milter for sendmail. I just wanted to ask here first to see if anyone has any feedback on which one might be the best

Re: greylisting with sendmail recommendations

2010-03-19 Thread Jamie Griffin
I like spamd from OpenBSD -- this is actually a firewall plugin which intercepts traffic to port 25. Works with any MTA. Not just greylisting, but greytrapping and teergrube. Every time you run obspamd, you make a spammer cry. Cheers, Matthew Thanks Matthew, I like the

FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Steve Polyack
Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories which get mounted across a few machines (all 6.3-RELEASE). For the past few weeks we have been running into problems where one particular client will go into an infinite loop

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread John Baldwin
On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories which get mounted across a few machines (all 6.3-RELEASE). For the past few weeks we have been running into problems

FreeBSD 8.0 Booting Problem on ZV5320US Laptop

2010-03-19 Thread Anoop Kumar Narayanan
I have recently installed FreeBSD8.0 on my 5 year old HP laptop with absolute 0 battery backup (behaviour same when batter removed). Installation works fine but when I try to boot into FreeBSD I get to the BTX loader screen, after having made any selection and it pauses for about 15 secs and the

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Steve Polyack
On 03/19/10 08:31, John Baldwin wrote: On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories which get mounted across a few machines (all 6.3-RELEASE). For the past few

Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop

2010-03-19 Thread Richard DeLaurell
On Fri, Mar 19, 2010 at 8:20 AM, Anoop Kumar Narayanan anoop...@gmail.comwrote: I have recently installed FreeBSD8.0 on my 5 year old HP laptop with absolute 0 battery backup (behaviour same when batter removed). Installation works fine but when I try to boot into FreeBSD I get to the BTX loader

Re: VirtualBox from the command line

2010-03-19 Thread Ricardo Jesus
On 19/03/2010 03:45, Warren Block wrote: On Thu, 18 Mar 2010, Adam Vande More wrote: On Thu, Mar 18, 2010 at 7:44 PM, Aiza aiz...@comclark.com wrote: Does VirtualBox launch from the FBSD command line? Is there a package for it in the pkg system? # VirtualBox -h Sun VirtualBox Graphical

How to set LD_PATH elegant?

2010-03-19 Thread O. Hartmann
I'm a little bit new to setting library paths, so sorry for the noise. I install some packages and libraries apart the FreeBSD package/ports system and need to setup the search path for shared libraries the proper way. At this very moment I 'hardcode' this additional search path by setting

Re: How to set LD_PATH elegant?

2010-03-19 Thread Alejandro Imass
On Fri, Mar 19, 2010 at 10:40 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote: I'm a little bit new to setting library paths, so sorry for the noise. I install some packages and libraries apart the FreeBSD package/ports system and need to setup the search path for shared libraries the

Trouble Installing JKD15 On A Vanilla 8.0 Installation

2010-03-19 Thread Tom Purl
I wanted to create a small test system that could host SSH, Apache, and Jboss, so I decided to install the 8.0 version of FreeBSD on Virtualbox. Everything had gone very well until I tried to install the jdk15 port. Please note that I am very comfortable with Linux (I've been using it at home for

Re: tunefs -L issue

2010-03-19 Thread Steve Franks
Wait a second. What do I have to do, mount single user to find the darn things? They have completely disappeared, not even a 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought I was previously seeing that on shutdown, not startup, now neither) Even in single user mode, root is

Re: Trouble Installing JKD15 On A Vanilla 8.0 Installation

2010-03-19 Thread Warren Block
On Fri, 19 Mar 2010, Tom Purl wrote: I wanted to create a small test system that could host SSH, Apache, and Jboss, so I decided to install the 8.0 version of FreeBSD on Virtualbox. Everything had gone very well until I tried to install the jdk15 port. Please note that I am very comfortable

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Steve Polyack
On 03/19/10 09:23, Steve Polyack wrote: On 03/19/10 08:31, John Baldwin wrote: On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories which get mounted across a few machines

Re: VirtualBox from the command line

2010-03-19 Thread Warren Block
On Fri, 19 Mar 2010, Ricardo Jesus wrote: The problem with headless VirtualBox on FreeBSD is that the VRDP Connection is set to not active on VirtualBox OSE. AFAIK that makes it impossible to use headless VirtualBox on FreeBSD. There are patches to use VNC with the OSE version:

Elegant way to hack port source

2010-03-19 Thread Alejandro Imass
Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original project has not fixed for a while. I need to modify pnm.c in the work directory before compiling. What is an elegant way of doing this? If I make and then

Re: Elegant way to hack port source

2010-03-19 Thread Alberto Mijares
On Fri, Mar 19, 2010 at 12:05 PM, Alejandro Imass a...@p2ee.org wrote: Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original project has not fixed for a while. I need to modify pnm.c in the work directory

Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop

2010-03-19 Thread Anoop Kumar Narayanan
On Fri, Mar 19, 2010 at 7:49 PM, Richard DeLaurell richard.delaur...@gmail.com wrote: On Fri, Mar 19, 2010 at 8:20 AM, Anoop Kumar Narayanan anoop...@gmail.comwrote: I have recently installed FreeBSD8.0 on my 5 year old HP laptop with absolute 0 battery backup (behaviour same when batter

Re: tunefs -L issue

2010-03-19 Thread Roland Smith
On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: Wait a second. What do I have to do, mount single user to find the darn things? They have completely disappeared, not even a 'GEOM_LABEL: Label ufsid/482b3a7c20b36d8c removed' in dmesg! (thought I was previously seeing that on

Re: Elegant way to hack port source

2010-03-19 Thread Jason
You can do it this way in the ports system: http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html I handle all my patching for ports this way. -jgh On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass thus spake: Hi, I need to modify a file from a port before building.

Re: Elegant way to hack port source

2010-03-19 Thread Alejandro Imass
On Fri, Mar 19, 2010 at 12:44 PM, Alberto Mijares amijar...@gmail.com wrote: On Fri, Mar 19, 2010 at 12:05 PM, Alejandro Imass a...@p2ee.org wrote: Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original

Re: Elegant way to hack port source

2010-03-19 Thread Alejandro Imass
On Fri, Mar 19, 2010 at 12:56 PM, Jason jhelf...@e-e.com wrote: You can do it this way in the ports system: http://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html I handle all my patching for ports this way. Ok. I guess I'll stop my laziness and RT-W-FM! Thanks! Alejandro

Re: Elegant way to hack port source

2010-03-19 Thread Roland Smith
On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original project has not fixed for a while. I need to modify pnm.c in the work directory

Re: VirtualBox from the command line

2010-03-19 Thread Paul Schmehl
--On Friday, March 19, 2010 11:46:51 +0800 Aiza aiz...@comclark.com wrote: Why don't virtual box GUI start in vga mode? VirtualBox is in ports and installs as an application like Firefox. Here's a screenshot of it running on my workstation:

Re: Elegant way to hack port source

2010-03-19 Thread Alejandro Imass
On Fri, Mar 19, 2010 at 1:01 PM, Roland Smith rsm...@xs4all.nl wrote: On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: Hi, I need to modify a file from a port before building. Specifically, the [...] Add the patch to the files/ directory of the port. The patch should be

Re: VirtualBox from the command line

2010-03-19 Thread Paul Schmehl
--On Friday, March 19, 2010 08:44:48 +0800 Aiza aiz...@comclark.com wrote: Does VirtualBox launch from the FBSD command line? Is there a package for it in the pkg system? It's in ports. I don't know if there's a package for it, but I suspect there is, and it's probably older than the ports

Re: tunefs -L issue

2010-03-19 Thread Steve Franks
On Fri, Mar 19, 2010 at 9:57 AM, Roland Smith rsm...@xs4all.nl wrote: On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: Wait a second.  What do I have to do, mount single user to find the darn things?  They have completely disappeared, not even a 'GEOM_LABEL: Label

Re: tunefs -L issue

2010-03-19 Thread Roland Smith
On Fri, Mar 19, 2010 at 12:21:27PM -0700, Steve Franks wrote: On Fri, Mar 19, 2010 at 9:57 AM, Roland Smith rsm...@xs4all.nl wrote: On Fri, Mar 19, 2010 at 08:02:10AM -0700, Steve Franks wrote: Wait a second.  What do I have to do, mount single user to find the darn things?  They have

Debugging symbols in ports

2010-03-19 Thread Alejandro Imass
Hi, Is there an elegant way to enable debugging symbols in ports in general, or is this port-specific? I have read _many_ threads regarding this but I can't seem to find a definitive position on this. I would not like to resort to the original sources but work from the ports themselves. Thanks!

Re: Elegant way to hack port source

2010-03-19 Thread Charlie Kester
On Fri 19 Mar 2010 at 10:01:59 PDT Roland Smith wrote: On Fri, Mar 19, 2010 at 12:35:30PM -0400, Alejandro Imass wrote: Hi, I need to modify a file from a port before building. Specifically, the sane-backends pnm.c driver has a bug and the folks at the original project has not fixed for a

Re: Debugging symbols in ports

2010-03-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro Imass wrote: Hi, Is there an elegant way to enable debugging symbols in ports in general, or is this port-specific? I have read _many_ threads regarding this but I can't seem to find a definitive position on this. I would not like to

Re: Elegant way to hack port source

2010-03-19 Thread Randal L. Schwartz
Charlie == Charlie Kester corky1...@comcast.net writes: Charlie Whenever I modify a port like this, I usually make a copy of it under Charlie root's home directory and install it from there. That way, I can keep Charlie my copy of the portstree in complete synch with the official one, and

Re: Elegant way to hack port source

2010-03-19 Thread Paul Schmehl
--On Friday, March 19, 2010 13:01:30 -0700 Charlie Kester corky1...@comcast.net wrote: Whenever I modify a port like this, I usually make a copy of it under root's home directory and install it from there. That way, I can keep my copy of the portstree in complete synch with the official one,

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Steve Polyack
On 03/19/10 11:05, Steve Polyack wrote: On 03/19/10 09:23, Steve Polyack wrote: On 03/19/10 08:31, John Baldwin wrote: On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories

Re: Elegant way to hack port source

2010-03-19 Thread Charlie Kester
On Fri 19 Mar 2010 at 13:06:41 PDT Randal L. Schwartz wrote: Charlie == Charlie Kester corky1...@comcast.net writes: Charlie Whenever I modify a port like this, I usually make a copy of it under Charlie root's home directory and install it from there. That way, I can keep Charlie my copy of

Re: Elegant way to hack port source

2010-03-19 Thread Alejandro Imass
On Fri, Mar 19, 2010 at 4:18 PM, Paul Schmehl pschmehl_li...@tx.rr.com wrote: --On Friday, March 19, 2010 13:01:30 -0700 Charlie Kester corky1...@comcast.net wrote: Whenever I modify a port like this, I usually make a copy of it under root's home directory and install it from there.  That

Samba read speed performance tuning

2010-03-19 Thread Dan Naumov
On a FreeBSD 8.0-RELEASE/amd64 system with a Supermicro X7SPA-H board using an Intel gigabit nic with the em driver, running on top of a ZFS mirror, I was seeing a strange issue. Local reads and writes to the pool easily saturate the disks with roughly 75mb/s throughput, which is roughly the best

Re: Elegant way to hack port source

2010-03-19 Thread Paul Schmehl
--On Friday, March 19, 2010 17:04:17 -0400 Alejandro Imass a...@p2ee.org wrote: To the O.P.: How about submiting the patch to the community so it can be added by the port maintainer?  If it actually fixes a bug in the software you can't be the only one would benefit from the patch. That

Re: Elegant way to hack port source

2010-03-19 Thread Charlie Kester
On Fri 19 Mar 2010 at 14:34:23 PDT Paul Schmehl wrote: --On Friday, March 19, 2010 17:04:17 -0400 Alejandro Imass a...@p2ee.org wrote: To the O.P.: How about submiting the patch to the community so it can be added by the port maintainer?  If it actually fixes a bug in the software you can't

Re: How to set LD_PATH elegant?

2010-03-19 Thread Dan Nelson
In the last episode (Mar 19), O. Hartmann said: I'm a little bit new to setting library paths, so sorry for the noise. I install some packages and libraries apart the FreeBSD package/ports system and need to setup the search path for shared libraries the proper way. At this very moment I

Re: Elegant way to hack port source

2010-03-19 Thread Paul Schmehl
--On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester corky1...@comcast.net wrote: Again, no need for the separate 'make extract' step. In fact, I'd go straight to 'make build' or 'make install' here, and skip the separate 'make patch' too. Thanks, Charles. You taught me something

Re: Elegant way to hack port source

2010-03-19 Thread Charlie Kester
On Fri 19 Mar 2010 at 15:07:44 PDT Paul Schmehl wrote: --On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester corky1...@comcast.net wrote: Again, no need for the separate 'make extract' step. In fact, I'd go straight to 'make build' or 'make install' here, and skip the separate 'make patch'

Re: FreeBSD 8.0 Booting Problem on ZV5320US Laptop

2010-03-19 Thread Richard DeLaurell
Are you able to get to the FreeBSD splash screen (where you get a countdown to startup with a menu of 6 selections)? One of the choices there is boot w/o ACPI; you could try that if you get that far. Good luck-- Richard On Fri, Mar 19, 2010 at 11:55 AM, Anoop Kumar Narayanan

How to send a patch in a proper way?

2010-03-19 Thread Adam PAPAI
Hi, As of today I'll try to help and create bugfix patches for usr/src and usr/ports. I've already done 2 patches and posted it to the -current list but don't really know what is the best way to post the patches. Who will check them? who will make the decision to use them? How should I send

Re: Elegant way to hack port source

2010-03-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charlie Kester wrote: On Fri 19 Mar 2010 at 15:07:44 PDT Paul Schmehl wrote: --On Friday, March 19, 2010 15:01:27 -0700 Charlie Kester corky1...@comcast.net wrote: Again, no need for the separate 'make extract' step. In fact, I'd go straight to

Re: How to send a patch in a proper way?

2010-03-19 Thread Charlie Kester
On Fri 19 Mar 2010 at 15:20:49 PDT Adam PAPAI wrote: Hi, As of today I'll try to help and create bugfix patches for usr/src and usr/ports. I've already done 2 patches and posted it to the -current list but don't really know what is the best way to post the patches. Who will check them? who

Re: Elegant way to hack port source

2010-03-19 Thread Charlie Kester
On Fri 19 Mar 2010 at 16:02:45 PDT Greg Larkin wrote: The makepatch target recurses through the work/foobar directory and creates diffs for all file.ext/file.ext.orig pairs. It writes them to the files/ directory with the patch- prefix on each so the patch target processes them. Now it's my

shell script to cap first letter?

2010-03-19 Thread Gary Kline
guys, i'm wondering if there is a script that i could run my plaintext files thru that would capitalize thef first letter of each sentence [[ assuming the character wasn't already a cap!]] more and more, in recent years, i have posted questions or written things that have been sloppily or

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Rick Macklem
On Fri, 19 Mar 2010, John Baldwin wrote: On Friday 19 March 2010 7:34:23 am Steve Polyack wrote: Hi, we use a FreeBSD 8-STABLE (from shortly after release) system as an NFS server to provide user home directories which get mounted across a few machines (all 6.3-RELEASE). For the past few

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Rick Macklem
On Fri, 19 Mar 2010, Steve Polyack wrote: To anyone who is interested: I did some poking around with DTrace, which led me to the nfsiod client code. In src/sys/nfsclient/nfs_nfsiod.c: } else { if (bp-b_iocmd == BIO_READ) (void) nfs_doio(bp-b_vp, bp,

Re: Samba read speed performance tuning

2010-03-19 Thread Dan Naumov
On Fri, Mar 19, 2010 at 11:14 PM, Dan Naumov dan.nau...@gmail.com wrote: On a FreeBSD 8.0-RELEASE/amd64 system with a Supermicro X7SPA-H board using an Intel gigabit nic with the em driver, running on top of a ZFS mirror, I was seeing a strange issue. Local reads and writes to the pool easily

Re: Samba read speed performance tuning

2010-03-19 Thread Gary Gatten
It MAY make a big diff, but make sure during your tests you use unique files or flush the cache or you'll me testing cache speed and not disk speed. - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-...@freebsd.org

Re: Samba read speed performance tuning

2010-03-19 Thread Adam Vande More
On Fri, Mar 19, 2010 at 8:28 PM, Dan Naumov dan.nau...@gmail.com wrote: Oh my god... Why did noone tell me how much of an enormous performance boost vfs.zfs.prefetch_disable=0 (aka actually enabling prefetch) is. My local reads off the mirror pool jumped from 75mb/s to 96mb/s (ie. they are

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Steve Polyack
On 3/19/2010 9:32 PM, Rick Macklem wrote: On Fri, 19 Mar 2010, Steve Polyack wrote: To anyone who is interested: I did some poking around with DTrace, which led me to the nfsiod client code. In src/sys/nfsclient/nfs_nfsiod.c: } else { if (bp-b_iocmd == BIO_READ)

Re: FreeBSD NFS client goes into infinite retry loop

2010-03-19 Thread Rick Macklem
On Fri, 19 Mar 2010, Steve Polyack wrote: [good stuff snipped] This makes sense. According to wireshark, the server is indeed transmitting Status: NFS3ERR_IO (5). Perhaps this should be STALE instead; it sounds more correct than marking it a general IO error. Also, the NFS server is