* Unable to find /dev/nvme0 @ 2014-09-12 4:23 Haomai Wang 2014-09-12 7:12 ` Angelo Brito 0 siblings, 1 reply; 7+ messages in thread From: Haomai Wang @ 2014-09-12 4:23 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Unable to find /dev/nvme0 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 0 siblings, 1 reply; 7+ messages in thread From: Angelo Brito @ 2014-09-12 7:12 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Unable to find /dev/nvme0 2014-09-12 7:12 ` Angelo Brito @ 2014-09-12 7:31 ` Haomai Wang [not found] ` <CACJqLyacaeC43adhNb1VLbEa+hrwZ=_q+VXER1DEpBNDwbyA0Q@mail.gmail.com> 0 siblings, 1 reply; 7+ messages in thread From: Haomai Wang @ 2014-09-12 7:31 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <CACJqLyacaeC43adhNb1VLbEa+hrwZ=_q+VXER1DEpBNDwbyA0Q@mail.gmail.com>]
* Unable to find /dev/nvme0 [not found] ` <CACJqLyacaeC43adhNb1VLbEa+hrwZ=_q+VXER1DEpBNDwbyA0Q@mail.gmail.com> @ 2014-09-12 14:19 ` Angelo Brito 2014-09-12 14:56 ` Keith Busch 0 siblings, 1 reply; 7+ messages in thread From: Angelo Brito @ 2014-09-12 14:19 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Unable to find /dev/nvme0 2014-09-12 14:19 ` Angelo Brito @ 2014-09-12 14:56 ` Keith Busch 2014-09-12 16:53 ` Angelo Brito 0 siblings, 1 reply; 7+ messages in thread From: Keith Busch @ 2014-09-12 14:56 UTC (permalink / raw) On Fri, 12 Sep 2014, Angelo Brito wrote: > 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. > > 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. I'm having a hard time parsing this conversation into something that makes sense. Are you asking for an example user space program that makes use of the linux nvme driver's uapi? I don't think you'll find a simpler example than those in the nvme user repo. Or perhaps you can suggest what you think it's lacking? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Unable to find /dev/nvme0 2014-09-12 14:56 ` Keith Busch @ 2014-09-12 16:53 ` Angelo Brito 2014-09-13 8:54 ` Haomai Wang 0 siblings, 1 reply; 7+ messages in thread From: Angelo Brito @ 2014-09-12 16:53 UTC (permalink / raw) Hi Keith. I am already doing user space programs that makes use of the driver's uapi. Wang asked about an API. I tried to explain that he can use the uapi and use UNIX commands. Sorry for the confused reply. Regards, Angelo Silva Brito. Graduate in Engenharia da Computa??o - UFPE http://about.me/angelobrito _________________________________________________ On Fri, Sep 12, 2014@11:56 AM, Keith Busch <keith.busch@intel.com> wrote: > > On Fri, 12 Sep 2014, Angelo Brito wrote: >> >> 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. >> >> 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. > > > I'm having a hard time parsing this conversation into something that > makes sense. Are you asking for an example user space program that makes > use of the linux nvme driver's uapi? I don't think you'll find a simpler > example than those in the nvme user repo. Or perhaps you can suggest > what you think it's lacking? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Unable to find /dev/nvme0 2014-09-12 16:53 ` Angelo Brito @ 2014-09-13 8:54 ` Haomai Wang 0 siblings, 0 replies; 7+ messages in thread From: Haomai Wang @ 2014-09-13 8:54 UTC (permalink / raw) Thanks to all! I misunderstood with NVMe driver. I have got it! On Sat, Sep 13, 2014@12:53 AM, Angelo Brito <asb@cin.ufpe.br> wrote: > Hi Keith. > > I am already doing user space programs that makes use of the driver's uapi. > Wang asked about an API. I tried to explain that he can use the uapi > and use UNIX commands. > Sorry for the confused reply. > > Regards, > Angelo Silva Brito. > Graduate in Engenharia da Computa??o - UFPE > http://about.me/angelobrito > _________________________________________________ > > > On Fri, Sep 12, 2014@11:56 AM, Keith Busch <keith.busch@intel.com> wrote: >> >> On Fri, 12 Sep 2014, Angelo Brito wrote: >>> >>> 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. >>> >>> 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. >> >> >> I'm having a hard time parsing this conversation into something that >> makes sense. Are you asking for an example user space program that makes >> use of the linux nvme driver's uapi? I don't think you'll find a simpler >> example than those in the nvme user repo. Or perhaps you can suggest >> what you think it's lacking? -- Best Regards, Wheat ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-09-13 8:54 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 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 2014-09-12 14:56 ` Keith Busch 2014-09-12 16:53 ` Angelo Brito 2014-09-13 8:54 ` Haomai Wang
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.