On June 12, 2003 07:35 am, Ralf Baechle wrote: > The kernel has a wrapper for 32-bit code (see sys32_sysinfo) and that > one seems to look correct to me. > > Can you check that your program is actually using the right syscall, > that is syscall number 4116? If it's using 5097 it's using the > native 64-bit syscall which obviously would explain your observation. Thanks for your (and everyone's suggestions) I'll have a look at this today. I put a printk in kernel/proc.c:sys_sysinfo() so that's the one being called. I also put another printk in arch/mips64/mm/init.c:si_meminfo() (??? i think...) and it was being called from 'sys_info()'. I don't remember seeing sys32_sysinfo() but I'll look again. Trevor