All of lore.kernel.org
 help / color / mirror / Atom feed
From: asb@cin.ufpe.br (Angelo Brito)
Subject: Unable to find /dev/nvme0
Date: Fri, 12 Sep 2014 11:19:21 -0300	[thread overview]
Message-ID: <CAMjVwgRwBXCkLgmO=jy-XiLXRQVKDfF66pf2UORjzHkN1Db00Q@mail.gmail.com> (raw)
In-Reply-To: <CACJqLyacaeC43adhNb1VLbEa+hrwZ=_q+VXER1DEpBNDwbyA0Q@mail.gmail.com>

Hi Wang,

I don't know any NVMe API. If there is an API for this driver the guys
from the nvme list can comment about it.
I have been working with NVMe driver, to do so I included the nvme.h
from kernel headers from usr/src/kernel/linux/include folders and
calling drivers functions directly.
Also, all UNIX programs like cp, mkfs, rm, mkdir, ls and all others,
are compatible with the driver.

Regards,
Angelo Silva Brito.
Graduate in Engenharia da Computa??o - UFPE
http://about.me/angelobrito
_________________________________________________


On Fri, Sep 12, 2014@4:39 AM, Haomai Wang <haomaiwang@gmail.com> wrote:
> Another question: where can I found the NVME API example program?
> nvme-user repo seemed too poor.
>
> On Fri, Sep 12, 2014@3:31 PM, Haomai Wang <haomaiwang@gmail.com> wrote:
>> Thanks!
>>
>> I have found the reason because of broken pcie slot :-(;
>>
>> On Fri, Sep 12, 2014@3:12 PM, Angelo Brito <asb@cin.ufpe.br> wrote:
>>> Hi Wang,
>>>
>>> First things first. Have you tried a lspci commands and checked if
>>> your device was reconized?
>>> Also, you coould use dmesg to look for errors regarding the nvme
>>> module. Does anything showed up?
>>>
>>> Regards
>>> Angelo Silva Brito.
>>> Digital Systems Engineer - UFPE
>>> http://about.me/angelobrito
>>> _________________________________________________
>>>
>>>
>>> On Fri, Sep 12, 2014@1:23 AM, Haomai Wang <haomaiwang@gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I use a linux kernel version 3.12 based on CentOS 6.5:
>>>> # uname -a
>>>> Linux server-72 3.12.21-1.el6.x86_64 #1 SMP Thu Jun 5 22:15:05 EDT
>>>> 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> I insert kernel module nvme:
>>>> # modprobe nvme
>>>> # lsmod | grep nvme
>>>> nvme                   54575  0
>>>> # modinfo nvme
>>>> filename:       /lib/modules/3.12.21-1.el6.x86_64/kernel/drivers/block/nvme.ko
>>>> version:        0.8
>>>> license:        GPL
>>>> author:         Matthew Wilcox <willy at linux.intel.com>
>>>> srcversion:     971AB1E47B949401886CC3F
>>>> alias:          pci:v*d*sv*sd*bc01sc08i02*
>>>> depends:
>>>> intree:         Y
>>>> vermagic:       3.12.21-1.el6.x86_64 SMP mod_unload modversions
>>>> parm:           nvme_major:int
>>>> parm:           use_threaded_interrupts:int
>>>>
>>>> I follow the instructment from
>>>> (file:///Users/wanghaomai/Downloads/SF13_SSDL001_100.pdf) and can't
>>>> fiind:
>>>> # ls /dev/nvme*
>>>> ls: cannot access /dev/nvme*: No such file or directory
>>>>
>>>> I used intel nvme p3500 for testing.
>>>>
>>>> I'm very appreciated if any feedback
>>>>
>>>> --
>>>> Best Regards,
>>>>
>>>> Wheat
>>>>
>>>> _______________________________________________
>>>> Linux-nvme mailing list
>>>> Linux-nvme at lists.infradead.org
>>>> http://lists.infradead.org/mailman/listinfo/linux-nvme
>>
>>
>>
>> --
>> Best Regards,
>>
>> Wheat
>
>
>
> --
> Best Regards,
>
> Wheat

  parent reply	other threads:[~2014-09-12 14:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12  4:23 Unable to find /dev/nvme0 Haomai Wang
2014-09-12  7:12 ` Angelo Brito
2014-09-12  7:31   ` Haomai Wang
     [not found]     ` <CACJqLyacaeC43adhNb1VLbEa+hrwZ=_q+VXER1DEpBNDwbyA0Q@mail.gmail.com>
2014-09-12 14:19       ` Angelo Brito [this message]
2014-09-12 14:56         ` Keith Busch
2014-09-12 16:53           ` Angelo Brito
2014-09-13  8:54             ` Haomai Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMjVwgRwBXCkLgmO=jy-XiLXRQVKDfF66pf2UORjzHkN1Db00Q@mail.gmail.com' \
    --to=asb@cin.ufpe.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.