Re: assert in dialogic streams driver (mercd)
Steve Schefter <[email protected]> Thu, 27 Apr 2006 10:13:19 -0400
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Organization | The Software Group Limited |
| Message-ID | <[email protected]> |
Hi Ghislain. > after a while of operation, var/log/messages is reporting assert in a > stream driver (mercd) > > Apr 21 18:15:09 fe2 kernel: MercRcvDataFromAdap: RecvData() failed. > > Apr 21 18:15:10 fe2 kernel: Buffer is unavailable waiting > > Apr 21 18:15:10 fe2 kernel: mercd: assert(NULL) failed in file > > build/bld_obj/msddpc.c, line 186 > > Apr 21 18:15:10 fe2 kernel: StreamOpen: Adapter State not ready. > > Apr 21 18:15:25 fe2 last message repeated 53 times Unfortunately since these are error messages within the mercd driver, they don't mean a lot to me. If you have access to the source and can let us know what LiS function is being called and fails when this message is printed out, that might help. Although it implies an allocb() failure, it's probably worth confirming. Running out of buffers is not usual. It may imply a memory leak somewhere. The fact that it happens after a while tends to point to that. I would suggest running the "streams -l" command that you mentioned periodically while the system is running to see if usage increases slowly over time. Running "streams -m" to display memory usage in the failed case may also prove useful at determining where the memory is used (where a leak exists if that guess is true). Regards, Steve ------------------------------------------------------------------------ Steve Schefter phone: +1 705 725 9999 x26 The Software Group Limited fax: +1 705 725 9666 642 Welham Road, email: [email protected] Barrie, Ontario CANADA L4N 9A1 Web: www.wanware.com