Bug 12514
Summary: | WARNING: at fs/proc/generic.c - duplicate "VID" device - Fujitsu-Siemens Computers Amilo Pa 3553 ZM80 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Jaroslav Petráš (jaroslav.petras) |
Component: | Power-Video | Assignee: | ykzhao (yakui.zhao) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.29-rc2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
dmesg output - 2.6.29-rc2.mobileworkshop
acpidump - 2.6.28.1 dmesg output - 2.6.28.1 patch: hack to fix the issue of duplicated "VGA" name lspci -k |
Description
Jaroslav Petráš
2009-01-20 06:59:36 UTC
Will you please attach the output of acpidump, dmesg on the failing kernel?(2.6.29-rc2) Thanks. Created attachment 19915 [details]
dmesg output - 2.6.29-rc2.mobileworkshop
Of course, but I can't get output from acpidump with this kernel version. (oops in pageattr.c as you can see in dmesg). I will post dmesg again with output from acpidump later under 2.6.28.1.
Created attachment 19922 [details]
acpidump - 2.6.28.1
Created attachment 19923 [details]
dmesg output - 2.6.28.1
Hi, Jaroslav Thanks for the info. From the acpidump it seems that two ACPI video devices have the same device name (VGA). This is similar to that on the T61 (Two video devices have the same name: VID). There is a workaround patch for the T61. In fact after the following commit is shipped, the acpi video device will be registered only when the corresponding PCI device exists. In such case this issue will disappear. > commit 22c13f9d8179f4c9caecfcb60a95214562b9addc > Author: Thomas Renninger <trenn@suse.de> > Date: Fri Aug 1 17:37:54 2008 +0200 >ACPI: video: Ignore devices that aren't present in hardware Of course if one box has two video cards, this issue will still be complained. Will you please confirm whether there exist two video cards on your box? Thanks. Created attachment 19933 [details]
patch: hack to fix the issue of duplicated "VGA" name
Will you please try the debug patch and see whether the issue still exists?
Please attach the output of dmesg, lspci.
Thanks.
Created attachment 19934 [details]
lspci -k
Hello, thanks for quick respond.
Yes, I can confirm that. I have two video cards. Primary display device is Radeon HD3470 (discrete), secondary is Radeon HD3200 (integrated). Platform is AMD Puma, so I have Hybrid CrossFireX.
Sometimes I am happy with HD3470 as primary display device, but rarely (when running on battery) it would be better to have low-performance card enabled. But I didn't find any solution how can I switch it. Second device always appears as disabled device. Even with fact that system detects it.
Some additional info you can find in attachment.
Thanks for the confirm. As there exist two video cards, the both ACPI video devices will be registered. At the same time they have the same name. In such case it will complain the following warning message: > proc_dir_entry 'video/VGA' already registered How about the hack patch? But I don't know whether this can go into upstream kernel. It is too ugly. thanks. Nice, very nice. Resolved. Is there anything else that I can do? :) Uff, I forget to say thank you. Thank you. Hi, Jaroslav Thanks for the test. I will try to push the patch in comment #6 into upstream kernel although it is very ugly. So the mark will be marked as resolved. Thanks again. patch in comment #6 applied to acpi tree i couldn't find a reason not to, since we have the same wart for the t61. i guess the thing to look forward to is when /proc/acpi/video/ gets deleted entirely. f3b39f1393d5cebe56f43a584ef47efbebd2702c ACPI: proc_dir_entry 'video/VGA' already registered shipped in linux-2.6.29-rc4 closed. |