-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Drive.Ata interface for NVME SSDs #386
Comments
Hello, I'm one of the reporters on the GNOME Bugzilla incident. Please let me know if I can offer any more information. |
Dito, Im the original reporter, happy to provide more information too on the samsung model... |
The |
@tasleson, would you mind trying to see what the problem with the |
Ah, and the SMART related things are part of the ATA interface… That means there is no API yet to get SMART data. |
smartctl /dev/nvme0 -a |
Yes, but it shouldn't be |
@vpodzime Sure I can look into the NVME property not working, which interface is this property on? |
@vpodzime Looks to me that this data is derived from the udev db and that the udev db doesn't have what we are looking for. Udev db dumps of NVME and another box that has a typical SATA disk:
We have some custom code in the function Notes: Udev db dump for NVME was on F26, other udev dump from RHEL6 |
Absolutely. Plus udev database is the place others could gather the information from too. Having a custom code for that in udisks codebase is a wrong way to go. |
Looks like there's not much we can do about this in udisks at this moment. |
Is there a tracking bug on udev to include the NVMe data? What data should be there? The kernel looks at NVMe as a new class of devices - independent of ATA or SCSI P: /devices/pci0000:00/0000:00:1d.0/0000:02:00.0/nvme/nvme0 When looking at an actual block device on NVMe - udev reports UDISKS_IGNORE=1. May be that is a place to start? P: /devices/pci0000:00/0000:00:1d.0/0000:02:00.0/nvme/nvme0/nvme0n1/nvme0n1p1 |
This only affects the HintIgnore property. |
I'm not aware of any. |
Hi, what is going on here or needed? I found the description a little confusing. I can look into this probably. Here is the systemd change for ID_MODEL on NVMe systemd/systemd@e2c2d70#diff-27a09d9af06c9587b4302de923986a9d Here is the change for ID_REVISION: systemd/systemd@2c4370d#diff-27a09d9af06c9587b4302de923986a9d They are both pretty recent but RedHat backported some of the udev NVMe changes to CentOS7 so maybe they will be backported? |
insofar as udisks has it... storaged-project/udisks#386
Hi any notice of this? greetings |
We're currently waiting for the first public release of https://github.com/linux-nvme/libnvme. |
So libnvme rather than smartmontools? I understand that library is preferred over shelling out, but smartmontools has a lot more hardware support. |
|
Correct, sorry :) |
@tbzatek libnvme releases 1.0 |
Forwarding this bug from https://bugzilla.gnome.org/show_bug.cgi?id=778906
The model property is empty and there is no Drive.Ata interface for drives like INTEL SSDPEKKF256G7L or Samsung SSD 950 PRO 512GB.
The text was updated successfully, but these errors were encountered: