Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialize blobfs failed #54

Open
DanlinJia opened this issue May 9, 2020 · 1 comment
Open

initialize blobfs failed #54

DanlinJia opened this issue May 9, 2020 · 1 comment

Comments

@DanlinJia
Copy link

DanlinJia commented May 9, 2020

Location (Korea, USA, China, India, etc.)
USA

Describe the bug

./test/lib/blobfs/mkfs/mkfs /tmp/rocksdb.conf Nvme0n1
Starting DPDK 17.05.0 initialization...
[ DPDK EAL parameters: spdk_mkfs -c 0x3 -m 1024 --file-prefix=spdk_pid5766 ]
EAL: Detected 12 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
Total cores available: 2
Occupied cpu socket mask is 0x1
reactor.c: 362:_spdk_reactor_run: *NOTICE*: Reactor started on core 1 on socket 0
reactor.c: 362:_spdk_reactor_run: *NOTICE*: Reactor started on core 0 on socket 0
EAL: PCI device 0000:17:00.0 on NUMA socket 0
EAL:   probe driver: 144d:a808 spdk_nvme
Initializing filesystem on bdev Nvme0n1...nvme_qpair.c: 137:nvme_io_qpair_print_command: *NOTICE*: DATASET MANAGEMENT sqid:1 cid:254 nsid:1
nvme_qpair.c: 284:nvme_qpair_print_completion: *NOTICE*: INVALID OPCODE (00/01) sqid:1 cid:254 cdw0:0 sqhd:0002 p:1 m:0 dnr:0
nvme_qpair.c: 131:nvme_io_qpair_print_command: *NOTICE*: WRITE sqid:1 cid:253 nsid:1 lba:0 len:8
nvme_qpair.c: 284:nvme_qpair_print_completion: *NOTICE*: INVALID OPCODE (00/01) sqid:1 cid:253 cdw0:0 sqhd:0003 p:1 m:0 dnr:0
done.
Segmentation fault (core dumped)

To Reproduce
Steps to reproduce the behavior:
1.Prepare the spdk configuration file
cp /KVSSD/application/kvbench/spdk/spdk/etc/spdk/rocksdb.conf.in /tmp/rocksdb.conf
/KVSSD/application/kvbench/spdk/spdk/scripts/gen_nvme.sh >> /tmp/rocksdb.conf
2. Reserve hugepage
cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
3. Setup spdk environment
/KVSSD/application/kvbench/spdk/spdk/scripts/setup.sh
4. Create BlobFS on the device
/KVSSD/application/kvbench/spdk/spdk/test/lib/blobfs/mkfs/mkfs <your_conf_file> <device_name>
e.g. ./test/lib/blobfs/mkfs/mkfs /tmp/rocksdb.conf Nvme0n1

Expected behavior
create blobfs correctly.

System environment (please complete the following information)
Firmware version : ETA51KCA_20191021_ENC.bin
Number of SSDs : 1
OS & Kernel version [e.g., Ubuntu 16.04 Kernel v4.9.5]: Ubuntu 16.04 Kernel v4.13.15
GCC version [e.g., gcc v5.0.0] :5.4.0
User driver version : spdk-18.04
Driver [Kernel or user driver or emulator] : User Driver

@hao86yan
Copy link
Collaborator

Blobfs needs block firmware. Your SSD was downloaded the KV firmware. Please firstly download the block firmware to SSD, then try it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants