ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
562 stars 98 forks source link

RockPro64 Unable to Boot with PCI-E Inserted #254

Open hopkinskong opened 6 years ago

hopkinskong commented 6 years ago

I am using Dell H200 RAID card, the card seems initialized correctly (Green LED Flashing), but I got kernel oops when booting:

[ 2.646367] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found [ 2.651377] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found [ 2.656347] rockchip-pcie f8000000.pcie: invalid power supply Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. [ 2.681271] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2 Begin: Running /scripts/local-premount ... done. Warning: fsck not present, so skipping root file system [ 2.710248] EXT4-fs (mmcblk1p7): warning: mounting fs with errors, running e2fsck is recommended [ 2.714617] EXT4-fs (mmcblk1p7): recovery complete [ 2.717252] EXT4-fs (mmcblk1p7): mounted filesystem with writeback data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 2.776849] PCI host bridge /pcie@f8000000 ranges: [ 2.783830] MEM 0xfa000000..0xfbdfffff -> 0xfa000000 [ 2.790769] IO 0xfbe00000..0xfbefffff -> 0xfbe00000 [ 2.798295] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00 [ 2.804108] pci_bus 0000:00: root bus resource [bus 00-1f] [ 2.809860] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff] [ 2.815729] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff]) [ 2.822719] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.828114] Unhandled fault: synchronous external abort (0x96000210) at 0xffffff8014100000 [ 2.833345] Internal error: : 96000210 [#1] SMP [ 2.838209] Modules linked in: phy_rockchip_pcie midgard_kbase dw_hdmi_i2s_audio [ 2.843408] CPU: 1 PID: 168 Comm: kworker/u12:3 Not tainted 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 [ 2.848893] Hardware name: Pine64 RockPro64 (DT) [ 2.853960] Workqueue: deferwq deferred_probe_work_func [ 2.859141] task: ffffffc0edba3800 task.stack: ffffffc0ee33c000 [ 2.864427] PC is at rockchip_pcie_rd_conf+0x128/0x170 [ 2.869735] LR is at pci_bus_read_config_dword+0x6c/0xa4 [ 2.874986] pc : [] lr : [] pstate: 600001c5 [ 2.880421] sp : ffffffc0ee33f860 [ 2.885415] x29: ffffffc0ee33f860 x28: 0000000000000000 [ 2.890693] x27: 0000000000000001 x26: 0000000000000000 [ 2.895961] x25: 0000000000000000 x24: 0000000000000000 [ 2.901163] x23: ffffffc0ee372000 x22: 0000000000000000 [ 2.906294] x21: 0000000000000004 x20: ffffffc0ee33f8ec [ 2.911385] x19: 0000000000000000 x18: 0000000000000005 [ 2.916473] x17: 0000000000000000 x16: 0000000000000000 [ 2.921508] x15: 0000000000000000 x14: 2d3030207375625b [ 2.926521] x13: 207265646e75205d x12: 66662d3130207375 [ 2.931507] x11: 625b20747265736e x10: 6920746f6e206e61 [ 2.936461] x9 : 63203a7365725f6e x8 : 207375625b20296c [ 2.941350] x7 : 6c756e2820687469 x6 : ffffff8009351b06 [ 2.946217] x5 : 0000000000000000 x4 : 0000000000000000 [ 2.951015] x3 : 0000000000000000 x2 : 0000000000000003 [ 2.955709] x1 : ffffff8014100000 x0 : ffffff8014000000 [ 2.960389] [ 2.960389] PC: 0xffffff80085c8bcc: [ 2.969075] 8bcc a8c47bfd d65f03c0 710012bf 540000c1 b9400042 d5033d9f b9000282 52800000 [ 2.974119] 8bec 17fffff5 71000abf 54000081 79400042 12003c42 17fffff8 710006bf 54fffd01 [ 2.979108] 8c0c 39400042 12001c42 17fffff3 53140a61 12002ed6 53111063 2a160021 2a025062 [ 2.983924] 8c2c 2a020021 510006a2 6a01005f 54fffb81 710012bf 540000e1 f9400000 8b010001 [ 2.988753] 8c4c b9400021 d5033d9f b9000281 17ffffe4 71000abf 540000c1 f9400000 8b010001 [ 2.993543] 8c6c 79400021 12003c21 17fffff7 710006bf 54fff961 f9400000 8b010001 39400021 [ 2.998415] 8c8c 12001c21 17fffff0 a9bd7bfd 910003fd a90153f3 a9025bf5 2a0103f3 aa0003f5 [ 3.003339] 8cac 2a0203f6 2a0303f4 aa1e03e0 d503201f 7100827f 5400046c 531b6a61 d5033e9f [ 3.008245] [ 3.008245] LR: 0xffffff80085ab808: [ 3.016541] b808 a94363f7 a8c57bfd d65f03c0 528010f4 17fffff9 a9bb7bfd 910003fd a90153f3 [ 3.021399] b828 a9025bf5 a90363f7 2a0203f5 aa0003f4 2a0103f8 aa0303f7 aa1e03e0 d503201f [ 3.026227] b848 b9004fbf f24006bf 54000341 f00064b3 91310273 aa1303e0 9419aae0 aa0003f6 [ 3.031074] b868 f9405e80 2a1803e1 910133a4 52800083 2a1503e2 f9400405 aa1403e0 d63f00a0 [ 3.036004] b888 2a0003f4 b9404fa0 aa1603e1 b90002e0 aa1303e0 9419ab1e 2a1403e0 a94153f3 [ 3.040929] b8a8 a9425bf5 a94363f7 a8c57bfd d65f03c0 528010f4 17fffff9 a9bc7bfd 910003fd [ 3.045859] b8c8 a90153f3 a9025bf5 a90363f7 aa0003f4 12001c78 aa1e03e0 2a0103f6 2a0203f7 [ 3.050834] b8e8 f00064b3 d503201f 91310273 aa1303e0 9419aaba aa0003f5 f9405e80 2a1803e4 [ 3.055816] [ 3.055816] SP: 0xffffffc0ee33f7e0: [ 3.064237] f7e0 00000000 00000000 ee372000 ffffffc0 00000000 00000000 00000000 00000000 [ 3.069106] f800 00000000 00000000 00000001 00000000 00000000 00000000 ee33f860 ffffffc0 [ 3.073917] f820 085ab888 ffffff80 ee33f860 ffffffc0 085c8c4c ffffff80 600001c5 00000000 [ 3.078687] f840 ee33f8e0 ffffffc0 086afb54 ffffff80 ffffffff ffffffff 08c16408 ffffff80 [ 3.083390] f860 ee33f8a0 ffffffc0 085ab888 ffffff80 09242c40 ffffff80 ee372000 ffffffc0 [ 3.088070] f880 00000000 00000000 00000140 00000000 ee33f96c ffffffc0 ee372000 ffffffc0 [ 3.092737] f8a0 ee33f8f0 ffffffc0 085ad938 ffffff80 ee33f96c ffffffc0 ee372000 ffffffc0 [ 3.097373] f8c0 ee372000 ffffffc0 00000000 00000000 0000ea60 00000000 00000000 00000000 [ 3.102028] [ 3.102028] X0: 0xffffff8013ffff80: [ 3.109883] ff80 **** **** **** **** **** **** **** **** [ 3.114565] ffa0 **** **** **** **** **** **** **** **** [ 3.119215] ffc0 **** **** **** **** **** **** **** **** [ 3.123859] ffe0 **** **** **** **** **** **** **** **** [ 3.128481] 0000 [ 3.128681] Unhandled fault: synchronous external abort (0x96000210) at 0xffffff8014000000 [ 10.137078] BUG: spinlock lockup suspected on CPU#1, kworker/u12:3/168 [ 10.141688] lock: 0xffffff80091afdb0, .magic: dead4ead, .owner: kworker/u12:3/168, .owner_cpu: 1 [ 10.146641] CPU: 1 PID: 168 Comm: kworker/u12:3 Not tainted 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 [ 10.151751] Hardware name: Pine64 RockPro64 (DT) [ 10.156437] Workqueue: deferwq deferred_probe_work_func [ 10.161207] Call trace: [ 10.165693] [] dump_backtrace+0x0/0x220 [ 10.170506] [] show_stack+0x24/0x30 [ 10.175320] [] dump_stack+0x98/0xc0 [ 10.180114] [] spin_dump+0x84/0xa4 [ 10.184874] [] do_raw_spin_lock+0xdc/0x164 [ 10.189729] [] _raw_spin_lock_irq+0x24/0x30 [ 10.194530] [] die+0x38/0x1ac [ 10.199164] [] arm64_notify_die+0x6c/0x70 [ 10.203856] [] do_mem_abort+0x9c/0xac [ 10.208471] Exception stack(0xffffffc0ee33f370 to 0xffffffc0ee33f4a0) [ 10.213254] f360: ffffffc0edba3800 0000008000000000 [ 10.218200] f380: ffffffc0ee33f540 ffffff800855b004 0000000000000007 0000000000000000 [ 10.223135] f3a0: ffffff8014000000 0000000000000000 ffffff80093522ec 0000000000000000 [ 10.228025] f3c0: ffffffc0ee33f3e0 ffffff800810a9f0 0000000000000005 0000000000000000 [ 10.232861] f3e0: ffffffc0ee33f480 ffffff800810ab50 ffffffc0ee33f500 ffffff8008ee3d53 [ 10.237724] f400: ffffff8008ee3d53 ffffff8008f42d6f ffffffc0ee33f5cc ffffff8014000000 [ 10.242516] f420: 0000000000000004 00000040eed8d000 0000000000000000 ffffffc0ee33f5d0 [ 10.247308] f440: ffffffc0ee33f5cc 0000000000000000 0000000000001000 0000000000aaaaaa [ 10.252080] f460: 0000000000000008 00000000ffffffff ffffffc0edb91a00 ffffff800a4002a0 [ 10.256841] f480: ffffff800a4002a0 0000000000000000 0000000000000000 0000000000000000 [ 10.261595] [] el1_da+0x24/0x84 [ 10.266036] [] show_data.constprop.3+0xa4/0xf8 [ 10.270585] [] show_regs+0x14c/0x198 [ 10.275028] [] die+0xb4/0x1ac [ 10.279319] [] arm64_notify_die+0x6c/0x70 [ 10.283738] [] do_mem_abort+0x9c/0xac [ 10.288052] Exception stack(0xffffffc0ee33f690 to 0xffffffc0ee33f7c0) [ 10.292534] f680: 0000000000000000 0000008000000000 [ 10.297174] f6a0: ffffffc0ee33f860 ffffff80085c8c4c 0000000000000007 0000000000000000 [ 10.301796] f6c0: ffffff8014100000 0000000000000007 ffffff8008f3435d ffffff8008f3c957 [ 10.306458] f6e0: ffffffc0ee33f7d2 0000000000000000 ffffffc0ee33f700 ffffff8009174000 [ 10.311105] f700: 0000000000000140 0000000008f3c957 ffffffc0ee33f8e0 ffffffc0ee33f8e0 [ 10.315765] f720: ffffffc0ee33f8b0 00000000ffffffd8 ffffff8014000000 ffffff8014100000 [ 10.320411] f740: 0000000000000003 0000000000000000 0000000000000000 0000000000000000 [ 10.325016] f760: ffffff8009351b06 6c756e2820687469 207375625b20296c 63203a7365725f6e [ 10.329691] f780: 6920746f6e206e61 625b20747265736e 66662d3130207375 207265646e75205d [ 10.334346] f7a0: 2d3030207375625b 0000000000000000 0000000000000000 0000000000000000 [ 10.339098] [] el1_da+0x24/0x84 [ 10.343634] [] pci_bus_read_config_dword+0x6c/0xa4 [ 10.348406] [] pci_bus_read_dev_vendor_id+0x40/0xe4 [ 10.353116] [] pci_scan_single_device+0x60/0xc4 [ 10.357734] [] pci_scan_slot+0x7c/0xe8 [ 10.362187] [] pci_scan_child_bus+0x5c/0x164 [ 10.366597] [] pci_scan_bridge+0x4ac/0x4dc [ 10.370882] [] pci_scan_child_bus+0x158/0x164 [ 10.375092] [] pci_scan_root_bus_msi+0x9c/0xe4 [ 10.379286] [] pci_scan_root_bus+0x4c/0x60 [ 10.383404] [] rockchip_pcie_probe+0x8b8/0xa14 [ 10.387544] [] platform_drv_probe+0x5c/0xb0 [ 10.391668] [] driver_probe_device+0x268/0x3d8 [ 10.395853] [] __device_attach_driver+0x68/0xa4 [ 10.400064] [] bus_for_each_drv+0x90/0xa0 [ 10.404233] [] device_attach+0xac/0x124 [ 10.408393] [] device_initial_probe+0x24/0x30 [ 10.412582] [] bus_probe_device+0x38/0x98 [ 10.416745] [] deferred_probe_work_func+0xb8/0xcc [ 10.420987] [] process_one_work+0x224/0x368 [ 10.425149] [] worker_thread+0x2d0/0x38c [ 10.429238] [] kthread+0xe0/0xf0 [ 10.433218] [] ret_from_fork+0x10/0x20 [ 13.027257] random: nonblocking pool is initialized [ 24.125153] Watchdog detected hard LOCKUP on cpu 1 [ 24.125667] ------------[ cut here ]------------ [ 24.133134] WARNING: at kernel/watchdog.c:352 [ 24.137043] Modules linked in: phy_rockchip_pcie midgard_kbase dw_hdmi_i2s_audio [ 24.141360] [ 24.145030] CPU: 0 PID: 1 Comm: systemd Not tainted 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 [ 24.149521] Hardware name: Pine64 RockPro64 (DT) [ 24.153581] task: ffffffc0f2aa0000 task.stack: ffffffc0f29fc000 [ 24.157806] PC is at watchdog_timer_fn+0x190/0x2e8 [ 24.161930] LR is at watchdog_timer_fn+0x190/0x2e8 [ 24.166017] pc : [] lr : [] pstate: 600001c5 [ 24.170433] sp : ffffffc0f7eefdf0 [ 24.174464] x29: ffffffc0f7eefdf0 x28: 0000000000000001 [ 24.178675] x27: ffffff80091a78a0 x26: ffffff800917a238 [ 24.182816] x25: ffffffc0f7ef2250 x24: ffffffc0f29ffb80 [ 24.186935] x23: 0000000000000000 x22: 0000000000000003 [ 24.191019] x21: ffffff80091a6000 x20: ffffff800917a2b0 [ 24.195103] x19: ffffff800917a000 x18: 0000000000000005 [ 24.199164] x17: 0000007f9e910b40 x16: ffffff8008122560 [ 24.203209] x15: 0000000000000000 x14: ffffff800a4006c0 [ 24.207213] x13: ffffff800a4006c0 x12: ffffffc0edb90f20 [ 24.211156] x11: 00000000ffffffff x10: 0000000000000008 [ 24.215055] x9 : 0000000000aaaaaa x8 : 0000000000001000 [ 24.218878] x7 : 0000000000000000 x6 : 0000000000000001 [ 24.222609] x5 : 0000000000000000 x4 : 0000000000000000 [ 24.226283] x3 : 00000040eed78000 x2 : 00000040eed78000 [ 24.229941] x1 : 0000000000000000 x0 : 0000000000000026 [ 24.233573] [ 24.233573] PC: 0xffffff800815521c: [ 24.240230] 521c 91022694 d538d080 38746801 34000041 3834681f 97ffff7a a94153f3 52800020 [ 24.244343] 523c a9425bf5 a94363f7 a9446bf9 a94573fb a8c77bfd d65f03c0 91020282 f87a6860 [ 24.248520] 525c f8626865 91022294 eb05001f 54000101 38746860 35fffb80 b9403082 90006ce0 [ 24.252755] 527c 913bc000 340000c2 9400def3 f8226860 f87c7b60 3834681f 17ffffd3 9400df7d [ 24.257059] 529c d4210000 f87c7b60 52800021 38346801 17ffffcd 97fe4906 f9444ea1 36080941 [ 24.261401] 52bc b9401341 910003e2 340008e1 531f7821 d35efc00 8b21c2c1 cb000021 b6f80841 [ 24.265783] 52dc 6b160016 54000800 91022a99 d538d080 38606b21 34000101 91024294 f8746802 [ 24.270213] 52fc d5384101 eb01005f 54fff980 3839681f 17ffffc9 34000157 90009321 52800000 [ 24.274678] [ 24.274678] LR: 0xffffff800815521c: [ 24.282285] 521c 91022694 d538d080 38746801 34000041 3834681f 97ffff7a a94153f3 52800020 [ 24.286855] 523c a9425bf5 a94363f7 a9446bf9 a94573fb a8c77bfd d65f03c0 91020282 f87a6860 [ 24.291468] 525c f8626865 91022294 eb05001f 54000101 38746860 35fffb80 b9403082 90006ce0 [ 24.296125] 527c 913bc000 340000c2 9400def3 f8226860 f87c7b60 3834681f 17ffffd3 9400df7d [ 24.300811] 529c d4210000 f87c7b60 52800021 38346801 17ffffcd 97fe4906 f9444ea1 36080941 [ 24.305553] 52bc b9401341 910003e2 340008e1 531f7821 d35efc00 8b21c2c1 cb000021 b6f80841 [ 24.310338] 52dc 6b160016 54000800 91022a99 d538d080 38606b21 34000101 91024294 f8746802 [ 24.315181] 52fc d5384101 eb01005f 54fff980 3839681f 17ffffc9 34000157 90009321 52800000 [ 24.320045] [ 24.320045] SP: 0xffffffc0f7eefd70: [ 24.328433] fd70 00000003 00000000 00000000 00000000 f29ffb80 ffffffc0 f7ef2250 ffffffc0 [ 24.333377] fd90 0917a238 ffffff80 091a78a0 ffffff80 00000001 00000000 f7eefdf0 ffffffc0 [ 24.338300] fdb0 0815529c ffffff80 f7eefdf0 ffffffc0 0815529c ffffff80 600001c5 00000000 [ 24.343189] fdd0 091a6898 ffffff80 00000000 00000000 00000000 00000080 f2400028 ffffffc0 [ 24.348036] fdf0 f7eefe60 ffffffc0 0811ff74 ffffff80 f7ef2250 ffffffc0 f7ef1c00 ffffffc0 [ 24.352831] fe10 995f5ff2 00000005 f7ef1c80 ffffffc0 09174000 ffffff80 00000001 00000000 [ 24.357631] fe30 0930d890 ffffff80 995f5ff2 00000005 0815510c ffffff80 f2aa0000 ffffffc0 [ 24.362433] fe50 f7ef2250 ffffffc0 091a6898 ffffff80 f7eefed0 ffffffc0 08120558 ffffff80 [ 24.367310] [ 24.367310] X12: 0xffffffc0edb90ea0: [ 24.375602] 0ea0 6c380000 d6d6c6c6 386cc6c6 00000000 00000000 00000000 00000000 1c1c0000 [ 24.380497] 0ec0 38383838 6c6c6c38 6c6c6c6c c6c6c6c6 c6c6c6c6 c6c6c6c6 d6d6c6c6 d6d6d6d6 [ 24.385456] 0ee0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.390485] 0f00 00000030 06003c06 c63cc6c6 c6000cc0 00c6c632 00000030 06006c0c c66cc6c6 [ 24.395532] 0f20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.400600] 0f40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.405639] 0f60 c6000c06 00c6c630 00000030 0c180cc6 c6c6c66c 6c000c0c 006cc630 0000003c [ 24.410691] 0f80 c6c6c600 c6c6c6c6 7c7c00c6 38387c7c 76003838 7c7c767c 007c7c7c 7c7c7c7c [ 24.415799] [ 24.415799] X13: 0xffffff800a400640: [ 24.424736] 0640 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.429983] 0660 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.435214] 0680 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.440439] 06a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.445643] 06c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.450819] 06e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.455936] 0700 00000000 00000000 00000000 00000000 00aaaaaa 00000000 00000000 00000000 [ 24.461035] 0720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.466031] [ 24.466031] X14: 0xffffff800a400640: [ 24.474567] 0640 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.479519] 0660 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.484374] 0680 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.489139] 06a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.493806] 06c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.498384] 06e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.502853] 0700 00000000 00000000 00000000 00000000 00aaaaaa 00000000 00000000 00000000 [ 24.507308] 0720 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.511660] [ 24.511660] X16: 0xffffff80081224e0: [ 24.518912] 24e0 aa1703e1 aa1503e0 942bd00b aa1503e0 942bcfbc aa0003f7 b9403a60 97fffdb4 [ 24.523225] 2500 b5fffe40 39400a80 35000080 d4210000 52800020 39000a80 a9400261 f9000420 [ 24.527533] 2520 f9000001 aa1703e1 a9006a79 aa1503e0 f9002a7f 942bcff8 52800021 aa1303e0 [ 24.531843] 2540 97fffd83 17ffffdc a94153f3 a9425bf5 a94363f7 a9446bf9 a8c57bfd d65f03c0 [ 24.536149] 2560 a9bc7bfd 910003fd a90153f3 f90013f5 aa0003f4 aa0103f5 aa1e03e0 d503201f [ 24.540444] 2580 2a1403e0 97fffd92 aa0003f3 b4000340 f9400400 b4000300 d5384100 f9400401 [ 24.544717] 25a0 aa1503e0 b1004000 fa413002 9a9f87e2 b50000c2 928001a0 a94153f3 f94013f5 [ 24.549044] 25c0 a8c47bfd d65f03c0 d2800202 aa1503e1 9100c3a0 9410e25b b5fffee0 f9400662 [ 24.553349] [ 24.553349] X19: 0xffffff8009179f80: [ 24.560572] 9f80 **** **** **** **** **** **** **** **** [ 24.564905] 9fa0 **** **** **** **** **** **** **** **** [ 24.569160] 9fc0 **** **** **** **** **** **** **** **** [ 24.573332] 9fe0 **** **** **** **** **** **** **** **** [ 24.577427] a000 **** **** **** **** **** **** **** **** [ 24.581452] a020 **** **** **** **** **** **** **** **** [ 24.585372] a040 **** **** **** **** **** **** **** **** [ 24.589260] a060 **** **** **** **** **** **** **** **** [ 24.593033] [ 24.593033] X20: 0xffffff800917a230: [ 24.599119] a230 **** **** **** **** **** **** **** **** [ 24.602871] a250 **** **** **** **** **** **** **** **** [ 24.606560] a270 **** **** **** **** **** **** **** **** [ 24.610243] a290 **** **** **** **** **** **** **** **** [ 24.613865] a2b0 **** **** **** **** **** **** **** **** [ 24.617403] a2d0 **** **** **** **** **** **** **** **** [ 24.620831] a2f0 **** **** **** **** **** **** **** **** [ 24.624233] a310 **** **** **** **** **** **** **** **** [ 24.627526] [ 24.627526] X21: 0xffffff80091a5f80: [ 24.632951] 5f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.636490] 5fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.640028] 5fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.643567] 5fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.647093] 6000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.650612] 6020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.654025] 6040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.657410] 6060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.660686] [ 24.660686] X24: 0xffffffc0f29ffb00: [ 24.666085] fb00 f29ffb60 ffffffc0 08190314 ffffff80 c3d6c080 ffffffbd 00000054 00000000 [ 24.669607] fb20 c3d6c080 ffffffbd 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.673196] fb40 f2aa0000 ffffffc0 080fd80c ffffff80 f29ffb50 ffffffc0 f29ffb50 ffffffc0 [ 24.676867] fb60 f29ffb90 ffffffc0 081904d0 ffffff80 f29ffb90 ffffffc0 081904dc ffffff80 [ 24.680559] fb80 00000003 00000000 09181e18 ffffff80 00000000 00000000 00000000 00000000 [ 24.684324] fba0 00000001 00000000 0000003e 00000000 09396858 ffffff80 00000000 00000000 [ 24.688027] fbc0 00000008 00000000 00000000 00000004 ffffffff 7fffffff 00000002 00000000 [ 24.691730] fbe0 00005dc0 00000000 40001f40 00000f42 ffffe0c0 ffffffff 41aacea3 00001190 [ 24.695374] [ 24.695374] X25: 0xffffffc0f7ef21d0: [ 24.701221] 21d0 ffffffff 00000000 ffffffff ffffffff 00000001 00000000 f7ef6b58 ffffffc0 [ 24.704825] 21f0 f7ef6b58 ffffffc0 f7ef21f8 ffffffc0 f7ef21f8 ffffffc0 081491cc ffffff80 [ 24.708425] 2210 f29ffcf8 ffffffc0 f29ffc50 ffffffc0 00020002 00000000 00000000 00000000 [ 24.712004] 2230 00000001 00000000 00000006 00000000 00000000 00000000 f2ae8000 ffffffc0 [ 24.715575] 2250 f7ef2250 ffffffc0 00000000 00000000 00000000 00000000 995f5c00 00000005 [ 24.719111] 2270 995f5c00 00000005 0815510c ffffff80 f7ef1c80 ffffffc0 00000000 0000000a [ 24.722617] 2290 081550e0 ffffff80 63746177 676f6468 0000302f 00000000 00000000 00000000 [ 24.726173] 22b0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 24.729669] [ 24.729669] X26: 0xffffff800917a1b8: [ 24.735503] a1b8 **** **** **** **** **** **** **** **** [ 24.739251] a1d8 **** **** **** **** **** **** **** **** [ 24.742998] a1f8 **** **** **** **** **** **** **** **** [ 24.746744] a218 **** **** **** **** **** **** **** **** [ 24.750493] a238 **** **** **** **** **** **** **** **** [ 24.754243] a258 **** **** **** **** **** **** **** **** [ 24.757880] a278 **** **** **** **** **** **** **** **** [ 24.761489] a298 **** **** **** **** **** **** **** **** [ 24.764987] [ 24.764987] X27: 0xffffff80091a7820: [ 24.770816] 7820 00000001 00000000 00000001 00000000 000003e8 00000000 f7f6a0c0 ffffffc0 [ 24.774557] 7840 00000015 00000000 f7f6a080 ffffffc0 00000001 00000006 00000060 00000000 [ 24.778355] 7860 00015000 00001000 00000001 00000000 f7f6a100 ffffffc0 f7f6a140 ffffffc0 [ 24.782235] 7880 00000000 00000005 00000010 00000000 f7eebf00 ffffffc0 f7eec000 ffffffc0 [ 24.786141] 78a0 eed78000 00000040 eed8d000 00000040 eeda2000 00000040 eedb7000 00000040 [ 24.790112] 78c0 eedcc000 00000040 eede1000 00000040 00000000 00000000 00000000 00000000 [ 24.794006] 78e0 00000002 00000000 0000334d 00000000 00010000 00000000 000f7fff 00000000 [ 24.797911] 7900 0001e29d 00000000 00002000 00000000 00000000 0000fffa 00000000 00000000 [ 24.801737] [ 24.801737] X29: 0xffffffc0f7eefd70: [ 24.808245] fd70 00000003 00000000 00000000 00000000 f29ffb80 ffffffc0 f7ef2250 ffffffc0 [ 24.812326] fd90 0917a238 ffffff80 091a78a0 ffffff80 00000001 00000000 f7eefdf0 ffffffc0 [ 24.816482] fdb0 0815529c ffffff80 f7eefdf0 ffffffc0 0815529c ffffff80 600001c5 00000000 [ 24.820708] fdd0 091a6898 ffffff80 00000000 00000000 00000000 00000080 f2400028 ffffffc0 [ 24.825015] fdf0 f7eefe60 ffffffc0 0811ff74 ffffff80 f7ef2250 ffffffc0 f7ef1c00 ffffffc0 [ 24.829397] fe10 995f5ff2 00000005 f7ef1c80 ffffffc0 09174000 ffffff80 00000001 00000000 [ 24.833747] fe30 0930d890 ffffff80 995f5ff2 00000005 0815510c ffffff80 f2aa0000 ffffffc0 [ 24.838154] fe50 f7ef2250 ffffffc0 091a6898 ffffff80 f7eefed0 ffffffc0 08120558 ffffff80 [ 24.842523] [ 24.846134] ---[ end trace dfefd423896e3787 ]--- [ 24.850041] Call trace: [ 24.853738] Exception stack(0xffffffc0f7eefc20 to 0xffffffc0f7eefd50) [ 24.857859] fc20: ffffff800917a000 0000008000000000 ffffffc0f7eefdf0 ffffff800815529c [ 24.862164] fc40: 0000000000000026 0000000000000000 ffffffc0f7eefcf0 ffffff800810ab50 [ 24.866478] fc60: ffffffc0f7eefd70 ffffff8008ef1ef0 ffffff80091a6000 0000000000000003 [ 24.870825] fc80: 0000000000000000 ffffffc0f29ffb80 ffffffc0f7ef2250 ffffff800917a238 [ 24.875137] fca0: ffffff80091a78a0 0000000000000001 00000000000001c0 ffffff8009174000 [ 24.879498] fcc0: 0000000000000026 0000000000000000 00000040eed78000 00000040eed78000 [ 24.883810] fce0: 0000000000000000 0000000000000000 0000000000000001 0000000000000000 [ 24.888076] fd00: 0000000000001000 0000000000aaaaaa 0000000000000008 00000000ffffffff [ 24.892304] fd20: ffffffc0edb90f20 ffffff800a4006c0 ffffff800a4006c0 0000000000000000 [ 24.896539] fd40: ffffff8008122560 0000007f9e910b40 [ 24.900502] [] watchdog_timer_fn+0x190/0x2e8 [ 24.904564] [] __hrtimer_run_queues+0x1bc/0x284 [ 24.908628] [] hrtimer_interrupt+0xac/0x1bc [ 24.912662] [] arch_timer_handler_phys+0x38/0x50 [ 24.916687] [] handle_percpu_devid_irq+0xe8/0x178 [ 24.920742] [] generic_handle_irq+0x2c/0x44 [ 24.924681] [] __handle_domain_irq+0xb4/0xb8 [ 24.928679] [] gic_handle_irq+0xc8/0x180 [ 24.932686] Exception stack(0xffffffc0f29ffb80 to 0xffffffc0f29ffcb0) [ 24.936885] fb80: 0000000000000003 ffffff8009181e18 0000000000000000 0000000000000000 [ 24.941333] fba0: 0000000000000001 000000000000003e ffffff8009396858 0000000000000000 [ 24.945833] fbc0: 0000000000000008 0000000400000000 7fffffffffffffff 0000000000000002 [ 24.950359] fbe0: 0000000000005dc0 00000f4240001f40 ffffffffffffe0c0 0000119041aacea3 [ 24.954933] fc00: ffffff8008122560 0000007f9e910b40 00000000000007dc ffffffc0f7f0ee18 [ 24.959485] fc20: ffffff80091a6844 ffffffc0f7ef71c8 0000000000000001 ffffff80091a78a0 [ 24.964070] fc40: ffffff800811fb18 0000000000000000 ffffff80091a7000 ffffff80091a6844 [ 24.968603] fc60: ffffff80091a78a0 ffffffc0f29ffcb0 ffffff8008132c1c ffffffc0f29ffcb0 [ 24.973138] fc80: ffffff80081323b0 0000000020000145 ffffffc0f7ef71c8 ffffff80091a6000 [ 24.977654] fca0: 0000008000000000 0000000000000008 [ 24.981913] [] el1_irq+0xb4/0x140 [ 24.986163] [] csd_lock_wait+0x30/0x38 [ 24.990468] [] smp_call_function_many+0x258/0x280 [ 24.994889] [] smp_call_function+0x40/0x54 [ 24.999238] [] on_each_cpu+0x34/0x60 [ 25.003461] [] clock_was_set+0x24/0x30 [ 25.007723] [] do_settimeofday64+0x130/0x158 [ 25.011977] [] do_sys_settimeofday+0xb8/0xf4 [ 25.016198] [] posix_clock_realtime_set+0x24/0x30 [ 25.020446] [] SyS_clock_settime+0x8c/0x9c [ 25.024609] [] el0_svc_naked+0x24/0x28 [ 52.125156] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [systemd:1] [ 52.129478] Modules linked in: phy_rockchip_pcie midgard_kbase dw_hdmi_i2s_audio [ 52.133886] [ 52.137658] CPU: 0 PID: 1 Comm: systemd Tainted: G W 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 [ 52.142345] Hardware name: Pine64 RockPro64 (DT) [ 52.146533] task: ffffffc0f2aa0000 task.stack: ffffffc0f29fc000 [ 52.150885] PC is at csd_lock_wait+0x34/0x38 [ 52.155056] LR is at smp_call_function_many+0x258/0x280 [ 52.159291] pc : [] lr : [] pstate: 20000145 [ 52.163817] sp : ffffffc0f29ffcb0 [ 52.167924] x29: ffffffc0f29ffcb0 x28: ffffff80091a78a0 [ 52.172223] x27: ffffff80091a6844 x26: ffffff80091a7000 [ 52.176468] x25: 0000000000000000 x24: ffffff800811fb18 [ 52.180688] x23: ffffff80091a78a0 x22: 0000000000000001 [ 52.184927] x21: ffffffc0f7ef71c8 x20: ffffff80091a6844 [ 52.189177] x19: ffffffc0f7f0ee18 x18: 00000000000007dc [ 52.193379] x17: 0000007f9e910b40 x16: ffffff8008122560 [ 52.197546] x15: 0000119041aacea3 x14: ffffffffffffe0c0 [ 52.201671] x13: 00000f4240001f40 x12: 0000000000005dc0 [ 52.205788] x11: 0000000000000002 x10: 7fffffffffffffff [ 52.209892] x9 : 0000000400000000 x8 : 0000000000000008 [ 52.213969] x7 : 0000000000000000 x6 : ffffff8009396858 [ 52.218029] x5 : 000000000000003e x4 : 0000000000000001 [ 52.222059] x3 : 0000000000000000 x2 : 0000000000000000 [ 52.226047] x1 : ffffff8009181e18 x0 : 0000000000000003 [ 52.230011] [ 52.230011] PC: 0xffffff8008132334: [ 52.237160] 2334 2a1a03e6 7100081f aa1903e4 7a4c8a84 2a1803e2 9a9f02c5 2a1503e1 aa1703e0 [ 52.241463] 2354 97fffc92 a94153f3 a9425bf5 a94363f7 a9446bf9 a8c77bfd d65f03c0 928001a0 [ 52.245839] 2374 17fffff9 928002a0 17fffff7 a9be7bfd 910003fd f9000bf3 aa0003f3 aa1e03e0 [ 52.250251] 2394 d503201f 91006260 88dffc00 37000080 f9400bf3 a8c27bfd d65f03c0 d503203f [ 52.254668] 23b4 17fffff9 a9bf7bfd 910003fd aa1e03e0 d503201f a8c17bfd d65f03c0 a9be7bfd [ 52.259108] 23d4 910003fd f9000bf3 aa0003f3 aa1e03e0 d503201f b9401a60 37000040 d4210000 [ 52.263546] 23f4 52800000 91006261 889ffc20 f9400bf3 a8c27bfd d65f03c0 a9bd7bfd 910003fd [ 52.268024] 2414 a90153f3 a9025bf5 12001c16 aa1e03e0 d503201f d53b4220 37380040 d4210000 [ 52.272538] [ 52.272538] LR: 0xffffff8008132b9c: [ 52.280191] 2b9c 912282f7 1400001f 93407c03 91228342 f9400261 f8637840 8b000021 a90687a3 [ 52.284784] 2bbc aa0103e0 97fffdf0 f9403ba1 b9401820 32000000 b9001820 d5033abf f94037a3 [ 52.289413] 2bdc 34000097 b9401820 321f0000 b9001820 f9403fa0 a900e438 91060002 f8637b80 [ 52.294097] 2bfc 8b000042 aa0103e0 9410ecde 17ffffd6 f860dae0 f9400261 8b000020 97fffdda [ 52.298831] 2c1c 110006c2 d2800101 aa1503e0 93407c42 9410ecaa b9400281 2a0003f6 6b00003f [ 52.303603] 2c3c 54fffe8c 17ffffac a9bd7bfd 910003fd a90153f3 f90013f5 aa0003f3 aa0103f4 [ 52.308419] 2c5c 2a0203f5 aa1e03e0 d503201f f0005840 710002bf 1a9f07e3 aa1403e2 f9448400 [ 52.313287] 2c7c aa1303e1 97ffff51 52800000 f94013f5 a94153f3 a8c37bfd d65f03c0 a9bd7bfd [ 52.318200] [ 52.318200] SP: 0xffffffc0f29ffc30: [ 52.326690] fc30 00000001 00000000 091a78a0 ffffff80 0811fb18 ffffff80 00000000 00000000 [ 52.331638] fc50 091a7000 ffffff80 091a6844 ffffff80 091a78a0 ffffff80 f29ffcb0 ffffffc0 [ 52.336550] fc70 08132c1c ffffff80 f29ffcb0 ffffffc0 081323b4 ffffff80 20000145 00000000 [ 52.341419] fc90 f7ef71c8 ffffffc0 091a6000 ffffff80 00000000 00000080 00000008 00000000 [ 52.346226] fcb0 f29ffcd0 ffffffc0 08132c1c ffffff80 f7ef71c0 ffffffc0 08132c30 ffffff80 [ 52.350970] fcd0 f29ffd50 ffffffc0 08132c84 ffffff80 0811fb18 ffffff80 00000000 00000000 [ 52.355685] fcf0 00000001 00000000 091c2000 ffffff80 00000140 00000000 09396540 ffffff80 [ 52.360401] fd10 0000011d 00000000 00000070 00000000 08c32000 ffffff80 f2aa0000 ffffffc0 [ 52.365132] [ 52.365132] X1: 0xffffff8009181d98: [ 52.373121] 1d98 **** **** **** **** **** **** **** **** [ 52.377871] 1db8 **** **** **** **** **** **** **** **** [ 52.382596] 1dd8 **** **** **** **** **** **** **** **** [ 52.387285] 1df8 **** **** **** **** **** **** **** **** [ 52.391927] 1e18 **** **** **** **** **** **** **** **** [ 52.396531] 1e38 **** **** **** **** **** **** **** **** [ 52.401100] 1e58 **** **** **** **** **** **** **** **** [ 52.405618] 1e78 **** **** **** **** **** **** **** **** [ 52.410105] [ 52.410105] X6: 0xffffff80093967d8: [ 52.417773] 67d8 00000034 00000000 a5920ce9 ffffffff 35c92d58 00000000 14dcf8a8 150e0485 [ 52.422383] 67f8 00000000 00000000 14dcf8a8 150e0485 00000000 00000004 ffffffff 7fffffff [ 52.427041] 6818 00000034 00000000 00005dc0 00000000 40001f40 00000f42 ffffe0c0 ffffffff [ 52.431726] 6838 40001f40 00000f42 00000000 000f4240 00000000 00000000 00000008 00000000 [ 52.436469] 6858 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.441207] 6878 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.445884] 6898 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.450534] 68b8 00000000 00000000 00000000 00000000 000f4240 00000000 00000000 000f4240 [ 52.455089] [ 52.455089] X14: 0xffffffffffffe040: [ 52.462753] e040 **** **** **** **** **** **** **** **** [ 52.467281] e060 **** **** **** **** **** **** **** **** [ 52.471729] e080 **** **** **** **** **** **** **** **** [ 52.476114] e0a0 **** **** **** **** **** **** **** **** [ 52.480399] e0c0 **** **** **** **** **** **** **** **** [ 52.484584] e0e0 **** **** **** **** **** **** **** **** [ 52.488660] e100 **** **** **** **** **** **** **** **** [ 52.492707] e120 **** **** **** **** **** **** **** **** [ 52.496643] [ 52.496643] X16: 0xffffff80081224e0: [ 52.503089] 24e0 aa1703e1 aa1503e0 942bd00b aa1503e0 942bcfbc aa0003f7 b9403a60 97fffdb4 [ 52.507006] 2500 b5fffe40 39400a80 35000080 d4210000 52800020 39000a80 a9400261 f9000420 [ 52.510931] 2520 f9000001 aa1703e1 a9006a79 aa1503e0 f9002a7f 942bcff8 52800021 aa1303e0 [ 52.514857] 2540 97fffd83 17ffffdc a94153f3 a9425bf5 a94363f7 a9446bf9 a8c57bfd d65f03c0 [ 52.518784] 2560 a9bc7bfd 910003fd a90153f3 f90013f5 aa0003f4 aa0103f5 aa1e03e0 d503201f [ 52.522692] 2580 2a1403e0 97fffd92 aa0003f3 b4000340 f9400400 b4000300 d5384100 f9400401 [ 52.526579] 25a0 aa1503e0 b1004000 fa413002 9a9f87e2 b50000c2 928001a0 a94153f3 f94013f5 [ 52.530523] 25c0 a8c47bfd d65f03c0 d2800202 aa1503e1 9100c3a0 9410e25b b5fffee0 f9400662 [ 52.534445] [ 52.534445] X19: 0xffffffc0f7f0ed98: [ 52.540944] ed98 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.544931] edb8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.548847] edd8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.552715] edf8 00000000 00000000 00000000 00000000 091caeb0 ffffff80 00000000 00000000 [ 52.556528] ee18 00000000 00000000 0811fb18 ffffff80 00000000 00000000 00000003 00000000 [ 52.560324] ee38 00000095 000000ba 0000001f 00000000 c3b8a220 ffffffbd c3b9ff20 ffffffbd [ 52.564091] ee58 c3d7dda0 ffffffbd c3d610a0 ffffffbd c380e260 ffffffbd c380e7e0 ffffffbd [ 52.567901] ee78 00fb0024 00000000 00000000 03000000 00000000 00000000 00000000 00000000 [ 52.571695] [ 52.571695] X20: 0xffffff80091a67c4: [ 52.578131] 67c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.582177] 67e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.586221] 6804 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.590265] 6824 00000000 00000000 00000000 f2180000 ffffffc0 00000800 00000000 00000001 [ 52.594329] 6844 00000006 00000043 00000000 00000000 00000000 00000800 00000000 00000800 [ 52.598424] 6864 00000000 00000000 00000000 00000000 00000000 f28f5a00 ffffffc0 00000000 [ 52.602436] 6884 00000001 00000078 00000000 00400000 0000000a 00000003 00000000 ee6b2800 [ 52.606468] 68a4 00000000 0000000a 00000001 00000000 00000000 0000003f 00000000 0000003f [ 52.610417] [ 52.610417] X21: 0xffffffc0f7ef7148: [ 52.616963] 7148 00000000 00000000 091c1200 ffffff80 00000000 00000000 00000000 00000000 [ 52.620972] 7168 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.624979] 7188 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.628982] 71a8 00000000 00000000 00000000 00000000 00000000 00000000 09181e18 ffffff80 [ 52.633008] 71c8 0000003e 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.637048] 71e8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.640979] 7208 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.644884] 7228 00000000 00000000 00000000 00000000 00000000 00000000 f7ef7240 ffffffc0 [ 52.648704] [ 52.648704] X23: 0xffffff80091a7820: [ 52.655179] 7820 00000001 00000000 00000001 00000000 000003e8 00000000 f7f6a0c0 ffffffc0 [ 52.659245] 7840 00000015 00000000 f7f6a080 ffffffc0 00000001 00000006 00000060 00000000 [ 52.663367] 7860 00015000 00001000 00000001 00000000 f7f6a100 ffffffc0 f7f6a140 ffffffc0 [ 52.667574] 7880 00000000 00000005 00000010 00000000 f7eebf00 ffffffc0 f7eec000 ffffffc0 [ 52.671806] 78a0 eed78000 00000040 eed8d000 00000040 eeda2000 00000040 eedb7000 00000040 [ 52.676107] 78c0 eedcc000 00000040 eede1000 00000040 00000000 00000000 00000000 00000000 [ 52.680325] 78e0 00000002 00000000 0000334d 00000000 00010000 00000000 000f7fff 00000000 [ 52.684555] 7900 0001e29d 00000000 00002000 00000000 00000000 0000fffa 00000000 00000000 [ 52.688708] [ 52.688708] X24: 0xffffff800811fa98: [ 52.695577] fa98 aa0003e1 f9400260 942bda9d d503203f 17fffff3 aa1303e0 a94153f3 a9425bf5 [ 52.699700] fab8 a8c37bfd d65f03c0 a9bd7bfd 910003fd a90153f3 aa0003f3 aa1e03e0 d503201f [ 52.703829] fad8 9100a3a1 9100c260 97ffffda f9400e74 f9401a60 f9401000 d63f0000 cb000294 [ 52.707969] faf8 f9401a60 f94017a1 f9400000 942bda84 aa1403e0 a94153f3 a8c37bfd d65f03c0 [ 52.712125] fb18 a9be7bfd 910003fd f9000bf3 d00082d3 aa1e03e0 91300273 d503201f d538d080 [ 52.716277] fb38 8b000273 3940da60 36080260 aa1303e0 942bda40 9105a263 9104a262 9103a261 [ 52.720413] fb58 9100c260 94001a04 3940da60 36080100 aa1303e0 97fffe7d 3940da61 f9001e60 [ 52.724611] fb78 37100061 52800021 9400359c aa1303e0 942bda58 f9400bf3 a8c27bfd d65f03c0 [ 52.728797] [ 52.728797] X26: 0xffffff80091a6f80: [ 52.736014] 6f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.740427] 6fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.744794] 6fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.749077] 6fe0 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000 [ 52.753295] 7000 091a68e8 ffffff80 0815a1e0 ffffff80 00000000 00000000 00000080 00000000 [ 52.757471] 7020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.761580] 7040 00000000 00000000 00000000 00000000 00000001 00000000 00000000 dead4ead [ 52.765678] 7060 ffffffff 00000000 ffffffff ffffffff 091a7070 ffffff80 091a7070 ffffff80 [ 52.769752] [ 52.769752] X27: 0xffffff80091a67c4: [ 52.776738] 67c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.781035] 67e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.785304] 6804 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 52.789547] 6824 00000000 00000000 00000000 f2180000 ffffffc0 00000800 00000000 00000001 [ 52.793764] 6844 00000006 00000043 00000000 00000000 00000000 00000800 00000000 00000800 [ 52.797983] 6864 00000000 00000000 00000000 00000000 00000000 f28f5a00 ffffffc0 00000000 [ 52.802121] 6884 00000001 00000078 00000000 00400000 0000000a 00000003 00000000 ee6b2800 [ 52.806277] 68a4 00000000 0000000a 00000001 00000000 00000000 0000003f 00000000 0000003f [ 52.810352] [ 52.810352] X28: 0xffffff80091a7820: [ 52.817304] 7820 00000001 00000000 00000001 00000000 000003e8 00000000 f7f6a0c0 ffffffc0 [ 52.821585] 7840 00000015 00000000 f7f6a080 ffffffc0 00000001 00000006 00000060 00000000 [ 52.825897] 7860 00015000 00001000 00000001 00000000 f7f6a100 ffffffc0 f7f6a140 ffffffc0 [ 52.830290] 7880 00000000 00000005 00000010 00000000 f7eebf00 ffffffc0 f7eec000 ffffffc0 [ 52.834709] 78a0 eed78000 00000040 eed8d000 00000040 eeda2000 00000040 eedb7000 00000040 [ 52.839172] 78c0 eedcc000 00000040 eede1000 00000040 00000000 00000000 00000000 00000000 [ 52.843556] 78e0 00000002 00000000 0000334d 00000000 00010000 00000000 000f7fff 00000000 [ 52.847953] 7900 0001e29d 00000000 00002000 00000000 00000000 0000fffa 00000000 00000000 [ 52.852272] [ 52.852272] X29: 0xffffffc0f29ffc30: [ 52.859557] fc30 00000001 00000000 091a78a0 ffffff80 0811fb18 ffffff80 00000000 00000000 [ 52.863957] fc50 091a7000 ffffff80 091a6844 ffffff80 091a78a0 ffffff80 f29ffcb0 ffffffc0 [ 52.868348] fc70 08132c1c ffffff80 f29ffcb0 ffffffc0 081323b4 ffffff80 20000145 00000000 [ 52.872772] fc90 f7ef71c8 ffffffc0 091a6000 ffffff80 00000000 00000080 00000008 00000000 [ 52.877216] fcb0 f29ffcd0 ffffffc0 08132c1c ffffff80 f7ef71c0 ffffffc0 08132c30 ffffff80 [ 52.881697] fcd0 f29ffd50 ffffffc0 08132c84 ffffff80 0811fb18 ffffff80 00000000 00000000 [ 52.886116] fcf0 00000001 00000000 091c2000 ffffff80 00000140 00000000 09396540 ffffff80 [ 52.890586] fd10 0000011d 00000000 00000070 00000000 08c32000 ffffff80 f2aa0000 ffffffc0 [ 52.895005] [ 52.898646] Kernel panic - not syncing: softlockup: hung tasks [ 52.902723] CPU4: stopping [ 52.908164] CPU: 4 PID: 0 Comm: swapper/4 Tainted: G W L 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 [ 52.914493] Hardware name: Pine64 RockPro64 (DT) [ 52.920233] Call trace:

foundObjects commented 6 years ago

I'm having trouble with pcie devices as well, only one of the cards I've tried functions. Board revision is v2.1 2018-06-06.

Bootlogs for 3 different pcie cards with kernel 4.4 and mainline attached here

hopkinskong commented 6 years ago

@ayufan Any ideas?

foundObjects commented 6 years ago

@hopkinskong You might want to go upstream, there's a similar issue here in the rockchip repo.

bullet64 commented 6 years ago

I have problems too. Only cards i get running are cards from pine64 (NVMe & SATA)

Here an bootlog from an Intel I350-T4V2 card. https://pastebin.com/CBwWNaa7 I hope that helps someone, I do not know how to solve the problem.

foundObjects commented 6 years ago

@bullet64 that's really odd, my I350-T4 functions flawlessly. Which revision pcb (the Rockpro64 board) do you have? I'm not sure whether my I350 is a v1 or v2.

bullet64 commented 6 years ago

On the label is T4V2. And i have tested on v2.0 and v2.1.

I'm not sure if I'm doing everything right. Modul igb is loaded. But with these errors

'[ 3.357459] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout! [ 3.364016] rockchip-pcie: probe of f8000000.pcie failed with error -110'

card will not work. So

'sudo lspci -vvv'

is empty. I bought the card because it works for you. :)

foundObjects commented 6 years ago

I wish I could help, mine just works without doing anything special.

Did you by chance buy one of the $50 "ships from China" I350s?

bullet64 commented 6 years ago

Uuups, looks like I bought China garbage. Ok, bought by amazon - will send back.

Thanks for your hint.

crushfx commented 5 years ago

I too have an Intel i350-T4 network adapter which works fine in my PC but not in the rockpro64 v2.1 board. I only got it to work once with the Debian version from mrfixiti2001 but not since, so I think this slot will not take anything than the sata adapter sold by rockchip, very likely due to electrical incompatibilities. I'm pretty sure pcie spec is not even properly/fully implemented on these boards and someone just soldered the slot and some regulators hoping it would just work. I think the reason it worked once was likely timing related so I have absolutely no faith this version of the board will work with this card reliably.

ayufan commented 5 years ago

It is due to some clocking issue. Most of PCIe should work as long as it can live with 32MB dma buffers, almost everything expect graphics card. Most of time it works, I tested with NVMe, different SATA adapters, network cards and USB adapters. It worked in almost all times.

On Sat, 23 Mar 2019 at 16:09, crushfx notifications@github.com wrote:

I too have an Intel i350-T4 network adapter which works fine in my PC but not in the rockpro64 v2.1 board. I only got it to work once with the Debian version from mrfixiti2001 but not since, so I think this slot will not take anything than the sata adapter sold by rockchip, very likely due to electrical incompatibilities. I'm pretty sure pcie spec is not even properly/fully implemented on these boards and someone just soldered the slot and some regulators hoping it would just work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ayufan-rock64/linux-build/issues/254#issuecomment-475877356, or mute the thread https://github.com/notifications/unsubscribe-auth/ACTpQZY-rYc8jOLm0l2B8mtZGe8y0-d9ks5vZkOSgaJpZM4VuaS8 .

crushfx commented 5 years ago

What type of network adapters did you have success with and what revision of the rockpro64 board? I could only get the i350-T4 to show up on the bus once with my v2.1 board.