Hello everyone,
The error message ``Device does not support native command queuing: abort'' is written repeatedly to the log when I try to read from a SATA disk using the AHCI driver. Is this driver only meant to work with a SATA disk that supports native command queuing (the HBA supports it)?
While looking at the code of the driver to determine the cause of the error I noticed that:
1. In ahci.cc en main.cc the word `available' has been misspelt as 'avaiable'.
2. In ahci.h the bitfield that indicates support for native command queuing in the HBA seems to be misspelt as `Sncg'. There is also a function with the name `ncg' and this abbreviation is also used in the function `info'.
3. The struct `Identity' in ahci.h describes the structure of the result of an ATA command. Is there a reason why this struct and the corresponding function `identify_device' are not in the file `ata_driver.h'?
Best regards,
Harm
Hello Harm,
On 10/04/2015 09:20 PM, Harm de Vries wrote:
Hello everyone,
The error message ``Device does not support native command queuing: abort'' is written repeatedly to the log when I try to read from a SATA disk using the AHCI driver. Is this driver only meant to work with a SATA disk that supports native command queuing (the HBA supports it)?
Currently yes, if NCQ is not supported, 'dma_ext' instead of 'fpdma' would have to be called.
While looking at the code of the driver to determine the cause of the error I noticed that:
- In ahci.cc en main.cc the word `available' has been misspelt as
'avaiable'.
Okay.
- In ahci.h the bitfield that indicates support for native command
queuing in the HBA seems to be misspelt as `Sncg'. There is also a function with the name `ncg' and this abbreviation is also used in the function `info'.
Okay, maybe I need glasses .)
- The struct `Identity' in ahci.h describes the structure of the result
of an ATA command. Is there a reason why this struct and the corresponding function `identify_device' are not in the file `ata_driver.h'?
There is no reason, the ATA commands should also be moved to this file.
Cheers,
Sebastian
Hi Harm,
On 10/04/2015 09:20 PM, Harm de Vries wrote:
Hello everyone,
The error message ``Device does not support native command queuing: abort'' is written repeatedly to the log when I try to read from a SATA disk using the AHCI driver. Is this driver only meant to work with a SATA disk that supports native command queuing (the HBA supports it)?
I added experimental support for non-NCQ devices/HBAs:
https://github.com/ssumpf/genode/commit/b2ba7ef2f474056a59e0311623c4053586a1...
If you want, give it a try,
Sebastian
Hello Sebastian,
I tried it today: it works. Thanks a lot!
Cheers,
Harm
On Wed, Oct 7, 2015 at 6:31 PM, Sebastian Sumpf < Sebastian.Sumpf@...1...> wrote:
Hi Harm,
On 10/04/2015 09:20 PM, Harm de Vries wrote:
Hello everyone,
The error message ``Device does not support native command queuing: abort'' is written repeatedly to the log when I try to read from a SATA disk using the AHCI driver. Is this driver only meant to work with a SATA disk that supports native command queuing (the HBA supports it)?
I added experimental support for non-NCQ devices/HBAs:
https://github.com/ssumpf/genode/commit/b2ba7ef2f474056a59e0311623c4053586a1...
If you want, give it a try,
Sebastian
-- Sebastian Sumpf Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Full-scale, agent-less Infrastructure Monitoring from a single dashboard Integrate with 40+ ManageEngine ITSM Solutions for complete visibility Physical-Virtual-Cloud Infrastructure monitoring from one console Real user monitoring with APM Insights and performance trend reports Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main