On Thu, Nov 01, 2007 at 09:55:44PM -0700, David Miller wrote:
I'm working on a kernel patch for 2.6.23 that will allow you to get
some useful debugging information in situations like this.
I'll try to get you that patch by the end of tonight.
As promised, here is the patch below.
echo g /proc/sysrq-trigger
So when you get a stuck process or whatever, trigger this and
send the output :-)
Great. Here you go, three of them, while the load was 3 and this process was
stuck:
buildd 10813 100 0.8 987368 17504 ?RN 14:44 155:49 dpkg-query
--search libpthread.so.0 libdl.so.2 libstdc++.so.6 libm.so.6 libgcc_s.so.1
libc.so.6 libFLAC.so.8 libid3tag.so.0 libz.so.1 libmad.so.0 libglib-2.0.so.0
libmikmod.so.2 libsndfile.so.1 libvorbis.so.0 libogg.so.0 libvorbisfile.so.3
--
2. That which causes joy or happiness.
Nov 2 17:01:52 lebrun kernel: SysRq : Show Global CPU Regs
Nov 2 17:01:52 lebrun kernel: CPU[ 0]: TSTATE[]
TPC[] TNPC[] TASK[NULL:-1]
Nov 2 17:01:52 lebrun kernel:
TPC[sparc64_realfault_common+0x8/0x20]
Nov 2 17:01:52 lebrun kernel: * CPU[ 1]: TSTATE[]
TPC[] TNPC[] TASK[sh:12919]
Nov 2 17:02:04 lebrun kernel: SysRq : Show Global CPU Regs
Nov 2 17:02:04 lebrun kernel: CPU[ 0]: TSTATE[80009604]
TPC[00407924] TNPC[00407928] TASK[dpkg-query:10813]
Nov 2 17:02:04 lebrun kernel:
TPC[sparc64_realfault_common+0x8/0x20]
Nov 2 17:02:04 lebrun kernel: * CPU[ 1]: TSTATE[]
TPC[] TNPC[] TASK[sh:12928]
Nov 2 17:17:02 lebrun kernel: SysRq : Show Global CPU Regs
Nov 2 17:17:02 lebrun kernel: CPU[ 0]: TSTATE[]
TPC[00407924] TNPC[00407928] TASK[dpkg-query:10813]
Nov 2 17:17:02 lebrun kernel:
TPC[sparc64_realfault_common+0x8/0x20]
Nov 2 17:17:02 lebrun kernel: * CPU[ 1]: TSTATE[]
TPC[] TNPC[] TASK[sh:16444]