Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Frequent kernel panic with compat_linux module



On Tue, Dec 09, 2008 at 01:57:11PM +0100, Nicolas Joly wrote:
> This GDB was configured as "x86_64--netbsd"...
> (gdb) l *(linux_syscall+0x92)
> 0xca42 is in linux_syscall (/local/src/NetBSD/src/sys/sys/syscallvar.h:62).
> 57      {
> 58              int error;
> 59      
> 60              l->l_sysent = sy;
> 61              error = (*sy->sy_call)(l, uap, rval);
> 62              l->l_sysent = NULL;
> 63      
> 64              return error;
> 65      }
> 66      

That function doesn't look big enough to contain linux_syscall+0x92.
I suspect the fault may be in a static function that is next in the object file.

You might need disassemble the code in order to identify it.
looking at the output of 'objdump -d netbsd' might be easier than using gdb!

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index