lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100812114513.GA1584@arch.tripp.de>
Date:	Thu, 12 Aug 2010 13:45:13 +0200
From:	Markus Trippelsdorf <markus@...ppelsdorf.de>
To:	Jiri Kosina <jkosina@...e.cz>
Cc:	Heinz Diehl <htd@...tha.org>, linux-kernel@...r.kernel.org,
	linux-usb@...r.kernel.org, linux-input@...r.kernel.org,
	Alan Ott <alan@...nal11.us>
Subject: Re: [BUG] object: is not initialized, yet kobject_put() is being
 called

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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ