From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753820Ab1HQOKT (ORCPT ); Wed, 17 Aug 2011 10:10:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61050 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843Ab1HQOKQ (ORCPT ); Wed, 17 Aug 2011 10:10:16 -0400 Date: Wed, 17 Aug 2011 10:10:10 -0400 From: Dave Jones To: Linux Kernel Cc: Matthew Garrett , Keith Packard Subject: backlight duplicate registration Message-ID: <20110817141010.GA21479@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel , Matthew Garrett , Keith Packard MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This has started showing up on my laptop in the last day or two (probably since aaa6fd2a004147bf32fce05720938236de3361d9) Dave vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem ------------[ cut here ]------------ WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x97/0xab() Hardware name: Adamo 13 sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight' Modules linked in: i915(+) drm_kms_helper drm i2c_algo_bit i2c_core video Pid: 137, comm: modprobe Not tainted 3.1.0-rc2+ #137 Call Trace: [] warn_slowpath_common+0x83/0x9b [] warn_slowpath_fmt+0x46/0x48 [] sysfs_add_one+0x97/0xab [] create_dir+0x74/0xad [] sysfs_create_dir+0x90/0xa7 [] kobject_add_internal+0xcb/0x18c [] kobject_add+0x91/0xa2 [] device_add+0xd5/0x576 [] ? pm_runtime_init+0x106/0x10a [] device_register+0x1b/0x1f [] backlight_device_register+0x10f/0x17f [] intel_panel_setup_backlight+0x7d/0xd2 [i915] [] intel_modeset_init+0xd62/0xe73 [i915] [] i915_driver_load+0x8f4/0xdc0 [i915] [] ? device_register+0x1b/0x1f [] drm_get_pci_dev+0x170/0x26c [drm] [] i915_pci_probe+0x1b/0x1d [i915] [] local_pci_probe+0x44/0x75 [] pci_device_probe+0xcd/0xfc [] driver_probe_device+0xb5/0x150 [] __driver_attach+0x5e/0x81 [] ? driver_probe_device+0x150/0x150 [] bus_for_each_dev+0x59/0x8f [] driver_attach+0x1e/0x20 [] bus_add_driver+0xb0/0x206 [] driver_register+0x98/0x105 [] __pci_register_driver+0x66/0xd1 [] drm_pci_init+0x8a/0xef [drm] [] ? 0xffffffffa00cffff [] sys_init_module+0x114/0x267 [] system_call_fastpath+0x16/0x1b ---[ end trace a98c7fa70c5006a7 ]--- kobject_add_internal failed for intel_backlight with -EEXIST, don't try to register things with the same name in the same directory. Pid: 137, comm: modprobe Tainted: G W 3.1.0-rc2+ #137 Call Trace: [] kobject_add_internal+0x15c/0x18c [] kobject_add+0x91/0xa2 [] device_add+0xd5/0x576 [] ? pm_runtime_init+0x106/0x10a [] device_register+0x1b/0x1f [] backlight_device_register+0x10f/0x17f [] intel_panel_setup_backlight+0x7d/0xd2 [i915] [] intel_modeset_init+0xd62/0xe73 [i915] [] i915_driver_load+0x8f4/0xdc0 [i915] [] ? device_register+0x1b/0x1f [] drm_get_pci_dev+0x170/0x26c [drm] [] i915_pci_probe+0x1b/0x1d [i915] [] local_pci_probe+0x44/0x75 [] pci_device_probe+0xcd/0xfc [] driver_probe_device+0xb5/0x150 [] __driver_attach+0x5e/0x81 [] ? driver_probe_device+0x150/0x150 [] bus_for_each_dev+0x59/0x8f [] driver_attach+0x1e/0x20 [] bus_add_driver+0xb0/0x206 [] driver_register+0x98/0x105 [] __pci_register_driver+0x66/0xd1 [] drm_pci_init+0x8a/0xef [drm] [] ? 0xffffffffa00cffff [] i915_init+0x8b/0x8d [i915] [] do_one_initcall+0x7f/0x13a [] ? 0xffffffffa00cffff [] sys_init_module+0x114/0x267 [] system_call_fastpath+0x16/0x1b [drm:intel_panel_setup_backlight] *ERROR* Failed to register backlight: -17