Date: Thu, 27 Mar 2008 13:50:03 GMT From: Marcin Cieslak <saper@saper.info> To: freebsd-usb@FreeBSD.org Subject: Re: usb/122119: [umass] umass device causes creation of daX but not daXsX entries; CAM error Message-ID: <200803271350.m2RDo38T074811@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/122119; it has been noted by GNATS. From: Marcin Cieslak <saper@saper.info> To: bug-followup@FreeBSD.org, mdh@solitox.net Cc: Subject: Re: usb/122119: [umass] umass device causes creation of daX but not daXsX entries; CAM error Date: Thu, 27 Mar 2008 14:46:15 +0100 This is a cryptographically signed message in MIME format. --------------ms070104060701020306070708 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit That's interesting. I have an Option Globetrotter GTMAX 7.2 3G card that also includes a so-called "Zero Configuration" feature that identifies as: Mar 27 14:33:12 radziecki kernel: umass2: <Qualcomm, Incorporated USB MMC Storage, class 0/0, rev 1.10/0.00, addr 2> on uhub7 Mar 27 14:33:12 radziecki kernel: umass2: SCSI over Bulk-Only; quirks = 0x0000 Mar 27 14:33:12 radziecki kernel: umass2:3:2:-1: Attached to scbus3 Mar 27 14:33:12 radziecki kernel: cd0 at umass-sim2 bus 2 target 0 lun 0 Mar 27 14:33:12 radziecki kernel: cd0: <GT HSDPA Modem 3.00> Removable CD-ROM SCSI-2 device Mar 27 14:33:12 radziecki kernel: cd0: 1.000MB/s transfers Mar 27 14:33:12 radziecki kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present but for me this is just a CD-ROM device, and it works. It is also read-only. 1) This will not fix your issue but can you try umass.c and usbdevs (no need to install ubsa.c) patches from: http://akson.sgh.waw.pl/~saper/FreeBSD/gt/zeroconf/ I wonder what happens to your system after this :) 2) Can you compile your umass module with -DUSB_DEBUG and set sysctl hw.usb.umass.debug=3342336 To set -DUSB_DEBUG the easiest way is to apply Index: Makefile =================================================================== RCS file: /usr/home/ncvs/src/sys/modules/umass/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- Makefile 4 Jun 2005 10:58:38 -0000 1.14 +++ Makefile 19 Mar 2008 00:18:31 -0000 @@ -2,6 +2,8 @@ .PATH: ${.CURDIR}/../../dev/usb +DEBUG_FLAGS=-g -DUSB_DEBUG + KMOD= umass SRCS= bus_if.h device_if.h \ opt_usb.h opt_cam.h opt_scsi.h \ and then cd /sys/modules/umass make obj all And "make load" as root Provided you don't have umass in your kernel already. -- << Marcin Cieslak // saper@saper.info >> --------------ms070104060701020306070708 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINLDCC A+wwggNVoAMCAQICDwDENwABAALlou1Djx5XszANBgkqhkiG9w0BAQUFADCBvDELMAkGA1UE BhMCREUxEDAOBgNVBAgTB0hhbWJ1cmcxEDAOBgNVBAcTB0hhbWJ1cmcxOjA4BgNVBAoTMVRD IFRydXN0Q2VudGVyIGZvciBTZWN1cml0eSBpbiBEYXRhIE5ldHdvcmtzIEdtYkgxIjAgBgNV BAsTGVRDIFRydXN0Q2VudGVyIENsYXNzIDEgQ0ExKTAnBgkqhkiG9w0BCQEWGmNlcnRpZmlj YXRlQHRydXN0Y2VudGVyLmRlMB4XDTA3MDkyNjA3MjQwOVoXDTEwMTIzMTIyNTk1OVowfTEL MAkGA1UEBhMCREUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJTAjBgNVBAsTHFRD IFRydXN0Q2VudGVyIENsYXNzIDEgTDEgQ0ExKTAnBgNVBAMTIFRDIFRydXN0Q2VudGVyIENs YXNzIDEgTDEgQ0EgSUlJMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDt9kYre5b9JKbN j5LffhGsiGlfobkfluO2XqPLzKoMOnduw9+sfHUINrW76Y9B02KC9vF3SDmxbIM4fKM3+7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ggqhkiG9w0DBzAOBggqhkiG 9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgaAGCSsG AQQBgjcQBDGBkjCBjzB9MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIg R21iSDElMCMGA1UECxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBMMSBDQTEpMCcGA1UEAxMg VEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBMMSBDQSBJSUkCDgUfAAEAAvxW+cGq7sagMIGiBgsq hkiG9w0BCRACCzGBkqCBjzB9MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50 ZXIgR21iSDElMCMGA1UECxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBMMSBDQTEpMCcGA1UE AxMgVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBMMSBDQSBJSUkCDgUfAAEAAvxW+cGq7sagMA0G CSqGSIb3DQEBAQUABIIBAFkQrSTTYPNY6ixe4/nuva11NNZzD05CssmD9HALnSSMvdTu8HO/ 3lzyOhhc1YESOG/C1dpXslmFrok4Jdfjs6Yjh+tp9mISBKHLYH7OAPKxOzubf2yxOjGEZ+pH euUHSqpjx0V5cx650lIWdT+dkUDmYuong14qD8jEO5etVyrbpgwdSR2+SHYLgcD4S+FAOzql MBXD+waAFsvYKu2ddhrOJYFjD4nIDgyCQ2bYSEF7zikRZM6NSFloyPLgY+ra7t4PKzivuFiF Xib81IbChYgfSe4k5eB8M5euAfKlEHQzqO6jp8i4FerqE/EQbFbmjCNDZhw71uhagqGd9E29 jwYAAAAAAAA= --------------ms070104060701020306070708--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803271350.m2RDo38T074811>