From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Date: Tue, 06 Nov 2007 15:03:05 +0000 Subject: Re: usb_id segfaulting on 2.6.23 Message-Id: <47308229.5010207@gentoo.org> List-Id: References: <47135D33.7080805@gentoo.org> In-Reply-To: <47135D33.7080805@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Oliver Neukum wrote: > Am Dienstag 06 November 2007 schrieb Daniel Drake: >> Oliver Neukum wrote: >>> Is bcdDevice present without CONFIG_SUSPEND? Which attributes are >>> present? > > Looks like a failure in drivers/usb/core/sysfs.c::usb_create_sysfs_dev_files() > Can you put printks there to show where it fails? Done. It fails here: retval = add_power_attributes(dev); if (retval) goto error; add_power_attributes returns -2. Digging further, inside add_power_attributes(), the first call to sysfs_add_file_to_group() returns -2. The second one is therefore not attempted. Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel