Skip to content

Commit 12cbe58

Browse files
authored
Add NF Crash Troubleshooting Note (#138)
This PR explains how to fix the dpdk's `Cannot mmap memory for rte_config at [0x7ffff7ff3000], got [0x7ffff7ff2000] - please use '--base-virtaddr'` error. Commit log: * Add small troubleshooting note * Update Releases.md
1 parent 4d03532 commit 12cbe58

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/Releases.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ A CloudLab template is available with the latest release here: https://www.cloud
2222

2323
**Repo changes**: Default branch has been changed to `master`, active development can still be seen in `develop`. Most of the development is now done on the public repo to improve visibility, planned projects and improvements can be seen in this [pinned issue](https://github.com/sdnfv/openNetVM/issues/91), additionally pull requests and issues are now cataloged by tags. We're also starting to merge releases into master by pull requests, thus developers should branch off the develop branch and submit PRs against the develop branch.
2424

25+
**Note**: If the NFs crash with this error - `Cannot mmap memory for rte_config at [0x7ffff7ff3000], got [0x7ffff7ff2000]`, simply use the `-a 0x7f000000000` flag for the onvm_mgr, this will resolve the issue.
26+
2527
### Shared Core Mode:
2628
This code introduces **EXPERIMENTAL** support to allow NFs to efficiently run on **shared** CPU cores. NFs wait on semaphores when idle and are signaled by the manager when new packets arrive. Once the NF is in wake state, no additional notifications will be sent until it goes back to sleep. Shared core variables for mgr are in the `nf_wakeup_info` structs, the NF shared core vars were moved to the `onvm_nf` struct.
2729

onvm/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ Options:
5656
Millions of pkts
5757
```
5858

59+
Usage
60+
--
61+
If the NFs crash with an error similar to `Cannot mmap memory for rte_config at [0x7ffff7ff3000], got [0x7ffff7ff2000] - please use '--base-virtaddr' option`, please use the `-a 0x7f000000000` flag for the onvm_mgr, this will resolve the issue.
62+
5963
NF Library
6064
--
6165
The NF Library is responsible for providing an interface for NFs to communicate with the manager. It provides functions to initialize and send/receive packets to and from the manager. This library provides the manager with a function pointer to the NF's `packet_handler`.

0 commit comments

Comments
 (0)