-
Notifications
You must be signed in to change notification settings - Fork 722
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
rdma apps segfaulting #87
Comments
An update: I have a build of rdma-core in kernel 4.17 using yocto for an Altera Arria10 with a dual-core A53 ARM processor. The system is build and rxe configures correctly, i.e. I can rxe_cfg start, rxe_cfg add eth0 and ibv_devices looks good: root@arria10:~# rxe_cfg status Name Link Driver Speed NMTU IPv4_addr RDEV RMTU eth0 yes st_gmac 1500 10.0.1.28 rxe0 1024 (3) root@arria10:~# ibv_devices
root@arria10:~# ibv_devinfo rxe0 hca_id: rxe0
This all looks good. However, when I try to ping this machine against a PC running rdma-core, I'm getting some strange errors including a segfault when the Arria10 acts as server for udaddy. root@arria10:~# udaddy -s 10.0.1.16 udaddy: starting client [ 1883.526301] rdma_rxe: null vaddr udaddy: connecting failed to reg MR udaddy: failed to create messages: -1 test complete Segmentation faultrxe_mem_init_user I traced the first error, rdma_rxe: null vaddr to rxe_mem_init_user() in /drivers/infiniband/sw/rxe/rxe_mr.c It appears that a page address, perhaps from a virtual to physical translation is failing. Any thoughts on how to solve this? |
@fwmiller have you gotten past this error ? if not can you reproduce it on master and see if we can make some progress |
Yessir. At this time I was trying to put together pieces from disparate places. Once the code bases were unified this problem went away. Thanks! |
* add PACKAGECONFIG for gspell - disabled by default Release notes for 0.5.5 ======================= - New Features: - Add a `.desktop` file to make Mousepad appear in Xfce settings (!94) - Add a command line option to open the prefs dialog (!94) - Plugin support (!92) - Add gspell plugin (openembedded#1, !92) - Disable and wipe recent history if recent-menu-items is set to 0 (openembedded#112, !89) - Support -ve line and column values for "Go to" location (openembedded#113, !84) - Appearance Changes: - Switch to client-side decorations (!97) - Code Refactoring: - Remove Xfconf dependency (openembedded#60, openembedded#122, !98) - A general review of sanity checks - A review of window lifetime management - A review of document lifetime management - Automate and sanitize memory management of sources - A small review of GSettings use - Do not use `== (TRUE|FALSE)` for boolean conditions - Bug Fixes: - Fix actions to show/hide bars in fullscreen mode (openembedded#129) - Fix broken "Revert" action - Fix and extend "Move Lines" action (openembedded#87, openembedded#116, !96) - Support for drag and drop of tabs when search is active - Do a silent search when changing tabs with the search bar enabled - Use get/set_real_line_offset () functions for "Paste as Column" (openembedded#114, !91) - Restore cursor position after transpose (openembedded#115, !88) - Fix "Delete Line" action (openembedded#117, !86) - Fix recent_sort function (!90) - Reset line and column number if not given on command line (openembedded#121, !87) - menu: "Spaces to Tabs" converter converts leading spaces (openembedded#118, !85) - Make window require attention when opening new tabs (2) (openembedded#119) - Translation Updates Signed-off-by: Andreas Müller <[email protected]>
* add PACKAGECONFIG for gspell - disabled by default Release notes for 0.5.5 ======================= - New Features: - Add a `.desktop` file to make Mousepad appear in Xfce settings (!94) - Add a command line option to open the prefs dialog (!94) - Plugin support (!92) - Add gspell plugin (openembedded#1, !92) - Disable and wipe recent history if recent-menu-items is set to 0 (openembedded#112, !89) - Support -ve line and column values for "Go to" location (openembedded#113, !84) - Appearance Changes: - Switch to client-side decorations (!97) - Code Refactoring: - Remove Xfconf dependency (openembedded#60, openembedded#122, !98) - A general review of sanity checks - A review of window lifetime management - A review of document lifetime management - Automate and sanitize memory management of sources - A small review of GSettings use - Do not use `== (TRUE|FALSE)` for boolean conditions - Bug Fixes: - Fix actions to show/hide bars in fullscreen mode (openembedded#129) - Fix broken "Revert" action - Fix and extend "Move Lines" action (openembedded#87, openembedded#116, !96) - Support for drag and drop of tabs when search is active - Do a silent search when changing tabs with the search bar enabled - Use get/set_real_line_offset () functions for "Paste as Column" (openembedded#114, !91) - Restore cursor position after transpose (openembedded#115, !88) - Fix "Delete Line" action (openembedded#117, !86) - Fix recent_sort function (!90) - Reset line and column number if not given on command line (openembedded#121, !87) - menu: "Spaces to Tabs" converter converts leading spaces (openembedded#118, !85) - Make window require attention when opening new tabs (2) (openembedded#119) - Translation Updates Signed-off-by: Andreas Müller <[email protected]> Signed-off-by: Khem Raj <[email protected]>
* add PACKAGECONFIG for gspell - disabled by default Release notes for 0.5.5 ======================= - New Features: - Add a `.desktop` file to make Mousepad appear in Xfce settings (!94) - Add a command line option to open the prefs dialog (!94) - Plugin support (!92) - Add gspell plugin (#1, !92) - Disable and wipe recent history if recent-menu-items is set to 0 (#112, !89) - Support -ve line and column values for "Go to" location (#113, !84) - Appearance Changes: - Switch to client-side decorations (!97) - Code Refactoring: - Remove Xfconf dependency (#60, #122, !98) - A general review of sanity checks - A review of window lifetime management - A review of document lifetime management - Automate and sanitize memory management of sources - A small review of GSettings use - Do not use `== (TRUE|FALSE)` for boolean conditions - Bug Fixes: - Fix actions to show/hide bars in fullscreen mode (#129) - Fix broken "Revert" action - Fix and extend "Move Lines" action (#87, #116, !96) - Support for drag and drop of tabs when search is active - Do a silent search when changing tabs with the search bar enabled - Use get/set_real_line_offset () functions for "Paste as Column" (#114, !91) - Restore cursor position after transpose (#115, !88) - Fix "Delete Line" action (#117, !86) - Fix recent_sort function (!90) - Reset line and column number if not given on command line (#121, !87) - menu: "Spaces to Tabs" converter converts leading spaces (#118, !85) - Make window require attention when opening new tabs (2) (#119) - Translation Updates Signed-off-by: Andreas Müller <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Changelog: ========= Fix potential buffer overflow in ec_glob (openembedded#87) Add simple installation steps for Fedora (openembedded#79) Update property key, value length limits per spec change (16d1d92) Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Changelog: =========== Better handling of empty strings passed as input. Fix the shift safe number issue from 0.9.12 More minor pylint / etc fixes / cleanups (general code quality) separate .parse from openembedded#115 Allow setting up completely empty {} operators / functions ( openembedded#75 via openembedded#123 ) Add extra bit-ops from openembedded#87 Add @daxamin to contributors ? Version bump stuff. other readme tweaks star expressions, eg x = {"a": 1, "b": 2, **c} no-build.patch removed since it's included in 0.9.13 Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
I've got rdma-core building successfully into the yocto build now and it configures correctly. However, when I run any of several test apps that ping between the Arria10 board and a PC, I'm getting nasty segfault errors. The issue appears to be with registration of memory regions. Here's an example when I'm running the server side of a udaddy ping pong test:
I'm running kernel 4.17 and the most recent (v18) version of rdma-core
Thanks,
FM
The text was updated successfully, but these errors were encountered: