All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Trippelsdorf <markus-xp2qqqlHh3xzoYq+O6RWwA@public.gmane.org>
To: Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>
Cc: Heinz Diehl <htd-iEI8Y0CNJBYdnm+yROfE0A@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Alan Ott <alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org>
Subject: Re: [BUG] object: is not initialized, yet kobject_put() is being called
Date: Thu, 12 Aug 2010 13:45:13 +0200	[thread overview]
Message-ID: <20100812114513.GA1584@arch.tripp.de> (raw)
In-Reply-To: <20100812113624.GB1591-joY5NpejW+Hx3b7vapvTcQ@public.gmane.org>

On Thu, Aug 12, 2010 at 01:36:24PM +0200, Markus Trippelsdorf wrote:
> On Thu, Aug 12, 2010 at 01:18:15PM +0200, Jiri Kosina wrote:
> > On Thu, 12 Aug 2010, Markus Trippelsdorf wrote:
> > 
> > > On Thu, Aug 12, 2010 at 11:11:50AM +0200, Jiri Kosina wrote:
> > > > 
> > > > Guys, could you please send me your .config with which you are 
> > > > experiencing the problem, so that I can try to reproduce it with it?
> > > 
> > > Attached.
> > 
> > So I had to add support for HW of mine (SATA_VIA, PATA_VIA, disabled the 
> > radeon firmware stuff, and, most importantly, enabled UHCI, which is what 
> > is on machine I am using now for testing), and disconnect-connect cycle 
> > works nicely:
> > 
> > usb 3-2: USB disconnect, address 3
> > usb 3-2: new low speed USB device using uhci_hcd and address 4
> > input: mouse USB mouse with wheel as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input6
> > generic-usb 0003:05B8:3091.0004: input,hidraw0: USB HID v1.10 Mouse [mouse USB mouse with wheel] on usb-0000:00:10.1-2/input0
> > input: mouse USB mouse with wheel as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.1/input/input7
> > generic-usb 0003:05B8:3091.0005: input,hidraw1: USB HID v1.10 Keyboard [mouse USB mouse with wheel] on usb-0000:00:10.1-2/input1
> > 
> > so still no BUG from kobject refcounting, and the hidraw numbers are the 
> > same. The major difference seems to be that I am using UHCI and you have 
> > your HID devices connected through OHCI, is that correct?
> 
> Correct. And I should add that it very easy to reproduce here; just
> disconnecting the usb receiver triggers the WARNING.

Disabling USB_HIDDEV in my .config solves the problem (there is no
WARNING anymore when disconnecting the receiver).

-- 
»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-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Heinz Diehl <htd@fritha.org>,
	linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-input@vger.kernel.org, Alan Ott <alan@signal11.us>
Subject: Re: [BUG] object: is not initialized, yet kobject_put() is being called
Date: Thu, 12 Aug 2010 13:45:13 +0200	[thread overview]
Message-ID: <20100812114513.GA1584@arch.tripp.de> (raw)
In-Reply-To: <20100812113624.GB1591@arch.tripp.de>

On Thu, Aug 12, 2010 at 01:36:24PM +0200, Markus Trippelsdorf wrote:
> On Thu, Aug 12, 2010 at 01:18:15PM +0200, Jiri Kosina wrote:
> > On Thu, 12 Aug 2010, Markus Trippelsdorf wrote:
> > 
> > > On Thu, Aug 12, 2010 at 11:11:50AM +0200, Jiri Kosina wrote:
> > > > 
> > > > Guys, could you please send me your .config with which you are 
> > > > experiencing the problem, so that I can try to reproduce it with it?
> > > 
> > > Attached.
> > 
> > So I had to add support for HW of mine (SATA_VIA, PATA_VIA, disabled the 
> > radeon firmware stuff, and, most importantly, enabled UHCI, which is what 
> > is on machine I am using now for testing), and disconnect-connect cycle 
> > works nicely:
> > 
> > usb 3-2: USB disconnect, address 3
> > usb 3-2: new low speed USB device using uhci_hcd and address 4
> > input: mouse USB mouse with wheel as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input6
> > generic-usb 0003:05B8:3091.0004: input,hidraw0: USB HID v1.10 Mouse [mouse USB mouse with wheel] on usb-0000:00:10.1-2/input0
> > input: mouse USB mouse with wheel as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.1/input/input7
> > generic-usb 0003:05B8:3091.0005: input,hidraw1: USB HID v1.10 Keyboard [mouse USB mouse with wheel] on usb-0000:00:10.1-2/input1
> > 
> > so still no BUG from kobject refcounting, and the hidraw numbers are the 
> > same. The major difference seems to be that I am using UHCI and you have 
> > your HID devices connected through OHCI, is that correct?
> 
> Correct. And I should add that it very easy to reproduce here; just
> disconnecting the usb receiver triggers the WARNING.

Disabling USB_HIDDEV in my .config solves the problem (there is no
WARNING anymore when disconnecting the receiver).

-- 
»A man who doesn't know he is in prison can never escape.«
William S. Burroughs

  parent reply	other threads:[~2010-08-12 11:45 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 21:09 [BUG] USB no longer works for APCUPS Heinz Diehl
2010-08-10 22:32 ` [BUG] object: is not initialized, yet kobject_put() is being called Markus Trippelsdorf
2010-08-12  9:11   ` Jiri Kosina
2010-08-12  9:16     ` Markus Trippelsdorf
2010-08-12 11:18       ` Jiri Kosina
     [not found]         ` <alpine.LNX.2.00.1008121148100.2702-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2010-08-12 11:26           ` Alan Ott
2010-08-12 11:26             ` Alan Ott
2010-08-12 11:36         ` Markus Trippelsdorf
2010-08-12 11:36           ` Markus Trippelsdorf
     [not found]           ` <20100812113624.GB1591-joY5NpejW+Hx3b7vapvTcQ@public.gmane.org>
2010-08-12 11:45             ` Markus Trippelsdorf [this message]
2010-08-12 11:45               ` Markus Trippelsdorf
2010-08-12 11:56               ` Markus Trippelsdorf
2010-08-12 11:56                 ` Markus Trippelsdorf
     [not found]                 ` <20100812115657.GA1611-joY5NpejW+Hx3b7vapvTcQ@public.gmane.org>
2010-08-12 12:07                   ` Jiri Kosina
2010-08-12 12:07                     ` Jiri Kosina
2010-08-12 12:57                     ` Jiri Kosina
2010-08-12 13:04                       ` Markus Trippelsdorf
     [not found]                         ` <20100812130411.GA1626-joY5NpejW+Hx3b7vapvTcQ@public.gmane.org>
2010-08-12 13:09                           ` Alan Ott
2010-08-12 13:09                             ` Alan Ott
2010-08-12 13:11                             ` Jiri Kosina
2010-08-12 13:14                               ` Alan Ott
2010-08-12 13:17                               ` Markus Trippelsdorf
2010-08-12 13:17                                 ` Markus Trippelsdorf
2010-08-12 16:40                             ` Heinz Diehl
2010-08-19  7:41                               ` Jiri Kosina
2010-09-20 18:11                               ` Heinz Diehl
2010-09-20 18:11                                 ` Heinz Diehl
2010-09-20 18:58                                 ` Alan Stern
2010-09-20 18:58                                   ` Alan Stern
2010-09-20 19:39                                   ` Heinz Diehl
2010-09-21 13:14                                     ` Jiri Kosina
2010-09-21 14:55                                 ` Jiri Kosina
2010-09-21 15:09                                   ` Heinz Diehl
2010-09-21 15:14                                     ` Jiri Kosina
2010-09-21 15:27                                       ` Heinz Diehl
     [not found]                                         ` <20100921152728.GA13464-iEI8Y0CNJBYdnm+yROfE0A@public.gmane.org>
2010-09-21 15:53                                           ` Jiri Kosina
2010-09-21 15:53                                             ` Jiri Kosina
     [not found]                                             ` <alpine.LNX.2.00.1009211752520.26813-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2010-09-21 16:11                                               ` Heinz Diehl
2010-09-21 16:11                                                 ` Heinz Diehl
2010-09-21 16:20                                                 ` Heinz Diehl
2010-09-21 16:24                                         ` Jiri Kosina
2010-09-21 18:48                                           ` Heinz Diehl
2010-08-12 11:55           ` Jiri Kosina
     [not found]     ` <alpine.LNX.2.00.1008121108540.2702-ztGlSCb7Y1iN3ZZ/Hiejyg@public.gmane.org>
2010-08-12 11:23       ` Alan Ott
2010-08-12 11:23         ` Alan Ott
2010-08-12 16:37     ` Heinz Diehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100812114513.GA1584@arch.tripp.de \
    --to=markus-xp2qqqlhh3xzoyq+o6rwwa@public.gmane.org \
    --cc=alan-yzvJWuRpmD1zbRFIqnYvSA@public.gmane.org \
    --cc=htd-iEI8Y0CNJBYdnm+yROfE0A@public.gmane.org \
    --cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.