usb/118098: 6th gen iPod causes problems when disconnecting.

Jeff Palmer jpalmer at totaldiver.net
Fri Nov 16 23:20:01 PST 2007


>Number:         118098
>Category:       usb
>Synopsis:       6th gen iPod causes problems when disconnecting.
>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:   Sat Nov 17 07:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Palmer
>Release:        7.0-BETA3
>Organization:
>Environment:
FreeBSD Laptop.totaldiver.net 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Mon Nov 17 11:31:41 EST 2007     root at Laptop.totaldiver.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I just got a 6th generation ipod.  My 5th generation ipod works fine.

the 6th gen ipod can be used just like the 5th gen, in that I can mount it as a USB disk.  I can write files to it,  I can use any of the ipod music software,  etc.  However,  when I camcontrol eject it,  it reports success.   The problem comes when I actually physically disconnect the unit.

Nov 17 01:53:43 Laptop kernel: umass0: BBB reset failed, IOERROR
Nov 17 01:53:43 Laptop kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Nov 17 01:53:43 Laptop kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Nov 17 01:53:43 Laptop kernel: umass0: BBB reset failed, IOERROR


The above persists indefinitely until I either:

#1) reboot
#2) plug, or unplug *another* USB device (thumbdrive, usb harddrive, usb bluetooth dongle, or even cellphone.)

After which, the spam stops, and the following is logged:
Nov 17 02:05:52 Laptop kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Nov 17 02:05:54 Laptop kernel: umass0: at uhub4 port 3 (addr 2) disconnected
Nov 17 02:05:54 Laptop kernel: (da0:umass-sim0:0:0:0): lost device
Nov 17 02:05:54 Laptop kernel: (da0:umass-sim0:0:0:0): removing device entry
Nov 17 02:05:54 Laptop kernel: GEOM_LABEL: Label msdosfs/IPOD removed.
Nov 17 02:05:54 Laptop kernel: umass0: detached
Nov 17 02:05:55 Laptop kernel: ugen0: <vendor 0x1131 product 0x1001, class 224/1, rev 1.10/3.73, addr 4> on uhub0

>How-To-Repeat:
Attach a 6th gen ipod.  mount it using mount_msdodfs.  unmount it.  disconnect the cable.  Watch your logs grow to insane sizes. Plug in another USB device (or unplug one) and watch it stop.

I'm not sure if this is a usb problem, or a geom problem.   but the above *does not occur* when using a 5th generation ipod.
>Fix:


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


More information about the freebsd-usb mailing list