-
Notifications
You must be signed in to change notification settings - Fork 31
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
SeaChest_NVMe Reporting incorrect data for XPG Spectrix #19
Comments
Hi @NavCC, Thanks for the report...those numbers do look very wrong for bytes read/written, and power on time. Can you show the output of If you are able to, can you share what is reported about this drive from our tools under Linux? Anything you can do to get us this info would be very helpful to determine what exactly is going on in this case. We will do some testing of our own as well, but it will be good to have something else to compare against. edit: Added --smartAttributes raw output request |
Hello @vonericsen All other NVMe drives I have tested have come back with the correct drive information, looks like Crystal disk is reporting correctly as is Smartmontools. Not sure what output you wanted for smartmon tools as I'm not familiar with it, went for -x sda I will test your tools on Linux when I get the chance and update the issue according. |
Hi @NavCC, Thanks for the other information! @vibhutipratapsingh has been chatting with me as he has tested and reviewed the openSeaChest code, and it looks like the reported values are calculating correctly for display in the "common" layer. We have not been able to repeat the problem with what we have access to right now. Looking at the smartmontools output, it looks like it has a similar issue with what it is reporting. It appears to be one of two problems at this point:
If you can tell me anything about what driver is installed, that could also help since we have 3 different NVMe methods in Windows depending on how the drive shows up. |
Hello @vonericsen Very interesting. I thought I would remove Windows from the situation all together and complied the latest release for Linux. As you can see the Bytes written is incorrect as is the power on time, I've run both OpenSeaChest_Basic & nvme with verbose on 4. Yes the system is completely different to issue #11 I've deployed this on many systems with different configurations and intent to report any issues I experience along the way, for majority of drives / configurations it's perfectly fine. We are very happy with the toolset and the support we receive when opening issues. We use the nvme tools for reporting drive data, entry into a database and creating a graph for the end user. If there is any other logs you would like me to retrieve in the Windows or Linux workspace I now have the PC dual booting so not an issue. Thanks @vibhutipratapsingh & @vonericsen for your support. |
@NavCC, Since this seems to follow the drive, I think there is something going on from the drive side that I need some more testing/information on before we'll know the solution. Can you install nvme-cli (sudo apt install nvme-cli) and then run the following commands?
It should output something similar to this:
What I'm trying to determine with these commands is whether the drive is responding properly with all namespaces (ffffffff) on this log or if the specific namespace must be specified when reading it. That may explain the behavior and wrong values. If that doesn't do it, then my next idea is that it is some sequence of commands that is causing strange behavior from the drive. For example, trying to read feature information before reading this log may cause something strange to happen when the data is read. |
Hello @vonericsen Apologies for the delay finding my self under the pump at the moment, hopefully I'm replying fast enough to hold your interest! Please find the two requested outputs in separate log files Appears to be lacking multiple pieces of output that you got from your nvme drive. |
Thanks for the logs @NavCC! Looking at those outputs, that test of changing the namespace value didn't resolve it either. I'm not sure what the solution is, and walking through the CrystalDiskInfo code, I didn't see anything unique there either, so I'm not sure why it reported correctly in there, but not in NVMe CLI or openSeaChest. The only other thing I can think of is related to command order, or just getting lucky with whatever is going on in the drive.
You can do this in nvme-cli with these commands and if it doesn't return massive numbers, that means we can implement this same kind of this as a workaround:
Can you try this a few times and see if this reports more accurate data for power on hours, total reads, total writes, etc? Also, I did find that there is a firmware update available for this drive, but the readme makes it sound like it will erase the drive to do it...which is not great. XPG S40G downloads. This does not describe what it fixes unfortunately, so I cannot be sure that this would fix this reporting either, but it could. |
Hello,
I have a test bench with XPG SPECTRIX S40G installed onto an Intel Z390-P, it's incorrectly reporting some data.
The drive should have maybe 24 hours if that.
SeachestNvmenormalinfo.txt
eg. Total Bytes Read (ZB), Total Bytes Written, Power On Time.
SeachestBasicVerbose4.txt
SeachestNVMEinfo.txt
Please let me know if you require anymore information.
The text was updated successfully, but these errors were encountered: