I'm trying to bring up BDB version 6.1.19 on Linux 2.6.28 running on an Octeon-II MIPs.
When I try to create a new DB environment, I get the following.
BDB0126 mmap: Invalid argument
Errors during this API call:
[09/29 12:31:54.300629][1740/3084216000] Invalid argument from
./dbMgr() [0x80ad74f]
./dbMgr(__os_attach+0x2f9) [0x80adac9]
./dbMgr() [0x807b32d]
./dbMgr(__env_attach+0x1d1) [0x807b541]
./dbMgr(__env_attach_regions+0x597) [0x8074767]
./dbMgr(__env_open+0x318) [0x8075338]
./dbMgr(do_base_test+0x171) [0x8061221]
./dbMgr(dbMgr_t_set+0xad) [0x806152d]
./dbMgr(cmBackendAction+0x94) [0x8061be4]
...
Error opening env /config/bdb/base_test/base: Invalid argument
Looking at output from strace(), mmap2() is being called with a length of zero.
Is this a known issue?
Is there a patch?
Is there a workaround?