usb/162054: usbdump just hangs on 9.0-RC1

Edwin Groothuis edwin at mavetju.org
Thu Oct 27 09:20:12 UTC 2011


>Number:         162054
>Category:       usb
>Synopsis:       usbdump just hangs on 9.0-RC1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 27 09:20:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        9.0-RC1
>Organization:
-
>Environment:
FreeBSD t43.nbttech.com 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:30:38 UTC 2011     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
On my machine running 9.0-RC1, updated from 8.2 via FreeBSD-update:

When running "usbdump -i usbus4" and connecting any USB device so far (memory, iPhone, 3G modem), it just hangs and doesn't output anything. Closing it with ^C is not possible, only ^Z and kill %1 is possible.

ktrace on usbdump shows that it is reading properly.
Running Wireshark on usb04 shows that frames are being received.

Running usbdump on a file captured from an old machine (FreeBSD X.x.x.x 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r224195: Tue Jul 19 17:45:03 CST 2011 X at X:/usr/obj/usr/src/sys/GENERIC  amd64) shows the output as expected.

Running usbdump on a file captured on this machine doesn't output anything, but can be aborted with ^C.

I have uploaded a tar ball at http://www.mavetju.org/~edwin/usbdump-problem.tar.gz with in it:
- output of trace in ktrace.out
- iphone.cap of when it doesn't work.
- usbdumptest from the old 9.0-CURRENT machine.

Help :-P
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list