From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5fa6130a7d9f454a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-08 18:54:27 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: Re: crash dump...lock_done.. Date: 8 Aug 2001 18:54:27 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0108081754.1029d022@posting.google.com> References: <2f6bec0a.0108010215.daad126@posting.google.com> <3B68112D.D27F8A8B@zk3.dec.com> <2f6bec0a.0108011810.753c08dd@posting.google.com> <3B696387.F131E1E3@zk3.dec.com> <2f6bec0a.0108022047.4ccc073f@posting.google.com> <3B6AD712.ADE52897@zk3.dec.com> NNTP-Posting-Host: 210.205.14.70 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 997322067 16841 127.0.0.1 (9 Aug 2001 01:54:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Aug 2001 01:54:27 GMT Xref: archiver1.google.com comp.unix.tru64:4126 Tony Verhulst 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?