From owner-freebsd-usb@FreeBSD.ORG Fri May 12 14:00:43 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0168A16A6F8 for ; Fri, 12 May 2006 14:00:42 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFADD43D5E for ; Fri, 12 May 2006 14:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4CE0Xpf048424 for ; Fri, 12 May 2006 14:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4CE0X53048423; Fri, 12 May 2006 14:00:33 GMT (envelope-from gnats) Resent-Date: Fri, 12 May 2006 14:00:33 GMT Resent-Message-Id: <200605121400.k4CE0X53048423@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jürgen Herz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4E2716A428 for ; Fri, 12 May 2006 13:56:20 +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 ED22543D5E for ; Fri, 12 May 2006 13:56:19 +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 k4CDuJtt081364 for ; Fri, 12 May 2006 13:56:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4CDuJ4l081360; Fri, 12 May 2006 13:56:19 GMT (envelope-from nobody) Message-Id: <200605121356.k4CDuJ4l081360@www.freebsd.org> Date: Fri, 12 May 2006 13:56:19 GMT From: Jürgen Herz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/97175: USB cardreader hangs system 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: Fri, 12 May 2006 14:00:47 -0000 >Number: 97175 >Category: usb >Synopsis: USB cardreader hangs system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 12 14:00:33 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jürgen Herz >Release: 6.0 & 6.1 >Organization: >Environment: FreeBSD lunix.linux.test 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: On 6.0-RELEASE and now 6.1-RELEASE I've the problem that using my internal front panel card reader, attached via the USB connector on the mainboard results in stopping the boot process. dmesg shows this while booting umass0: Generic USB Storage Device, rev 2.00/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error same block for da1 to da3 three times each and then shows umass0: BBB reset failed, TIMEOUT several times in large time intervals. If I plug the card reader off, the boot process continues then. If I plug the card reader in after booting, same text is output but I cannot use the reader since it doesn't react upon inserting a memory card. Before and after only /dev/da0, /dev/da1, /dev/da2 and /dev/da3 are available. Basically using cards in the reader works, but only if the card is already inserted while booting and reader is plugged in (in this case I get a mountable /dev/da0s1). But this isn't the idea of removeable media. The reader, resp. the chipset it uses, is wide spread since it has the vendor and product codes of the NEODIO ND3260 (0x0aec 0x3260) from sys/dev/usb/usbdevs. And under Windows as well on Linux it also works flawless. camcontrol devlist -v lists scbus0 on umass-sim0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 0 lun 1 (pass1,da1) at scbus0 target 0 lun 2 (pass2,da2) at scbus0 target 0 lun 3 (pass3,da3) scbus1 on sym0 bus 0: < > at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) I tried release 5.4 after that and while I wasn't able to produce the hang while booting (but only bootet that system about 10 times) it also doesn't work when inserting a card. I already tried the quirks DA_Q_NO_SYNC_CACHE and DA_Q_NO_6_BYTE without success. And yes, I think the card reader is fine since Windows and Linux have no problem with it. >How-To-Repeat: Plug the card reader in and boot. >Fix: >Release-Note: >Audit-Trail: >Unformatted: