RE: [Help] "Error attaching device data"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does the problem still exists in the latest kernel? Say 2.6.21-rc5.
It will be helpful if you can attach your acpidump file. 

Best regards,
Zhang.Rui(Ray)

 
-----Original Message-----
From: linux-acpi-owner@xxxxxxxxxxxxxxx [mailto:linux-acpi-owner@xxxxxxxxxxxxxxx] On Behalf Of Conke Hu
Sent: 2007年3月29日 17:05
To: linux-acpi@xxxxxxxxxxxxxxx
Subject: [Help] "Error attaching device data"

Hi all,
    I am idiot on ACPI knowing nothing about it :)
    When I boot linux on AMD Athlon64x2 + A690G + SB600 platform, I get
2 lines of error message saying "Error attaching device data", pls see
the attachment. I've tested on kernels 2.6.18 ~ 2.6.20, and each of them
has the same error.
    I debug the drivers/acpi/scan.c and find the error message is dumped
by the following code. and type == ACPI_BUS_TYPE_PROCESSOR, status ==
AE_ALREADY_EXISTS. 
    There are 2 error lines in dmesg because, I think, I use a dual core
CPU.
    Any suggestion is very thankful!


static int acpi_device_set_context(struct acpi_device *device, int type)
{
    acpi_status status = AE_OK;
    int result = 0;
    /*
     * Context
     * -------
     * Attach this 'struct acpi_device' to the ACPI object.  This makes
     * resolutions from handle->device very efficient.  Note that we
need
     * to be careful with fixed-feature devices as they all attach to
the
     * root object.
     */
    if (type != ACPI_BUS_TYPE_POWER_BUTTON &&
        type != ACPI_BUS_TYPE_SLEEP_BUTTON) {
        status = acpi_attach_data(device->handle,
                      acpi_bus_data_handler, device);

        if (ACPI_FAILURE(status)) {
            printk("Error attaching device data\n");
            result = -ENODEV;
        }
    }
    return result;
}
   
    
    
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux