* Re: [SPDK] nvme hello_world report error
@ 2019-01-24 5:35 cgxu519
0 siblings, 0 replies; 4+ messages in thread
From: cgxu519 @ 2019-01-24 5:35 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]
Have you unbound kernel driver?
Thanks,
Chengguang
On 1/24/19 1:23 PM, Jing Liu wrote:
> Hi,
>
> I started from trying the hello_world in examples/nvme/ but got errors like
> this:
> """
> Starting SPDK v18.04.1 / DPDK 18.02.0 initialization...
> [ DPDK EAL parameters: hello_world -c 0x1 --file-prefix=spdk0
> --base-virtaddr=0x1000000000 --proc-type=auto ]
> EAL: Detected 16 lcore(s)
> EAL: Auto-detected process type: PRIMARY
> EAL: No free hugepages reported in hugepages-1048576kB
> EAL: Debug dataplane logs available - lower performance
> EAL: Multi-process socket /var/run/.spdk0_unix
> EAL: Probing VFIO support...
> EAL: no supported IOMMU extensions found!
> EAL: VFIO support could not be initialized
> Initializing NVMe Controllers
> EAL: PCI device 0000:05:00.0 on NUMA socket 0
> EAL: probe driver: 144d:a802 spdk_nvme
> EAL: Requested device 0000:05:00.0 cannot be used
> no NVMe controllers found
> """
> kernel: 4.7, SSD: Samsung Electronics Co Ltd Device a802
>
> After days of searching I still cannot figure out the problem. I'm
> wondering if I can get some clue about this error?
>
> Thanks,
> Jing
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] nvme hello_world report error
@ 2019-01-24 18:24 Jing Liu
0 siblings, 0 replies; 4+ messages in thread
From: Jing Liu @ 2019-01-24 18:24 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 2777 bytes --]
Hi,
I have run the setup script. the output of scripts/setup.sh status is:
----------------------------
Hugepages
node hugesize free / total
node0 1048576kB 0 / 0
node0 2048kB 0 / 1024
NVMe devices
BDF Numa Node Driver name Device name
0000:05:00.0 0 vfio-pci -
I/OAT DMA
BDF Numa Node Driver Name
0000:00:04.0 0
0000:00:04.1 0
0000:00:04.2 0
0000:00:04.3 0
0000:00:04.4 0
0000:00:04.5 0
0000:00:04.6 0
0000:00:04.7 0
virtio
BDF Numa Node Driver Name Device Name
-------------------------
Thanks,
Jing
On Thu, Jan 24, 2019 at 10:59 AM Walker, Benjamin <benjamin.walker(a)intel.com>
wrote:
> On Thu, 2019-01-24 at 13:35 +0800, cgxu519 wrote:
> > Have you unbound kernel driver?
>
> Based on the error message I think this is the problem. Run SPDK's
> scripts/setup.sh with root privileges to correctly set up NVMe disks for
> use
> with user space drivers.
>
> If you've already done that, run `scripts/setup.sh status` and send us the
> output.
>
> Thanks,
> Ben
>
> >
> >
> > Thanks,
> > Chengguang
> >
> > On 1/24/19 1:23 PM, Jing Liu wrote:
> > > Hi,
> > >
> > > I started from trying the hello_world in examples/nvme/ but got errors
> like
> > > this:
> > > """
> > > Starting SPDK v18.04.1 / DPDK 18.02.0 initialization...
> > > [ DPDK EAL parameters: hello_world -c 0x1 --file-prefix=spdk0
> > > --base-virtaddr=0x1000000000 --proc-type=auto ]
> > > EAL: Detected 16 lcore(s)
> > > EAL: Auto-detected process type: PRIMARY
> > > EAL: No free hugepages reported in hugepages-1048576kB
> > > EAL: Debug dataplane logs available - lower performance
> > > EAL: Multi-process socket /var/run/.spdk0_unix
> > > EAL: Probing VFIO support...
> > > EAL: no supported IOMMU extensions found!
> > > EAL: VFIO support could not be initialized
> > > Initializing NVMe Controllers
> > > EAL: PCI device 0000:05:00.0 on NUMA socket 0
> > > EAL: probe driver: 144d:a802 spdk_nvme
> > > EAL: Requested device 0000:05:00.0 cannot be used
> > > no NVMe controllers found
> > > """
> > > kernel: 4.7, SSD: Samsung Electronics Co Ltd Device a802
> > >
> > > After days of searching I still cannot figure out the problem. I'm
> > > wondering if I can get some clue about this error?
> > >
> > > Thanks,
> > > Jing
> > > _______________________________________________
> > > SPDK mailing list
> > > SPDK(a)lists.01.org
> > > https://lists.01.org/mailman/listinfo/spdk
> >
> > _______________________________________________
> > SPDK mailing list
> > SPDK(a)lists.01.org
> > https://lists.01.org/mailman/listinfo/spdk
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] nvme hello_world report error
@ 2019-01-24 16:59 Walker, Benjamin
0 siblings, 0 replies; 4+ messages in thread
From: Walker, Benjamin @ 2019-01-24 16:59 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1867 bytes --]
On Thu, 2019-01-24 at 13:35 +0800, cgxu519 wrote:
> Have you unbound kernel driver?
Based on the error message I think this is the problem. Run SPDK's
scripts/setup.sh with root privileges to correctly set up NVMe disks for use
with user space drivers.
If you've already done that, run `scripts/setup.sh status` and send us the
output.
Thanks,
Ben
>
>
> Thanks,
> Chengguang
>
> On 1/24/19 1:23 PM, Jing Liu wrote:
> > Hi,
> >
> > I started from trying the hello_world in examples/nvme/ but got errors like
> > this:
> > """
> > Starting SPDK v18.04.1 / DPDK 18.02.0 initialization...
> > [ DPDK EAL parameters: hello_world -c 0x1 --file-prefix=spdk0
> > --base-virtaddr=0x1000000000 --proc-type=auto ]
> > EAL: Detected 16 lcore(s)
> > EAL: Auto-detected process type: PRIMARY
> > EAL: No free hugepages reported in hugepages-1048576kB
> > EAL: Debug dataplane logs available - lower performance
> > EAL: Multi-process socket /var/run/.spdk0_unix
> > EAL: Probing VFIO support...
> > EAL: no supported IOMMU extensions found!
> > EAL: VFIO support could not be initialized
> > Initializing NVMe Controllers
> > EAL: PCI device 0000:05:00.0 on NUMA socket 0
> > EAL: probe driver: 144d:a802 spdk_nvme
> > EAL: Requested device 0000:05:00.0 cannot be used
> > no NVMe controllers found
> > """
> > kernel: 4.7, SSD: Samsung Electronics Co Ltd Device a802
> >
> > After days of searching I still cannot figure out the problem. I'm
> > wondering if I can get some clue about this error?
> >
> > Thanks,
> > Jing
> > _______________________________________________
> > SPDK mailing list
> > SPDK(a)lists.01.org
> > https://lists.01.org/mailman/listinfo/spdk
>
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
^ permalink raw reply [flat|nested] 4+ messages in thread
* [SPDK] nvme hello_world report error
@ 2019-01-24 5:23 Jing Liu
0 siblings, 0 replies; 4+ messages in thread
From: Jing Liu @ 2019-01-24 5:23 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]
Hi,
I started from trying the hello_world in examples/nvme/ but got errors like
this:
"""
Starting SPDK v18.04.1 / DPDK 18.02.0 initialization...
[ DPDK EAL parameters: hello_world -c 0x1 --file-prefix=spdk0
--base-virtaddr=0x1000000000 --proc-type=auto ]
EAL: Detected 16 lcore(s)
EAL: Auto-detected process type: PRIMARY
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Debug dataplane logs available - lower performance
EAL: Multi-process socket /var/run/.spdk0_unix
EAL: Probing VFIO support...
EAL: no supported IOMMU extensions found!
EAL: VFIO support could not be initialized
Initializing NVMe Controllers
EAL: PCI device 0000:05:00.0 on NUMA socket 0
EAL: probe driver: 144d:a802 spdk_nvme
EAL: Requested device 0000:05:00.0 cannot be used
no NVMe controllers found
"""
kernel: 4.7, SSD: Samsung Electronics Co Ltd Device a802
After days of searching I still cannot figure out the problem. I'm
wondering if I can get some clue about this error?
Thanks,
Jing
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-24 18:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24 5:35 [SPDK] nvme hello_world report error cgxu519
-- strict thread matches above, loose matches on Subject: below --
2019-01-24 18:24 Jing Liu
2019-01-24 16:59 Walker, Benjamin
2019-01-24 5:23 Jing Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).