Messages in this thread | | | Date | Sun, 2 Mar 2008 22:23:25 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: [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
| |