Coder Social home page Coder Social logo

Comments (5)

karlowich avatar karlowich commented on July 20, 2024

Hi @Jojo-moon, regarding your points:

  1. This is perfectly fine

  2. This is a problem, yes. However, your screenshot makes it hard to see what went wrong. Which branch are you on?

  3. It is expected that you have to add to your PATH before being able to run xnvme commands.
    In the CI we add these to PATH:

set "PATH=%SystemDrive%\tools\msys64;%PATH%"
set "PATH=%SystemDrive%\tools\msys64\usr\bin;%PATH%"
set "PATH=%SystemDrive%\tools\msys64\mingw64\bin;%PATH%"
  1. This is likely a problem with your cmd-out.nvmec and not xNVMe.
    The Microsoft NVMe driver doesn't support pass-through.
    @rs-sam do you have a solution for this?

from xnvme.

Jojo-moon avatar Jojo-moon commented on July 20, 2024

Hi @Jojo-moon, regarding your points:

  1. This is perfectly fine
  2. This is a problem, yes. However, your screenshot makes it hard to see what went wrong. Which branch are you on?
  3. It is expected that you have to add to your PATH before being able to run xnvme commands.
    In the CI we add these to PATH:
set "PATH=%SystemDrive%\tools\msys64;%PATH%"
set "PATH=%SystemDrive%\tools\msys64\usr\bin;%PATH%"
set "PATH=%SystemDrive%\tools\msys64\mingw64\bin;%PATH%"
  1. This is likely a problem with your cmd-out.nvmec and not xNVMe.
    The Microsoft NVMe driver doesn't support pass-through.
    @rs-sam do you have a solution for this?
  1. on main branch ,however next branch may be the same.
  2. I just run test_padc with opcode=0xc1,others not change. I tried test padc with opcode=0x6 ,it works!

from xnvme.

rs-sam avatar rs-sam commented on July 20, 2024

Hi @Jojo-moon
Current xNVMe Windows backend does not support pass-through commands.
There is a new option called 'STORAGE_PROTOCOL_COMMAND' that can be used to send vendor specific admin/nvme commands, xNVMe build system is based on MinGW headers and libs and this 'STORAGE_PROTOCOL_COMMAND' is not yet available in that.

from xnvme.

Jojo-moon avatar Jojo-moon commented on July 20, 2024

Hi @Jojo-moon Current xNVMe Windows backend does not support pass-through commands. There is a new option called 'STORAGE_PROTOCOL_COMMAND' that can be used to send vendor specific admin/nvme commands, xNVMe build system is based on MinGW headers and libs and this 'STORAGE_PROTOCOL_COMMAND' is not yet available in that.

I I konw STORAGE_PROTOCOL_COMMAND can be used to send vs command . Will xnvme support it later ?

from xnvme.

rs-sam avatar rs-sam commented on July 20, 2024

Yes, it is in our bucket-list.

from xnvme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.