From owner-freebsd-usb@FreeBSD.ORG Wed Dec 12 23:46:09 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A6A216A468 for ; Wed, 12 Dec 2007 23:46:09 +0000 (UTC) (envelope-from skafte@trollkarl.net) Received: from worlock.trollkarl.net (018.216-123-203-0.interbaun.com [216.123.203.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5A18C13C4E3 for ; Wed, 12 Dec 2007 23:46:09 +0000 (UTC) (envelope-from skafte@trollkarl.net) Received: from trollkarl.trollkarl.net (trollkarl [192.168.100.16]) by worlock.trollkarl.net (8.14.2/8.14.2) with ESMTP id lBCNHFQs078339 for ; Wed, 12 Dec 2007 16:17:17 -0700 (MST) (envelope-from skafte@trollkarl.net) Received: from trollkarl.trollkarl.net (localhost.trollkarl.net [127.0.0.1]) by trollkarl.trollkarl.net (8.14.2/8.14.2) with ESMTP id lBCNHFsH001745 for ; Wed, 12 Dec 2007 16:17:15 -0700 (MST) (envelope-from skafte@trollkarl.trollkarl.net) Received: (from skafte@localhost) by trollkarl.trollkarl.net (8.14.2/8.14.2/Submit) id lBCNHFZF001744 for freebsd-usb@freebsd.org; Wed, 12 Dec 2007 16:17:15 -0700 (MST) (envelope-from skafte) Date: Wed, 12 Dec 2007 16:17:15 -0700 From: Greg Skafte To: freebsd-usb@freebsd.org Message-ID: <20071212231715.GE1267@trollkarl.trollkarl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: Greg's Hidey Hole Errors-To: skafte@trollkarl.net X-Spam-Status: No, score=-10.0 required=5.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on worlock.trollkarl.net Subject: umass on RELENG_6 and RELENG_7 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 23:46:09 -0000 I'm having umass issues on both RELENG_6 and RELENG_7 with several diffrerent USB2.X cards and a couple different San Disk Readers. Copying from any of a number of CF cards 512M, 1G, or 4G. Sometimes I can copy 4 or 5 cards of info sometimes only 1, before it dies. Dec 6 10:14:30 trollkarl kernel: umass0: BBB reset failed, TIMEOUT Dec 6 10:15:35 trollkarl kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT Dec 6 10:16:39 trollkarl kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT Dec 6 10:22:03 trollkarl kernel: g_vfs_done():da0s1[READ(offset=722851840, length=65536)]error = 5 Dec 6 10:27:28 trollkarl kernel: g_vfs_done():da0s1[READ(offset=722851840, length=65536)]error = 5 Dec 6 10:32:52 trollkarl kernel: g_vfs_done():da0s1[READ(offset=713353216, length=36864)]error = 5 Dec 6 10:32:52 trollkarl kernel: vnode_pager_getpages: I/O read error Dec 6 10:32:52 trollkarl kernel: vm_fault: pager read error, pid 1176 (cp) then the machine boots no panic, just gone. After the hard boot I can then copy away for another CF cards. Cards have been reformated both by a couple different cameras, as well as XP machines. [selective stuff from dmesg.boot] ehci0: mem 0xbd800000-0xbd8000ff at device 10.3 on pci2 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: EHCI version 1.0 usb1: companion controller, 2 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 6 ports with 6 removable, self powered umass0: on uhub1 [after I load a 1G CF card] da0 at umass-sim0 bus 0 target 0 lun 0 da0: > Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 977MB (2001888 512 byte sectors: 64H 32S/T 977C) Kernel is Generic + options SHOW_BUSYBUFS # List buffers that prevent root unmount Additionally the transfer rate is about 1/4 of what I see with the same reader and CF cards on OSX or Windoze. I'm about to upgrade to 7.0Beta4 and will add ddb to the mix and see if I can catch it before it goes over and see if I can get more info. Any clues or insights? -- Email: skafte@trollkarl.net Contact me for ICQ,MSN,AIM,Yahoo,Jabber -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris)