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-01 19:10:52 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: 1 Aug 2001 19:10:51 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0108011810.753c08dd@posting.google.com> References: <2f6bec0a.0108010215.daad126@posting.google.com> <3B68112D.D27F8A8B@zk3.dec.com> NNTP-Posting-Host: 210.205.15.123 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996718252 23028 127.0.0.1 (2 Aug 2001 02:10:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Aug 2001 02:10:52 GMT Xref: archiver1.google.com comp.unix.tru64:4032 Tony Verhulst wrote in message news:<3B68112D.D27F8A8B@zk3.dec.com>... > "Ginny E. Kim" wrote: > > > I got following crash_data with rebooting while I excuting dynamic > > kernel module.. > > > ------------------------- > > 5 lock_done(l = (unallocated - symbol optimized away)) > > ["../../../../src/kernel/kern/loc > > k.c":1087, 0xfffffc00002be6b4] > > 6 ipfr_knownfrag(ip = 0xfffffc0009b29b58, fin = 0xfffffe0413b47840) > > ["../../ip_frag.c":4 > > 18, 0xffffffff8016afa8] > > > Give us a hint, what kind of panic. > > Tony My program is ..... ------------------ extern lock_data_t frag; entry_t *ipfr_knownfrag(ip, fin) ip_t *ip; info_t *fin; { entry_t *en = NULL; if ((ip->ip_v != 4) || (frag_lock)) return NULL; lock_read(&frag); [......my operation ] lock_done(&frag); <-----------------(418 line.) return en; } ---------------------------------------- It has just "lock_read()" and "lock_done()"..