Bug 1193875 - Xgene network fails at boot
Summary: Xgene network fails at boot
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: aarch64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-18 13:24 UTC by Richard W.M. Jones
Modified: 2015-02-24 11:05 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 22:24:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log from the failed boot (179.49 KB, text/plain)
2015-02-18 13:35 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2015-02-18 13:24:26 UTC
Description of problem:

On the Mustang aarch64 dev machine, the network fails to start at boot
with this long kernel message:

         Starting Network Manager...
[  OK  [   24.786538] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
] Started Networ[   24.794474] Unhandled fault: synchronous external abort (0x96
000010) at 0xfffffc0000740010
k Manager.
   [   24.803088] Internal error: : 96000010 [#1] SMP
      Starting N[   24.808943] Modules linked in:etwork Manager W xt_conntrackai
t Online...
 ebtable_broute bridge stp llc ebtable_filter ebtable_nat ebtables ip6table_secu
rity ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6t
able_mangle ip6table_filter ip6_tables iptable_security iptable_nat nf_conntrack
_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw iptable_mangle 
vfat fat nfsd binfmt_misc
[   24.847417] CPU: 1 PID: 739 Comm: NetworkManager Tainted: G        W       3.
20.0-0.rc0.git7.3.fc23.aarch64 #1
[   24.857370] Hardware name: APM X-Gene Mustang board (DT)
[   24.862659] task: fffffe03d29cdec0 ti: fffffe03d2a2c000 task.ti: fffffe03d2a2
c000
[   24.870111] PC is at xgene_enet_rd_mcx_mac.isra.11+0x5c/0xe0
[   24.875743] LR is at xgene_gmac_tx_enable+0x2c/0x50
[   24.880595] pc : [<fffffe000060b10c>] lr : [<fffffe000060b6ec>] pstate: 80000145
[   24.887953] sp : fffffe03d2a2f610
[   24.891248] x29: fffffe03d2a2f610 x28: 0000000000000000
[   24.896555] x27: fffffe03dc875e10 x26: fffffe03dc875e10
[   24.901859] x25: fffffe03fa709b00 x24: 0000000000000000
[   24.907163] x23: fffffe03d2a2f68c x22: fffffc0000740004
[   24.912468] x21: fffffc0000740000 x20: fffffc0000740010
[   24.917774] x19: 000000000000000b x18: 00000000000007de
[   24.923080] x17: 000003ff85dc0a50 x16: fffffe000070c358
[   24.928386] x15: ffffffffffffffff x14: 000003ff85ba0758
[   24.933690] x13: 0000000000000058 x12: 0000000000000010
[   24.938996] x11: 0000000000000030 x10: 000000007fff0000
[   24.944301] x9 : fffffe0000f91000 x8 : fffffe03d2a2c000
[   24.949605] x7 : fffffe000084c238 x6 : 0000000000000000
[   24.954909] x5 : 0000000000000000 x4 : 0000000000000000
[   24.960212] x3 : fffffe03d2a2f68c x2 : 0000000000000000
[   24.965517] x1 : fffffc0000740000 x0 : 0000000040000000
[   24.970821]
[   24.972303] Process NetworkManager (pid: 739, stack limit = 0xfffffe03d2a2c028)
[   24.979577] Stack: (0xfffffe03d2a2f610 to 0xfffffe03d2a30000)
 <stack omitted>
[   25.636107] Call trace:
[   25.638544] [<fffffe000060b10c>] xgene_enet_rd_mcx_mac.isra.11+0x5c/0xe0
[   25.645213] [<fffffe000060b6e8>] xgene_gmac_tx_enable+0x28/0x50
[   25.651103] [<fffffe000060eda4>] xgene_enet_open+0x2c/0x138
[   25.656648] [<fffffe0000730aac>] __dev_open+0xcc/0x150
[   25.661759] [<fffffe0000730dd8>] __dev_change_flags+0x90/0x160
[   25.667562] [<fffffe0000730ed8>] dev_change_flags+0x30/0x70
[   25.673105] [<fffffe000074232c>] do_setlink+0x274/0x880
[   25.678302] [<fffffe0000742df4>] rtnl_newlink+0x3a4/0x670
[   25.683673] [<fffffe00007418d8>] rtnetlink_rcv_msg+0xe8/0x230
[   25.689390] [<fffffe0000766d70>] netlink_rcv_skb+0xc8/0xf8
[   25.694846] [<fffffe00007417dc>] rtnetlink_rcv+0x34/0x48
[   25.700130] [<fffffe00007663f4>] netlink_unicast+0x114/0x198
[   25.705760] [<fffffe0000766a54>] netlink_sendmsg+0x4b4/0x5c8
[   25.711390] [<fffffe0000709458>] do_sock_sendmsg+0xb0/0xd8
[   25.716847] [<fffffe000070b220>] ___sys_sendmsg+0x1d0/0x208
[   25.722390] [<fffffe000070c314>] __sys_sendmsg+0x4c/0x90
[   25.727672] [<fffffe000070c388>] SyS_sendmsg+0x30/0x48
[   25.732784] Code: 52800173 14000003 d503201f 97f987b4 (b9400281)
[   25.738894] ---[ end trace 54d94caf9ee2062a ]---

Version-Release number of selected component (if applicable):

kernel 0:3.20.0-0.rc0.git7.3.fc23

How reproducible:

Unknown.

Steps to Reproduce:
1. Boot the machine.

Comment 1 Richard W.M. Jones 2015-02-18 13:34:52 UTC
Completely 100% reproducible with kernel-3.20.0-0.rc0.git7.3.fc23.aarch64.

Boots fine when I go back to kernel-3.19.0-0.rc7.git1.1.fc22.aarch64.

Comment 2 Richard W.M. Jones 2015-02-18 13:35:54 UTC
Created attachment 993100 [details]
Log from the failed boot

Comment 3 Kyle McMartin 2015-02-18 14:39:57 UTC
probably more incompatibility between APM's upstream code and our firmware. sigh.

Comment 4 Kyle McMartin 2015-02-18 15:00:21 UTC
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2886388

try this build when it finishes.

Comment 5 Richard W.M. Jones 2015-02-18 15:05:24 UTC
(In reply to Kyle McMartin from comment #3)
> probably more incompatibility between APM's upstream code and our firmware.
> sigh.

FWIW I'm using rh-0.13 because of incompatibility between rh-0.14
and our Fedora kernels.  I'm waiting eagerly for rh-0.15.

> http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2886388
> 
> try this build when it finishes.

Will do.

Comment 6 Richard W.M. Jones 2015-02-18 16:03:21 UTC
(In reply to Kyle McMartin from comment #4)
> http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2886388
> 
> try this build when it finishes.

It works!  Boots fine with 3.20.0-0.rc0.git7.3.bz1193875.fc23.aarch64
and I did some light host testing and it looks good.

Comment 8 Kyle McMartin 2015-02-18 22:24:38 UTC
it'll be fixed in the next rawhide build (kernel-3.20.0-0.rc0.git9.1.fc23)

Comment 9 Kyle McMartin 2015-02-23 20:37:59 UTC
fwiw, rh-0.15 is out internally, so please update to that.

Comment 10 Richard W.M. Jones 2015-02-24 11:05:05 UTC
Firmware rh-0.15 + kernel-4.0.0-0.rc1.git0.1.fc23.aarch64
boots fine and NetworkManager works.


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