Re: is there a macro that prints the incoming param list?

2009-05-31 Thread till plewe
On Mon, Jun 1, 2009 at 10:06 AM, Gary Kline kl...@thought.org wrote: is there any marco that printfs the incoming list, or am i asking too much of the compiler at runtime? example: main (int argc, char *argv) with this macro might print: 2, testinput and

cannot mount slices of usbdrive

2009-05-01 Thread till plewe
I have a usbdrive which was used on FreeBSD 6 or 7 but cannot be mounted now (on CURRENT with generic kernel). The drive is recognized but the individual slices do not seem to exist (see below). Any pointers on how to recover the content of the disk would be appreciated. I was thinking of

Re: cannot mount slices of usbdrive

2009-05-01 Thread till plewe
On 5/2/09, Matthias Apitz g...@unixarea.de wrote: El día Saturday, May 02, 2009 a las 01:06:09PM +0900, till plewe escribió: I have a usbdrive which was used on FreeBSD 6 or 7 but cannot be mounted now (on CURRENT with generic kernel). The drive is recognized but the individual slices do

Re: i had a tought

2009-04-22 Thread till plewe
On 4/23/09, Gary Gatten ggat...@waddell.com wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jerry McAllister Sent: Wednesday, April 22, 2009 1:42 PM To: Arjen Simon Scheer Cc:

Re: kern.maxfiles limit exceeded by uid 1003? what to do?

2009-04-14 Thread till plewe
On Tue, Apr 14, 2009 at 9:11 PM, VeeJay maan...@gmail.com wrote: Hi there I am keep getting this error on the screen. I have tried to solve this problem by myself but still no luck. Could anyone guide what to do to increase the limit and avoid this error? sysctl -a | grep kern.maxfiles and

Re: Portupgrading - many problems

2005-04-24 Thread Till Plewe
On Mon, Apr 25, 2005 at 11:21:47AM +, Iain Dooley wrote: hi all, i recently attempted to portupgrade the kde super package and had loads of problems. i first upgraded from FreeBSD 4.10 to FreeBSD 4.11, and then cvsup'd 'ports-all'. i then did portupgrade -R kde, but ran into several

flockfile does not work with stdout (on

2005-04-05 Thread Till Plewe
How can I control the output of processes (forked from a single process) all writing to the same file? f{un,}lockfile(file) seems to work unless file=stdout. Are there any other simple methods I can try? - Till PS. I am using 5.4-PRERELEASE i386 SMP-GENERIC

Re: flockfile does not work with stdout (on

2005-04-05 Thread Till Plewe
On Tue, Apr 05, 2005 at 10:40:49PM -0500, Dan Nelson wrote: In the last episode (Apr 06), Till Plewe said: How can I control the output of processes (forked from a single process) all writing to the same file? f{un,}lockfile(file) seems to work unless file=stdout. If they are still

Re: memory allocation/deallocation (malloc experts needed)

2004-05-21 Thread Till Plewe
On Thu, May 20, 2004 at 05:36:31PM +0900, Charlie Root wrote: On Thu, May 20, 2004 at 01:42:00AM -0500, Dan Nelson wrote: In the last episode (May 20), Till Plewe said: My problem is essentially that freeing large numbers of small chunks of memory can be very slow. I have run

Re: memory allocation/deallocation (malloc experts needed)

2004-05-21 Thread Till Plewe
On Thu, May 20, 2004 at 09:28:12AM -0400, Chuck Swiger wrote: Till Plewe wrote: My problem is essentially that freeing large numbers of small chunks of memory can be very slow. I have run into this problem twice so far. [ ... ] One solution would be to divide the memory in larger regions

memory allocation/deallocation (malloc experts needed)

2004-05-19 Thread Till Plewe
My problem is essentially that freeing large numbers of small chunks of memory can be very slow. I have run into this problem twice so far. 1) Shutting down python can take several minutes if I have used large dictionaries. The solution I use here is to exit python without freeing the allocated

second CPU not utilized

2004-04-14 Thread Till Plewe
Does anybody have an idea why the second cpu is not used for the computing intensive work? idle will stay around 50% while the two instances of python2.4 share 1 CPU The only unusual occurence recently were a few Bus Errors and the system freezing when two processes which were using around

Re: second CPU not utilized

2004-04-14 Thread Till Plewe
On Thu, Apr 15, 2004 at 11:59:38AM +0900, Till Plewe wrote: Does anybody have an idea why the second cpu is not used for the computing intensive work? idle will stay around 50% while the two instances of python2.4 share 1 CPU The only unusual occurence recently were a few Bus Errors

port{up,down}grade

2004-03-24 Thread Till Plewe
Can anybody shed some light on this? Why does portupgrade think that upgrading from icc-8.0.058 to icc-8.0.061 is downgrading? # portupgrade icc ** No need to upgrade 'icc-8.0.058' (= icc-8.0.058.p061). \ (specify -f to force) # portupgrade -f icc --- Downgrading 'icc-8.0.058' to

Re: port{up,down}grade

2004-03-24 Thread Till Plewe
On Wed, Mar 24, 2004 at 03:24:17PM +0100, Remko Lodder wrote: Hi Till Till Plewe wrote: Can anybody shed some light on this? Why does portupgrade think that upgrading from icc-8.0.058 to icc-8.0.061 is downgrading? Constructive fault, see below # portupgrade icc ** No need

Re: your mail

2004-01-15 Thread Till Plewe
On Thu, Jan 15, 2004 at 07:07:48PM -0800, Evan Sayer wrote: FreeBSD- Please help, this is really important. I was told that i could get rid of the ^m symbols at the end of the lines in my web page's html code by using sed. They said to execute sed s//^m^m index.html index.html or

dedicate 1 CPU to a single process

2003-11-05 Thread Till Plewe
Can one processor on a dual processor machine be reserved exclusively for the use of a single process? If that is not posssible how can I stop one process being moved back and forth between the two CPUs. - Till ___ [EMAIL PROTECTED] mailing list

assembler, icc/gcc,

2003-11-05 Thread Till Plewe
I am writing a program where speed is very important. Some parts will probably have to be written in assembler. I have a dual-Xeon machine running CURRENT. I am looking for {advice on,experiences people have had with} writing assembler programs for pentium4/xeon processors. (I have too many

Re: On 5.1, what is the process named idle?

2003-09-11 Thread Till Plewe
On Thu, Sep 11, 2003 at 08:04:05PM -0400, Joe Altman wrote: Greetings, list subsribers... I've installed 5.1 and a variety of apps on a machine, in preparation for a move to 5.1 in the near future, and in the course of playing around on it, I've noticed a process called idle: ... What

Re: How do I change the extensions on a slew of files

2003-09-03 Thread Till Plewe
On Wed, Sep 03, 2003 at 06:25:07PM -0700, Jonas wrote: Hello Know-It-Alls, If I have a directory with a whole slew of files with the same file extension, for example: 1-1-1.inc 1-1-2.inc 1-1-3.inc etc. What command can I use to change the file extension - but keep the file name

trouble installing FreeBSD 5.1 on Vaio PCG-Z505VR/K and PCG N505

2003-08-21 Thread Till Plewe
I run into the following problems trying to get FreeBSD5.1 onto the above two laptops (neither of which has a built in floppy/cd) Basic I use a USB floppy drive. (I only have a Panasonic KXL-808AN CDROM which is not recognized) I used 4 sets of boot floppies ( so floppies should not be the

Re: trouble installing FreeBSD 5.1 on Vaio PCG-Z505VR/K and PCG N505

2003-08-21 Thread Till Plewe
It seems that the Reply-To field of my message was cut off. If you have any suggestion please send them to the list (I subscribed) or to till at score.is.tsukuba.ac.jp. Till ___ [EMAIL PROTECTED] mailing list

Re: how much space for /

2003-06-18 Thread Till Plewe
On Thu, Jun 19, 2003 at 12:12:29AM -0500, sweetleaf wrote: When i installed freebsd-5.1, i stayed close to the recommended partition sizes in the handbook. The faq. said 100 megabytes would usually be enough for the / partition. I decided to install freebsd with 300M for the / partition just

curses header conflict

2003-05-28 Thread Till Plewe
When trying to install python2.3 on either stable or current the curses module doesn't build. I get the following compiler complaints: STABLE (line numbers in brackets are from CURRENT) /usr/include/ncurses.h:236(289): conflicting types for `wchar_t' /usr/include/stdlib.h:58(57): previous