-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU调频卡死系统 #87
Comments
Linux version 5.15.79-meson (root@fv-az407-145) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP Fri Nov 18 04:13:49 UTC 2022 |
[ 47.234467] sd 0:0:0:0: [sda] Attached SCSI removable disk |
一个usb口 连 RTL8152 USB网卡 usb集线器 上面再插一个u盘 就异常 TTL和SSH都会无响应,同时 USB网卡网络断开 irq冲突? |
同样的问题 一开始我还以为这里的这个问题 #92 是供电问题,然后我外接个有源hub,直接整个系统卡死,有线网卡丢包。拔掉就能立刻恢复。试过外接蓝牙。WIFI网卡 都是一样的问题
|
好像跟CPU调频有关。 保持最高频率试试。
|
居然好了,为什么不作为默认设置呢? 所以是CPU调频这边有BUG么? |
调了这个以后 原来直插不能工作的很多设备也可以工作了。。 |
因为大部分人的需求是省电和低温。 |
你是V1.0的板子吗。 |
我有v1.3和 1.0的 不过 v1.3的送人了 手里两块都是 1.0的 |
我远程设置了一下 ,包括我送出去的 1.3的 设置这个以后 温度并没有上升多少 ,硬说要上升,也就是偶尔跳了 1 摄氏度 然后跳回来。就是这种跳动多了一些。我摸手里的 1.0 反正摸不出什么变化。 |
1.0的板子才能降CPU的电压,1.3的几乎调不了多少。 你这可能是USB设备拉低了CPU的电压,换个好点的电源试试看。 |
我是 12V 2A的电源,没有做1拖N ,而且USB的HUB也是有电源的。不应该会吃CPU的电啊。 |
有万用表的话量一下吧。 在1V左右的那组就是CPU供电。按目前的dts应该是1.1V。 armbian-onecloud/patch/kernel/archive/meson-6.1/onecloud-0001-add-dts.patch Lines 173 to 190 in 213e2d8
|
手里没有万用表,看来我下一款应该买 1.3的版本的。。 |
我在咸鱼上买的,1.0和1.3都买到了,好像都出现了插在USB1口上出现系统有概率无法启动的问题。目前插在USB2口上暂时没遇到相关问题 |
是否可以在第一次启动的配置页面加入相关选项,选择CPU调频策略 |
问下,这个问题能稳定复现吗? 可能可以修复。 |
我调高电压后没有出现,调低电压后基本上可以稳定浮现,需要样品设备或者USB样品我可以寄给你。 |
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. |
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Welcome to Armb[ 198.537356] systemd[1]: Hostname set to . |
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. |
#156 目前看,cpu调频部分确实是与USB有关。 |
Bus 002 Device 005: ID 1f75:0917 Innostor Technology Corporation IS917 Mass storage
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
[ 954.879784] usb 2-1.4: new high-speed USB device number 4 using dwc2
[ 955.113912] usb-storage 2-1.4:1.0: USB Mass Storage device detected
[ 955.115117] scsi host0: usb-storage 2-1.4:1.0
[ 978.612961] rcu: INFO: rcu_sched self-detected stall on CPU
[ 978.613525] rcu: 0-....: (183 ticks this GP) idle=58b/1/0x40000004 softirq=6920/6921 fqs=138
[ 978.614392] (t=2102 jiffies g=7497 q=475)
[ 978.614806] NMI backtrace for cpu 0
[ 978.615075] CPU: 0 PID: 1499 Comm: kworker/0:0 Not tainted 5.15.79-meson #trunk
[ 978.615585] Hardware name: Amlogic Meson platform
[ 978.615893] Workqueue: events dbs_work_handler
[ 978.616743] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[ 978.617790] [] (show_stack) from [] (dump_stack_lvl+0x40/0x4c)
[ 978.618808] [] (dump_stack_lvl) from [] (nmi_cpu_backtrace+0xd4/0x108)
[ 978.619786] [] (nmi_cpu_backtrace) from [] (nmi_trigger_cpumask_backtrace+0x10c/0x124)
[ 978.620658] [] (nmi_trigger_cpumask_backtrace) from [] (rcu_dump_cpu_stacks+0x128/0x15c)
[ 978.621501] [] (rcu_dump_cpu_stacks) from [] (rcu_sched_clock_irq+0x694/0xa64)
[ 978.622383] [] (rcu_sched_clock_irq) from [] (update_process_times+0xa0/0xd4)
[ 978.623254] [] (update_process_times) from [] (tick_sched_timer+0x4c/0xac)
[ 978.624278] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0x190/0x320)
[ 978.625231] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0x11c/0x2a4)
[ 978.626107] [] (hrtimer_interrupt) from [] (twd_handler+0x30/0x38)
[ 978.627017] [] (twd_handler) from [] (handle_percpu_devid_irq+0x8c/0x1e0)
[ 978.628022] [] (handle_percpu_devid_irq) from [] (handle_domain_irq+0x5c/0x78)
[ 978.628863] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90)
[ 978.629664] [] (gic_handle_irq) from [] (__irq_svc+0x5c/0x78)
[ 978.630421] Exception stack(0xc2133b38 to 0xc2133b80)
[ 978.630868] 3b20: c4d3a620 c4d3c000
[ 978.631454] 3b40: 00000020 0000001f ef7a6be0 00000002 00000000 00004000 00000000 c2446b10
[ 978.632037] 3b60: 00000100 c1703080 ef6f9000 c2133b88 c0315a64 c03191cc 80010113 ffffffff
[ 978.632407] [] (__irq_svc) from [] (v7_dma_inv_range+0x38/0x50)
[ 978.633357] [] (v7_dma_inv_range) from [] (__dma_page_dev_to_cpu+0x8c/0x12c)
[ 978.634274] [] (__dma_page_dev_to_cpu) from [] (usb_hcd_unmap_urb_for_dma+0x6c/0x104)
[ 978.635301] [] (usb_hcd_unmap_urb_for_dma) from [] (dwc2_unmap_urb_for_dma+0xc/0x18)
[ 978.636311] [] (dwc2_unmap_urb_for_dma) from [] (__usb_hcd_giveback_urb+0x34/0xf4)
[ 978.637234] [] (__usb_hcd_giveback_urb) from [] (usb_giveback_urb_bh+0xac/0x154)
[ 978.638214] [] (usb_giveback_urb_bh) from [] (tasklet_action_common.constprop.5+0xa8/0xbc)
[ 978.639288] [] (tasklet_action_common.constprop.5) from [] (__do_softirq+0x13c/0x3c4)
[ 978.640223] [] (__do_softirq) from [] (irq_exit+0xd0/0x110)
[ 978.641049] [] (irq_exit) from [] (handle_domain_irq+0x60/0x78)
[ 978.641841] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90)
[ 978.642614] [] (gic_handle_irq) from [] (__irq_svc+0x5c/0x78)
[ 978.643341] Exception stack(0xc2133cc0 to 0xc2133d08)
[ 978.643973] 3cc0: c192932c 60010013 c4fc3a00 0000151f c20a5cc0 c20a5cc0 c209a000 c18972e0
[ 978.644557] 3ce0: 00000000 c20a5cc0 00000000 c3b2f080 00000000 c2133d10 c0cba1c0 c11a15e8
[ 978.644943] 3d00: 60010013 ffffffff
[ 978.645267] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x1c/0x20)
[ 978.646290] [] (_raw_spin_unlock_irqrestore) from [] (clk_core_disable_unprepare+0xc/0x20)
[ 978.647404] [] (clk_core_disable_unprepare) from [] (__clk_set_parent_after+0x48/0x4c)
[ 978.648386] [] (__clk_set_parent_after) from [] (clk_core_set_parent_nolock+0x118/0x274)
[ 978.649402] [] (clk_core_set_parent_nolock) from [] (meson8b_cpu_clk_notifier_cb+0x84/0x90)
[ 978.650428] [] (meson8b_cpu_clk_notifier_cb) from [] (srcu_notifier_call_chain+0x68/0xcc)
[ 978.651427] [] (srcu_notifier_call_chain) from [] (__clk_notify+0x80/0xac)
[ 978.652303] [] (__clk_notify) from [] (clk_propagate_rate_change+0x98/0xb0)
[ 978.653139] [] (clk_propagate_rate_change) from [] (clk_propagate_rate_change+0x5c/0xb0)
[ 978.654000] [] (clk_propagate_rate_change) from [] (clk_propagate_rate_change+0x5c/0xb0)
[ 978.654859] [] (clk_propagate_rate_change) from [] (clk_propagate_rate_change+0x5c/0xb0)
[ 978.655726] [] (clk_propagate_rate_change) from [] (clk_core_set_rate_nolock+0x118/0x198)
[ 978.656664] [] (clk_core_set_rate_nolock) from [] (clk_set_rate+0x30/0x88)
[ 978.657616] [] (clk_set_rate) from [] (_set_opp+0x434/0x528)
[ 978.658656] [] (_set_opp) from [] (dev_pm_opp_set_rate+0x100/0x15c)
[ 978.659503] [] (dev_pm_opp_set_rate) from [] (__cpufreq_driver_target+0x170/0x224)
[ 978.660528] [] (__cpufreq_driver_target) from [] (od_dbs_update+0x13c/0x160)
[ 978.661434] [] (od_dbs_update) from [] (dbs_work_handler+0x2c/0x54)
[ 978.662191] [] (dbs_work_handler) from [] (process_one_work+0x22c/0x55c)
[ 978.663056] [] (process_one_work) from [] (worker_thread+0x44/0x5c8)
[ 978.663868] [] (worker_thread) from [] (kthread+0x158/0x174)
[ 978.664642] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[ 978.665326] Exception stack(0xc2133fb0 to 0xc2133ff8)
[ 978.665802] 3fa0: 00000000 00000000 00000000 00000000
[ 978.666334] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 978.666822] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
The text was updated successfully, but these errors were encountered: