VMCORE NOT FOUND

2005-02-12 Thread Ashwin Chandra
I am trying to get a vmcore to appear after a kernel panic. I have done EVERYTHING in the developers handbook, including adding dumpdev in the rc.conf and a savecore with flags -f. My savecore directory is /var/crash. but nothing appears in it after the kernel panic except the minfree file and

Re: VMCORE NOT FOUND

2005-02-12 Thread Daniel O'Connor
On Sat, 12 Feb 2005 19:33, Ashwin Chandra wrote: I am trying to get a vmcore to appear after a kernel panic. I have done EVERYTHING in the developers handbook, including adding dumpdev in the rc.conf and a savecore with flags -f. My savecore directory is /var/crash. but nothing appears in it

how to calculate CPU utilization?

2005-02-12 Thread Nimnod
Hi, i am looking for how to accurately calculate the CPU utilization per process. i have looked through the top sources, and found out it's using the kvm lib, which isn't suitable for my purpose. is there a way to accurately calculate %CPU based on information from the struct proc ? it does

Re: Star FreeBSD

2005-02-12 Thread Joerg Schilling
Smith III, Edward Mr. CAA/ISC [EMAIL PROTECTED] wrote: Is the CDDL license compatible with the BSD and MIT licenses? Listening to the legal department from Sun - yes. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni)

Re:Star FreeBSD

2005-02-12 Thread Joerg Schilling
Jonathan Weiss [EMAIL PROTECTED] wrote: Is the CDDL license compatible with the BSD and MIT licenses? -ed According to the OpenBSD-folks: NO See yesterdays thread on openbsd-tech. In contrary to the GPL, the CDDL allows you to combine code under the BSD license and the CDDL without taking

Re: Star FreeBSD

2005-02-12 Thread Joerg Schilling
Dimitry Andric [EMAIL PROTECTED] wrote: On 2005-02-10 at 20:08:10 Joerg Schilling wrote: Is there a chance to have star integrated into FreeBSD? Tim Kientzle already produced a BSD-licensed version of tar, having many features: http://people.freebsd.org/~kientzle/libarchive/ (He even

Re: Star FreeBSD

2005-02-12 Thread Eitarou Kamo
David Schultz wrote: As the conclusion, which state are available? Pre Post -- BSD license CDDL GPL license CDDL MIT license CDDL CDDL BSD license CDDL GPL license CDDL MIT license The

Re: Star FreeBSD

2005-02-12 Thread Rahul Siddharthan
Joerg Schilling [EMAIL PROTECTED] wrote: Hi, Last night, I did convert star from a GPL tool into a CDDL tool. This now makes star compliant with the BSD philosophy. Is there a chance to have star integrated into FreeBSD? As others have noted, CDDL != BSD licence and the base system already

Re: VMCORE NOT FOUND

2005-02-12 Thread Ashwin Chandra
I actually changed dumpdir to /usr/crash since /var did not have enough space to accomodate 512 MB. But /usr has 60gigs. When the kernel panics it just crashes, I never get a message saying dumping Savecore upon reboot says no dumps found. So i believe the problem is that the system is

Re: how to calculate CPU utilization?

2005-02-12 Thread Dan Nelson
In the last episode (Feb 12), Nimnod said: i am looking for how to accurately calculate the CPU utilization per process. i have looked through the top sources, and found out it's using the kvm lib, which isn't suitable for my purpose. Why not? You don't need to be setuid root to call kvm

Re: how to calculate CPU utilization?

2005-02-12 Thread Nimnod
On Sat, 12 Feb 2005 14:16:51 -0600, Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Feb 12), Nimnod said: i am looking for how to accurately calculate the CPU utilization per process. i have looked through the top sources, and found out it's using the kvm lib, which isn't suitable for

Re: VMCORE NOT FOUND

2005-02-12 Thread Ryan Sommers
Ashwin Chandra said: I actually changed dumpdir to /usr/crash since /var did not have enough space to accomodate 512 MB. But /usr has 60gigs. When the kernel panics it just crashes, I never get a message saying dumping Savecore upon You dump to a device, not a path. Because the kernel is

Re: VMCORE NOT FOUND

2005-02-12 Thread Ashwin Chandra
ryan, i think i was a bit vague in my email. I am correctly usnig the swap device and dump directory. Before the system reboots the core should be saved from the swap device (before it mounts) and into the path that i specified. dumpdev=/dev/ad0s1b, our 2gb swap device and dumpdir=/usr/crash So

Re: VMCORE NOT FOUND

2005-02-12 Thread Ryan Sommers
Ashwin Chandra said: ryan, i think i was a bit vague in my email. I am correctly usnig the swap device and dump directory. Before the system reboots the core should be saved from the swap device (before it mounts) and into the path that i specified. dumpdev=/dev/ad0s1b, our 2gb swap device

Makefile .for and .if expansion

2005-02-12 Thread Kris Kennaway
The following small makefile doesn't behave as one would naively expect: MANLANG?=foo all: .for i in ${MANLANG} .if empty(${i}) @echo foo ${i} .endif .endfor ports-i386%make foo foo foo I think this is because the .if evaluation is happening too early, and it's not being done after the

Re: Makefile .for and .if expansion

2005-02-12 Thread Kris Kennaway
On Sat, Feb 12, 2005 at 06:32:01PM -0800, Kris Kennaway wrote: The following small makefile doesn't behave as one would naively expect: MANLANG?=foo all: .for i in ${MANLANG} .if empty(${i}) @echo foo ${i} .endif .endfor ports-i386%make foo foo foo I think this is

Re: Makefile .for and .if expansion

2005-02-12 Thread Jeremy Messenger
On Sat, 12 Feb 2005 18:32:01 -0800, Kris Kennaway [EMAIL PROTECTED] wrote: The following small makefile doesn't behave as one would naively expect: This problem is known to me for pretty very long time when I reported to Brandon D. Valentine for linux-flashplugins6 issue.. You will see in the

malloc vs ptmalloc2

2005-02-12 Thread Jason Henson
I saw on a few of the lists here how linux uses ptmalloc2 and it outperforms bsd's malloc. I tried to do some research into it and found PHK's pdf on it and it seems bsd's malloc was ment to be ok in most every situation. Because of this it shines when primary storage is seriously over