NetBSD Problem Report #47131

From khym@foxy.azeotrope.org  Fri Oct 26 18:25:47 2012
Return-Path: <khym@foxy.azeotrope.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 9B09463CA81
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 26 Oct 2012 18:25:47 +0000 (UTC)
Message-Id: <20121026182545.4851C93207@foxy.azeotrope.org>
Date: Fri, 26 Oct 2012 13:25:44 -0500 (CDT)
From: khym@azeotrope.org
Reply-To: khym@azeotrope.org
To: gnats-bugs@gnats.NetBSD.org
Subject: "missed microframe, TT reset not implemented, ..." with USB 2.0 hard drive
X-Send-Pr-Version: 3.95

>Number:         47131
>Category:       kern
>Synopsis:       "missed microframe, TT reset not implemented, ..." with USB 2.0 hard drive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    skrll
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 26 18:30:00 +0000 2012
>Last-Modified:  Sat Nov 28 14:28:30 +0000 2015
>Originator:     khym@azeotrope.org
>Release:        NetBSD 6.99.14
>Organization:
>Environment:
System: NetBSD foxy.azeotrope.org 6.99.14 NetBSD 6.99.14 (FOXY) #12: Wed Oct 24 05:47:36 CDT 2012 khym@vmbsd.azeotrope.org:/usr/obj.i386/sys/arch/i386/compile/FOXY i386
Architecture: i386
Machine: i386
>Description:
On a Soekris net5501 with the following USB controller:

gcscehci0 at pci0 dev 21 function 1: AMD CS5536 EHCI USB Controller (rev. 0x02)
gcscehci0: interrupting at irq 15
gcscehci0: EHCI version 1.0
gcscehci0: companion controller, 4 ports each: ohci0

And a Buffalo HD-HS500IU2 external hard drive:

umass0 at uhub2 port 2 configuration 1 interface 0
umass0: BUFFALO INC. BUFFALO INC. USB-SATA Bridge, rev 2.00/0.00, addr 8
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <SAMSUNG, HD501LJ, CR10> disk fixed
sd0: fabricating a geometry
sd0: 465 GB, 476940 cyl, 64 head, 32 sec, 512 bytes/sect x 976773168 sectors

When I try to copy several gigabytes of data to/from the drive (over the
network; the drive is exported as a SMB and AFS share), the kernel will
occasionally log the following:

Oct 26 11:07:13 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 11:14:06 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 11:07:13 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 11:19:11 foxy /netbsd: ehci_idone: ex=0xc1045c50 is done!
Oct 26 11:27:09 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 11:27:09 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 11:32:59 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 11:50:50 foxy /netbsd: umass0: BBB bulk-in stall clear failed, TIMEOUT
Oct 26 11:52:47 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 13:01:27 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational
Oct 26 13:08:58 foxy /netbsd: gcscehci0: missed microframe, TT reset not implemented, hub might be inoperational

Sometimes, it seems to recover. But other times, all accesses to the drive
will hang, and a reboot seems to be the only solution (unplugging and
replugging the drive doesn't work. IIRC, the drive doesn't attach when
replugged, but I could be wrong).

>How-To-Repeat:
	The above will do it for me, but YMMV.
>Fix:
	I don't know... Implement the "TT reset" that the error's talking
about? :)

>Release-Note:

>Audit-Trail:
From: Dave Huang <khym@azeotrope.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/47131: "missed microframe, TT reset not implemented, ..." with USB 2.0 hard drive
Date: Fri, 26 Oct 2012 13:32:30 -0500

 Whoops, I don't have outgoing email set up properly on that machine. The =
 From: address should just be khym@azeotrope.org.=

From: Paul Goyette <paul@vps1.whooppee.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/47131
Date: Sat, 28 Nov 2015 13:17:25 +0800 (PHT)

 I occassionally get this same error message for a USB keyboard.  Most
 occurrences happen shortly after using a Ctrl/Alt/Fn sequence to switch
 sessions.

 Usually unplugging the keyboard and then reattaching it works.  But
 sometimes I have to reattach to a different USB port.


 +------------------+--------------------------+-------------------------+
 | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
 | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
 | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
 +------------------+--------------------------+-------------------------+

Responsible-Changed-From-To: kern-bug-people->skrll
Responsible-Changed-By: skrll@NetBSD.org
Responsible-Changed-When: Sat, 28 Nov 2015 14:28:30 +0000
Responsible-Changed-Why:
Take


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.