Skip to content

Some problems about using C API #14

Description

@wuqiulin1995

Hi

Thanks for your previous help , but I met some other problems now.

When I write to the { channel 0, LUN 0, plane 0&1, block 0, page 0, sec 0&1&2&3 } of SSD using CLI command nvm_addr write , error came out:

nvm_addr write : {pMODE : DUAL}
...
nvm_addr write : Input/output error
nvm_ret:{result : 0x2, status : 0}
write: Input/output error

above are shown on the guest ubuntu terminal of QEMU.

and in the host ubuntu terminal it shows :

_set_written : invalid block state (ac)
lnvm_rw : set written status failed
ppa: ch(0) lun(0) pl(0) blk(0) pg(0) sec(0)

My SSD has 1 channel, 8 LUN , 2 planes per LUN and 31 blocks per plane, but if the SSD is 1 channel, 8 LUN , 1 planes per LUN and 63 blocks per plane, the error didn't come out, I can write to and read from the SSD correctly.

What's the problem about?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions