Comments (7)
I looked through the attached log file and see the following command being issued. In the log no error is being returned to the application from the driver. This looks like a bug in the driver. I've attached the snippet of the output below that shows we aren't given anything back in the sense data about this failure.
We may be able to make some changes to when we read this log page so it is only read if it is supported by the drive but this looks like a deeper issue within Solaris. If we try to read certain logs from the drive that are supported, the drive should respond to that with an aborted command, but driver/OS should be able to be handle this and give us back the response without any problem. I suspect this error happened in earlier versions of Solaris as well, but it may not have been logged in a system log like it is in this version.
Solaris_11.4_snippet.txt
from openseachest.
Hi,
Thank you for looking into this. So this error is simply cosmetic and does not adversely affect the functioning of the application?
Regards,
Achelon
from openseachest.
I don't see this causing any tool problems currently.
This page is being read to help identify whether the tool is talking to a host managed drive or a host aware drive.
I started a branch for this issue so that we read a list of supported pages, then only read the pages the drive reports. I'll also be making sure we're doing a little more to validate the data we're returned to make sure that this doesn't cause a problem.
from openseachest.
I've completed the changes I was working on and it is now pushed to the develop branch.
The tool will now read the list of supported pages for the identify device data log (30h) and the device statistics log (04h) before reading the subpages to prevent this error from showing up in a system log.
I also added some extra validation of the returned data to make sure there is valid data and it is from the correct page.
from openseachest.
Hi,
Thanks for the update - I really appreciate you efforts. I cloned the latest code from the develop branch using:
git clone --recurse-submodules -j8 https://github.com/Seagate/openSeaChest.git
openSeaChest_Basics Version: 2.7.3-1_18_1 X86_64
Build Date: Sep 6 2018
Today: Thu Sep 6 23:37:02 2018
and I just wished to provide some feedback:
1) This does not compile on Solaris with the included Makefiles (errors with Undefined symbol: .pow) when I run gmake. This is because lines 45-46 in Makefile need to read:
LFLAGS += -lm -lrt
TCGLFLAGS += -lm -lrt
and line 39 in Makefile.openSeaChest_firmware needs to read:
FWDLLFLAGS += -lm -lrt
2) The reported issue unfortunately still occurs on this latest build. Im still seeing errors in the Solaris system log:
ahci: [ID 296163 kern.warning] WARNING: ahci0: ahci port 0 has task file error
ahci: [ID 687168 kern.warning] WARNING: ahci0: ahci port 0 is trying to do error recovery
ahci: [ID 693748 kern.warning] WARNING: ahci0: ahci port 0 task_file_status = 0x451
ahci: [ID 332577 kern.warning] WARNING: ahci0: the below command (s) on port 0 are aborted
ahci: [ID 117845 kern.warning] WARNING: satapkt 0xffffa1c035adc1f0: cmd_reg = 0x47 features_reg = 0x0 sec_count_msb = 0x0 lba_low_msb = 0x0 lba_mid_msb = 0x0 lba_high_msb = 0x0 sec_count_lsb = 0x1 lba_low_lsb = 0x30 lba_mid_lsb = 0x9 lba_high_lsb = 0x0 device_reg = 0xa0 addr_type = 0x4 cmd_flags = 0x52
ahci: [ID 657156 kern.warning] WARNING: ahci0: error recovery for port 0 succeed
ahci: [ID 811322 kern.info] NOTICE: ahci0: ahci_tran_reset_dport port 0 reset device
scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci17aa,30a5@1f,2/disk@0,0 (sd1):
disk not responding to selection
I don't know if I did something wrong but your advice would be appreciated.
Regards,
Achelon
from openseachest.
I removed the need for -lm on develop today by removing the use of pow(), so that should help with the makefile issues.
This happened because we've been working on getting NVMe support in for Linux, and it's on by default now, but we really don't need the math library, so I was able to replace that call with other code.
I think I forgot to push an update to openSeaChest to specify a newer commit to use in the submodules opensea-transport and opensea-operations.
I pushed a few other changes today as well and made sure that the submodules were updated for openSeaChest.
I did a fresh checkout and saw that the new changes are in place, so it should work this time.
Let me know if you have any more trouble.
from openseachest.
I can confirm that this issue is now resolved.
Many Thanks,
Achelon
from openseachest.
Related Issues (20)
- Exos X16 fails to change sector size on a Supermicro server HOT 5
- tracking "unkown command" HOT 7
- Prebuilt EFI binaries? HOT 3
- Firmware update failing - Firmware Download Failed - Download Microcode returning: ABORTED HOT 30
- I have got dual ST8000NM000A-2KE101 - they have 0 bad sectors and errors but Raid 1 keep getting degraded - Intel® Optane™ Memory HOT 26
- How do we scan, find new firmware and update it? I am on windows HOT 3
- Make Package for ESXi HOT 2
- EPC timers no longer working after long SMART test HOT 15
- openSeaChest_Format: unknown option --showSupportedSectorSizes HOT 1
- Linux openSeaChest reports drive in `standby_z` state regardless of the actual state. HOT 13
- issue HOT 2
- Settings do not take effect HOT 5
- Some detailed changelog HOT 2
- openSeaChest .deb package misses export PATH variable HOT 3
- multiple ST20000NM007D EXOS X20 20TB firmware SC03 fails warranty claim HOT 2
- openSeaChest_PowerControl standby time ignored HOT 3
- Add option to ignore drives in standby HOT 2
- Code Security Report: 6 high severity findings, 16 total findings HOT 1
- Support QNAP TR-004 4-bay enclosure HOT 1
- Issue with Setting Sector Size on Seagate ST24000NM002H after Interruption, Drive Bricked HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openseachest.