找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 609|回复: 3

[求助/提问] rk3399使用asm1806内核崩溃问题求助

[复制链接]

60

主题

347

回帖

1558

积分

个人商家

积分
1558
发表于 2024-5-12 09:42:17 | 显示全部楼层 |阅读模式
想给aio-3399b扩展pcie接口,然而插上ams1806扩展版就内核崩溃


  1. [    0.989319] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
  2. [    0.989906] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
  3. [    0.990527] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
  4. [    0.991162] rk_gmac-dwmac fe300000.ethernet: clock input or output? (output).
  5. [    0.991789] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
  6. [    0.992288] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
  7. [    0.992787] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
  8. [    0.998354] rk_gmac-dwmac fe300000.ethernet: init for RGMII
  9. [    1.000640] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
  10. [    1.000909] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  11. [    1.001275] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
  12. [    1.002533] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
  13. [    1.003186] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
  14. [    1.003837] rk_gmac-dwmac fe300000.ethernet: COE Type 2
  15. [    1.004294] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
  16. [    1.004908] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
  17. [    1.005469] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
  18. [    1.005985] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
  19. [    1.006494] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
  20. [    1.007199] rk_gmac-dwmac fe300000.ethernet: device MAC address ea:ed:dd:ce:f3:01
  21. [    1.110473] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
  22. [    1.111107] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
  23. [    1.111852] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
  24. [    1.112939] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
  25. [    1.128497] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  26. [    1.269209] rockchip-pcie f8000000.pcie: wait 2000 ms before bus scan
  27. [    1.289082] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
  28. [    1.458884] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 148
  29. [    1.465314] mmc0: new ultra high speed SDR104 SDIO card at address 0001
  30. [    3.358874] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
  31. [    3.359473] pci_bus 0000:00: root bus resource [bus 00-1f]
  32. [    3.359958] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
  33. [    3.360560] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
  34. [    3.361426] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
  35. [    3.362037] pci 0000:00:00.0: supports D1
  36. [    3.362390] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
  37. [    3.365398] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  38. [    3.366275] pci 0000:01:00.0: [1b21:1806] type 01 class 0x060400
  39. [    3.366986] pci 0000:01:00.0: enabling Extended Tags
  40. [    3.367752] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
  41. [    3.368522] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 15.752 Gb/s with 8.0 GT/s PCIe x2 link)
  42. [    3.398430] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
  43. [    3.399527] pci 0000:02:00.0: [1b21:1806] type 01 class 0x060400
  44. [    3.400253] pci 0000:02:00.0: enabling Extended Tags
  45. [    3.401045] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
  46. [    3.402106] Internal error: synchronous external abort: 0000000096000210 [#1] PREEMPT SMP
  47. [    3.402823] Modules linked in:
  48. [    3.403100] CPU: 1 PID: 59 Comm: kworker/u12:3 Not tainted 6.6.30 #0
  49. [    3.403660] Hardware name: AIO-3399B (DT)
  50. [    3.404016] Workqueue: events_unbound deferred_probe_work_func
  51. [    3.404539] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  52. [    3.405151] pc : rockchip_pcie_rd_conf+0x17c/0x1f8
  53. [    3.405579] lr : rockchip_pcie_rd_conf+0x6c/0x1f8
  54. [    3.405997] sp : ffff8000816a3780
  55. [    3.406289] x29: ffff8000816a3780 x28: 0000000000000000 x27: 0000000000000001
  56. [    3.406922] x26: 0000000000000002 x25: ffff0000011b98c0 x24: ffff800080b9e390
  57. [    3.407554] x23: ffff8000811a2b30 x22: 0000000000000000 x21: ffff800088208000
  58. [    3.408185] x20: ffff8000816a37fc x19: 0000000000000004 x18: 0000000000000003
  59. [    3.408817] x17: 00000000ab40759a x16: 0000000036d5337b x15: ffffffffffffffff
  60. [    3.409449] x14: ffff000001897a1c x13: ffff000001897329 x12: 00000000e2019ea5
  61. [    3.410080] x11: 0000000088df70c3 x10: 0000000000000069 x9 : 0000000000000501
  62. [    3.410712] x8 : 000000003d4d554e x7 : ffff000001087b40 x6 : ffff000000daa400
  63. [    3.411343] x5 : ffff000000d62000 x4 : ffff80008b000000 x3 : 0000000000c00008
  64. [    3.411975] x2 : 000000000080000b x1 : ffff80008bc00008 x0 : ffff80008bc0000c
  65. [    3.412607] Call trace:
  66. [    3.412826]  rockchip_pcie_rd_conf+0x17c/0x1f8
  67. [    3.413223]  pci_bus_read_config_dword+0x68/0xbc
  68. [    3.413634]  pci_bus_generic_read_dev_vendor_id+0x30/0x190
  69. [    3.414120]  pci_scan_single_device+0x78/0xec
  70. [    3.414508]  pci_scan_slot+0x54/0x1fc
  71. [    3.414837]  pci_scan_child_bus_extend+0x3c/0x248
  72. [    3.415255]  pci_scan_bridge_extend+0x254/0x608
  73. [    3.415658]  pci_scan_child_bus_extend+0x180/0x248
  74. [    3.416083]  pci_scan_bridge_extend+0x254/0x608
  75. [    3.416485]  pci_scan_child_bus_extend+0x180/0x248
  76. [    3.416911]  pci_scan_root_bus_bridge+0x64/0xd8
  77. [    3.417314]  pci_host_probe+0x18/0xc0
  78. [    3.417643]  rockchip_pcie_probe+0xa78/0xc18
  79. [    3.418023]  platform_probe+0x68/0xc4
  80. [    3.418350]  really_probe+0x148/0x2b0
  81. [    3.418680]  __driver_probe_device+0x78/0x128
  82. [    3.419069]  driver_probe_device+0x40/0x118
  83. [    3.419444]  __device_attach_driver+0xb8/0x134
  84. [    3.419841]  bus_for_each_drv+0x70/0xb8
  85. [    3.420183]  __device_attach+0xa0/0x184
  86. [    3.420527]  device_initial_probe+0x14/0x20
  87. [    3.420902]  bus_probe_device+0xac/0xb0
  88. [    3.421246]  deferred_probe_work_func+0x88/0xc0
  89. [    3.421649]  process_one_work+0x138/0x248
  90. [    3.422010]  worker_thread+0x31c/0x44c
  91. [    3.422346]  kthread+0x110/0x114
  92. [    3.422637]  ret_from_fork+0x10/0x20
  93. [    3.422960] Code: 52800141 97fffcea 7100127f 54fff7e1 (b94002b5)
  94. [    3.423495] ---[ end trace 0000000000000000 ]---
  95. [    3.423902] note: kworker/u12:3[59] exited with irqs disabled
  96. [    3.424431] note: kworker/u12:3[59] exited with preempt_count 1
  97. [  119.368431] random: crng init done
复制代码
尝试过的方法如下
使用 LKML:Vincenzo Palazzo:[PATCH v1] 驱动程序:PCI:为瑞芯微 PCIe 总线扫描引入可配置延迟 这个补丁
https://usermanual.wiki/Document/RockchipDeveloperGuidelinux44PCIe.265700629.pdf

https://forum.armbian.com/topic/20189-how-to-change-pcie-bus-scan-delay-without-building-kernel/


https://lore.kernel.org/linux-rockchip/1f180d4b-9e5d-c829-555b-c9750940361e@web.de/T/

启动项目 传入pci=nomsi pci=pcie_bus_safe pcie_aspm=off
image.png


rk3399的pcie插固态和wifi模块以及jmb585都能正常识别,唯独asm1806异常(已经排除ams1806硬件问题),
测试过的硬件设备有 aio-3399b nanopc-t4 som-rk3399 都是相同结果

5

主题

10

回帖

257

积分

中级会员

积分
257
发表于 2024-5-12 09:49:57 | 显示全部楼层
pcie降速到1.0试试
回复

使用道具 举报

60

主题

347

回帖

1558

积分

个人商家

积分
1558
 楼主| 发表于 2024-5-12 09:55:05 来自手机 | 显示全部楼层
xxs 发表于 2024-5-12 09:49
pcie降速到1.0试试

pcie1.0 一样的结果
回复

使用道具 举报

0

主题

5

回帖

47

积分

萌新出发

积分
47
发表于 2024-5-12 10:15:28 来自手机 | 显示全部楼层
子设备同步复位了么
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|垃圾佬点拓扑 ( 蜀ICP备14007565号-4|川公网安备 51172202000143号 )

GMT+8, 2024-11-21 18:56 , Processed in 0.292134 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表