From nobody Fri Dec 27 20:33:59 2024 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YKcfK5bS2z5jJKc for ; Fri, 27 Dec 2024 20:34:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKcfK3pgKz4Xg9 for ; Fri, 27 Dec 2024 20:34:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735331641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GqXyL0hdmut9klJ/g1Qdo6yP2+bdd0tFtnyM+GBLT2o=; b=qwldY2aZGY5gPf0hu7sDnsUGx3yNhod6uRgVdlwSLI6gDisZ787enCMelExVPHxy0jyMuY 60C5xLM90VjYnNH/jDZxxgzJ3L9Lqk0OGqJ0h31v6LybKGsPbKnk6Eu1fan7uLsULWDv1g sMh20nD0l3WFXsj96E1HwZCDaP3PDLppotjD04PKug/fNj8j7T58p1/4pGzHfpKRlktGOd CZ5GrNXz/WKXATAh+JASTpT2fXQoH3qRLCCcCsishqikW+e76hiIB9LJOsrHaOIMX7C1k4 phsj75jecKX8ZU3B0Ftz1IJslh3pQ4/F4flyMO0+BqTzekJhYjWhVO+u5103SQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735331641; a=rsa-sha256; cv=none; b=WSWfyxhzlbHe76eHeimza2GUYQf+nC6ZVgYkJF5b2c9syB6zsncHElNCkreeaQHiod3XUb bhw3R2oZJLa9AgrN85xD482NKg9uNe/201b9CcNfLU6EUSyxdRVfk3PLtLg14Rotf3HrtI lo5yPSmzU1jlZ9VvkRFMDNX7jykF7FFCFEIPwzkzx+pGtq8gHGO0sQIySejzddPvqeq+zS j4y+KKgTpiMf+UUBn/9t0VVErM1E7TsaRGZDutxF2tqeuydOCi4Y2Mk3TL5w77Hj+1nvkk TncItOC0V93GSZEbsrOnnaW6c2MTFZ4bPGSxHUoSHDW1GV2f2p6M3+Fjexaw4A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YKcfH5C3fzv57 for ; Fri, 27 Dec 2024 20:33:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BRKXxgF028388 for ; Fri, 27 Dec 2024 20:33:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BRKXxrO028385 for usb@FreeBSD.org; Fri, 27 Dec 2024 20:33:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 263868] usb_msc_auto_quirk and usb memory card readers Date: Fri, 27 Dec 2024 20:33:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vbasiccd@msn.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? mfc-stable12- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263868 Brett changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vbasiccd@msn.com --- Comment #19 from Brett --- FYI, I had the same issue with a Sandisk iXpand flash drive on 14.1-RELEASE= -p6. Below is the output in /var/log/messages: usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device San= Disk iXpand Flash Drive (0x0781:0xcffb) usb_msc_auto_quirk: UQ_MSC_NO_SYNC_CACHE set for USB mass storage device SanDisk iXpand Flash Drive (0x0781:0xcffb) usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device SanDisk iXpand Flash Drive (0x0781:0xcffb) usb_msc_auto_quirk: UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage devi= ce SanDisk iXpand Flash Drive (0x0781:0xcffb) usb_msc_auto_quirk: UQ_MSC_NO_START_STOP set for USB mass storage device SanDisk iXpand Flash Drive (0x0781:0xcffb) ugen0.2: at usbus0 umass0 on uhub0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0xc105 umass0:2:0: Attached to scbus2 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 = 00 00=20 (probe0:umass-sim0:0:0:0): CAM status: Auto-Sense Retrieval Failed (probe0:umass-sim0:0:0:0): Error 5, Unretryable error (da0:umass-sim0:0:0:0): got CAM status 0x450 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device I added the following line to /boot/loader.conf and then rebooted. hw.usb.quirk.0=3D"0x0781 0xcffb 0 0xffff UQ_MSC_NO_INQUIRY" Now the drive mounts properly. Thanks for the tip! ugen0.2: at usbus0 umass0 on uhub1 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks =3D 0x0400 umass0:2:0: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: < > Removable Direct Access SCSI-2 device da0: 400.000MB/s transfers da0: 121941MB (249736704 512 byte sectors) da0: quirks=3D0x2 --=20 You are receiving this mail because: You are on the CC list for the bug.=