Re: NFS client/buffer cache deadlock

2005-04-19 Thread Marc Olzheim
On Mon, Apr 18, 2005 at 10:33:21PM +0200, Marc Olzheim wrote: On Mon, Apr 18, 2005 at 04:22:13PM -0400, Brian Fundakowski Feldman wrote: http://green.homeunix.org/~green/nfs_client.deadlock.patch Hmm, could you change it into a diff -u ? I replaced the patch with one with -u for you.

virtual swich

2005-04-19 Thread Donatas
hello, are there any solutions for emulating a network switch between network interfaces under FreeBSD 5.3? i cannot use ng_hub because it does not filter packets by their mac addresses... the purpose is switching between ngeth0,ngeth1 and em0. any ideas are welcome Donatas G.

Re: NFS client/buffer cache deadlock

2005-04-19 Thread Brian Fundakowski Feldman
On Tue, Apr 19, 2005 at 03:32:27PM +0200, Marc Olzheim wrote: On Mon, Apr 18, 2005 at 10:33:21PM +0200, Marc Olzheim wrote: On Mon, Apr 18, 2005 at 04:22:13PM -0400, Brian Fundakowski Feldman wrote: http://green.homeunix.org/~green/nfs_client.deadlock.patch Hmm, could you change it

Re: virtual swich

2005-04-19 Thread Eric Anderson
Donatas wrote: hello, are there any solutions for emulating a network switch between network interfaces under FreeBSD 5.3? i cannot use ng_hub because it does not filter packets by their mac addresses... the purpose is switching between ngeth0,ngeth1 and em0. any ideas are welcome Is this what

Re: virtual swich

2005-04-19 Thread Adam Maloney
On Tue, 19 Apr 2005, Eric Anderson wrote: Donatas wrote: hello, are there any solutions for emulating a network switch between network interfaces under FreeBSD 5.3? i cannot use ng_hub because it does not filter packets by their mac addresses... the purpose is switching between ngeth0,ngeth1 and

Re: NFS client/buffer cache deadlock

2005-04-19 Thread Marc Olzheim
On Tue, Apr 19, 2005 at 11:18:00AM -0400, Brian Fundakowski Feldman wrote: Does this work for you? ... cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I.

Re: NFS client/buffer cache deadlock

2005-04-19 Thread Marc Olzheim
On Tue, Apr 19, 2005 at 06:02:58PM +0200, Marc Olzheim wrote: On Tue, Apr 19, 2005 at 11:18:00AM -0400, Brian Fundakowski Feldman wrote: Does this work for you? ... cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith

Re: NFS client/buffer cache deadlock

2005-04-19 Thread Brian Fundakowski Feldman
On Tue, Apr 19, 2005 at 06:09:00PM +0200, Marc Olzheim wrote: On Tue, Apr 19, 2005 at 06:02:58PM +0200, Marc Olzheim wrote: On Tue, Apr 19, 2005 at 11:18:00AM -0400, Brian Fundakowski Feldman wrote: Does this work for you? ... cc -c -O -pipe -Wall -Wredundant-decls

PXEBOOT/TFTPBOOT + big MD_ROOT problem

2005-04-19 Thread Emmanuel Chriqui
Hi, I'm trying to make very big MD_ROOT (300MB) sent using PXEBOOT+TFTPBOOT. No NFS. It's a sort of diskless machine with all the system on ram. When image is small ( = 45M ) everything boots ok. But if greater, then the kernel does not find the /sbin/init and then reboots over and over, as if

Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem

2005-04-19 Thread Marc Olzheim
On Tue, Apr 19, 2005 at 09:52:07AM +0200, Emmanuel Chriqui wrote: Hi, I'm trying to make very big MD_ROOT (300MB) sent using PXEBOOT+TFTPBOOT. No NFS. Any reasons for not using NFS ? I use i386/5.4RC2/TFTPD/PXEBOOT+TFTPBOOT . (same pb with a 5.3). Am I missing something obvious?

RE: PXEBOOT/TFTPBOOT + big MD_ROOT problem

2005-04-19 Thread Emmanuel Chriqui
-Message d'origine- De : [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] De la part de Marc Olzheim Envoyé : mardi 19 avril 2005 21:06 À : Emmanuel Chriqui Cc : freebsd-hackers@freebsd.org; freebsd-stable@freebsd.org Objet : Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem

Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem

2005-04-19 Thread Marc Olzheim
On Tue, Apr 19, 2005 at 09:31:10PM +0200, Emmanuel Chriqui wrote: This is roughly how it works under our linux servers, webservers, etc... I was hoping to avoid that approach (less work.. less maintenance..). Am I the only one on earth to need a big MFSROOT ??? :) Hmm, I guess so. :-P

RE: PXEBOOT/TFTPBOOT + big MD_ROOT problem

2005-04-19 Thread Emmanuel Chriqui
Objet : Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem On Tue, Apr 19, 2005 at 09:31:10PM +0200, Emmanuel Chriqui wrote: This is roughly how it works under our linux servers, webservers, etc... I was hoping to avoid that approach (less work.. less maintenance..). Am I the only one on

RE: PXEBOOT/TFTPBOOT + big MD_ROOT problem

2005-04-19 Thread Emmanuel Chriqui
Objet : Re: PXEBOOT/TFTPBOOT + big MD_ROOT problem Marc Olzheim wrote: On Tue, Apr 19, 2005 at 09:52:07AM +0200, Emmanuel Chriqui wrote: Hi, I'm trying to make very big MD_ROOT (300MB) sent using PXEBOOT+TFTPBOOT. No NFS. Any reasons for not using NFS ? I use

Re: NFS client/buffer cache deadlock

2005-04-19 Thread Brian Fundakowski Feldman
On Tue, Apr 19, 2005 at 12:16:16PM -0400, Brian Fundakowski Feldman wrote: On Tue, Apr 19, 2005 at 06:09:00PM +0200, Marc Olzheim wrote: On Tue, Apr 19, 2005 at 06:02:58PM +0200, Marc Olzheim wrote: On Tue, Apr 19, 2005 at 11:18:00AM -0400, Brian Fundakowski Feldman wrote: Does this work

Re: linux call_usermodehelper equivalent in freebsd?

2005-04-19 Thread James Thomason
Is there an equivalent in FreeBSD to the Linux kernel function 'call_usermodehelper' which wraps execve to do as its name suggests, call a user mode helper program? Andrew, It depends on what your user mode helper program is intended to do, but the traditional approach is to create a user