From nobody@www.freebsd.org  Sat Jun 15 11:53:46 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id A7BE837B416
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 11:53:45 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5FIrjhG081721
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jun 2002 11:53:45 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5FIrjqs081720;
	Sat, 15 Jun 2002 11:53:45 -0700 (PDT)
Message-Id: <200206151853.g5FIrjqs081720@www.freebsd.org>
Date: Sat, 15 Jun 2002 11:53:45 -0700 (PDT)
From: blaze <blaze@rootshell.be>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ppp + USB modem problem
X-Send-Pr-Version: www-1.0

>Number:         39341
>Category:       kern
>Synopsis:       ppp + USB modem problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 12:00:07 PDT 2002
>Closed-Date:    Sun Jan 09 23:12:18 GMT 2005
>Last-Modified:  Sun Jan 09 23:12:18 GMT 2005
>Originator:     blaze
>Release:        4.6-RC
>Organization:
...
>Environment:
FreeBSD kalieye 4.6-RC FreeBSD 4.6-RC #6: Thu Jun 13 14:26:15 CEST 2002     root@kalieye:/usr/src/sys/compile/KALIEYE  i386

>Description:
when i run ppp using my USB modem, (umodem as a module)
on great payload the modem shuts down and i receive the message:

usb0 host controller process error
usb0 host controller halted

and next the page fault:

Fatal trap 12: page fault while in kernel mode
fault virtual adress  = 0x14
fault code            = supervisor read, page not present
instruction pointer   = 0x8:0xc01fb1b3
stack pointer         = 0x10:0xcde12d3c
frame pointer         = 0x10:0xcde12d54
code segment          = base 0x0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, def32 1, gran 1
processor eflags      = interrupt enabled, resume, IOPL = 0
current process       = 128(ppp)
interrupt mask        = none
kernel: type 12 trap, code = 0
Stopped at spec_poll+0x

the nm command says:

root@kalieye:~# nm -n /kernel | grep c01fb1b3
root@kalieye:~# nm -n /kernel | grep c01fb1b
root@kalieye:~# nm -n /kernel | grep c01fb1
c01fb168 t spec_ioctl
c01fb198 t spec_poll
c01fb1c0 t spec_kqfilter
c01fb1fc t spec_fsync



>How-To-Repeat:
use a usb modem with ppp and give a lot of payload
(for example i do it using cvsup)

>Fix:
      
>Release-Note:
>Audit-Trail:

From: Ralph Forsythe <rforsythe@centerone.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: misc/39341: ppp + USB modem problem
Date: Mon, 17 Feb 2003 11:20:06 -0700 (MST)

 Just as an addition, I am experiencing almost the same thing under FreeBSD
 4.7, from a CVS tree dated to approx. the end of December.
 
 HOWEVER, some other variations:
 - Mine dumps with something like 'no free buffers'.  The rest of the
 output looks similar, however I am not able to supply the actual text now;
 I will reply back with that later.
 - Heavy load can cause it, however it's merely a catalyst, not the cause.
 I thought it was just me blasting the modem with extensive traffic (max
 speed is about 170k download, Ricochet modem i.e. Metricom G2) so I left
 it with minimal traffic, an ssh session and web browsing here and there -
 no heavy downloads.  It still crashed, it just took longer.  It's almost
 as though there is a finite amount of something available, or some number
 it can't count any higher with, or something isn't being freed, and
 downloading a lot just makes it happen faster.
 - I tried both from a NAT'd XP workstation behind the FreeBSD box, and
 from the BSD box itself.  Doesn't seem to make a difference, therefore I
 believe NAT is not a contributing factor here.
 
 Contact me if you need more info about my setup.  In the meantime I will
 reproduce and post the actual dump output later.
 
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:27:01 PDT 2003 
Responsible-Changed-Why:  
Assign to USB maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39341 
State-Changed-From-To: open->feedback 
State-Changed-By: joe 
State-Changed-When: Sat Nov 8 04:04:53 PST 2003 
State-Changed-Why:  
Can you please reconfirm that the problem still exists, and if it 
does please can you try the patch at http://www.josef-k.net/freebsd/ 
and say whether that fixes the problem. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=39341 
Responsible-Changed-From-To: joe->freebsd-usb 
Responsible-Changed-By: joe 
Responsible-Changed-When: Wed Nov 10 10:56:48 GMT 2004 
Responsible-Changed-Why:  
Hand this over to the usb mailling list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39341 
State-Changed-From-To: feedback->closed 
State-Changed-By: julian 
State-Changed-When: Sun Jan 9 23:10:48 GMT 2005 
State-Changed-Why:  
Can't contact submitter but have heard success stories from others with 
this driver. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=39341 
>Unformatted:
