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

6LoWPAN: ICMP Ping Zephyr -> Linux broken in master [regression, bisected] #13437

Closed
benpicco opened this issue Feb 15, 2019 · 0 comments
Closed
Assignees
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Milestone

Comments

@benpicco
Copy link
Collaborator

benpicco commented Feb 15, 2019

Describe the bug
When trying to ping a Linux host over 6LoWPAN/802.15.4, current Zephyr master fails with an error. This used to work in a previous revision. Linux can still ping Zephyr .

To Reproduce
Steps to reproduce the behavior:

  1. cd samples/net/sockets/echo_server
  2. mkdir build; cd build
  3. cmake -DBOARD=nrf52840_pca10056 -DCONF_FILE="prj.conf overlay-802154.conf" ..
  4. make flash
  5. on the device: net ping fe80::a04c:1116:6337:a465 (the IP of the raspberry pi)

Expected behavior

uart:~$  net ping fe80::a04c:1116:6337:a465
Sent a ping to fe80::a04c:1116:6337:a465
Received echo reply from fe80::a04c:1116:6337:a465 to fe80::7841:4946:59b8:3d9c

Impact
I did only test ICMP ping, I did not check if 6LoWPAN is currently broken or only ICMP.

Screenshots or console output

uart:~$ net ping fe80::a04c:1116:6337:a465
Sent a ping to fe80::a04c:1116:6337:a465
Ping timeout
[00:00:05.329,315] <err> net_pkt: Uncontiguous data cannot be linearized

Environment (please complete the following information):

  • OS: Linux 4.19.20+ (Raspbian)
  • Toolchain: arm-none-eabi-gcc (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
  • Raspberry Pi with mrf24j40 module connected over SPI¹

Additional context
I did a bisect based on the known good commit 8f8c601

Unfortunately, some commits that might be related to the issue did not build and had to be skipped.

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
2ad71c7
7e25568
fa4c52b
6ea5a12
c0db7ef
070b4d2
7d0ed71
1be2706
30e5c51
86ac993
We cannot bisect more!

[1] no need to compile the kernel, nowadays Raspbian includes all necessary drivers - you only need the overlay.
Note that fragmentation is broken in Linux 4.14, but everything works fine with 4.19 - you can install the newer kernel with sudo BRANCH=next rpi-update

@benpicco benpicco added the bug The issue is a bug, or the PR is fixing a bug label Feb 15, 2019
@benpicco benpicco changed the title [regression] 6LoWPAN: ICMP Ping Zephyr -> Linux broken in master 6LoWPAN: ICMP Ping Zephyr -> Linux broken in master [regression] Feb 19, 2019
@benpicco benpicco changed the title 6LoWPAN: ICMP Ping Zephyr -> Linux broken in master [regression] 6LoWPAN: ICMP Ping Zephyr -> Linux broken in master [regression, bisected] Feb 19, 2019
@galak galak added this to the v1.14.0 milestone Feb 19, 2019
@nashif nashif added the priority: medium Medium impact/importance bug label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants