Bug 7099 - Bus ID value not unique in some dsdt, causing sysfs file conflicts
Summary: Bus ID value not unique in some dsdt, causing sysfs file conflicts
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 16:23 UTC by Kristen
Modified: 2008-06-13 20:19 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.18-rc4-git1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Kristen 2006-09-01 16:23:47 UTC
Most recent kernel where this bug did not occur: n/a
Distribution:
FC6-test2 with kernel.org kernel

Hardware Environment:
Lenovo X60 laptop with ultrabase

Problem Description:
In acpi_device_get_busid the ACPI_SINGLE_NAME value is used as the
bus_id value, which is then used as kobj->name.  This value is not 
unique on the X60 when the SATA controller is placed in compatibility
mode, causing problems if you want to write an acpi driver for one
of said SATA devices.

Steps to reproduce:
Comment 1 Zhang Rui 2006-11-28 23:44:26 UTC
acpi_get_name will return the DSDT name for ACPI devices.
It's strange that devices have the same name in one
directory.
So, in the DSDT, it looks like:
DEVICE(aaaa){
    DEVICE(abcd){}
    DEVICE(abcd){}
}
doesn't it? That's really strange. :)
Anyway, this won't happen by applying the sysfs convert patches.

BTW: can i have a look at your acpidump?
Comment 2 Zhang Rui 2008-01-13 17:04:10 UTC
hmm, len, why is this bug reopened...
Comment 3 Zhang Rui 2008-01-22 23:50:29 UTC
bug closed.

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