Subject: kern/37175: Panic printing to ulpt in usb_transfer_complete
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <scotte@warped.com>
List: netbsd-bugs
Date: 10/23/2007 02:10:01
>Number: 37175
>Category: kern
>Synopsis: Printing via lpr/lpd to ulpt frequently panics with usb_transfer_complete: bad dequeue
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 23 02:10:00 +0000 2007
>Originator: Scott Ellis
>Release: NetBSD 4.99.34
>Organization:
>Environment:
System: NetBSD intrepid 4.99.34 NetBSD 4.99.34 (INTREPID.NEWBOX.DEBUG) #4: Mon Oct 22 16:59:57 PDT 2007 scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.NEWBOX.DEBUG amd64
Architecture: x86_64
Machine: amd64
>Description:
Using lpr/lpd and ulpt to print to:
ulpt0 at uhub1 port 2 configuration 1 interface 0
ulpt0: Brother HL-1650_1670N series, rev 1.00/1.00, addr 3, iclass 7/1
ulpt0: using bi-directional mode
frequently (not always, but usually) panics with:
usb_transfer_complete: xfer=0xffff800004f62e00 not busy 0x00000055
usb_transfer_complete: bad dequeue 0xffff800004f62e00 != 0x0
uvm_fault(0xffffffff80654d00, 0x0, 1) -> e
kernel: page fault trap, code=0
Stopped in pid 0.10 (system) at netbsd:usb_transfer_complete+0x250: movq 0
x78(%rax),%rdx
db{0}>
db{0}> bt
usb_transfer_complete() at netbsd:usb_transfer_complete+0x250
uhci_abort_xfer() at netbsd:uhci_abort_xfer+0x324
uhci_timeout_task() at netbsd:uhci_timeout_task+0x49
usb_task_thread() at netbsd:usb_task_thread+0x10d
db{0}>
>How-To-Repeat:
Print to ulpt!
>Fix:
Not known.
>Unformatted: