Subject: Callout table troubles? maybe not...
To: None <port-macppc@netbsd.org>
From: Donald Lee <donlee_ppc@icompute.com>
List: port-macppc
Date: 02/14/2001 08:20:11
Dear list,

I'm still struggling to get the Cyclades 8Y up in production.

Latest is the following panic (panic("receive 1");):

in sys/kern/uipc_socket.c: about line 628

>/*      $NetBSD: uipc_socket.c,v 1.50 2000/03/30 09:27:14 augustss Exp $
>
>....
>       if (m == 0 || (((flags & MSG_DONTWAIT) == 0 &&
>            so->so_rcv.sb_cc < uio->uio_resid) &&
>            (so->so_rcv.sb_cc < so->so_rcv.sb_lowat ||
>            ((flags & MSG_WAITALL) && uio->uio_resid <= so->so_rcv.sb_hiwat)) &&
>            m->m_nextpkt == 0 && (pr->pr_flags & PR_ATOMIC) == 0)) {
>#ifdef DIAGNOSTIC
>                if (m == 0 && so->so_rcv.sb_cc)
>                        panic("receive 1");
>#endif
>                if (so->so_error) {
>                        if (m)
>                                goto dontblock;
>                        error = so->so_error;
>....

This seems to happen when a PPP session is active, and under load.
In this case, the ethernet/TCP is loaded fairly heavily - (two FTP
sessions actively transferring data to another local machine) and
there is a large file copy is going on. (about 30 Mbytes from SCSI disk
to SCSI disk)

Can anyone tell me what this panic means?  Is this "DIAGNOSTIC" a debugging
thing that can be/should be turned off?

A little bit of guidance would be helpful to my debugging.

Thanks in advance,

-dgl-