[Bug 295807] Apple G5 TTY suddenly freezes

[email protected] Wed, 03 Jun 2026 13:59:11 +0000
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295807

--- Comment #1 from Javi Hotmail <[email protected]> ---
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=