From: "Rafael J. Wysocki" Subject: Re: BUG: sleeping function called from invalid context at mm/slab.c:3052 Date: Sun, 1 Jun 2008 13:54:03 +0200 Message-ID: <200806011354.03808.rjw@sisk.pl> References: <1212313623.5186.8.camel@zwerg> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1212313623.5186.8.camel@zwerg> Content-Disposition: inline Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Alexey Fisher Cc: kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton On Sunday, 1 of June 2008, Alexey Fisher wrote: > I get this after suspend on my PC (2.6.26-rc4-00103-g1beee8d). I do not > thing there is any reason to bisect it, supend on my PC began to work > only with 2.6.26-rc3: Well, that's interesting. I have no idea what !@#$%^& happend here ... > [ 433.110546] BUG: sleeping function called from invalid context at > mm/slab.c:3052 > [ 433.110550] in_atomic():1, irqs_disabled():0 > [ 433.110554] 5 locks held by pm-suspend/4783: > [ 433.110556] #0: (&buffer->mutex){--..}, at: [] > sysfs_write_file+0x24/0xe1 > [ 433.110572] #1: (pm_mutex){--..}, at: [] enter_state > +0x15c/0x170 > [ 433.110579] #2: (cpu_add_remove_lock){--..}, at: [] > disable_nonboot_cpus+0x8/0xc0 > [ 433.110585] #3: (&cpu_hotplug.lock){--..}, at: [] > cpu_hotplug_begin+0x17/0x3e > [ 433.110590] #4: (smp_alt){--..}, at: [] > alternatives_smp_switch+0x14b/0x161 > [ 433.110598] Pid: 4783, comm: pm-suspend Not tainted > 2.6.26-rc4-testing-00103-g1beee8d #35 > [ 433.110602] [] kmem_cache_alloc+0x26/0xf2 > [ 433.110645] [] __get_vm_area_node+0x8b/0x194 > [ 433.110652] [] __get_vm_area_node+0x8b/0x194 > [ 433.110657] [] __lock_acquire+0xbfc/0xc18 > [ 433.110662] [] get_vm_area_caller+0x3b/0x40 > [ 433.110667] [] text_poke+0xa8/0x153 > [ 433.110673] [] vmap+0x1f/0x41 > [ 433.110677] [] text_poke+0xa8/0x153 > [ 433.110682] [] sys_execve+0x38/0x4a > [ 433.110686] [] get_lock_stats+0x13/0x34 > [ 433.110691] [] alternatives_smp_unlock+0x40/0x4d > [ 433.110696] [] alternatives_smp_switch+0x119/0x161 > [ 433.110700] [] _etext+0x0/0xf > [ 433.110705] [] __cpu_die+0x31/0x63 > [ 433.110712] [] _cpu_down+0x141/0x1ef > [ 433.110718] [] disable_nonboot_cpus+0x47/0xc0 > [ 433.110723] [] suspend_devices_and_enter+0x92/0x13f > [ 433.110727] [] enter_state+0x117/0x170 > [ 433.110732] [] state_store+0x8e/0xa4 > [ 433.110736] [] state_store+0x0/0xa4 > [ 433.110741] [] kobj_attr_store+0x18/0x1c > [ 433.110746] [] sysfs_write_file+0xb4/0xe1 > [ 433.110751] [] sysfs_write_file+0x0/0xe1 > [ 433.110755] [] vfs_write+0x83/0xf6 > [ 433.110760] [] sys_write+0x3c/0x63 > [ 433.110765] [] sysenter_past_esp+0x78/0xd1 > [ 433.110771] ======================= > [ 433.141990] CPU0 attaching NULL sched-domain. > [ 433.143290] CPU1 is down > > > Some time this PC won't wake up if it suspended (S3) with firefox > started. This time i wonted to find why, so may bit this is the reason. > -- "Premature optimization is the root of all evil." - Donald Knuth -- To unsubscribe from this list: send the line "unsubscribe kernel-testers" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html