Subject: USB modem triggers a DIAGNOSTIC message in ppp...
To: None <current-users@netbsd.org>
From: Brad Spencer <brad@anduin.eldar.org>
List: current-users
Date: 12/09/1999 23:06:04
Hello...

I just hooked up a D-LINK DSP-560 USB modem to my NetBSD/i386 1.4L box.

[side note: This is an 'Atlas Modem Board' V.90/56Kflex type modem.  The
modem's physical size is only slighly larger then an audio tape and it is
powered by the USB port itself.  No more "power cubes" plugged into AC
anymore.  They run about $70US at buy.com]


In any case...  The modem appears to work fine when used with cu and the
like, but when I try using pppd with it, the following DIAGNOTIC in
usb_mem.c is triggered, with nearly every ppp packet:

#ifdef DIAGNOSTIC
	if (!curproc) {
		printf("usb_block_allocmem: in interrupt context, size=%lu\n",
		    (unsigned long) size);
	}
#endif

The message that is printed is:

	usb_block_allocmem: in interrupt context, size=4096


Having no real idea what this message is trying to get at, I was wondering
if anyone knows what this means??

The DIAGNOSTIC check appears to be in the latest kernel source, as well as
1.4L, which the box, in question, has.


Thanks...

Brad Spencer - brad@anduin.eldar.org   http://anduin.eldar.org
[finger brad@anduin.eldar.org for PGP public key]