fengggli / comanche

comanche
Apache License 2.0
0 stars 1 forks source link

Couldn't get fd no hugepage file #7

Open fengggli opened 5 years ago

fengggli commented 5 years ago

This happens sometime if I didn' exit dpdk application peacefully.

(py36) lifen@sievert(:):~/Workspace/comanche/build$./src/components/block/nvme/unit_test/blocknvme-test1 20:00.0       │[  +0.000002] mcas: exposure added (pid=7788, token=feeb, paddr=79f400000, size=4194304)
[==========] Running 3 tests from 1 test case.                                                                         │[  +0.000000] walk result: 79f400000
[----------] Global test environment set-up.                                                                           │[  +0.000008] mcas: mmap called --------------------
[----------] 3 tests from Block_nvme_test                                                                              │[  +0.000001] mcas: mmap flags=fb token=feeb
[ RUN      ] Block_nvme_test.InstantiateBlockDevice                                                                    │[  +0.000001] mcas: mmap remapping (79f400000,4194304)
rte_virtio_pmd_init(): IOPL call failed - cannot use virtio PMD                                                        │[  +0.000001] mcas: vm_start=700000000 vm_end=700400000 delta=4194304
[LOG]:Using API defined memory limit 48 MB                                                                             │[  +0.000019] mcas: mmap OK
[LOG]:CPU count: 24                                                                                                    │[  +2.088501] mcas: vm_close
EAL: No free hugepages reported in hugepages-1048576kB                                                                 │[  +0.000010] mcas: ioctl (9) (arg=7fffa0bbeef0)
EAL: Couldn't get fd on hugepage file                                                                                  │[  +0.000001] mcas: calling remove_exposure
EAL: FATAL: Cannot init memory                                                                                         │[  +0.000000] mcas: remove_exposure (token=feeb)
                                                                                                                       │[  +0.000001] mcas: removed exposure feeb
EAL: Cannot init memory                                                                                                │(py36) lifen@sievert(:):~/Workspace/comanche$ls /dev/
                                                                                                                       │Display all 223 possibilities? (y or n)
Exception:API error                                                                                                    │(py36) lifen@sievert(:):~/Workspace/comanche$ls /dev/ -alt|grep huge
Trace/breakpoint trap (core dumped)          
fengggli commented 5 years ago

It disappeared after some time, don't know why

fengggli commented 5 years ago

shall refer to this https://lwn.net/Articles/375096/