Using ZFS swap hangs my machine :(.

2009-03-02 Thread Josef Karthauser
Is anyone successfully using ZFS swap under 7.1? I've created a VZOL for my swap partition, and can read and write to it ok using 'dd', but whenever the kernel uses it the machine hangs solid. :/. Is this a known problem, or do I have some local weirdness going on? Joe brahe#

Re: devd question

2009-03-02 Thread Andriy Gapon
on 28/02/2009 16:34 Kostik Belousov said the following: On Sat, Feb 28, 2009 at 02:13:10PM +0100, Michael Sperber wrote: I'm trying to make devd run an stty command whenever a USB serial device is attached. Unfortunately, $device-name is ucom[0-9] and the device names are /dev/cuaU[0-9] - how

Re: 7.1 new install halts on BTX error

2009-03-02 Thread John Baldwin
On Wednesday 28 January 2009 10:13:46 pm David Adam wrote: I upgraded my 7.0 system to 7.1-RELEASE with freebsd-update only to find that it no longer boots correctly, instead crashing with a BTX backtrace. If I break to the loader prompt and use 'ls /boot', I also get a backtrace. A new

Re: devd question

2009-03-02 Thread Roland Smith
On Mon, Mar 02, 2009 at 03:23:46PM +0200, Andriy Gapon wrote: on 28/02/2009 16:34 Kostik Belousov said the following: On Sat, Feb 28, 2009 at 02:13:10PM +0100, Michael Sperber wrote: I'm trying to make devd run an stty command whenever a USB serial device is attached. Unfortunately,

Re: devd question

2009-03-02 Thread Kostik Belousov
On Mon, Mar 02, 2009 at 07:28:39PM +0100, Roland Smith wrote: On Mon, Mar 02, 2009 at 03:23:46PM +0200, Andriy Gapon wrote: on 28/02/2009 16:34 Kostik Belousov said the following: On Sat, Feb 28, 2009 at 02:13:10PM +0100, Michael Sperber wrote: I'm trying to make devd run an stty command

Re: restart a script in etc/rc.d

2009-03-02 Thread Oliver Lehmann
Hi Doug, Doug Barton wrote: Also, the assignment of pidfile should really come after the defaults are set. If you do all that and it still doesn't work, send a diff of your two rc.d scripts to the list. PROVIDE is in both cases utility (probably a generic unchanged default) - I've

Re: restart a script in etc/rc.d

2009-03-02 Thread Doug Barton
On Mon, 2 Mar 2009, Oliver Lehmann wrote: Hi, I've below etc/rc.d bacula-fd and I copied it to bacula-fd2 because I need to run 2 file daemons. I'Ve modified every variable for the 2nd start script to be independent from the first one. It works so far but when I issue etc/rc.d/bacula-fd

Re: restart a script in etc/rc.d

2009-03-02 Thread Doug Barton
Oliver Lehmann wrote: Hi Doug, Doug Barton wrote: Also, the assignment of pidfile should really come after the defaults are set. If you do all that and it still doesn't work, send a diff of your two rc.d scripts to the list. PROVIDE is in both cases utility (probably a generic

Re: devd question

2009-03-02 Thread Roland Smith
On Mon, Mar 02, 2009 at 08:48:53PM +0200, Kostik Belousov wrote: snip This system is missing from the devd.conf manual page, nor is DEVFS mentioned in /usr/share/examples/etc/devd.conf. Is it documented somewhere else? No, it is not documented anywhere. Feel free to send me the

Re: restart a script in etc/rc.d

2009-03-02 Thread Oliver Lehmann
Doug Barton writes: You missed the bit where I said that this should come after the assignment of the defaults below. Ok, but... Have you confirmed that the two pid files exist, and that they contain the right information? Yes they both exists (probably because I define the variable in

Re: restart a script in etc/rc.d

2009-03-02 Thread Doug Barton
Oliver Lehmann wrote: Doug Barton writes: You missed the bit where I said that this should come after the assignment of the defaults below. Ok, but... Have you confirmed that the two pid files exist, and that they contain the right information? Yes they both exists (probably because I

Re: restart a script in etc/rc.d

2009-03-02 Thread Glen Barber
On Mon, Mar 2, 2009 at 4:10 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Mon, Mar 2, 2009 at 2:25 PM, Oliver Lehmann lehm...@ans-netz.de wrote: Hi Doug, Doug Barton wrote: Also, the assignment of pidfile should really come after the defaults are set. If you do all that and it still

Re: restart a script in etc/rc.d

2009-03-02 Thread Glen Barber
On Mon, Mar 2, 2009 at 2:25 PM, Oliver Lehmann lehm...@ans-netz.de wrote: Hi Doug, Doug Barton wrote: Also, the assignment of pidfile should really come after the defaults are set. If you do all that and it still doesn't work, send a diff of your two rc.d scripts to the list. PROVIDE is

Re: restart a script in etc/rc.d

2009-03-02 Thread Artis Caune
2009/3/2 Artis Caune artis.ca...@gmail.com: 2009/3/2 Oliver Lehmann lehm...@ans-netz.de: r...@nudel rc.d grep bacula_fd /etc/rc.conf bacula_fd_enable=YES bacula_fd2_enable=YES bacula_fd2_flags= -u root -g wheel -v -c /usr/local/etc/bacula-fd2.conf

Re: restart a script in etc/rc.d

2009-03-02 Thread Doug Barton
Artis Caune wrote: 2009/3/2 Artis Caune artis.ca...@gmail.com: 2009/3/2 Oliver Lehmann lehm...@ans-netz.de: r...@nudel rc.d grep bacula_fd /etc/rc.conf bacula_fd_enable=YES bacula_fd2_enable=YES bacula_fd2_flags= -u root -g wheel -v -c /usr/local/etc/bacula-fd2.conf

Re: restart a script in etc/rc.d

2009-03-02 Thread Artis Caune
2009/3/2 Oliver Lehmann lehm...@ans-netz.de: r...@nudel rc.d grep bacula_fd /etc/rc.conf bacula_fd_enable=YES bacula_fd2_enable=YES bacula_fd2_flags= -u root -g wheel -v -c /usr/local/etc/bacula-fd2.conf bacula_fd2_pidfile=/var/run/bacula-fd.9104.pid can you try with:

IPC Sys5 for amd64?

2009-03-02 Thread nicolas
Hi all, I'm trying to install a PostgreSQL db on FreeBSD 7.1-RELEASE amd64. It's seems I can't allocate a shared memory segment more than 2GB. I tune sysctl ipc.shm* values but without effects. IPC Sys5 isn't 64bit-aware or the problem is elsewhere? Regards, -- Nicolas Haller

Re: IPC Sys5 for amd64?

2009-03-02 Thread Max Laier
On Monday 02 March 2009 23:07:30 nico...@boiteameuh.org wrote: Hi all, I'm trying to install a PostgreSQL db on FreeBSD 7.1-RELEASE amd64. It's seems I can't allocate a shared memory segment more than 2GB. I tune sysctl ipc.shm* values but without effects. IPC Sys5 isn't 64bit-aware or the

Re: gmirror does not initialize properally

2009-03-02 Thread Aryeh M. Friedman
Andrew Snow wrote: Sorry, I meant label -h instead of just plain label... was getting confused with gstripe. No matter what I attempt to do with the source drive (ad8) I get oprtation not permitted... it lets me install the slave drive (ad14) just fine: flosoft# gmirror label -h -vb

Re: gmirror does not initialize properally

2009-03-02 Thread Holger Kipp
On Mon, Mar 02, 2009 at 07:18:07PM -0500, Aryeh M. Friedman wrote: Andrew Snow wrote: Sorry, I meant label -h instead of just plain label... was getting confused with gstripe. No matter what I attempt to do with the source drive (ad8) I get oprtation not permitted... it lets me install

Re: restart a script in etc/rc.d

2009-03-02 Thread Oliver Lehmann
Doug Barton wrote: Artis Caune wrote: There is logic error in bacula rc.d script. It should first set default variables and only then use them. pidfile=${bacula_fd_pidfile} : ${bacula_fd_pidfile=/var/run/bacula-fd.9102.pid} If you don't set pidfile in rc.conf, pidfile is so