From owner-freebsd-usb@FreeBSD.ORG Wed Dec 26 15:33:51 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 A382516A479 for ; Wed, 26 Dec 2007 15:33:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 3046F13C50A for ; Wed, 26 Dec 2007 15:33:51 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id C12CB74400D; Wed, 26 Dec 2007 17:33:49 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d5eEUNOPYtcm; Wed, 26 Dec 2007 17:33:49 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 3BC60744004; Wed, 26 Dec 2007 17:33:49 +0200 (EET) Message-ID: <4772745A.6030508@icyb.net.ua> Date: Wed, 26 Dec 2007 17:33:46 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: remko@elvandar.org References: <20170.194.74.82.3.1196153704.squirrel@galain.elvandar.org> <4770E8F4.1020705@icyb.net.ua> In-Reply-To: <4770E8F4.1020705@icyb.net.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: 7.0-BETA3 kernel panic when unplugging USB stick 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, 26 Dec 2007 15:33:51 -0000 Below was info when the reader was connected already with the troublesome SD card inserted. Here's info when the same reader is connected without any media: demsg: umass0: Generic Mass Storage Device, rev 2.00/1.26, 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 Opened disk da0 -> 6 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 Opened disk da1 -> 6 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 Opened disk da2 -> 6 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 Opened disk da3 -> 6 camcontrol: scbus6 on umass-sim0 bus 0: at scbus6 target 0 lun 0 (da0,pass2) at scbus6 target 0 lun 1 (da1,pass3) at scbus6 target 0 lun 2 (da2,pass4) at scbus6 target 0 lun 3 (da3,pass5) usbdevs: port 4 addr 2: high speed, power 100 mA, config 1, Mass Storage Device(0x6362), Generic(0x058f), rev 1.26 on 25/12/2007 13:26 Andriy Gapon said the following: > on 27/11/2007 10:55 Remko Lodder said the following: >> [snip] >> >>> Just in case: >>> the reader - Trust CR-1420P >>> the card - SanDisk SDSDM-2048 >> The above information is not really informative for me , can you send a >> dmesg -v and pciconf -vl so that we might trick it into getting supported >> by the current drivers? :) > > From usbdevs -vd: > Controller /dev/usb1: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > nVidia(0x0000), rev 1.00 > uhub1 > ... > port 4 addr 2: high speed, power 100 mA, config 1, product > 0x6362(0x6362), vendor 0x058f(0x058f), rev 1.26 > umass0 > > From dmesg: > umass0: Generic Mass Storage Device, rev 2.00/1.26, addr 2 > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > umass0: BBB reset failed, IOERROR > umass0: BBB bulk-in clear stall failed, IOERROR > umass0: BBB bulk-out clear stall failed, IOERROR > (da0:umass-sim0:0:0:0): got CAM status 0x4 > (da0:umass-sim0:0:0:0): fatal error, failed to attach to device > (da0:umass-sim0:0:0:0): lost device > > From pciconf- lv: > ehci0@pci0:11:1: class=0x0c0320 card=0x81c01043 chip=0x026e10de > rev=0xa3 hdr=0x00 > vendor = 'NVIDIA Corporation' > class = serial bus > subclass = USB > > From camcontrol devlist -v: > scbus6 on umass-sim0 bus 0: > at scbus6 target 0 lun 0 (da0,pass2) > < > at scbus6 target 0 lun 2 (probe0) > < > at scbus6 target -1 lun -1 () > -- Andriy Gapon