Re: panic: zone: entry in free

1999-07-15 Thread Dominic Mitchell
On Thu, Jul 15, 1999 at 12:08:07AM -0400, Luoqi Chen wrote: I've been getting this panic when I've installed new kernels the last couple of times. The panic is occuring when I have freshly booted the system with a new kernel and logged on for the first time. It appears to occur at the

Re: panic: zone: entry in free

1999-07-15 Thread Matthew Dillon
: I realise that will stop the panic from looking at the source code, but : surely it's just covering up the problem and waiting for it to happen : later? : :I'm pretty it's caused by the INVARIANTS option, similar incidents have been :reported many times before. The problem with INVARIANTS is

Re: panic: zone: entry in free

1999-07-15 Thread Dominic Mitchell
On Thu, Jul 15, 1999 at 12:18:42PM -0400, Luoqi Chen wrote: I realise that will stop the panic from looking at the source code, but surely it's just covering up the problem and waiting for it to happen later? I'm pretty it's caused by the INVARIANTS option, similar incidents have been

Re: panic: zone: entry in free

1999-07-15 Thread Dominic Mitchell
On Thu, Jul 15, 1999 at 10:01:18AM -0700, Matthew Dillon wrote: : I realise that will stop the panic from looking at the source code, but : surely it's just covering up the problem and waiting for it to happen : later? : :I'm pretty it's caused by the INVARIANTS option, similar incidents

Re: panic: zone: entry in free

1999-07-15 Thread Sheldon Hearn
On Thu, 15 Jul 1999 21:18:03 +0100, Dominic Mitchell wrote: This of course begs the question, under what circumstances *should* one use INVARIANTS? This has been explained to me before as "when you have the time and inclination to look into any problems that this might cause or highlight."

Re: panic: zone: entry in free

1999-07-15 Thread Greg Lehey
On Thursday, 15 July 1999 at 0:08:07 -0400, Luoqi Chen wrote: I've been getting this panic when I've installed new kernels the last couple of times. The panic is occuring when I have freshly booted the system with a new kernel and logged on for the first time. It appears to occur at the

panic: zone: entry in free

1999-07-14 Thread Dominic Mitchell
I've been getting this panic when I've installed new kernels the last couple of times. The panic is occuring when I have freshly booted the system with a new kernel and logged on for the first time. It appears to occur at the point at which I start fetchmail in my profile, FWIW. BTW: My home

Re: panic: zone: entry in free

1999-07-14 Thread Luoqi Chen
I've been getting this panic when I've installed new kernels the last couple of times. The panic is occuring when I have freshly booted the system with a new kernel and logged on for the first time. It appears to occur at the point at which I start fetchmail in my profile, FWIW. Get rid

panic: zone: entry not free

1999-03-16 Thread paul
I seem to be able to repeat this panic, every time I make a certain change to a file and save it out this happens. It's a NFS mounted file from my i386 box to my alpha, both running pretty much current. It's the alpha that panics. Stopped at Debugger..ng+0x24: ldq ra,0(sp)

Re: panic: zone: entry not free

1999-03-16 Thread Matthew Dillon
What's your memory configuration and what's your kernel configuration? df dmesg cat /usr/src/sys/i386/conf/YOURKERNELCONFIG In general, the more information you include in the email, the easier it is on the list. -Matt

Re: panic: zone: entry not free

1999-03-11 Thread Alex Zepeda
On Wed, 10 Mar 1999, Chuck Robey wrote: You know, guys, for programmers, wanting immediate panics on stuff like this is great, but there isn't one user in a thousand that wants this. If you make this kinda stuff default on a version *other than* current (current being by definition, for

Re: panic: zone: entry not free

1999-03-11 Thread Chuck Robey
On Wed, 10 Mar 1999, Matthew Dillon wrote: : : : :This means that invariants need to add relatively little overhead. : : : :Peter : : which they do. : :You know, guys, for programmers, wanting immediate panics on stuff like :this is great, but there isn't one user in a thousand

Re: panic: zone: entry not free - Default of state of Invariants

1999-03-11 Thread Karl Pielorz
Chuck Robey wrote: That's completely true, but nearly all users simply couldn't care less. They don't see the long view, they only see what's happening right now. With that I will agree... :) It's the reason that your attitude is totally correct healthy for a developer ... but the only

Re: panic: zone: entry not free - Default of state of Invariants

1999-03-11 Thread Daniel C. Sobral
Karl Pielorz wrote: It's the reason that your attitude is totally correct healthy for a developer ... but the only thing that most users will see is the fact that FreeBSD panics more often. They won't even bother to make of note of why a panic occurred, all they will ever note is that

Re: panic: zone: entry not free

1999-03-11 Thread Alfred Perlstein
On Thu, 11 Mar 1999, Chuck Robey wrote: On Wed, 10 Mar 1999, Matthew Dillon wrote: : : : :This means that invariants need to add relatively little overhead. : : : :Peter : : which they do. : :You know, guys, for programmers, wanting immediate panics on stuff like

Re: panic: zone: entry not free

1999-03-10 Thread Dag-Erling Smorgrav
Matthew Dillon dil...@apollo.backplane.com writes: I would disagree with that. Invariants are for people who want their data to be as safe as possible and don't mind eating a little cpu doing extra sanity checks in the kernel. It is something I would almost certainly enable

Re: panic: zone: entry not free

1999-03-10 Thread sthaug
Uh, no. Invariants are for developers who want to make sure their code is correct. There is no reason why an end user would want to build a kernel with invariants enabled. Invariants will *not* increase data safety. If they have any effect at all (i.e. if they actually catch a bug), the

Re: panic: zone: entry not free

1999-03-10 Thread Dan Swartzendruber
On Wed, 10 Mar 1999 sth...@nethelp.no wrote: Uh, no. Invariants are for developers who want to make sure their code is correct. There is no reason why an end user would want to build a kernel with invariants enabled. Invariants will *not* increase data safety. If they have any effect at

Re: panic: zone: entry not free

1999-03-10 Thread Garrett Wollman
On Wed, 10 Mar 1999 11:48:57 -0500 (EST), Dan Swartzendruber dru...@kersur.net said: I have to concur. I've never understood the don't worry be happy point of view on this issue. Do you always compile and install all your programs with debugging symbols? -GAWollman -- Garrett A. Wollman

Re: panic: zone: entry not free

1999-03-10 Thread Dag-Erling Smorgrav
sth...@nethelp.no writes: Uh, no. Invariants are for developers who want to make sure their code is correct. There is no reason why an end user would want to build a kernel with invariants enabled. Invariants will *not* increase data safety. If they have any effect at all (i.e. if they

Re: panic: zone: entry not free

1999-03-10 Thread Dan Swartzendruber
On Wed, 10 Mar 1999, Garrett Wollman wrote: On Wed, 10 Mar 1999 11:48:57 -0500 (EST), Dan Swartzendruber dru...@kersur.net said: I have to concur. I've never understood the don't worry be happy point of view on this issue. Do you always compile and install all your programs with

Re: panic: zone: entry not free

1999-03-10 Thread Brian Feldman
On Wed, 10 Mar 1999, Garrett Wollman wrote: On Wed, 10 Mar 1999 11:48:57 -0500 (EST), Dan Swartzendruber dru...@kersur.net said: I have to concur. I've never understood the don't worry be happy point of view on this issue. Do you always compile and install all your programs with

Re: panic: zone: entry not free

1999-03-10 Thread Garrett Wollman
On Wed, 10 Mar 1999 12:03:00 -0500 (EST), Dan Swartzendruber dru...@kersur.net said: No, but I didn't think that was what we were talking about. I thought we were talking about assertions. We were talking about invariants, which document the conditions which nearby code expect and/or cause.

Re: panic: zone: entry not free

1999-03-10 Thread Matthew Dillon
:We were talking about invariants, which document the conditions which :nearby code expect and/or cause. To actually check these conditions :in a production system is a waste of CPU power; their function is to :define for the developers precisely what the expected outcome of a :particular

Re: panic: zone: entry not free

1999-03-10 Thread Matthew Dillon
:No, it is not - not in the general case, and not in the long term. I :was trying to point out that there may be extreme cases where an :otherwise harmless bug would cause a panic with invariants enabled. : :Matt claimed that invariants increase data safety, which I find :difficult to understand.

Re: panic: zone: entry not free

1999-03-10 Thread Matthew Dillon
:Uh, no. Invariants are for developers who want to make sure their code :is correct. There is no reason why an end user would want to build a :kernel with invariants enabled. Invariants will *not* increase data :safety. If they have any effect at all (i.e. if they actually catch a :bug), the

Re: panic: zone: entry not free

1999-03-10 Thread Poul-Henning Kamp
You two are basically discussing overspecifying source code vs normal source code. It doesn't really matter much if the overspecifying consists of merging the TeX sources for a book or by adding invariants as part of design verification. The discussion itself has about as much merit as our

Re: panic: zone: entry not free

1999-03-10 Thread Matthew Dillon
I don't use DIAGNOSTIC because it's overly intrusive and cause cause panics or create bugs where none exist. At least that was true in 2.2.x. I remember trying to use it at BEST. The result was continually crashing machines due to bugs in the diagnostic code ( such as

Re: panic: zone: entry not free

1999-03-10 Thread Poul-Henning Kamp
In message 199903101944.laa57...@apollo.backplane.com, Matthew Dillon writes: I don't use DIAGNOSTIC because it's overly intrusive and cause cause panics or create bugs where none exist. Then it should be fixed. Personally, I would be happier if DIAGNOSTIC were ripped out entirely

Re: panic: zone: entry not free

1999-03-10 Thread Daniel C. Sobral
Brian Feldman wrote: On Wed, 10 Mar 1999, Garrett Wollman wrote: On Wed, 10 Mar 1999 11:48:57 -0500 (EST), Dan Swartzendruber dru...@kersur.net said: I have to concur. I've never understood the don't worry be happy point of view on this issue. Do you always compile and

Re: panic: zone: entry not free

1999-03-10 Thread Jordan K. Hubbard
I don't use DIAGNOSTIC because it's overly intrusive and cause cause panics or create bugs where none exist. Then it should be fixed. I think DIAGNOSTIC is *supposed* to do everything you're arguing for and to scream for its removal in one breath and then call for a mechanism which

Re: panic: zone: entry not free

1999-03-10 Thread Robert Watson
On Wed, 10 Mar 1999 sth...@nethelp.no wrote: Uh, no. Invariants are for developers who want to make sure their code is correct. There is no reason why an end user would want to build a kernel with invariants enabled. Invariants will *not* increase data safety. If they have any effect at

Re: panic: zone: entry not free

1999-03-10 Thread Peter Jeremy
Matthew Dillon dil...@apollo.backplane.com wrote: there are simply not enough sanity checks being made in the kernel. There is a trade off between the amount of sanity checking and performance. We need to make sure that any sanity checking we add doesn't make the system unusably slow or

Re: panic: zone: entry not free

1999-03-10 Thread Matthew Dillon
: :Therefore, my preference is to turn invariants on on all my production :kernels as well as my development kernels. : :This means that invariants need to add relatively little overhead. : :Peter which they do. -Matt

Re: panic: zone: entry not free

1999-03-10 Thread Chuck Robey
On Wed, 10 Mar 1999, Matthew Dillon wrote: : :Therefore, my preference is to turn invariants on on all my production :kernels as well as my development kernels. : :This means that invariants need to add relatively little overhead. : :Peter which they do. You know,

Re: panic: zone: entry not free

1999-03-10 Thread Matthew Dillon
: : : :This means that invariants need to add relatively little overhead. : : : :Peter : : which they do. : :You know, guys, for programmers, wanting immediate panics on stuff like :this is great, but there isn't one user in a thousand that wants this. :If you make this kinda stuff

Re: panic: zone: entry not free

1999-03-10 Thread Kevin Day
: : : :This means that invariants need to add relatively little overhead. : : : :Peter : : which they do. : :You know, guys, for programmers, wanting immediate panics on stuff like :this is great, but there isn't one user in a thousand that wants this. :If you make this kinda

Re: panic: zone: entry not free

1999-03-01 Thread Bruce Evans
There are many potential problems with SMP kernels. Many of the inline functions in machine/cpufunc.h depend on SMP. We've already pessimised the usual (non-SMP) case by uninlining a few too many spl-related functions. So you think it would be bad to have zalloc and zfree as non-inline

Re: panic: zone: entry not free

1999-02-28 Thread Assar Westerlund
Eivind Eklund eiv...@freebsd.org writes: That is, INVARIANTS in kernel incompatible with dynamic loading. Somehow this strikes me as a Bad Thing... It _is_ a bad thing. I've been pondering what to do with the intrusive invariant checks - make them dependent on INTRUSIVE_INVARIANTS,

Re: panic: zone: entry not free

1999-02-28 Thread Archie Cobbs
Assar Westerlund writes: I think that the goal should be to make KLDs work with all kinds of kernels. I've been thinking about this too... Certainly, for each kernel config option FOO we could have a symbol in the kernel that a KLD could examine: static const u_char kernlel_option_FOO =

Re: panic: zone: entry not free

1999-02-28 Thread Bruce Evans
I think that the goal should be to make KLDs work with all kinds of kernels. And the only place where this seems to be a problem is with zalloc and zfree. So it seems to me that one of the following could be done to solve it: a. make zalloc and zfree non-inline b. call zalloci and zfreei in

Re: panic: zone: entry not free

1999-02-28 Thread Assar Westerlund
Bruce Evans b...@zeta.org.au writes: I think that the goal should be to make KLDs work with all kinds of kernels. And the only place where this seems to be a problem is with zalloc and zfree. So it seems to me that one of the following could be done to solve it: a. make zalloc and zfree

Re: panic: zone: entry not free

1999-02-25 Thread Matthew Dillon
:Jos Backus wrote: : : That is, INVARIANTS in kernel incompatible with dynamic loading. : : Somehow this strikes me as a Bad Thing... : :Invariants is not for the production minded. It is for those who :work with things likely to get broken. Say, for instance, -current. ::-) : :-- :Daniel C.

Re: panic: zone: entry not free

1999-02-25 Thread Mike Smith
If you thought you could follow the code around a bit and work out why it's happening, that would be very helpful... This occurs almost immediately after copying a file to an msdos fs. I can provide more info if that is deemed useful. FreeBSD jos.mp-c.com 4.0-CURRENT FreeBSD 4.0-CURRENT

Re: panic: zone: entry not free

1999-02-24 Thread Jos Backus
On Tue, Feb 23, 1999 at 12:09:03PM +0300, Dmitrij Tejblum wrote: You could add -DINVARIANTS to CFLAGS in sys/module/msdosfs/Makefile. OK, did that, no more panics. Thanks! Dima Cheers, -- Jos Backus _/ _/_/_/Reliability means never

Re: panic: zone: entry not free

1999-02-23 Thread Jos Backus
On Tue, Feb 23, 1999 at 02:41:14AM +0300, Dmitrij Tejblum wrote: Jos Backus wrote: This occurs almost immediately after copying a file to an msdos fs. I can provide more info if that is deemed useful. I suspect your kernel compiled with INVARIANTS, Yes, and with INVARIANTS_SUPPORT as well

Re: panic: zone: entry not free

1999-02-23 Thread Dmitrij Tejblum
Jos Backus wrote: On Tue, Feb 23, 1999 at 02:41:14AM +0300, Dmitrij Tejblum wrote: Jos Backus wrote: This occurs almost immediately after copying a file to an msdos fs. I can provide more info if that is deemed useful. I suspect your kernel compiled with INVARIANTS, Yes, and with

Re: panic: zone: entry not free

1999-02-23 Thread Jos Backus
On Tue, Feb 23, 1999 at 12:09:03PM +0300, Dmitrij Tejblum wrote: Inline functions in vm/vm_zone.h depend on INVARIANTS. These functions used in msdosfs and in other parts of the kernel. OK, I see. How does one add INVARIANTS support to modules? You could add -DINVARIANTS to CFLAGS in

Re: panic: zone: entry not free

1999-02-23 Thread Eivind Eklund
On Tue, Feb 23, 1999 at 10:59:39AM +0100, Jos Backus wrote: On Tue, Feb 23, 1999 at 12:09:03PM +0300, Dmitrij Tejblum wrote: Inline functions in vm/vm_zone.h depend on INVARIANTS. These functions used in msdosfs and in other parts of the kernel. OK, I see. How does one add INVARIANTS

Re: panic: zone: entry not free

1999-02-23 Thread Jos Backus
On Tue, Feb 23, 1999 at 04:16:26PM +0100, Eivind Eklund wrote: Somehow this strikes me as a Bad Thing... It _is_ a bad thing. I've been pondering what to do with the intrusive invariant checks - make them dependent on INTRUSIVE_INVARIANTS, perhaps? Depends on how dangerous these invariant

Re: panic: zone: entry not free

1999-02-23 Thread Eivind Eklund
On Tue, Feb 23, 1999 at 05:08:57PM +0100, Jos Backus wrote: On Tue, Feb 23, 1999 at 04:16:26PM +0100, Eivind Eklund wrote: Somehow this strikes me as a Bad Thing... It _is_ a bad thing. I've been pondering what to do with the intrusive invariant checks - make them dependent on

Re: panic: zone: entry not free

1999-02-23 Thread Poul-Henning Kamp
In message 19990223191857.h10...@bitbox.follo.net, Eivind Eklund writes: A couple of the invariants we have modify the behaviour to make it possible to check for things, and this should be separate from the ones that doesn't modify the behaviour beyond adding checks. That sounds more like

Re: panic: zone: entry not free

1999-02-23 Thread Daniel C. Sobral
Jos Backus wrote: That is, INVARIANTS in kernel incompatible with dynamic loading. Somehow this strikes me as a Bad Thing... Invariants is not for the production minded. It is for those who work with things likely to get broken. Say, for instance, -current. :-) -- Daniel C. Sobral

Re: panic: zone: entry not free

1999-02-23 Thread Matthew Dillon
:In message 19990223191857.h10...@bitbox.follo.net, Eivind Eklund writes: : :A couple of the invariants we have modify the :behaviour to make it possible to check for things, and this should be :separate from the ones that doesn't modify the behaviour beyond adding :checks. : :That sounds more

panic: zone: entry not free

1999-02-22 Thread Jos Backus
This occurs almost immediately after copying a file to an msdos fs. I can provide more info if that is deemed useful. FreeBSD jos.mp-c.com 4.0-CURRENT FreeBSD 4.0-CURRENT #3: Sat Feb 20 19:31:56 CET 1999 j...@jos.mp-c.com:/usr/src/sys/compile/JOS i386 Thanks, -- Jos Backus

Re: panic: zone: entry not free

1999-02-22 Thread Dmitrij Tejblum
Jos Backus wrote: This occurs almost immediately after copying a file to an msdos fs. I can provide more info if that is deemed useful. I suspect your kernel compiled with INVARIANTS, you load msdosfs module dynamically, and the module isn't compiled with INVARIANTS. If so, don't do that. If