Re: accessing NetBSD filesystem
+-Le 17/12/2005 18:10 +0100, Hanspeter Roth a dit : | On Dec 17 at 14:42, [EMAIL PROTECTED] spoke: | | On Sat, Dec 17, 2005 at 01:20:06PM +0100, Hanspeter Roth wrote: | | is it possible to access Fast Filesystems from a NetBSD installation | on the same disk? | | As long as they have the same Endianess, yes. You might get some | warnings about the disklabel, otherwise it should be fine. | | How can one activate the Fast Filesystem support? Is there a kernel | module to load? Shouldn't the respective entries /dev/ad0s4* appear | provided the NetBSD installation is in /dev/ad0s4? FFS == UFS. -- Mathieu Arnold ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: anoncvs.freebsd.org broken?
+-le 10/09/2005 02:15 -0500, R. Tyler Ballance écrivait : | I was trying to get the most recent RELENG_6 code from one of the AnonCVS | servers here in America, so I was using the USA mirrors, and they don't | seem to be properly configured anymore... | | | %sudo cvs co -rRELENG_6 -P src | cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: | Permission denied | % | % echo $CVSROOT | [EMAIL PROTECTED]:/home/ncvs | % | | Keep in mind, anoncvs1.freebsd.org works perfectly fine. | | Ho hum, guess we only get one working USA mirror ;) use cvs -R co -rRELENG_6 -P src :-) -- Mathieu Arnold ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ls patch to sort directories first
+-le 18/09/2003 12:05 +0200, Mathieu Arnold écrivait : | Suggestions mostly welcomed :) Maybe I should have sent a PR :) -- Mathieu Arnold pgp0.pgp Description: PGP signature
ls patch to sort directories first
Hi, a few weeks ago, I had a coworker which wanted to ls and have the directories listed first... He ended up with a bash function : lx() { \ls -FGhl $@ | grep ^d | cat; \ls -FGhl $@ | grep -v '^d\|^t' | cat; } I though better of it and cooked up a patch for ls : http://people.freebsd.org/~mat/current-ls-D.diff http://people.freebsd.org/~mat/stable-ls-D.diff Both do work well, I don't know if it could be included or not, because I don't really know what's in POSIX.1 and if we're permitted extensions... For those who will wonder why I used the FTSENT struct and not the stat struct within it, it's because the stat struct did not seem to be filled (and I just could not get it to be filled). Suggestions mostly welcomed :) -- Mathieu Arnold pgp0.pgp Description: PGP signature
pthreads on 4.7-RELEASE
Hi I'm having a bit of difficulties with pthreads, lets explain : $ cat test.c #include pthread.h void * test (void* t) { while (1) { printf(pouet); sleep(1); } } main () { pthread_t th; if (pthread_create(th, NULL, test, NULL)) { perror(pthread_create); exit(1); } if (pthread_detach(th)) { perror(pthread_detach); exit(2); } exit(0); } $ gcc -pthread -D_REENTRANT -D_THREAD_SAFE test.c -o test $ ./test pthread_create: Cannot allocate memory I must be doing something stupid, but I cannot really find what... -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: 5.0-RUSH: -current install testers wanted!
--On mardi 22 octobre 2002 10:08 +0100 Ceri Davies [EMAIL PROTECTED] wrote: On Tue, Oct 22, 2002 at 08:33:53AM +0200, Poul-Henning Kamp wrote: If you don't have the machine-power to run make release yourself, I hope the japanese snapshot server is producing good snapshots, if that fails, I would appreciate if somebody will produce and put up good releases and/or ISO images somewhere. snapshots.jp.freebsd.org hasn't completed a make release since September 17th by the looks of things. I was willing to install a fresh -current, I'm trying to make release from a -stable box, but I don't believe it will end well. Could someone make release from a recent -current so that many of us could install it ? -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: FreeBSD NFS server benchmarks vs. OpenBSD, NetBSD?
--On Saturday, June 22, 2002 22:23:59 -0700 Alfred Perlstein [EMAIL PROTECTED] wrote: Actually FreeBSD 5.x should have lockd support. I should know, I ported it from BSD/os. Will it be MFCed ? -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Can someone fix releng4.freebsd.org to name snapshots right ?
Ulf Zimmermann wrote: drwxr-xr-x 20 root wheel 1024 Jan 30 17:13 4.4-20020130-STABLE drwxr-xr-x 20 root wheel 1024 Jan 31 18:06 4.4-20020131-STABLE drwxr-xr-x 20 root wheel 1024 Feb 1 16:59 4.4-20020201-STABLE drwxr-xr-x 20 root wheel 1024 Feb 2 16:47 4.4-20020202-STABLE drwxr-xr-x 20 root wheel 1024 Feb 3 16:48 4.4-20020203-STABLE drwxr-xr-x 20 root wheel 1024 Feb 4 17:04 4.4-20020204-STABLE drwxr-xr-x 20 root wheel 1024 Feb 5 17:09 4.4-20020205-STABLE drwxr-xr-x 20 root wheel 1024 Feb 6 16:42 4.4-20020206-STABLE Shouldn't these directories be named 4.5-x-STABLE by now ? shouldn't they be named 4-x-STABLE ? -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Unix Philosophers Please!
Nicpon, John wrote: Please specifically define where data goes that is sent to /dev/null to the place where no data ever came back. -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
MALLOC_DEFINE
Hi I'm having memory problems using ipfilter. I have a lot of rules, and a lot of traffic, here is what i have from time to time : IP states added: 9469918 TCP 1654588 UDP 1451233 ICMP 2869559782 hits 100258517 misses 0 maximum 72605 no memory 2915 bkts in use 9766 active 3099381 expired 9393987 closed and that, because ipfilter uses the temp memory zone, which is used by many other kernel stuff, and sometime gets full. in ip_state.h, I found : # ifdefM_PFIL # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_PFIL, M_NOWAIT) # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_PFIL, M_NOWAIT) # define KFREE(x)FREE((x), M_PFIL) # define KFREES(x,s) FREE((x), M_PFIL) # else # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_TEMP, M_NOWAIT) # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_TEMP, M_NOWAIT) # define KFREE(x)FREE((x), M_TEMP) # define KFREES(x,s) FREE((x), M_TEMP) # endif /* M_PFIL */ I was wondering if it was possible to add some MALLOC_DEFINE(M_PFIL, ipfilter, some bigger description); or static MALLOC_DEFINE(M_PFIL, ipfilter, some bigger description); but I do not know where to put it, neither which one to use, as both are used in the kernel source tree. Some help would really be appreciated. ps: FreeBSD mano.absolight.com 4.3-RELEASE-p19 FreeBSD 4.3-RELEASE-p19 #2: Fri Sep 14 20:09:37 CEST 2001 -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: no memory problem
Mathieu Arnold wrote: Mathieu Arnold wrote: Frank Volf wrote: Mathieu Arnold wrote: What is the output of vmstat -m | egrep -i '(pfil|filter|temp)' well, for now, it's ok, as I rebooted the box yesterday temp 27491 12187K 16963K 40960K 150216330 0 16,32,64,128,256,512,1K,4K,16K,512K but it will soon reach the 40960K limit. And I don't see where I can move this limit upper. You haven't reached the limits yet. I was wondering whether you were hitting the limit for the zone or the limit for all malloced area. well, that's because I rebooted the box, usually, the max is 40964K. here we go again : IP states added: 9469918 TCP 1654588 UDP 1451233 ICMP 2869559782 hits 100258517 misses 0 maximum 72605 no memory 2915 bkts in use 9766 active 3099381 expired 9393987 closed temp 82729 39223K 40961K 40960K 510822430 442 16,32,64,128,256,512,1K,4K,16K,512K does someone here know how to raise that 40960K limit ? answering to myself, I found out (raised kern.vm.kmem.size in my loader.conf). but my point now is this : # ifdefM_PFIL # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_PFIL, M_NOWAIT) # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_PFIL, M_NOWAIT) # define KFREE(x)FREE((x), M_PFIL) # define KFREES(x,s) FREE((x), M_PFIL) # else # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_TEMP, M_NOWAIT) # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_TEMP, M_NOWAIT) # define KFREE(x)FREE((x), M_TEMP) # define KFREES(x,s) FREE((x), M_TEMP) # endif /* M_PFIL */ which is in ip_compat.h from the ipfilter source tree. why does it not define somewhere a space for itself ? should it be : MALLOC_DEFINE(M_PFIL, ipfilter, some bigger description); or static MALLOC_DEFINE(M_PFIL, ipfilter, some bigger description); ? regards -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: no memory problem
Mathieu Arnold wrote: Mathieu Arnold wrote: Frank Volf wrote: Mathieu Arnold wrote: What is the output of vmstat -m | egrep -i '(pfil|filter|temp)' well, for now, it's ok, as I rebooted the box yesterday temp 27491 12187K 16963K 40960K 150216330 0 16,32,64,128,256,512,1K,4K,16K,512K but it will soon reach the 40960K limit. And I don't see where I can move this limit upper. You haven't reached the limits yet. I was wondering whether you were hitting the limit for the zone or the limit for all malloced area. well, that's because I rebooted the box, usually, the max is 40964K. here we go again : IP states added: 9469918 TCP 1654588 UDP 1451233 ICMP 2869559782 hits 100258517 misses 0 maximum 72605 no memory 2915 bkts in use 9766 active 3099381 expired 9393987 closed temp 82729 39223K 40961K 40960K 510822430 442 16,32,64,128,256,512,1K,4K,16K,512K does someone here know how to raise that 40960K limit ? answering to myself, I found out (raised kern.vm.kmem.size in my loader.conf). but my point now is this : # ifdefM_PFIL # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_PFIL, M_NOWAIT) # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_PFIL, M_NOWAIT) # define KFREE(x)FREE((x), M_PFIL) # define KFREES(x,s) FREE((x), M_PFIL) # else # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_TEMP, M_NOWAIT) # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_TEMP, M_NOWAIT) # define KFREE(x)FREE((x), M_TEMP) # define KFREES(x,s) FREE((x), M_TEMP) # endif /* M_PFIL */ which is in ip_compat.h from the ipfilter source tree. why does it not define somewhere a space for itself ? should it be : MALLOC_DEFINE(M_PFIL, ipfilter, some bigger description); or static MALLOC_DEFINE(M_PFIL, ipfilter, some bigger description); ? regards -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: no memory problem
Mathieu Arnold wrote: Frank Volf wrote: Mathieu Arnold wrote: What is the output of vmstat -m | egrep -i '(pfil|filter|temp)' well, for now, it's ok, as I rebooted the box yesterday temp 27491 12187K 16963K 40960K 150216330 0 16,32,64,128,256,512,1K,4K,16K,512K but it will soon reach the 40960K limit. And I don't see where I can move this limit upper. You haven't reached the limits yet. I was wondering whether you were hitting the limit for the zone or the limit for all malloced area. well, that's because I rebooted the box, usually, the max is 40964K. here we go again : IP states added: 9469918 TCP 1654588 UDP 1451233 ICMP 2869559782 hits 100258517 misses 0 maximum 72605 no memory 2915 bkts in use 9766 active 3099381 expired 9393987 closed temp 82729 39223K 40961K 40960K 510822430 442 16,32,64,128,256,512,1K,4K,16K,512K does someone here know how to raise that 40960K limit ? -- Mathieu Arnold To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message