Bug 19552 - ACPI video backtrace on boot - proc_dir_entry 'video/GFX0' already registered
Summary: ACPI video backtrace on boot - proc_dir_entry 'video/GFX0' already registered
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Video (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 12:15 UTC by Heinz Diehl
Modified: 2010-11-30 23:33 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.36-rc6
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Kernel config (111.80 KB, text/plain)
2010-10-02 12:15 UTC, Heinz Diehl
Details
dmesg output (84.15 KB, text/plain)
2010-10-02 12:17 UTC, Heinz Diehl
Details
acpidump output (393.46 KB, text/plain)
2010-10-02 12:19 UTC, Heinz Diehl
Details
Output from /var/log/warn with 2.6.34 opensuse kernel (5.31 KB, text/plain)
2010-10-07 17:08 UTC, Heinz Diehl
Details

Description Heinz Diehl 2010-10-02 12:15:56 UTC
Created attachment 32402 [details]
Kernel config

Hi,

on my ASUS U45JC laptop, it seems that acpi video causes the following warning.
Nevertheless, the backlight funktion keys are properly working. Tried booting with various acpi options (acpi_backlight=vendor, acpi_osi="!Windows 2009"...) without getting this solved. Kernel config, dmesg output and acpidump output are attached.

I'm not shure how important this here is, but maybe it can help to improve things.

Thanks, Heinz.

[....]

[   64.737667] vgaarb: transferring owner from PCI:0000:00:02.0 to PCI:0000:01:00.0
[   65.150597] checking generic (b0000000 1ff0000) vs hw (b0000000 10000000)
[   65.150601] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[   65.150635] Console: switching to colour dummy device 80x25
[   65.151648] Console: switching to colour frame buffer device 170x48
[   65.151658] fb0: inteldrmfb frame buffer device
[   65.151660] drm: registered panic notifier
[   65.153356] ACPI Warning: _BQC returned an invalid level (20100702/video-634)
[   65.153720] acpi device:03: registered as cooling_device4
[   65.153958] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input10
[   65.154034] ACPI: Video Device [GFX0] (multi-head: yes  rom: yes  post: no)
[   65.154155] ------------[ cut here ]------------
[   65.154163] WARNING: at fs/proc/generic.c:589 proc_register+0x111/0x1f0()
[   65.154166] Hardware name: U45JC
[   65.154168] proc_dir_entry 'video/GFX0' already registered
[   65.154170] Modules linked in: i915(+) ip6t_REJECT nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns drm_kms_helper nf_conntrack_ipv4 drm nf_conntrack nf_defrag_ipv4 ip_tables ip6table_filter ip6_tables i2c_algo_bit cpufreq_conservative cpufreq_userspace cpufreq_powersave x_tables acpi_cpufreq mperf fuse arc4 ecb ath9k mac80211 ath9k_common ath9k_hw snd_hda_codec_intelhdmi snd_hda_codec_realtek snd_hda_intel ath snd_hda_codec cfg80211 uvcvideo snd_hwdep btusb snd_pcm videodev bluetooth snd_timer asus_laptop sr_mod v4l1_compat snd v4l2_compat_ioctl32 pcspkr intel_agp serio_raw sparse_keymap wmi cdrom rfkill iTCO_wdt sg intel_ips joydev iTCO_vendor_support atl1c soundcore video battery ac button snd_page_alloc xfs exportfs sd_mod dm_snapshot dm_crypt dm_mod sha256_generic xts gf128mul twofish_x86_64 twofish_common cbc loop fan processor ahci libahci libata scsi_mod thermal thermal_sys
[   65.154247] Pid: 1583, comm: modprobe Not tainted 2.6.36-rc6-git2 #1
[   65.154250] Call Trace:
[   65.154257]  [<ffffffff810544ea>] warn_slowpath_common+0x7a/0xb0
[   65.154261]  [<ffffffff810545c1>] warn_slowpath_fmt+0x41/0x50
[   65.154265]  [<ffffffff81185fb1>] proc_register+0x111/0x1f0
[   65.154271]  [<ffffffff8118654d>] proc_mkdir_mode+0x3d/0x60
[   65.154274]  [<ffffffff81186581>] proc_mkdir+0x11/0x20
[   65.154281]  [<ffffffffa023de52>] acpi_video_bus_add+0x274/0x100e [video]
[   65.154288]  [<ffffffff81473956>] ? mutex_unlock+0x16/0x20
[   65.154294]  [<ffffffff8119495e>] ? sysfs_addrm_finish+0x2e/0xd0
[   65.154297]  [<ffffffff81194d27>] ? sysfs_add_one+0x27/0x160
[   65.154300]  [<ffffffff8119570a>] ? sysfs_do_create_link+0xda/0x230
[   65.154307]  [<ffffffff8127969e>] acpi_device_probe+0x4b/0x185
[   65.154311]  [<ffffffff8119586e>] ? sysfs_create_link+0xe/0x10
[   65.154316]  [<ffffffff812e5f1e>] driver_probe_device+0x9e/0x2f0
[   65.154319]  [<ffffffff812e6170>] ? __driver_attach+0x0/0xa0
[   65.154323]  [<ffffffff812e620b>] __driver_attach+0x9b/0xa0
[   65.154326]  [<ffffffff812e6170>] ? __driver_attach+0x0/0xa0
[   65.154330]  [<ffffffff812e4cbe>] bus_for_each_dev+0x5e/0x90
[   65.154334]  [<ffffffff812e5b39>] driver_attach+0x19/0x20
[   65.154337]  [<ffffffff812e5680>] bus_add_driver+0x160/0x320
[   65.154341]  [<ffffffff812e6481>] driver_register+0x71/0x140
[   65.154345]  [<ffffffff8118654d>] ? proc_mkdir_mode+0x3d/0x60
[   65.154349]  [<ffffffff8127a4a7>] acpi_bus_register_driver+0x3e/0x40
[   65.154354]  [<ffffffffa023dba3>] acpi_video_register+0x44/0x6f [video]
[   65.154379]  [<ffffffffa0582625>] intel_opregion_init+0x165/0x4b0 [i915]
[   65.154393]  [<ffffffffa05515b9>] i915_driver_load+0x7c9/0x14f0 [i915]
[   65.154406]  [<ffffffffa04b4f51>] ? drm_sysfs_device_add+0x81/0xb0 [drm]
[   65.154416]  [<ffffffffa04b18b9>] ? drm_get_minor+0x1c9/0x340 [drm]
[   65.154425]  [<ffffffffa04b3fd4>] drm_get_pci_dev+0x194/0x330 [drm]
[   65.154440]  [<ffffffffa0582d9c>] i915_pci_probe+0x10/0x12 [i915]
[   65.154445]  [<ffffffff81248dea>] local_pci_probe+0x5a/0xd0
[   65.154448]  [<ffffffff81249f09>] pci_device_probe+0x119/0x120
[   65.154451]  [<ffffffff812e5bba>] ? driver_sysfs_add+0x7a/0xb0
[   65.154455]  [<ffffffff812e5f1e>] driver_probe_device+0x9e/0x2f0
[   65.154458]  [<ffffffff812e620b>] __driver_attach+0x9b/0xa0
[   65.154462]  [<ffffffff812e6170>] ? __driver_attach+0x0/0xa0
[   65.154465]  [<ffffffff812e4cbe>] bus_for_each_dev+0x5e/0x90
[   65.154468]  [<ffffffff812e5b39>] driver_attach+0x19/0x20
[   65.154471]  [<ffffffff812e5680>] bus_add_driver+0x160/0x320
[   65.154482]  [<ffffffffa05a4000>] ? i915_init+0x0/0x96 [i915]
[   65.154486]  [<ffffffff812e6481>] driver_register+0x71/0x140
[   65.154496]  [<ffffffffa05a4000>] ? i915_init+0x0/0x96 [i915]
[   65.154499]  [<ffffffff8124a171>] __pci_register_driver+0x51/0xd0
[   65.154508]  [<ffffffffa04b4374>] drm_pci_init+0xe4/0xf0 [drm]
[   65.154518]  [<ffffffffa05a4000>] ? i915_init+0x0/0x96 [i915]
[   65.154526]  [<ffffffffa04ab803>] drm_init+0x53/0x70 [drm]
[   65.154536]  [<ffffffffa05a4094>] i915_init+0x94/0x96 [i915]
[   65.154541]  [<ffffffff810002ef>] do_one_initcall+0x3f/0x180
[   65.154545]  [<ffffffff8108fdab>] sys_init_module+0xbb/0x200
[   65.154550]  [<ffffffff81002f02>] system_call_fastpath+0x16/0x1b
[   65.154553] ---[ end trace 547f66326194780c ]---
[   65.157038] ACPI Warning: _BQC returned an invalid level (20100702/video-634)
[   65.157457] acpi device:49: registered as cooling_device5
[   65.157952] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:02/input/input11
[   65.158020] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   65.158051] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[   69.755288] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
[   70.141682] Bluetooth: L2CAP ver 2.15
[   70.141685] Bluetooth: L2CAP socket layer initialized

[....]
Comment 1 Heinz Diehl 2010-10-02 12:17:12 UTC
Created attachment 32412 [details]
dmesg output
Comment 2 Heinz Diehl 2010-10-02 12:19:42 UTC
Created attachment 32422 [details]
acpidump output
Comment 3 Len Brown 2010-10-05 04:56:49 UTC
what is the most recent version of linux that does not show this problem,
or has it been present on even the oldest kernel tested?
Comment 4 Heinz Diehl 2010-10-07 17:07:12 UTC
I've bought the Asus laptop a short week ago, and just installed the latest
rc from kernel.org. But there's a distribution kernel on the disk which
came with opensuse 11.3, booting it gives the attached output.

Thanks,
Heinz.
Comment 5 Heinz Diehl 2010-10-07 17:08:29 UTC
Created attachment 32692 [details]
Output from /var/log/warn with 2.6.34 opensuse kernel
Comment 6 Zhang Rui 2010-10-08 03:25:23 UTC
this is a known issue.
There are two ACPI video devices named GFX0, in different directory.
But ACPI video driver tries to create an entry under /proc/acpi/video, with the directory name GFX0, for each of these devices.
And the backtrace is print out in proc fs core.

This is not a problem any more because we're removing the procfs I/F of ACPI video driver.

Patch will be sent out soon.
Comment 7 Len Brown 2010-10-19 02:05:12 UTC
https://patchwork.kernel.org/patch/240661/

removes the offending code, and is staged for 2.6.37-merge

closed.

Note You need to log in before you can comment on or make changes to this bug.