From nobody@FreeBSD.org  Sun Nov  5 08:04:49 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 08B7C16A63C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Nov 2006 08:04:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E025B43D67
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Nov 2006 08:04:42 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kA584gk1007549
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 5 Nov 2006 08:04:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kA584glp007548;
	Sun, 5 Nov 2006 08:04:42 GMT
	(envelope-from nobody)
Message-Id: <200611050804.kA584glp007548@www.freebsd.org>
Date: Sun, 5 Nov 2006 08:04:42 GMT
From: Helmut Schellong<var@schellong.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [kernel panic] cp hangs on copy to a compact flash card
X-Send-Pr-Version: www-3.0

>Number:         105169
>Category:       kern
>Synopsis:       [panic] cp hangs on copy to a compact flash card
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 08:10:36 GMT 2006
>Closed-Date:    Sat Aug 21 17:07:33 UTC 2010
>Last-Modified:  Sat Aug 21 17:07:33 UTC 2010
>Originator:     Helmut Schellong
>Release:        6.2 BETA3
>Organization:
>Environment:
FreeBSD bsd.lokal.biz 6.2-BETA3 FreeBSD 6.2-BETA3 #0: Sat Nov  4 20:01:24 CET 2006     root@bsd.lokal.biz:/usr/src/sys/i386/compile/BSD62SMP  i386

>Description:
USB 2.0, 40 MB/s
cp to a 8 GB CFcard, 18 MB/s, Sandisk ImageMate

After a lot of files the cp hangs.
The light changes to red continously.
After about 1 minute the light changes to green.
After about 3 minutes the kernel becomes panic
and reboots automatically after 15 seconds.

In BIOS I have changed from Highspeed to Fullspeed.
The usb connect message shows 40 MB/s again.
..

>How-To-Repeat:
copy again.
>Fix:
USB Fullspeed?
>Release-Note:
>Audit-Trail:

From: Helmut Schellong <var@schellong.biz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/105169: [panic] cp hangs on copy to a compact flash card
Date: Mon, 06 Nov 2006 21:23:56 +0100

 I recommend to remove the device ehci from kernel.
 
 ehci crashes randomly and blocks the system in various ways.
 Sometimes followed by kernel panic, sometimes without panic.
 
 One time the file BETA3 .iso was copied succesfully.
 The transfer rate was about 2.5 MB/s, not the speed of the flash card (18MB/s).
 
 At further tests the copied size was ~50 MB, of the BETA3 .iso (~415 MB).
 Then crash again:
 
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 ...
 
 I have solved this problem by building a kernel
 without device ehci.
 
 Sandisk offers CF cards ExtremeIV with 40 MB/s ...
 uhci runs with 1 MB/s only, but it works fine.
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sat Aug 21 15:08:06 UTC 2010 
State-Changed-Why:  
Can you still reproduce this on 8.0 or later? 


Responsible-Changed-From-To: freebsd-bugs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Sat Aug 21 15:08:06 UTC 2010 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105169 

From: Helmut Schellong <var@schellong.biz>
To: bug-followup@FreeBSD.org, var@schellong.biz
Cc:  
Subject: Re: kern/105169: [panic] cp hangs on copy to a compact flash card
Date: Sat, 21 Aug 2010 17:26:15 +0200

 I cannot reproduce with 8.0
 and new Hardware "hama USB 2.0 Card Reader 35 in 1".
 The real speed is now 8...12 MB/s.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Sat Aug 21 17:07:32 UTC 2010 
State-Changed-Why:  
Submitter can't reproduce anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105169 
>Unformatted:
