Bug 106171 - Regression causes "ip" command to crash, leaving the user without any networking
Summary: Regression causes "ip" command to crash, leaving the user without any networking
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV4 (show other bugs)
Hardware: ARM Linux
: P1 high
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-19 02:14 UTC by Yill Din
Modified: 2016-02-15 15:21 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.2.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Process ip (pid: 252, stack limit = 0xed7a4220) Stack: (0xed7a5a58 to 0xed7a6000) (15.85 KB, text/plain)
2015-10-19 02:14 UTC, Yill Din
Details
dmesg (73.28 KB, text/plain)
2015-10-20 02:02 UTC, Yill Din
Details

Description Yill Din 2015-10-19 02:14:45 UTC
Created attachment 190481 [details]
Process ip (pid: 252, stack limit = 0xed7a4220)  Stack: (0xed7a5a58 to 0xed7a6000)

Between kernel version 4.1.7 and 4.2.0 something caused networking to be left non-functioning. I can confirm the bug is still in mainline 4.2.3.

Attached is the stack trace showing up during boot of the device with 4.2.3 kernel. I have since regressed to 4.1.x and networking works fine again.

I had one other user confirm this bug via Freenode IRC.
Comment 1 Yill Din 2015-10-19 02:29:52 UTC
Tested on Udoo Dual using Arch ARM.
Comment 2 Stephen Hemminger 2015-10-19 04:26:52 UTC
This is a bug in the freescale network driver. Not ip command or the stack.
Comment 3 Lucas Stach 2015-10-19 09:53:54 UTC
Could you please attach the full dmesg log and the ip command line, so I can see what is going on here. Thanks.
Comment 4 Yill Din 2015-10-20 02:02:15 UTC
Created attachment 190591 [details]
dmesg

I believe it is sending the following command on boot: ip link set "wlan0" up

When running the command manually it causes the tty/serial shell to crash.

Full dmesg of bootup attached. Here is the netctl source code which shows the ip link commands it uses https://projects.archlinux.org/netctl.git/tree/src/lib/network
Comment 5 Lucas Stach 2015-10-21 16:06:04 UTC
This issue should already be fixed in 4.3-rc. I've requested the relevant patches to be added into 4.2 stable.

Note You need to log in before you can comment on or make changes to this bug.