http://bugzilla.kernel.org/show_bug.cgi?id=14669





--- Comment #30 from Raffaello D. Di Napoli <[email protected]>  2010-01-26 
11:26:36 ---
Created an attachment (id=24718)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=24718)
 dmesg 2.6.32.3 (acpi=on, initcall_debug, acpi_platform_notify debugging)

Okay, I took the freedom to do myself what I guess would’ve been your next
proposal: I looked at core.c, and found the only line between printk 3 and 4
was a call to platform_notify, which I gathered in my case could only be a
pointer to acpi_platform_notify; so I undid your last patch, and added a few
printk’s to drivers/acpi/glue.c, here:

static int acpi_platform_notify(struct device *dev)
{
    struct acpi_bus_type *type;
    acpi_handle handle;
    int ret = -EINVAL;

    printk("RDDN: in acpi_platform_notify\n");
    if (!dev->bus || !dev->parent) {
        /* bridge devices genernally haven't bus or parent */
        ret = acpi_find_bridge_device(dev, &handle);
        printk("RDDN: in acpi_platform_notify: acpi_find_bridge_device\n");
        goto end;
    }
    type = acpi_get_bus_type(dev->bus);
    printk("RDDN: in acpi_platform_notify: acpi_get_bus_type\n");
    if (!type) {
        DBG("No ACPI bus support for %s\n", dev_name(dev));
        ret = -EINVAL;
        goto end;
    }
    if ((ret = type->find_device(dev, &handle)) != 0)
        DBG("Can't get handler for %s\n", dev_name(dev));
    printk("RDDN: in acpi_platform_notify: type->find_device\n");
      end:
    if (!ret) {
        acpi_bind_one(dev, handle);
        printk("RDDN: in acpi_platform_notify: acpi_bind_one\n");
    }



Attached is the resulting dmesg, and this is the relevant excerpt:

[    0.743095] RDDN: in acpi_platform_notify
[    0.743095] RDDN: in acpi_platform_notify: acpi_get_bus_type
[    0.943048] RDDN: in acpi_platform_notify: type->find_device
[    0.943055] RDDN: in acpi_platform_notify: acpi_bind_one

Does this help?

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to