Experienced in FreeBSD 15.1-RC1 (more frequently) and 16.0 (Live-CD). Perhaps related to (Bug 295806) in the sense that when USB 3.x devices are connected this happens more frequently. The observed behaviour goes as follows: tty will freeze, no input from mouse or keyboard will be registered and after 3/4 seconds fans will ramp up to full blast. This will be sustained for 30/40 seconds, at which point the tty will resume and screen will start refreshing again, keyboard and mouse will function again. Sometimes, just when the freeze occurs or just after the freeze, the machine will hard crash and reboot (this seems to happen only when the USB 3.x is connected, so I'm inclined to think that that is the connection with 295806. Interestingly enough, I've discovered that if I am connected through SSH to this machine, the ssh connection will not freeze at all, unless I execute some command like: sysctl -a | grep temp, at which point will hang until the entire system resumes, then it will print the different hw temperatures correctly. Javi.
I managed to get a dtrace of the kernel when it gets stuck; specifically: dtrace -n 'profile:::profile-99 { stack(); }' The trace shows the all the CPUs being stuck at: 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`cpu_idle_60x+0x64 3 50053 :profile-99 kernel`cpu_idle_60x+0x64 2 50053 :profile-99 kernel`cpu_idle_60x+0x64 ... At the end of the 40 seconds, when it recovers, I see: 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`cpu_idle_60x+0x64 3 50053 :profile-99 kernel`cpu_idle_60x+0x64 2 50053 :profile-99 kernel`cpu_idle_60x+0x64 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`native_bs_rs_4+0x4 kernel`native_bs_rs_4+0x4 kernel`openpic_unmask+0x8c kernel`openpic_cpcht_unmask+0x48 kernel`powerpc_intr_post_ithread+0x88 kernel`ithread_loop+0x638 kernel`fork_exit+0xcc kernel`fork_trampoline+0x1c 2 50053 :profile-99 kernel`cpu_idle_60x+0x64 3 50053 :profile-99 kernel`spinlock_exit+0x5c 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`cpu_idle_60x+0x64 3 50053 :profile-99 kernel`cpu_idle_60x+0x64 2 50053 :profile-99 kernel`cpu_idle_60x+0x64 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`cpu_idle_60x+0x64 3 50053 :profile-99 kernel`cpu_idle_60x+0x64 2 50053 :profile-99 kernel`cpu_idle_60x+0x64 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`cpu_idle_60x+0x64 3 50053 :profile-99 kernel`powerpc_interrupt+0x1ac kernel`powerpc_interrupt+0x1ac 0x7 2 50053 :profile-99 kernel`cpu_idle_60x+0x64 0 50053 :profile-99 kernel`cpu_idle_60x+0x64 1 50053 :profile-99 kernel`cpu_idle_60x+0x64 After that, it goes back to normal. Javi.