Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 04:22:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252225] won't accept flash drive: "got CAM status 0x50" for Kingston DataTraveler G3
Message-ID:  <bug-252225-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252225

            Bug ID: 252225
           Summary: won't accept flash drive: "got CAM status 0x50" for
                    Kingston DataTraveler G3
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: corvid@openmailbox.org

Dec 28 03:56:07 <kern.crit> c kernel: ugen0.2: <Kingston DataTraveler G3> at
usbus0
Dec 28 03:56:07 <kern.crit> c kernel: umass0 on uhub0
Dec 28 03:56:07 <kern.crit> c kernel: umass0: <Kingston DataTraveler G3, cl=
ass
0/0, rev 2.00/1.00, addr 8> on usbus0
Dec 28 03:56:07 <kern.crit> c kernel: umass0:  SCSI over Bulk-Only; quirks =
=3D
0xc000
Dec 28 03:56:07 <kern.crit> c kernel: umass0:5:0: Attached to scbus5
Dec 28 03:56:07 <kern.crit> c kernel: GEOM: new disk da0
Dec 28 03:56:07 <kern.crit> c kernel: pass4 at umass-sim0 bus 0 scbus5 targ=
et 0
lun 0
Dec 28 03:56:07 <kern.crit> c kernel: pass4: <Kingston DataTraveler G3 1.00>
Removable Direct Access SCSI-2 device
Dec 28 03:56:07 <kern.crit> c kernel: pass4: Serial Number
001CC0EC348DC060C5E4076F
Dec 28 03:56:07 <kern.crit> c kernel: pass4: 40.000MB/s transfers
Dec 28 03:56:07 <kern.crit> c kernel: (da0:umass-sim0:0:0:0): got CAM status
0x50
Dec 28 03:56:07 <kern.crit> c kernel: (da0:umass-sim0:0:0:0): fatal error,
failed to attach to device
Dec 28 03:56:07 <kern.crit> c kernel: da0: Delete methods: <NONE(*),ZERO>
Dec 28 03:56:07 <kern.crit> c kernel: Opened disk da0 -> 6
Dec 28 03:56:07 <kern.crit> c kernel: g_access(961): provider da0 has error=
 6
set


ugen0.2: <Kingston DataTraveler G3> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH=
 (480Mbps)
pwr=3DON (100mA)

  bLength =3D 0x0012
  bDescriptorType =3D 0x0001
  bcdUSB =3D 0x0200
  bDeviceClass =3D 0x0000  <Probed by interface class>
  bDeviceSubClass =3D 0x0000
  bDeviceProtocol =3D 0x0000
  bMaxPacketSize0 =3D 0x0040
  idVendor =3D 0x0930
  idProduct =3D 0x6544
  bcdDevice =3D 0x0100
  iManufacturer =3D 0x0001  <Kingston>
  iProduct =3D 0x0002  <DataTraveler G3 >
  iSerialNumber =3D 0x0003  <001CC0EC348DC060C5E4076F>
  bNumConfigurations =3D 0x0001

 Configuration index 0

    bLength =3D 0x0009
    bDescriptorType =3D 0x0002
    wTotalLength =3D 0x0020
    bNumInterfaces =3D 0x0001
    bConfigurationValue =3D 0x0001
    iConfiguration =3D 0x0000  <no string>
    bmAttributes =3D 0x0080
    bMaxPower =3D 0x0032

    Interface 0
      bLength =3D 0x0009
      bDescriptorType =3D 0x0004
      bInterfaceNumber =3D 0x0000
      bAlternateSetting =3D 0x0000
      bNumEndpoints =3D 0x0002
      bInterfaceClass =3D 0x0008  <Mass storage>
      bInterfaceSubClass =3D 0x0006
      bInterfaceProtocol =3D 0x0050
      iInterface =3D 0x0000  <no string>

     Endpoint 0
        bLength =3D 0x0007
        bDescriptorType =3D 0x0005
        bEndpointAddress =3D 0x0081  <IN>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200
        bInterval =3D 0x00ff
        bRefresh =3D 0x0000
        bSynchAddress =3D 0x0000

     Endpoint 1
        bLength =3D 0x0007
        bDescriptorType =3D 0x0005
        bEndpointAddress =3D 0x0002  <OUT>
        bmAttributes =3D 0x0002  <BULK>
        wMaxPacketSize =3D 0x0200
        bInterval =3D 0x00ff
        bRefresh =3D 0x0000
        bSynchAddress =3D 0x0000

I found in sys/cam/scsi/scsi_da.c that there's a da_quirk_table that already
has a=20

        {
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DataTraveler G=
3",
                 "1.00"}, /*quirks*/ DA_Q_NO_PREVENT
        },
but I suppose just because two objects say DataTraveler G3 1.00 doesn't mean
they aren't different inside.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252225-227>