Bug 7099

Summary: Bus ID value not unique in some dsdt, causing sysfs file conflicts
Product: ACPI Reporter: Kristen (kristen.c.accardi)
Component: OtherAssignee: Zhang Rui (rui.zhang)
Status: CLOSED CODE_FIX    
Severity: high CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.18-rc4-git1 Subsystem:
Regression: --- Bisected commit-id:

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.