From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753548AbZDWXtW (ORCPT ); Thu, 23 Apr 2009 19:49:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751271AbZDWXtN (ORCPT ); Thu, 23 Apr 2009 19:49:13 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:54023 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbZDWXtM (ORCPT ); Thu, 23 Apr 2009 19:49:12 -0400 Date: Thu, 23 Apr 2009 16:46:38 -0700 From: Andrew Morton To: Mathieu Desnoyers Cc: gregkh@suse.de, linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org Subject: Re: [BUG] 2.6.29.1 debugobjects warning Message-Id: <20090423164638.3b5769c6.akpm@linux-foundation.org> In-Reply-To: <20090423140002.GA12852@Krystal> References: <20090423140002.GA12852@Krystal> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 23 Apr 2009 10:00:02 -0400 Mathieu Desnoyers wrote: > Hi, > > I got the following warning on my Thinkpad T43p laptop (single-core > 32-bits x86). I run the 2.6.29.1 tree, plus LTTng patchset applied. It > seems to come from cpufreq. Any idea what is going on here ? > > > ------------[ cut here ]------------ > WARNING: at lib/debugobjects.c:217 debug_print_object+0x5a/0x70() > Hardware name: 2687D5U > ODEBUG: init active object type: timer_list > Modules linked in: irda parport nsc_ircc irtty_sir parport_pc psmouse snd_seq sn > d_seq_midi_event hid_logitech ac unix floppy output battery sir_dev nvram snd_ra > wmidi pcmcia x_tables ip_tables joydev snd_seq_midi evdev video snd_page_alloc s > oundcore led_class i2c_i801 cryptoloop snd snd_seq_dummy rfkill thinkpad_acpi sn > d_seq_oss snd_mixer_oss loop ipw2200 blowfish aes_i586 snd_pcm_oss ac97_bus snd_ > seq_device agpgart snd_pcm ide_cd_mod snd_timer intel_agp snd_ac97_codec ide_gen > eric button snd_intel8x0 edd acpi_cpufreq ltt_statedump ipc_trace usbhid thermal > mm_trace snd_intel8x0m fs_trace pcmcia_core rcu_trace lib80211 syscall_trace rs > rc_nonstatic libphy serio_raw kernel_trace tg3 trap_trace libipw crc_ccitt net_t > race dm_mod dm_log dm_region_hash dm_mirror yenta_socket dm_snapshot fat vfat nl > s_cp437 nls_iso8859_1 lp ppdev af_packet drm ntfs ipv6 auth_rpcgss binfmt_misc r > adeon lockd sunrpc nfs > Pid: 3628, comm: cpufreqd Not tainted 2.6.29.1-trace #28 > Call Trace: > [] warn_slowpath+0x73/0xd0 > [] ? mark_held_locks+0x48/0x90 > [] ? __mutex_unlock_slowpath+0xd5/0x150 > [] ? trace_hardirqs_on_caller+0x199/0x1f0 > [] ? mutex_unlock+0x8/0x10 > [] ? mutex_unlock+0x8/0x10 > [] ? sysfs_addrm_finish+0x16/0x230 > [] ? sysfs_find_dirent+0x21/0x30 > [] debug_print_object+0x5a/0x70 > [] __debug_object_init+0x254/0x340 > [] ? cpufreq_governor_dbs+0x10f/0x210 > [] debug_object_init+0x17/0x20 > [] init_timer+0x10/0x30 > [] init_timer_deferrable+0xb/0x20 > [] cpufreq_governor_dbs+0x1cd/0x210 > [] __cpufreq_governor+0xab/0x120 > [] __cpufreq_set_policy+0xfb/0x140 > [] store_scaling_governor+0xa4/0x220 > [] ? handle_update+0x0/0x10 > [] ? store_scaling_governor+0x0/0x220 > [] store+0x4e/0x70 > [] sysfs_write_file+0x9c/0x100 > [] vfs_write+0x9c/0x140 > [] ? sysfs_write_file+0x0/0x100 > [] sys_write+0x47/0xe0 > [] syscall_call+0x7/0xb > [] ? sys_vfork+0x20/0x30 > It seems to be complaining that cpufreq_governor_dbs() is running init_timer() against a timer which has already been initialised once.