lkml.org 
[lkml]   [2008]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] soft lockup detected with ipcs
On Sun, 2 Mar 2008, Jiri Olsa wrote:

> I got more logs via netconsole, first I ran ipcs it segfaulted next run
> the system freezed.

Did you run ipcs without any arguments? If so, it should only call
shmctl(SHM_INFO) and shmctl(SHM_STAT), so the only two spinlocks involved
should be either shmem_inode_info->lock in shm_get_stat() or
kern_ipc_perm->out_lock in ipc_lock().

Could you please try what is the output with the attached patch below, so
that we know which spinlock buggers?

Also, could you please provide strace of the first (segfaulting)
invocation of ipcs?

On Sun, 2 Mar 2008, Andrew Morton wrote:

> > [ 144.699366] BUG: unable to handle kernel paging request at virtual address 6b6b6c2b
[ ... ]
> Looks like you got a use-after free when lockdep was playing with a
> spinlock which is taken in sys_shmctl() or one of its inlined callees.

BTW any idea where does the '2b' come from? (it's single-bit flip).

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2008-03-02 22:25    [W:0.098 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site