From: banny52@yahoo.com (Ginny E. Kim)
Subject: Re: crash dump...lock_done..
Date: 8 Aug 2001 18:54:27 -0700 [thread overview]
Message-ID: <2f6bec0a.0108081754.1029d022@posting.google.com> (raw)
In-Reply-To: 3B6AD712.ADE52897@zk3.dec.com
Tony Verhulst <verhulst@zk3.dec.com> wrote in message news:<3B6AD712.ADE52897@zk3.dec.com>...
> A kernel memory fault... now that's interesting. Note that the faulting
> vitual address is zero. The call to lock_wakeup_prim() is one of the
> last things to be called in lock_done(). lock_wakeup_prim() mucks around
> with a couple of queues but it's impossible to figure out with this
> limited amount of info. We should probably take this offline but if you
> could supply me with the dump I'd be happy to have a look at it.
>
> regards,
>
> Tony V.
> Tru64 Kernel Group
>
>
Thank you!
I resolved this issue..by declaring lock_init() and using "define
_KERNEL" properly.
...
By the way,
I've already posted following issue...But, I couldn't get proper
answer in posted message.. Can you help me ?
--------------------
#if defined(__DECC) && __DECC_VER >= 50860003
#define FINDINDEX(size) (__builtin_isconstant(size) ?
BUCKETINDEX(size) : -1)
#else
#define FINDINDEX(size) BUCKETINDEX(size)
#endif
#define MALLOC(space, cast, size, type, flags) \
(space) = (cast)malloc((u_long)(size), FINDINDEX(size), type,
flags)
int statesize = 5737;
static state_t **table = NULL;
int table_init()
{
MALLOC(table, state_t **, sizeof(state_t *) * statesize,
M_TEMP, M_NOWAIT);
if (table != NULL)
bzero((char *)table, statesize * sizeof(state_t *));
else {
return -1;
}
......................
}
-------------------------------------------
In this case, if statesize is 5737, I can't have the system to
allocate memory using MALLOC. if statesize is 127 or 100, system can
allocate memory using MALLOC.
This program is a part of the loadable kernel module in Tru64UNIX 5.1.
Do Tru64UNIX V5.1 have the option that kernel memory to be allocate is
limited?
If then, how can it be increased?
next prev parent reply other threads:[~2001-08-09 1:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-01 10:15 crash dump...lock_done Ginny E. Kim
2001-08-01 14:24 ` Brian Haley
2001-08-01 14:24 ` Tony Verhulst
2001-08-02 2:10 ` Ginny E. Kim
2001-08-02 14:28 ` Tony Verhulst
2001-08-03 4:47 ` Ginny E. Kim
2001-08-03 16:53 ` Tony Verhulst
2001-08-09 1:54 ` Ginny E. Kim [this message]
2001-08-02 19:59 ` Brian Haley
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox