← Back to team overview

kernel-packages team mailing list archive

[Bug 1507653] Re: Wily kernel crashed when running ifconfig eth0 up/done test

 

** Tags added: arm64 hs-arm64

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1507653

Title:
  Wily kernel crashed when running ifconfig eth0 up/done test

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  1, Wily kernel crashed with attached log on APM mustang(ARM64)

  2, how to reproduce
  2.1 start iperf first
  - run 'iperf -s' on mustang board
  - run 'iperf -c IP_OF_MUSTANG' on another machine, and make the client point to mustang

  2.2 run the following 'ifconfig eth0 up/down' test

  #!/bin/sh
  for i in $(seq 1 $1); do
          echo 'reboot test'$i
          sleep 5
          ifconfig eth0 down
          ifconfig eth0 up
  done

  
  3 the issue can be reproduced with upstream 4.3-rcX kernel too

  ========================================================================

  ubuntu@am2:~/git/vm-test$ sudo ./if-down-up 1000
  reboot test1
  reboot test2
  reboot test3
  reboot test4
  [  4] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60840
  [  5] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60841
  [  6] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60842
  [  7] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60843
  [  8] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60844
  [  9] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60845
  [ 10] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60846
  [ 11] local 10.228.66.98 port 5001 connected with 10.228.0.2 port 60847
  [  123.244188] Unable to handle kernel paging request at virtual address dadaeaeb46463b6b
  [  123.252083] pgd = ffffffc3e955e000
  [  123.255467] [dadaeaeb46463b6b] *pgd=0000000000000000, *pud=0000000000000000
  [  123.262429] Internal error: Oops: 96000004 [#1] PREEMPT SMP
  [  123.267973] Modules linked in:
  [  123.271023] CPU: 2 PID: 2286 Comm: iperf Not tainted 4.2.3+ #16
  [  123.276912] Hardware name: APM X-Gene Mustang board (DT)
  [  123.282196] task: ffffffc3e35a4c80 ti: ffffffc3e3634000 task.ti: ffffffc3e3634000
  [  123.289644] PC is at memcpy+0x20/0x180
  [  123.293374] LR is at skb_copy_ubufs+0x134/0x278
  [  123.297880] pc : [<ffffffc000367ce0>] lr : [<ffffffc00053c0d0>] pstate: 00000145
  [  123.305236] sp : ffffffc3e3637660
  [  123.308531] x29: ffffffc3e3637660 x28: ffffffc000872269 
  [  123.313837] x27: ffffffc000a6f240 x26: ffffffc3de920000 
  [  123.319142] x25: ffffffc3ecbbca70 x24: 6b6b6b6b6b6b6b6b 
  [  123.324446] x23: 000000000000006b x22: ffffffbecfb5bc40 
  [  123.329750] x21: 0000000000000000 x20: ffffffc3e3634000 
  [  123.335054] x19: 0000000000000000 x18: 00000000828d80b9 
  [  123.340358] x17: 0000000000000000 x16: 0000000000000014 
  [  123.345663] x15: 00000000000b7d80 x14: 0000000000000003 
  [  123.350966] x13: 00000000ffff8d7f x12: 00000000000b7d80 
  [  123.356270] x11: 000000008298f2ea x10: ffffffc3de940a30 
  [  123.361574] x9 : 0000000000000000 x8 : 0000000000000001 
  [  123.366876] x7 : ffffffc000880110 x6 : ffffffc3ed6f1000 
  [  123.372180] x5 : 000000006b6b6b6b x4 : 0000000000000005 
  [  123.377483] x3 : 6b6b6b6b6b6b6b6b x2 : 000000006b6b6b66 
  [  123.382788] x1 : dadaeaeb46463b6b x0 : ffffffc3ed6f1000 
  [  123.388093] 
  [  123.389575] Process iperf (pid: 2286, stack limit = 0xffffffc3e3634020)
  [  123.396155] Stack: (0xffffffc3e3637660 to 0xffffffc3e3638000)
  [  123.401871] 7660: e36376e0 ffffffc3 0053c254 ffffffc0 de920000 ffffffc3 00000020 00000000
  [  123.410006] 7680: de8fa300 ffffffc3 00000000 00000000 00000000 00000000 00000198 00000000
  [  123.418141] 76a0: 00003300 00000000 ec814000 ffffffc3 00000198 00000000 00000000 00000000
  [  123.426276] 76c0: 828d80b9 00000000 00000030 00000000 6b6b6b6b 6b6b6b6b f79a9900 00000020
  [  123.434411] 76e0: e3637700 ffffffc3 0053ffa8 ffffffc0 de920000 ffffffc3 de920000 ffffffc3
  [  123.442545] 7700: e3637740 ffffffc3 00540010 ffffffc0 de920000 ffffffc3 ed3f1518 ffffffc3
  [  123.450680] 7720: f79a9900 ffffffc0 ed9dc790 ffffffc3 ec817300 ffffffc3 80000145 00000000
  [  123.458815] 7740: e3637750 ffffffc3 0049bc88 ffffffc0 e36377c0 ffffffc3 0054fc24 ffffffc0
  [  123.466950] 7760: de920000 ffffffc3 00000042 00000000 f79a9180 ffffffc0 00000000 00000000
  [  123.475084] 7780: f79a9210 ffffffc0 ed3f0e00 ffffffc3 009ac0e8 ffffffc0 00000000 00000000
  [  123.483219] 77a0: de923cc0 ffffffc3 009ac0f8 ffffffc0 de920000 ffffffc3 ecbbc80e 00000043
  [  123.491353] 77c0: e3637860 ffffffc3 0056cb18 ffffffc0 e96f5b00 ffffffc3 ed3f0e00 ffffffc3
  [  123.499488] 77e0: de920000 ffffffc3 f79a9180 ffffffc0 e96f5bac ffffffc3 00000002 00000000
  [  123.507623] 7800: 00000000 00000000 00000000 00000000 de8fa370 ffffffc3 de8fa300 ffffffc3
  [  123.515757] 7820: 00000000 00000000 00681bd0 ffffffc0 008cb95f ffffffc0 009ac0f8 ffffffc0
  [  123.523892] 7840: 009ac0e8 ffffffc0 e36378ac ffffffc3 e96f5b00 ffffffc3 f79a9210 ffffffc0
  [  123.532026] 7860: e36378b0 ffffffc3 00550104 ffffffc0 de920000 ffffffc3 e96f5b00 ffffffc3
  [  123.540161] 7880: f79a9180 ffffffc0 ed3f0e00 ffffffc3 00000000 00000000 e96f5bac ffffffc3
  [  123.548296] 78a0: de920000 ffffffc3 00000000 00000010 e3637910 ffffffc3 00550320 ffffffc0
  [  123.556430] 78c0: de920000 ffffffc3 f6bf0000 ffffffc0 0000000e 00000000 00000000 00000000
  [  123.564565] 78e0: f6bf00c8 ffffffc0 00000020 00000000 0016fb16 00000000 005c3dd0 ffffffc0
  [  123.572699] 7900: de920000 ffffffc3 00000010 fffffff4 e3637920 ffffffc3 005c3f18 ffffffc0
  [  123.580834] 7920: e3637970 ffffffc3 005c5798 ffffffc0 de920000 ffffffc3 000005dc 00000000
  [  123.588969] 7940: de8fa300 ffffffc3 0099c3a0 ffffffc0 00000000 00000000 0057399c ffffffc0
  [  123.597103] 7960: 00000001 00000000 009accd0 0200e40a e36379b0 ffffffc3 005c61d8 ffffffc0
  [  123.605238] 7980: de920000 ffffffc3 de8fa300 ffffffc3 f79a9180 ffffffc0 0099c3a0 ffffffc0
  [  123.613372] 79a0: de920000 ffffffc3 009accd0 ffffffc0 e3637a20 ffffffc3 005c5914 ffffffc0
  [  123.621507] 79c0: de8fa300 ffffffc3 de920000 ffffffc3 de8fa5d0 ffffffc3 de9946c0 ffffffc3
  [  123.629642] 79e0: 0053e148 ffffffc0 00000004 80000000 e3637a02 ffffffc3 00000000 00000000
  [  123.637776] 7a00: f79a9180 ffffffc0 de8fa300 ffffffc3 009accd0 ffffffc0 005c55fc ffffffc0
  [  123.645911] 7a20: e3637a50 ffffffc3 005c5d88 ffffffc0 de8fa300 ffffffc3 de920000 ffffffc3
  [  123.654045] 7a40: e3637a50 ffffffc3 de920000 ffffffc3 e3637aa0 ffffffc3 005da8c0 ffffffc0
  [  123.662180] 7a60: de8fa300 ffffffc3 de920000 ffffffc3 ecbbc830 ffffffc3 de920028 ffffffc3
  [  123.670314] 7a80: 000b7d80 00000000 005da840 ffffffc0 de8fa300 ffffffc3 de920000 ffffffc3
  [  123.678449] 7aa0: e3637b30 ffffffc3 005dc0d8 ffffffc0 de8fa300 ffffffc3 009a6000 ffffffc0
  [  123.686584] 7ac0: 00000001 00000000 e39ce924 ffffffc3 e3801468 ffffffc3 828d756a 00000000
  [  123.694718] 7ae0: 00000000 00000000 00000000 00000000 de8fa370 ffffffc3 009a6000 ffffffc0
  [  123.702853] 7b00: 00000001 00000000 e39ce924 ffffffc3 00000002 00000000 00000000 00000000
  [  123.710987] 7b20: ffffbaf0 4403c2e8 00000000 00000000 e3637b60 ffffffc3 005d1584 ffffffc0
  [  123.719122] 7b40: de8fa300 ffffffc3 e3801440 ffffffc3 00000000 00000000 de920000 ffffffc3
  [  123.727257] 7b60: e3637b90 ffffffc3 005d7a10 ffffffc0 de8fa300 ffffffc3 e3801440 ffffffc3
  [  123.735391] 7b80: 00000001 00000000 00000000 00000000 e3637bf0 ffffffc3 005df0d8 ffffffc0
  [  123.743526] 7ba0: e3801440 ffffffc3 de8fa300 ffffffc3 de994b40 ffffffc3 00000000 00000000
  [  123.751660] 7bc0: 00a75290 ffffffc0 008cb0bc ffffffc0 00be38c0 ffffffc0 00000000 00000000
  [  123.759795] 7be0: e35a4c80 ffffffc3 005393a0 00ffffc0 e3637c40 ffffffc3 00539434 ffffffc0
  [  123.767930] 7c00: de8fa300 ffffffc3 e3801440 ffffffc3 de8fa350 ffffffc3 00000000 00000000
  [  123.776064] 7c20: 00a75290 ffffffc0 008cb0bc ffffffc0 00be38c0 ffffffc0 00000000 00000000
  [  123.784199] 7c40: e3637c90 ffffffc3 005cdf8c ffffffc0 000010f8 00000000 0001ef08 00000000
  [  123.792334] 7c60: 00000000 00000000 de8fa818 ffffffc3 e3637df8 ffffffc3 00000000 00000000
  [  123.800469] 7c80: e35a4c80 ffffffc3 0001ef08 00000000 e3637d40 ffffffc3 005f2f40 ffffffc0
  [  123.808603] 7ca0: de8fa300 ffffffc3 00000000 00000000 e3637df8 ffffffc3 00000000 00000000
  [  123.816738] 7cc0: 00000000 00000000 00000015 00000000 0000011a 00000000 000000cf 00000000
  [  123.824872] 7ce0: 0068d000 ffffffc0 e3634000 ffffffc3 00020000 00000000 000005a8 00000000
  [  123.833007] 7d00: 009b5940 ffffffc0 008d1a4e ffffffc0 e3637d30 ffffffc3 001cb134 00000001
  [  123.841142] 7d20: 008d19e2 ffffffc0 00000000 ffffffc0 de8fa300 ffffffc3 ffffffff 7fffffff
  [  123.849276] 7d40: e3637d90 ffffffc3 00533664 ffffffc0 00000000 00000000 e862cb00 ffffffc3
  [  123.857411] 7d60: 00000000 00000000 00000000 00000000 e3637d80 ffffffc3 00020000 00000000
  [  123.865545] 7d80: e3637da0 ffffffc3 00537088 00000000 e3637da0 ffffffc3 005370d8 ffffffc0
  [  123.873680] 7da0: b2a8f8f0 0000007f 00085470 ffffffc0 00000000 00000000 00020000 00000000
  [  123.881815] 7dc0: ffffffff ffffffff b4c9dd2c 0000007f 80000000 00000000 e3637ed0 ffffffc3
  [  123.889950] 7de0: fffffff7 00000001 9c0008f0 0000007f 00020000 00000000 00000000 00000000
  [  123.898085] 7e00: 00000000 ffffffc3 00000000 ffffffc0 000021f0 00000000 0001de10 00000000
  [  123.906219] 7e20: e3637de8 ffffffc3 00000001 00000000 00000000 00000000 00000000 00000000
  [  123.914354] 7e40: 00000001 00000000 00085eec ffffffc0 ffffffff ffffffff b4c9dd2c 0000007f
  [  123.922488] 7e60: 80000000 00000000 00088f24 ffffffc0 e3637e90 ffffffc3 00085eec ffffffc0
  [  123.930623] 7e80: e35a54b0 ffffffc3 e35a54b0 ffffffc3 e3637eb0 ffffffc3 00088f28 ffffffc0
  [  123.938758] 7ea0: 00000008 00000000 00020000 00000000 b2a8f8f0 0000007f 00085368 ffffffc0
  [  123.946892] 7ec0: 00000000 00000000 e96d7600 ffffffc3 00000006 00000000 9c0008f0 0000007f
  [  123.955027] 7ee0: 00020000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [  123.963161] 7f00: ffffffbb 00000000 00000000 00000000 000000cf 00000000 00000000 00000000
  [  123.971296] 7f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  [  123.979430] 7f40: 00000000 00000000 b4c8a590 0000007f 0041e138 00000000 b4c9dc80 0000007f
  [  123.987565] 7f60: b4a9f660 0000007f 00000006 00000000 00020000 00000000 9c0008f0 0000007f
  [  123.995700] 7f80: 00000000 00000000 9c020910 0000007f 9c0008f0 0000007f b2a8fae0 0000007f
  [  124.003834] 7fa0: b4aa08c0 0000007f 00800000 00000000 b4cb8000 0000007f b2a8f8f0 0000007f
  [  124.011969] 7fc0: b4c9dd04 0000007f b2a8f8f0 0000007f b4c9dd2c 0000007f 80000000 00000000
  [  124.020103] 7fe0: 00000006 00000000 000000cf 00000000 5a5a5a5a 5a5a5a5a 5a5a5a5a 5a5a5a5a
  [  124.028237] Call trace:
  [  124.030670] [<ffffffc000367ce0>] memcpy+0x20/0x180
  [  124.035436] [<ffffffc00053c250>] skb_clone+0x3c/0xa8
  [  124.040374] [<ffffffc00053ffa4>] __skb_tstamp_tx+0xc0/0x118
  [  124.045918] [<ffffffc00054000c>] skb_tstamp_tx+0x10/0x1c
  [  124.051203] [<ffffffc00049bc84>] xgene_enet_start_xmit+0x2e4/0x33c
  [  124.057352] [<ffffffc00054fc20>] dev_hard_start_xmit+0x2e8/0x400
  [  124.063327] [<ffffffc00056cb14>] sch_direct_xmit+0x90/0x1d4
  [  124.068870] [<ffffffc000550100>] __dev_queue_xmit+0x28c/0x498
  [  124.074585] [<ffffffc00055031c>] dev_queue_xmit_sk+0x10/0x1c
  [  124.080216] [<ffffffc0005c3f14>] ip_finish_output2+0x3d0/0x438
  [  124.086017] [<ffffffc0005c5794>] ip_finish_output+0x198/0x1ac
  [  124.091732] [<ffffffc0005c61d4>] ip_output+0xec/0x164
  [  124.096755] [<ffffffc0005c5910>] ip_local_out_sk+0x38/0x48
  [  124.102211] [<ffffffc0005c5d84>] ip_queue_xmit+0x288/0x330
  [  124.107668] [<ffffffc0005da8bc>] tcp_transmit_skb+0x908/0x964
  [  124.113383] [<ffffffc0005dc0d4>] tcp_send_ack+0x128/0x138
  [  124.118753] [<ffffffc0005d1580>] __tcp_ack_snd_check+0x5c/0x94
  [  124.124555] [<ffffffc0005d7a0c>] tcp_rcv_established+0x554/0x68c
  [  124.130530] [<ffffffc0005df0d4>] tcp_v4_do_rcv+0xa4/0x37c
  [  124.135900] [<ffffffc000539430>] release_sock+0xb4/0x150
  [  124.141184] [<ffffffc0005cdf88>] tcp_recvmsg+0x448/0x9e0
  [  124.146468] [<ffffffc0005f2f3c>] inet_recvmsg+0xa0/0xc0
  [  124.151666] [<ffffffc000533660>] sock_recvmsg+0x10/0x1c
  [  124.156863] [<ffffffc0005370d4>] SyS_recvfrom+0xa4/0xf8
  [  124.162061] Code: f2400c84 540001c0 cb040042 36000064 (38401423) 
  [  124.168133] ---[ end trace 7ab2550372e8a65b ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507653/+subscriptions


References