Ok it worked. Now I get a bunch of these:
BUG: using smp_processor_id() in preemptible [00000000] code: pidof/2471
caller is flush_ptrace_access+0xc0/0x1a0
Call Trace:
[000000000042ef78] flush_ptrace_access+0xc0/0x1a0
[00000000004ae6e4] access_process_vm+0x1ac/0x220
[0000000000508e38] proc_pid_cmdline+0x60/0x120
[000000000050acb8] proc_info_read+0x80/0xe0
[00000000004c6fcc] vfs_read+0x74/0x120
[00000000004c73cc] sys_read+0x34/0x60
[0000000000406314] linux_sparc_syscall32+0x3c/0x40
[00000000f7df5fe4] 0xf7df5fec
Mariusz
--