x86-64 and PA-RISC have broken WCHAN

From: Albert Cahalan
Date: Sun Sep 21 2003 - 16:04:55 EST


The PA-RISC port (2.4.xx) returns 0xdeadbeef.
The x86-64 port (2.6.0-test5) returns a 0.

i386, alpha, ppc, and IA-64 all work fine.
I think ARM works, but I didn't have a
System.map file on the system I was using.
I didn't check zSeries, ppc64, MIPS, or SPARC.

The following command is supposed to report
an instruction pointer ("nip" or "pc" or "rip"
or whatever), a stack pointer ("r2" or "sp" or
whatever), the kernel address where a process
is waiting, and the kernel function name where
a process is waiting:

ps -eo eip,esp,nwchan,wchan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/