Re: recent -git: BUG in free_thread_xstate

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vegard Nossum
Date: Wednesday, July 23, 2008 - 1:23 pm

On Wed, Jul 23, 2008 at 10:07 PM, Vegard Nossum <vegard.nossum@gmail.com> wrote:

Don't know if it's related, but I got this on the same kernel:

BUG: unable to handle kernel paging request at c0817fac
IP: [<c0135bcc>] copy_process+0x8ec/0x1130
*pde = 3780e163 *pte = 00817162
Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Pid: 1280, comm: udevd Not tainted (2.6.26-06077-gc010b2f #100)
EIP: 0060:[<c0135bcc>] EFLAGS: 00210086 CPU: 1
EIP is at copy_process+0x8ec/0x1130
EAX: ffffffff EBX: f799a224 ECX: 00000000 EDX: 00450008
ESI: f7999fe0 EDI: 00000000 EBP: f6f4bf44 ESP: f6f4bf08
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process udevd (pid: 1280, ti=f6f4a000 task=f6d41fe0 task.ti=f6f4a000)
Stack: 00000000 f7999fe0 f6f4bfb8 f7999fe0 f6f4bfb8 bf96c708 01200011 f799a1e4
       00000000 f7918400 00000000 00000000 00000000 f6f4bfb8 01200011 f6f4bf9c
       c013646d 00000000 b7e65938 f78b6900 bf96c708 00000000 f6c98900 f6f4bf9c
Call Trace:
 [<c013646d>] ? do_fork+0x5d/0x2b0
 [<c0191571>] ? do_munmap+0x1e1/0x240
 [<c01024af>] ? sys_clone+0x2f/0x40
 [<c010404f>] ? sysenter_past_esp+0x78/0xc5
 =======================
Code: 00 00 64 a1 00 70 7e c0 8b 80 70 01 00 00 89 86 70 01 00 00 8b 46 04 8b 50
 10 0f a3 96 8c 01 00 00 19 c0 85 c0 0f 84 db 07 00 00 <0f> a3 15 ac df 78 c0 19
 c0 85 c0 0f 84 ca 07 00 00 f7 45 dc 00
EIP: [<c0135bcc>] copy_process+0x8ec/0x1130 SS:ESP 0068:f6f4bf08
---[ end trace 11ce0863bd4ff64d ]---
note: udevd[1280] exited with preempt_count 1

$ addr2line -e vmlinux -i c0135bcc
include/asm/bitops.h:305
kernel/fork.c:1151

Seems to be this block (first line):

        if (unlikely(!cpu_isset(task_cpu(p), p->cpus_allowed) ||
                        !cpu_online(task_cpu(p))))
                set_task_cpu(p, smp_processor_id());


My test is basically stressing the network and running CPU hotplug at
the same time.


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 1:07 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 1:23 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 1:28 pm)
Re: recent -git: BUG in free_thread_xstate, Suresh Siddha, (Wed Jul 23, 1:31 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 1:39 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 1:52 pm)
Re: recent -git: BUG in free_thread_xstate, Dmitry Adamushko, (Wed Jul 23, 2:22 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 2:22 pm)
Re: recent -git: BUG in free_thread_xstate, Dmitry Adamushko, (Wed Jul 23, 2:35 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 2:35 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 2:45 pm)
Re: recent -git: BUG in free_thread_xstate, Dmitry Adamushko, (Wed Jul 23, 3:01 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 3:05 pm)
Re: recent -git: BUG in free_thread_xstate, Max Krasnyansky, (Wed Jul 23, 3:42 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 3:45 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 3:50 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 4:20 pm)
Re: recent -git: BUG in free_thread_xstate, Matt Mackall, (Wed Jul 23, 4:53 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Wed Jul 23, 5:02 pm)
Re: recent -git: BUG in free_thread_xstate, Paul E. McKenney, (Fri Aug 1, 2:10 pm)
Re: recent -git: BUG in free_thread_xstate, Vegard Nossum, (Fri Aug 8, 11:46 am)
Re: recent -git: BUG in free_thread_xstate, Paul E. McKenney, (Fri Aug 8, 1:40 pm)