[Bug 281535] USB drive inaccessible after use of zzz

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 Sep 2024 13:25:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281535

            Bug ID: 281535
           Summary: USB drive inaccessible after use of zzz
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: usb@FreeBSD.org
          Reporter: donaldcallen@gmail.com

Created attachment 253602
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253602&action=edit
dmesg

I believe there is a problem with USB devices not being properly handled when
waking the system after using /usr/sbin/zzz. My experience has been that the
system behaves as if the device has been unplugged -- it can no longer access
it. And when trying to use the device on a subsequent reboot, the system
complains that the device was improperly dismounted. I do a fsck when this
happens, which finds no problems. 

In my case, the device is a 7200 rpm 2TB Seagate SATA drive, with a SATA to USB
adapter. It has the GPT partitioning scheme. The partition I keep having
trouble with is a vanilla UFS partition that I use to back up my home directory
with rsync to avoid having just one copy of a lot of recent work.

The workaround is to umount the drive before putting the system to sleep and
remount it after awakening the system.

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