I finally upgrade my 24.04 to 24.10, and now fstrim fails. I have the
udev rules for all my USB SSDs, one old SATA two newer MVMe:
# cat /etc/udev/rules.d/10-uas-discard.rules
# Enable TRIM support for USB SSD enclosures.
ACTION=="add|change", ATTRS{idVendor}=="174c", ATTRS{idProduct}=="235c",
SU
On the Orico M.2 NVME SSD enclosure which claims to support UASP, trim
did not work on a fresh Ubuntu 24.04 install until a rule was added to
/etc/udev/rules.d. The lsblk --discard sda output also listed a DISK-MAX
of 0 for all partitions. After the rule (below) added (with proper
vendor and produc
Launchpad has imported 2 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=83181.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.
** Also affects: linux via
http://bugzilla.kernel.org/show_bug.cgi?id=83181
Importance: Unknown
Status: Unknown
** Tags added: xenial yakkety
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
** Package changed: linux-signed-lts-xenial (Ubuntu) => linux-lts-xenial
(Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336541
Title:
No TRIM via USB
To manage notifications about this bug
** Package changed: linux (Ubuntu) => linux-signed-lts-xenial (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336541
Title:
No TRIM via USB
To manage notifications about this bug go to:
htt
similar or same bug reported at upstream
https://bugzilla.kernel.org/show_bug.cgi?id=83181
** Bug watch added: Linux Kernel Bug Tracker #83181
http://bugzilla.kernel.org/show_bug.cgi?id=83181
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
The ASMedia bridges (as of the USB 3.1 Gen 2 ASM1351) simply does NOT
have UNMAP->TRIM implemented at all. It does support the "ATA
PASSTHROUGH" SCSI command, and it does not block TRIM on that, so hdparm
works.
The only one I've seen that supports UNMAP->TRIM is JMicron JMS567.
However, the impl
It seems that if the device is handled by the usb-storage driver, TRIM
is as of this writing unsupported and likely to remain so.
usb/storage/scsiglue.c sets skip_vpd_pages to true,
source/drivers/scsi/sd.c will not query for the necessary block limits to
support discard if skip_vpd_pages is true
Correction to the above, that's the lsusb identification of the adapter.
lshw identifies it as
*-scsi
physical id: 1
bus info: usb@1:2.4
logical name: scsi0
*-disk
description: SCSI Disk
product: 2115
vendor: ASMT
TRIM is accessible via "hdparm --trim-sector-ranges" on a USB device
supporting ATA PASS THROUGH:
Device is an SSD in a USB 3.0 adapter identified in lshw as follows:
Bus 001 Device 005: ID 174c:55aa ASMedia Technology Inc. ASMedia 2105
SATA bridge
Adapter is hosting a 180GB Intel 530 M.2 NGFF S
Hi, provide my study here :-)
As far as I can see to support TRIM via USB bridge the USB bridge chip
MUST support SCSI / ATA Translation(SAT)'s ATA PASS THROUGH command in
order to pass the TRIM command to the disk.
Reading drive's S.M.A.R.T. data is similar to TRIM which they both
require workin
** Tags added: kernel-bug-exists-upstream
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336541
Title:
No TRIM via USB
To manag
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.16 kernel[0].
If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.
If the mainline kernel does not fix t
apport information
** Tags added: apport-collected trusty
** Description changed:
Hi,
As USB attached SSDs are becoming quite big and affordable, along comes the
idea of installing systems on these.
But with current USB drivers, some functionality seems to be missing from USB
subsyste
** Package changed: udev (Ubuntu) => linux (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336541
Title:
No TRIM via USB
To manage notifications about this bug go to:
https://bugs.launchpad
** Package changed: ubuntu => udev (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1336541
Title:
No TRIM via USB
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubu
Thank you for taking the time to report this bug and helping to make
Ubuntu better. It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general. It is important that bug reports be filed about source
packages so that people
** Description changed:
Hi,
As USB attached SSDs are becoming quite big and affordable, along comes the
idea of installing systems on these.
But with current USB drivers, some functionality seems to be missing from USB
subsystem.
The system does not recognize it is an SSD, but it i
19 matches
Mail list logo