Re: usb/162054: usbdump just hangs on 9.0-RC1

2011-10-27 Thread Edwin Groothuis
The following reply was made to PR usb/162054; it has been noted by GNATS.

From: Edwin Groothuis 
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: usb/162054: usbdump just hangs on 9.0-RC1
Date: Thu, 27 Oct 2011 20:40:52 +1100

 As a test I compiled usbdump myself instead of using the one supplied by =
 FreeBSD-update:
 
 [~/usbdump/usbdump] edwin@t43>sudo ./usbdump-9 -i usbus4
 19:35:11.080561 usbus4.2 =
 SUBM-CTRL-EP=3D,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D0
 19:35:11.080638 usbus4.2 =
 DONE-CTRL-EP=3D,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0
 19:35:11.080645 usbus4.2 =
 SUBM-CTRL-EP=3D,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0
 
 This is:
  * $FreeBSD: stable/9/usr.sbin/usbdump/usbdump.c 226565 2011-10-20 =
 14:45:16Z hselasky $
 
 Honestly=85 No idea where it went wrong.
 I'll poke Colin Percival about this.=
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb/162054: usbdump just hangs on 9.0-RC1

2011-10-27 Thread Edwin Groothuis
The following reply was made to PR usb/162054; it has been noted by GNATS.

From: Edwin Groothuis 
To: Colin Percival 
Cc: bug-follo...@freebsd.org
Subject: Re: usb/162054: usbdump just hangs on 9.0-RC1
Date: Thu, 27 Oct 2011 20:46:09 +1100

 Hello Colin,
 
 I just submitted a PR on this issue: usb/162054: usbdump just hangs on =
 9.0-RC1.
 
 The usbdump used was gotten via freebsd-update earlier this week.
 I compiled usbdump myself from the stable/9 source code and it worked =
 fine.
 
 Not sure if this is something you want to know about.
 
 Edwin=
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


usb/162054: usbdump just hangs on 9.0-RC1

2011-10-27 Thread Edwin Groothuis

>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 r...@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@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:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"