ramdisk creation

2009-06-12 Thread Zbigniew Szalbot
Hello, I would like to speed up amavisd operation by allowing it to use ramdisk, so I thought I would follow the advice given here: http://www.stahl.bau.tu-bs.de/~hildeb/postfix/amavisd_tmpfs.shtml However, I just want to make sure I get the procedure right. In my case, the temp folder is

python2.5-2.6 and mailman(python2.5)

2009-06-12 Thread Pieter Donche
I followed the /usr/ports/UPGRADING recommendations for upgrading from python 2.5 to python 2.6 # portupgrade -o lang/python26 lang/python25 and then # cd /usr/ports/lang/python make upgrade-site-packages /usr/local/bin/python2.5 is now completely replaced by /usr/local/bin/python2.6 but my

`gpart show` and secondary GPT header

2009-06-12 Thread Alexander Best
i have a question about gpart. when id do `gpart show ad0` i get the following output: = 34 488394988 ad0 GPT (233G) 34 209714861 freebsd-swap (10G) 20971520 4674235022 freebsd-ufs (223G) which is just what i want. however i'm a bit curious about the GPT

Re: Problem with burncd

2009-06-12 Thread Alexander Best
the burncd: ioctl(CDRIOCFIXATE); Input/output error. is being caused by a bug in ata-queue.c. the fix is in HEAD. here's the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=95979 with a patch. cheers. ___ freebsd-questions@freebsd.org mailing list

Re: Compiling in sound driver in kernel

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC

Re: FreeBSD as a router

2009-06-12 Thread Sean Cavanaugh
I prefer pfSense. it started as a fork of M0n0wall and has since incorporated a LOT more features. it uses pf as its filter base and is fully expandable using plugins -- From: Derrick Ryalls ryal...@gmail.com Sent: Thursday, June 11, 2009 10:33

Re: python2.5-2.6 and mailman(python2.5)

2009-06-12 Thread Lowell Gilbert
Pieter Donche pieter.don...@ua.ac.be writes: I followed the /usr/ports/UPGRADING recommendations for upgrading from python 2.5 to python 2.6 # portupgrade -o lang/python26 lang/python25 and then # cd /usr/ports/lang/python make upgrade-site-packages /usr/local/bin/python2.5 is now

Re: python2.5-2.6 and mailman(python2.5)

2009-06-12 Thread Lowell Gilbert
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org writes: I just shut mailman down and did a full rebuild of it (portupgrade -f mailman). and submitted a PR to add it to the upgrade-site-packages target. -- Lowell Gilbert, embedded/networking software engineer, Boston area

Re: ramdisk creation

2009-06-12 Thread Wojciech Puchar
So (1) I need to create an entry in /etc/fstab md /var/amavisd/tmp mfs rw,-s512m 2 0 If you have FreeBSD 7.* use tmpfs filesystem tmpfs /var/amavisd/tmp tmpfs rw,size=536870912 0 0 It's filesystem designed for this. Works well. ___

Re: Compiling in sound driver in kernel

2009-06-12 Thread Jonathan McKeown
On Friday 12 June 2009 12:54:19 Polytropon wrote: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC

XFCE4 and screen resolution

2009-06-12 Thread Carmel
I just installed XFCE4 on a fresh FreeBSD-7.2 installation. It works fine except that I cannot get the screen resolution to stay set after I exit the program. The default is: 1792x1144 @ 60 I set it to: 1024x768 @ 85 Everything works fine until I shutdown the program. When I restart it, it

Re: XFCE4 and screen resolution

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@hotmail.com wrote: I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file; however, that did not work either. Maybe your .xinitrc isn't executed? In mine, I have xrandr --fb 1400x1050

Re: Compiling in sound driver in kernel

2009-06-12 Thread Wojciech Puchar
# cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make buildkernel KERNCONF=MYKERNEL #

Re: Compiling in sound driver in kernel

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 14:43:46 +0200 (CEST), Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: why not: edit MYKERNEL config MYKERNEL cd ../compile/MYKERNEL make depend make make install ? Yes, why not? It still works. -- Polytropon From Magdeburg, Germany Happy FreeBSD user

Re: ramdisk creation

2009-06-12 Thread Zbigniew Szalbot
Wojciech Puchar pisze: So (1) I need to create an entry in /etc/fstab md /var/amavisd/tmp mfs rw,-s512m 2 0 If you have FreeBSD 7.* use tmpfs filesystem tmpfs /var/amavisd/tmp tmpfs rw,size=536870912 0 0 It's filesystem designed for this. Works well. Thanks Wojtek - I appreciate it. I do

FreeBSD 7.2 Installation Manual

2009-06-12 Thread Nick
In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any information or

Re: XFCE4 and screen resolution

2009-06-12 Thread Carmel
On Fri, 12 Jun 2009 14:40:49 +0200 Polytropon free...@edvax.de wrote: On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@hotmail.com wrote: I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file; however, that did not work either. Maybe your .xinitrc

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Glen Barber
Hi, Nick On Fri, Jun 12, 2009 at 9:09 AM, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the

Re: Authenticating users via openldap on 7.2

2009-06-12 Thread Sylvio César Teixeira Amorim
Hi, http://www.opennet.ru/base/net/samba_pdc_freebsd.txt.html 2009/6/11 Dave dave.meh...@gmail.com Hello, I had user authentication going about a year and some months back on a 6.2 box. Unfortunately that box is no longer under my control. I'm trying to duplicate what was done

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 15:09:04 +0200, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual

Re: Automagic revision numbers with Perl Modules and SVN

2009-06-12 Thread Steve Bertrand
Steve Bertrand wrote: Hey all, I've been migrating all of my projects from CVS to SVN (starting over from the beginning). All of the projects in question are Perl modules. [..snip..] Any guidance to fix the version numbering (especially to fix the FreeBSD package db) to make it

zfs error ?

2009-06-12 Thread n ramrani
Hi, I have FreeBSD 7.0-RELEASE-p4. I do this: portsnap fetch portsnap update /usr/sbin/freebsd-update fetch /usr/sbin/freebsd-update install After a reboot of my server I have: kmem-suballoc : bad status return of 3 panic: kmeme_suballoc cpuid=0 * On the prompt,i try show vm.kmem_size 1024

New openoffice 3.2 devel package available

2009-06-12 Thread Sergio de Almeida Lenzi
Hello,, I post a package (pkg_add ) of the openoffice 3.2 devel m50, for the FreeBSD AMD64. it is distributed in torrent at: http://dist.k1.com.br/pt_BR-openoffice-3.2-m50-FreeBSD.torrent This one have the patch for the dictionaries and extensions that now, works. this is for the

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Bill Moran
In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Neal Hogan
On Fri, Jun 12, 2009 at 8:09 AM, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Warren Block
On Fri, 12 Jun 2009, Glen Barber wrote: On Fri, Jun 12, 2009 at 9:09 AM, n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Glen Barber
On Fri, Jun 12, 2009 at 9:35 AM, Bill Moranwmo...@potentialtech.com wrote: In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at

Re: USB flash disc

2009-06-12 Thread Andrew Hamilton-Wright
Bernt Hansson wrote: I've got an usb flash disc kingston datatraveler DT150 64GB. That I put pcbsd on to try, and now I can't seem to get it of the stick. [ deletia ] Errors when trying fdisk: fdisk -BI /dev/da0 *** Working on device /dev/da0 *** fdisk: invalid fdisk partition

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Manolis Kiagias
n...@pettefar.com wrote: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server has been configured and a Default Desktop chosen, it can be started by typing startx at the command line. but nowhere in the manual or the installation program is there any

Re: XFCE4 and screen resolution

2009-06-12 Thread Mel Flynn
On Friday 12 June 2009 05:42:52 Carmel wrote: On Fri, 12 Jun 2009 14:40:49 +0200 Polytropon free...@edvax.de wrote: On Fri, 12 Jun 2009 08:27:54 -0400, Carmel carmel...@hotmail.com wrote: I tried a trick I found while Googling to place 'xrandr - 1024x768 -r 85' in the '.xinitrc' file;

Re: XFCE4 and screen resolution

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 09:42:52 -0400, Carmel carmel...@hotmail.com wrote: Evidently, it is not being executed by startxfce4. If I run the command once XFCE4 is started, it works. Of course. ..-) What is startxfce4? Do you call it from text mode? Or is it a command in .xinitrc or .xsession?

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 08:02:38 -0600 (MDT), Warren Block wbl...@wonkity.com wrote: Unless you're starting X with one of the methods that ignores .xinitrc and looks at .xsession instead, like xdm. Exactly this is why I invented the .xinitrc + .xsession double strike. :-) It works perfectly with

Re: py25-tkinter-2.5.4_3 / 2.6.2_3

2009-06-12 Thread Mel Flynn
On Thursday 11 June 2009 21:33:14 Pieter Donche wrote: On Thu, 11 Jun 2009, Mel Flynn wrote: On Wednesday 10 June 2009 23:21:58 Pieter Donche wrote: portupgrade advertizes since 3 days: ... py25-tkinter-2.5.4_3 needs updating (index has 2.6.2_3) using portupgrade

Re: Compiling in sound driver in kernel

2009-06-12 Thread Bernt Hansson
Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC

Re: Compiling in sound driver in kernel

2009-06-12 Thread Mel Flynn
On Friday 12 June 2009 04:43:46 Wojciech Puchar wrote: # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make

Re: USB flash disc

2009-06-12 Thread Bernt Hansson
Andrew Hamilton-Wright said the following on 2009-06-12 15:43: Bernt Hansson wrote: I've got an usb flash disc kingston datatraveler DT150 64GB. That I put pcbsd on to try, and now I can't seem to get it of the stick. [ deletia ] Errors when trying fdisk: fdisk -BI /dev/da0 ***

`sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o

2009-06-12 Thread Neil Short
I'm taking a crack at the port win4bsd. The port informs me that I need to add options SCHED_4BSD to my kernel. When I do and attempt buildkernel I get errors in the build. Any quick answers? I'm going to re-run it and try to get more details on the errors. Just thought there might be some pat

Re: Compiling in sound driver in kernel

2009-06-12 Thread Rolf G Nielsen
Bernt Hansson wrote: Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009

Re: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o

2009-06-12 Thread Mel Flynn
On Friday 12 June 2009 06:44:50 Neil Short wrote: I'm taking a crack at the port win4bsd. The port informs me that I need to add options SCHED_4BSD to my kernel. It's an either/or thing. Remove SCHED_ULE. -- Mel ___ freebsd-questions@freebsd.org

ld: Warning: size of symbol `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o

2009-06-12 Thread Neil Short
Here's more detail with context on my attempt to include options SCHED_4BSD in my kernel. Any ideas? MAKE=make sh /usr/src/sys/conf/newvers.sh CARMEN cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes

another cross-gcc question (can't compute suffix of object files)

2009-06-12 Thread Steve Franks
Sorry to be such a pest, I'm trying to go from being a good hardware programmer to a good OS programmer, but there's alot to pick up to be FreeBSD proficient... Can't seem to do a vanilla cross-gcc on my home system, which works fine on my work machine, both of them are recent 7.2 installs... I

Re: ld: Warning: size of symbol `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o

2009-06-12 Thread Paul B. Mahol
On 6/12/09, Neil Short nesh...@yahoo.com wrote: Here's more detail with context on my attempt to include options SCHED_4BSD in my kernel. Any ideas? You can't have two schedulers at same time in same kernel. -- Paul ___

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Nick
Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been configured and a Default Desktop chosen, it can be started by

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Manolis Kiagias
n...@pettefar.com wrote: Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been configured and a Default Desktop chosen,

Re: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o

2009-06-12 Thread Neil Short
--- On Fri, 6/12/09, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: From: Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net Subject: Re: `sched_clock' changed from 144 in sched_4bsd.o to 258 in sched_ule.o To: freebsd-questions@freebsd.org Cc: Neil Short

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Paul Schmehl
--On Friday, June 12, 2009 09:04:50 -0500 Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Jun 12, 2009 at 9:35 AM, Bill Moranwmo...@potentialtech.com wrote: In response to n...@pettefar.com: In www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html It says: If the X server

Re: FreeBSD 7.2 Installation Manual

2009-06-12 Thread Paul Schmehl
--On Friday, June 12, 2009 12:12:36 -0500 n...@pettefar.com wrote: Nowhere up to that point in the Installation chapter and process (I didn't need to have said) did it mention X. What is the point of having a step-by-step installation manual which then concludes with If the X server has been

Scripts to monitor host availability

2009-06-12 Thread Karl Vogel
If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ -- Karl Vogel I don't speak for the USAF or my company If you can't be kind, at least have the decency to be vague.--unknown

Re: Scripts to monitor host availability

2009-06-12 Thread Glen Barber
Karl, On Fri, Jun 12, 2009 at 3:07 PM, Karl Vogelvogelke+u...@pobox.com wrote: If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ Very cool. I'll take a look at it later, as I am going to be setting up a Nagios solution

Program update(s)

2009-06-12 Thread Jos Chrispijn
Can someone tell me why I have to recompile all related programs when I upgrade to a newer version of Perl? How easy it would be that all these 'to be recompiled' programs only were linked to just Perl instead of Perl.x.x.x. Or is that a complete wrong way of approach? Jos Chrispijn

Is Zyd driver broken?

2009-06-12 Thread Sdävtaker
Im having problems with a usb wifi card. Once every 1 hour i need to unplug it and replug :-( The card is: port 5 addr 2: high speed, power 500 mA, config 1, USB2.0 WLAN(0x1211), ZyDAS(0x0ace), rev 48.10 Connected to: addr 1: high speed, self powered, config 1, EHCI root hub(0x),

cups 1.3.10 problem?

2009-06-12 Thread B. Cook
installed cups 1.3.9 on a machine a while back and successfully sharing a dozen or so jetdirects via samba. as part of regular updates I updated to 1.3.10 (no visible problems) until I tried to access the web interface. https://servername:631 I [12/Jun/2009:15:35:03 -0400] Listening to

RE: Program update(s)

2009-06-12 Thread Gary Gatten
LOL - If you get a good answer to this that would be great! Talk about a giant PITA, I feel your pain!!! -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jos Chrispijn Sent: Friday, June 12, 2009 2:48 PM To: FreeBSD

top shows that multithreaded program uses 19623.14% CPU

2009-06-12 Thread Yuri
I ran then program with 1500 threads and in top it looked the this: PID USERNAMETHR PRI NICE SIZERES STATE C TIMECPU COMMAND 20382 yuri 1500 990 641M 462M umtxn 0 0:00 19623.14% quicksort skipped further Where can I read how CPU column is calculated?

Re: Program update(s)

2009-06-12 Thread RW
On Fri, 12 Jun 2009 21:47:39 +0200 Jos Chrispijn j...@webrz.net wrote: Can someone tell me why I have to recompile all related programs when I upgrade to a newer version of Perl? For the most part you don't, you can just run perl-after-upgrade. If you are referring to the switch from

Re: reference for beginner on configure/make/compile/linking/etc.

2009-06-12 Thread Giorgos Keramidas
On Thu, 11 Jun 2009 17:09:43 -0500, Gary Gatten ggat...@waddell.com wrote: As you may recall from a recent post I've been trying to get nTop compiled and working on Solaris 10 x86. After 40 - 60 hours (I loose track) I *THINK* it's actually working for the most part. Before certain people

Re: reference for beginner on configure/make/compile/linking/etc.

2009-06-12 Thread Gary Gatten
EXCELLENT answer When I have a couple hundred hours of free time I'm gonna REALLY dig into this stuff! - Original Message - From: Giorgos Keramidas keram...@ceid.upatras.gr To: Gary Gatten Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Fri Jun 12 20:48:29 2009

(no subject)

2009-06-12 Thread Fred Terp
This is a dumb Question which I should know the answer to. I can get gdm to recogize my logins but xdm and wdm wont accept my username/password entrys what am I forgetting? Frederick D. Terp 14985 Rivers Edge Court #135 Fort Myers, Florida 33908-7920 Phone: (239) 822-5439 Email: