Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758009Ab0HJWcV (ORCPT ); Tue, 10 Aug 2010 18:32:21 -0400 Received: from smtp-out-182.synserver.de ([212.40.180.182]:1040 "HELO smtp-out-178.synserver.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1757761Ab0HJWcT (ORCPT ); Tue, 10 Aug 2010 18:32:19 -0400 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: markus@trippelsdorf.de X-SynServer-PPID: 9541 Date: Wed, 11 Aug 2010 00:32:15 +0200 From: Markus Trippelsdorf To: Heinz Diehl Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-input@vger.kernel.org, Jiri Kosina Subject: Re: [BUG] object: is not initialized, yet kobject_put() is being called Message-ID: <20100810223215.GA1609@arch.tripp.de> References: <20100810210941.GA7938@fritha.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100810210941.GA7938@fritha.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7836 Lines: 124 On Tue, Aug 10, 2010 at 11:09:41PM +0200, Heinz Diehl wrote: > Hi, > > I'm getting this in my logs with the latest -git7/8/9 kernels. Thw apcups > is not defective, it works flawlessly with 2.6.34.X. > > Aug 10 23:01:44 liesel apcupsd[7687]: apcupsd FATAL ERROR in linux-usb.c > at line 609 Cannot find UPS device -- For a link to detailed USB trouble > shooting information, please see . > Aug 10 23:01:44 liesel apcupsd[7687]: apcupsd error shutdown completed > Aug 10 23:04:40 liesel kernel: ------------[ cut here ]------------ > > Aug 10 23:04:40 liesel kernel: WARNING: at lib/kobject.c:595 kobject_put+0x2f/0x50() > Aug 10 23:04:40 liesel kernel: Hardware name: GA-MA770-UD3 Aug 10 23:04:40 liesel kernel: kobject: '(null)' (ffff88022c651898): is > not initialized, yet kobject_put() is being called. Aug 10 23:04:40 liesel kernel: Modules linked in: xt_pkttype ipt_LOG > xt_limit aes_x86_64 aes_generic af_packet it87 hwmon_vid binfmt_misc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device cpufreq_conservative > cpufreq_ondemand cpufreq_userspace cpufreq_powersave powernow_k8 freq_table mperf xt_NOTRACK xt_state iptable_raw nf_conntrack_netbios_ns > nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip6_tables ipt_REJECT iptable_filter ip_tables tcp_vegas uhci_hcd rt73usb rt2x00usb rt2x00lib > r8169 led_class mii mac80211 snd_hda_codec_realtek ppdev parport_pc cfg80211 parport snd_hda_intel snd_hda_codec snd_pcm snd_timer snd > soundcore sr_mod k10temp hwmon i2c_piix4 pcspkr cdrom button rfkill joydev snd_page_alloc i2c_core sg xts usbhid sd_mod ohci_hcd ehci_hcd rtc_cmos > rtc_core pata_atiixp rtc_lib usbcore ahci libahci hmac dm_snapshot dm_crypt dm_mod gf128mul sha512_generic sha256_generic twofish_x86_64 > twofish_common serpent cbc tgr192 loop ecb arc4 fuse edd ide_pci_generic amd74xx ide_core fan pata_amd sata_nv libata scsi > Aug 10 23:04:40 liesel kernel: Pid: 1115, comm: khubd Not tainted 2.6.35-git9 #1 > Aug 10 23:04:40 liesel kernel: Call Trace: > Aug 10 23:04:40 liesel kernel: [] ? kobject_put+0x2f/0x50 > Aug 10 23:04:40 liesel kernel: [] ? kobject_put+0x2f/0x50 > Aug 10 23:04:40 liesel kernel: [] ? warn_slowpath_common+0x81/0xe0 > Aug 10 23:04:40 liesel kernel: [] ? warn_slowpath_fmt+0x45/0x50 > Aug 10 23:04:40 liesel kernel: [] ? kobject_put+0x2f/0x50 > Aug 10 23:04:40 liesel kernel: [] ? usbhid_disconnect+0x1e/0x40 [usbhid] > Aug 10 23:04:40 liesel kernel: [] ? usb_unbind_interface+0xc5/0x120 [usbcore] > Aug 10 23:04:40 liesel kernel: [] ? __device_release_driver+0x78/0xf0 > Aug 10 23:04:40 liesel kernel: [] ? device_release_driver+0x25/0x40 > Aug 10 23:04:40 liesel kernel: [] ? bus_remove_device+0xa2/0xf0 > Aug 10 23:04:40 liesel kernel: [] ? device_del+0x12a/0x1d0 > Aug 10 23:04:40 liesel kernel: [] ? usb_disable_device+0x8d/0x110 [usbcore] > Aug 10 23:04:40 liesel kernel: [] ? usb_disconnect+0x7b/0x120 [usbcore] > Aug 10 23:04:40 liesel kernel: [] ? hub_thread+0x322/0x11d0 [usbcore] > Aug 10 23:04:40 liesel kernel: [] ? set_next_entity+0x37/0x80 > Aug 10 23:04:40 liesel kernel: [] ? autoremove_wake_function+0x0/0x30 > Aug 10 23:04:40 liesel kernel: [] ? hub_thread+0x0/0x11d0 [usbcore] > Aug 10 23:04:40 liesel kernel: [] ? hub_thread+0x0/0x11d0 [usbcore] > Aug 10 23:04:40 liesel kernel: [] ? kthread+0x96/0xb0 > Aug 10 23:04:40 liesel kernel: [] ? kernel_thread_helper+0x4/0x10 > Aug 10 23:04:40 liesel kernel: [] ? kthread+0x0/0xb0 > Aug 10 23:04:40 liesel kernel: [] ? kernel_thread_helper+0x0/0x10 > Aug 10 23:04:40 liesel kernel: ---[ end trace 808e80ff1e6d651e ]--- I'm seeing something similar today: hub 3-0:1.0: port 1 disabled by hub (EMI?), re-enabling... usb 3-1: USB disconnect, address 2 ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x37/0x4b() Hardware name: System Product Name kobject: '(null)' (ffff88011e9cd898): is not initialized, yet kobject_put() is being called. Pid: 310, comm: khubd Not tainted 2.6.35-06113-gf6cec0a-dirty #4 Call Trace: [] warn_slowpath_common+0x80/0x98 [] warn_slowpath_fmt+0x46/0x48 [] kobject_put+0x37/0x4b [] put_device+0x17/0x19 [] hid_destroy_device+0x41/0x45 [] usbhid_disconnect+0x3e/0x4b [] usb_unbind_interface+0x4c/0xd3 [] __device_release_driver+0x6c/0xb5 [] device_release_driver+0x23/0x30 [] bus_remove_device+0x89/0x99 [] device_del+0x12d/0x17f [] usb_disable_device+0x86/0xfd [] usb_disconnect+0x8e/0xf6 [] hub_thread+0x3eb/0xcb5 [] ? _raw_spin_unlock_irq+0x16/0x31 [] ? autoremove_wake_function+0x0/0x39 [] ? hub_thread+0x0/0xcb5 [] kthread+0x82/0x8a [] kernel_thread_helper+0x4/0x10 [] ? kthread+0x0/0x8a [] ? kernel_thread_helper+0x0/0x10 ---[ end trace 5707e7a0642da347 ]--- ------------[ cut here ]------------ WARNING: at lib/kobject.c:595 kobject_put+0x37/0x4b() Hardware name: System Product Name kobject: '(null)' (ffff88011e9fd898): is not initialized, yet kobject_put() is being called. Pid: 310, comm: khubd Tainted: G W 2.6.35-06113-gf6cec0a-dirty #4 Call Trace: [] warn_slowpath_common+0x80/0x98 [] warn_slowpath_fmt+0x46/0x48 [] kobject_put+0x37/0x4b [] put_device+0x17/0x19 [] hid_destroy_device+0x41/0x45 [] usbhid_disconnect+0x3e/0x4b [] usb_unbind_interface+0x4c/0xd3 [] __device_release_driver+0x6c/0xb5 [] device_release_driver+0x23/0x30 [] bus_remove_device+0x89/0x99 [] device_del+0x12d/0x17f [] usb_disable_device+0x86/0xfd [] usb_disconnect+0x8e/0xf6 [] hub_thread+0x3eb/0xcb5 [] ? _raw_spin_unlock_irq+0x16/0x31 [] ? autoremove_wake_function+0x0/0x39 [] ? hub_thread+0x0/0xcb5 [] kthread+0x82/0x8a [] kernel_thread_helper+0x4/0x10 [] ? kthread+0x0/0x8a [] ? kernel_thread_helper+0x0/0x10 ---[ end trace 5707e7a0642da348 ]--- usb 3-1: new full speed USB device using ohci_hcd and address 3 input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.0/input/input6 generic-usb 0003:046D:C52B.0006: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:12.0-1/input0 input: Logitech USB Receiver as /devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.1/input/input7 generic-usb 0003:046D:C52B.0007: input,hiddev0,hidraw5: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:12.0-1/input1 generic-usb 0003:046D:C52B.0008: hiddev0,hidraw6: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:12.0-1/input2 -- ?A man who doesn't know he is in prison can never escape.? William S. Burroughs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/