From nobody Sun Jan 22 15:25:18 2023 X-Original-To: freebsd-questions@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 4P0H9l53sbz30vnZ for ; Sun, 22 Jan 2023 15:25:31 +0000 (UTC) (envelope-from greg.bal4@gmail.com) Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P0H9k5Gw0z49Wv for ; Sun, 22 Jan 2023 15:25:30 +0000 (UTC) (envelope-from greg.bal4@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=MSclx1LN; spf=pass (mx1.freebsd.org: domain of greg.bal4@gmail.com designates 2001:4860:4864:20::29 as permitted sender) smtp.mailfrom=greg.bal4@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-15ebfdf69adso11602699fac.0 for ; Sun, 22 Jan 2023 07:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=34VaWy7IqsGbVC+QZj1kX6Ceakh6CX0QsGY7j/tS/bk=; b=MSclx1LNtQ69jMw1aCQaBNaaPnLhIV9fAdoG3mF5op/xfckr6MzLx80tY40OB17bt5 8KVEl1AXW1wuXfbmySLt+8JGYK43jsavIGdXF1tUHfiDeZxamUJj2sR/8QJbWrj+MIaI QAWW9jjf6Rf/OUyaU7jDltx68vQdysiBTWL5Bx9xhIL1stukCk+b+hGUPgxOWWCcsnb/ 5hMKqdqVVPwDx2EqYbzRChVEG+I5O/TCcpHAG5+BmHmAnO0gbahkgyBj0jR2cQdTNEOE yqx+PHhWBwLjjxcz3z2TjjuIIPvYvXoy2K7+p+LoAiO+JAVBxMZmpehVhIePb5TzxCrK jypA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=34VaWy7IqsGbVC+QZj1kX6Ceakh6CX0QsGY7j/tS/bk=; b=kKHPoAJ42IEztKnc+3tqj5wzy/k1wNf6M2bXVigz8z01dAIXKexSsOP4eLNXFPFyub o+VhUcjEVoOUtv0qVb8dfG3Xvm9w1QvA2KVwHH138LQn3W2atZ/onulVZyOTdFoWqn7m ICKxFgTWhR/b4JRC/faTCdfSo7rCW3tuCFcXaCLeI6iXoRL0nwPdgzS7h6fqLCx5iAmN AEsL2+203jAjXZHkGXtQg9BW64N5ZBzLYGHh9WiLdqvOUkhENsnLxjRNB0wgaoFHWLDY U7GRKn4JOnhUKmE7sNPeqBvjU0P1BaOpv43unoG+7gjziPIZEc+zaEjadhIkw+7RdMtX msmg== X-Gm-Message-State: AFqh2kqwfJ7lmACMe9ncxWJUUSOffcxF9b7dKLe/jBuY5GES4ZwyXkEG 3KGZGfihL9nXn5mIZJK1GrCVy7hPq7HV4/mHWkT/C5NElz8= X-Google-Smtp-Source: AMrXdXuOVcZi3eSTognfJOmnGbaMiMiq3c7KQEGg6u2HjcLBNaWPUhOAZnr0+QHhsSjJAWikoLDwtkqTrtBNuYxjhjM= X-Received: by 2002:a05:6870:5386:b0:15f:1d8a:8860 with SMTP id h6-20020a056870538600b0015f1d8a8860mr1511391oan.153.1674401129019; Sun, 22 Jan 2023 07:25:29 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Greg Balfour Date: Sun, 22 Jan 2023 09:25:18 -0600 Message-ID: Subject: Re: USB drive not recognized To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2001:4860:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2001:4860:4864:20::29:from]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4P0H9k5Gw0z49Wv X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Fri, Dec 16, 2022 at 9:39 PM Greg Balfour wrote: > > I have a USB drive that's recognized under Linux but not > FreeBSD 13.1-RELEASE-p3 GENERIC amd64. Is there > anything I can do to work around this? > > Dec 16 21:20:22 desktop kernel: usb_msc_auto_quirk: > UQ_MSC_NO_GETMAXLUN set for USB mass storage device ACTIONS HS USB > FlashDisk (0x10d6:0x1101) > Dec 16 21:20:22 desktop kernel: usb_msc_auto_quirk: > UQ_MSC_NO_SYNC_CACHE set for USB mass storage device ACTIONS HS USB > FlashDisk (0x10d6:0x1101) > Dec 16 21:20:22 desktop kernel: usb_msc_auto_quirk: > UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device ACTIONS HS USB > FlashDisk (0x10d6:0x1101) > Dec 16 21:20:22 desktop kernel: usb_msc_auto_quirk: > UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage device ACTIONS HS > USB FlashDisk (0x10d6:0x1101) > Dec 16 21:20:22 desktop kernel: usb_msc_auto_quirk: > UQ_MSC_NO_START_STOP set for USB mass storage device ACTIONS HS USB > FlashDisk (0x10d6:0x1101) > Dec 16 21:20:30 desktop kernel: usbd_setup_device_desc: getting device > descriptor at addr 5 failed, USB_ERR_IOERROR > Dec 16 21:20:33 desktop syslogd: last message repeated 1 times > Dec 16 21:20:33 desktop kernel: usb_alloc_device: Failure selecting > configuration index 0:USB_ERR_IOERROR, port 4, addr 5 (ignored) > Dec 16 21:20:33 desktop kernel: ugen1.5: at usbus1 > Dec 16 21:20:37 desktop kernel: ugen1.5: at > usbus1 (disconnected) > > # ls /dev/da* > ls: /dev/da*: No such file or directory To follow up on this, I opened a bug report and someone suggested I try this: usbconfig -d ugenX.Y add_quirk UQ_MSC_NO_GETMAXLUN usbconfig -d ugenX.Y add_quirk UQ_MSC_NO_SYNC_CACHE That worked. I then had to install sysutils/fusefs-exfat to mount it. For details see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269085