Moore, Robert wrote:
This only contains the output of stores to the ACPI "debug" object, not
the full trace output. However, "_CRS 0" may help


Something is strange here.
With rc2-gitXY I got this:

-----------------------------------------------------------------------
slab error in cache_free_debugcheck(): cache `size-256': double free, or memory 
outside object was overwritten

Call Trace:
[<a0000001000145c0>] show_stack+0x40/0xa0
                               sp=e00000011b7f7ae0 bsp=e00000011b7f1400
[<a000000100014650>] dump_stack+0x30/0x60
                               sp=e00000011b7f7cb0 bsp=e00000011b7f13e0
[<a000000100134a50>] __slab_error+0x50/0x80
                               sp=e00000011b7f7cb0 bsp=e00000011b7f13b0
[<a000000100135ee0>] cache_free_debugcheck+0x220/0x600
                               sp=e00000011b7f7cb0 bsp=e00000011b7f1368
[<a000000100139b70>] kfree+0xd0/0x480
                               sp=e00000011b7f7cb0 bsp=e00000011b7f1328
[<a0000001002ea460>] acpi_os_free+0x20/0x40
                               sp=e00000011b7f7cc0 bsp=e00000011b7f1308
[<a00000010031b980>] acpi_walk_resources+0x240/0x280
                               sp=e00000011b7f7cc0 bsp=e00000011b7f12c8
[<a0000001003e4a10>] pci_acpi_scan_root+0x130/0x3e0
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1278
[<a000000100330380>] acpi_pci_root_add+0x480/0x620
                               sp=e00000011b7f7cf0 bsp=e00000011b7f1230
[<a0000001003354c0>] acpi_bus_driver_init+0x80/0xe0
                               sp=e00000011b7f7d10 bsp=e00000011b7f1208
[<a000000100337c80>] acpi_add_single_object+0x1480/0x1680
                               sp=e00000011b7f7d10 bsp=e00000011b7f11a0
[<a000000100338110>] acpi_bus_scan+0x290/0x400
                               sp=e00000011b7f7d30 bsp=e00000011b7f1160
[<a000000100645840>] acpi_scan_init+0x220/0x2c0
                               sp=e00000011b7f7d50 bsp=e00000011b7f1130
[<a000000100009ee0>] init+0x540/0x880
                               sp=e00000011b7f7d60 bsp=e00000011b7f1108
[<a0000001000128b0>] kernel_thread_helper+0xd0/0x100
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
[<a0000001000094a0>] start_kernel_thread+0x20/0x40
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
e0000040f8de54c8: redzone 1: 0x170fc2a5, redzone 2: 0xf901001a00000028.
slab error in cache_free_debugcheck(): cache `size-256': double free, or memory 
outside object was overwritten

Call Trace:
[<a0000001000145c0>] show_stack+0x40/0xa0
                               sp=e00000011b7f7ae0 bsp=e00000011b7f1400
[<a000000100014650>] dump_stack+0x30/0x60
                               sp=e00000011b7f7cb0 bsp=e00000011b7f13e0
[<a000000100134a50>] __slab_error+0x50/0x80
                               sp=e00000011b7f7cb0 bsp=e00000011b7f13b0
[<a000000100135ee0>] cache_free_debugcheck+0x220/0x600
                               sp=e00000011b7f7cb0 bsp=e00000011b7f1368
[<a000000100139b70>] kfree+0xd0/0x480
                               sp=e00000011b7f7cb0 bsp=e00000011b7f1328
[<a0000001002ea460>] acpi_os_free+0x20/0x40
                               sp=e00000011b7f7cc0 bsp=e00000011b7f1308
[<a00000010031b980>] acpi_walk_resources+0x240/0x280
                               sp=e00000011b7f7cc0 bsp=e00000011b7f12c8
[<a0000001003e4af0>] pci_acpi_scan_root+0x210/0x3e0
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1278
[<a000000100330380>] acpi_pci_root_add+0x480/0x620
                               sp=e00000011b7f7cf0 bsp=e00000011b7f1230
[<a0000001003354c0>] acpi_bus_driver_init+0x80/0xe0
                               sp=e00000011b7f7d10 bsp=e00000011b7f1208
[<a000000100337c80>] acpi_add_single_object+0x1480/0x1680
                               sp=e00000011b7f7d10 bsp=e00000011b7f11a0
[<a000000100338110>] acpi_bus_scan+0x290/0x400
                               sp=e00000011b7f7d30 bsp=e00000011b7f1160
[<a000000100645840>] acpi_scan_init+0x220/0x2c0
                               sp=e00000011b7f7d50 bsp=e00000011b7f1130
[<a000000100009ee0>] init+0x540/0x880
                               sp=e00000011b7f7d60 bsp=e00000011b7f1108
[<a0000001000128b0>] kernel_thread_helper+0xd0/0x100
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
[<a0000001000094a0>] start_kernel_thread+0x20/0x40
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
e0000040f89694c8: redzone 1: 0x170fc2a5, redzone 2: 0xf901001a00000028.
slab error in cache_free_debugcheck(): cache `size-256': double free, or memory 
outside object was overwritten

Call Trace:
[<a0000001000145c0>] show_stack+0x40/0xa0
                               sp=e00000011b7f7a30 bsp=e00000011b7f16d8
[<a000000100014650>] dump_stack+0x30/0x60
                               sp=e00000011b7f7c00 bsp=e00000011b7f16c0
[<a000000100134a50>] __slab_error+0x50/0x80
                               sp=e00000011b7f7c00 bsp=e00000011b7f1690
[<a000000100135ee0>] cache_free_debugcheck+0x220/0x600
                               sp=e00000011b7f7c00 bsp=e00000011b7f1648
[<a000000100139b70>] kfree+0xd0/0x480
                               sp=e00000011b7f7c00 bsp=e00000011b7f1608
[<a0000001002ea460>] acpi_os_free+0x20/0x40
                               sp=e00000011b7f7c10 bsp=e00000011b7f15e0
[<a00000010031b980>] acpi_walk_resources+0x240/0x280
                               sp=e00000011b7f7c10 bsp=e00000011b7f15a0
[<a00000010032c990>] find_pci_rootbridge+0x1d0/0x3a0
                               sp=e00000011b7f7c20 bsp=e00000011b7f1560
[<a0000001003102d0>] acpi_ns_get_device_callback+0x270/0x2e0
                               sp=e00000011b7f7c60 bsp=e00000011b7f1508
[<a000000100314880>] acpi_ns_walk_namespace+0x280/0x2e0
                               sp=e00000011b7f7c80 bsp=e00000011b7f1498
[<a00000010030ff70>] acpi_get_devices+0xb0/0xe0
                               sp=e00000011b7f7c80 bsp=e00000011b7f1458
[<a00000010032c790>] acpi_get_pci_rootbridge_handle+0x70/0xa0
                               sp=e00000011b7f7ca0 bsp=e00000011b7f1428
[<a0000001002b8720>] pci_acpi_find_root_bridge+0x80/0xe0
                               sp=e00000011b7f7cb0 bsp=e00000011b7f13f0
[<a00000010032c0a0>] acpi_platform_notify+0x120/0x4c0
                               sp=e00000011b7f7cc0 bsp=e00000011b7f13b8
[<a000000100391050>] device_add+0x230/0x300
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1378
[<a000000100391150>] device_register+0x30/0x60
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1358
[<a0000001002a7a90>] pci_create_bus+0x1b0/0x600
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1300
[<a0000001002aa130>] pci_scan_bus_parented+0x30/0xa0
                               sp=e00000011b7f7cd0 bsp=e00000011b7f12c8
[<a0000001003e4b20>] pci_acpi_scan_root+0x240/0x3e0
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1278
[<a000000100330380>] acpi_pci_root_add+0x480/0x620
                               sp=e00000011b7f7cf0 bsp=e00000011b7f1230
[<a0000001003354c0>] acpi_bus_driver_init+0x80/0xe0
                               sp=e00000011b7f7d10 bsp=e00000011b7f1208
[<a000000100337c80>] acpi_add_single_object+0x1480/0x1680
                               sp=e00000011b7f7d10 bsp=e00000011b7f11a0
[<a000000100338110>] acpi_bus_scan+0x290/0x400
                               sp=e00000011b7f7d30 bsp=e00000011b7f1160
[<a000000100645840>] acpi_scan_init+0x220/0x2c0
                               sp=e00000011b7f7d50 bsp=e00000011b7f1130
[<a000000100009ee0>] init+0x540/0x880
                               sp=e00000011b7f7d60 bsp=e00000011b7f1108
[<a0000001000128b0>] kernel_thread_helper+0xd0/0x100
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
[<a0000001000094a0>] start_kernel_thread+0x20/0x40
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
e00000011b7e76b0: redzone 1: 0x170fc2a5, redzone 2: 0xf901001a00000028.
slab error in cache_free_debugcheck(): cache `size-256': double free, or memory 
outside object was overwritten

Call Trace:
[<a0000001000145c0>] show_stack+0x40/0xa0
                               sp=e00000011b7f7a30 bsp=e00000011b7f16d8
[<a000000100014650>] dump_stack+0x30/0x60
                               sp=e00000011b7f7c00 bsp=e00000011b7f16c0
[<a000000100134a50>] __slab_error+0x50/0x80
                               sp=e00000011b7f7c00 bsp=e00000011b7f1690
[<a000000100135ee0>] cache_free_debugcheck+0x220/0x600
                               sp=e00000011b7f7c00 bsp=e00000011b7f1648
[<a000000100139b70>] kfree+0xd0/0x480
                               sp=e00000011b7f7c00 bsp=e00000011b7f1608
[<a0000001002ea460>] acpi_os_free+0x20/0x40
                               sp=e00000011b7f7c10 bsp=e00000011b7f15e0
[<a00000010031b980>] acpi_walk_resources+0x240/0x280
                               sp=e00000011b7f7c10 bsp=e00000011b7f15a0
[<a00000010032c990>] find_pci_rootbridge+0x1d0/0x3a0
                               sp=e00000011b7f7c20 bsp=e00000011b7f1560
[<a0000001003102d0>] acpi_ns_get_device_callback+0x270/0x2e0
                               sp=e00000011b7f7c60 bsp=e00000011b7f1508
[<a000000100314880>] acpi_ns_walk_namespace+0x280/0x2e0
                               sp=e00000011b7f7c80 bsp=e00000011b7f1498
[<a00000010030ff70>] acpi_get_devices+0xb0/0xe0
                               sp=e00000011b7f7c80 bsp=e00000011b7f1458
[<a00000010032c790>] acpi_get_pci_rootbridge_handle+0x70/0xa0
                               sp=e00000011b7f7ca0 bsp=e00000011b7f1428
[<a0000001002b8720>] pci_acpi_find_root_bridge+0x80/0xe0
                               sp=e00000011b7f7cb0 bsp=e00000011b7f13f0
[<a00000010032c0a0>] acpi_platform_notify+0x120/0x4c0
                               sp=e00000011b7f7cc0 bsp=e00000011b7f13b8
[<a000000100391050>] device_add+0x230/0x300
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1378
[<a000000100391150>] device_register+0x30/0x60
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1358
[<a0000001002a7a90>] pci_create_bus+0x1b0/0x600
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1300
[<a0000001002aa130>] pci_scan_bus_parented+0x30/0xa0
                               sp=e00000011b7f7cd0 bsp=e00000011b7f12c8
[<a0000001003e4b20>] pci_acpi_scan_root+0x240/0x3e0
                               sp=e00000011b7f7cd0 bsp=e00000011b7f1278
[<a000000100330380>] acpi_pci_root_add+0x480/0x620
                               sp=e00000011b7f7cf0 bsp=e00000011b7f1230
[<a0000001003354c0>] acpi_bus_driver_init+0x80/0xe0
                               sp=e00000011b7f7d10 bsp=e00000011b7f1208
[<a000000100337c80>] acpi_add_single_object+0x1480/0x1680
                               sp=e00000011b7f7d10 bsp=e00000011b7f11a0
[<a000000100338110>] acpi_bus_scan+0x290/0x400
                               sp=e00000011b7f7d30 bsp=e00000011b7f1160
[<a000000100645840>] acpi_scan_init+0x220/0x2c0
                               sp=e00000011b7f7d50 bsp=e00000011b7f1130
[<a000000100009ee0>] init+0x540/0x880
                               sp=e00000011b7f7d60 bsp=e00000011b7f1108
[<a0000001000128b0>] kernel_thread_helper+0xd0/0x100
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
[<a0000001000094a0>] start_kernel_thread+0x20/0x40
                               sp=e00000011b7f7e30 bsp=e00000011b7f10e0
e0000040fab29d88: redzone 1: 0x170fc2a5, redzone 2: 0xf901001a00000028.
Slab corruption: start=e0000040fab29ea8, len=256
Redzone: 0xad0e3701d2244a/0x5a2cf071.
Last user: [<a00000010028dbc0>](kobject_uevent+0x8a0/0x940)
000: 00 04 01 02 04 02 04 04 6b 6b 6b 6b 07 00 00 00
010: 0c 00 00 00 00 00 00 00 6b 6b 6b 6b 6b 6b 6b 6b
Prev obj: start=e0000040fab29d90, len=256
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<a0000001002ea460>](acpi_os_free+0x20/0x40)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Next obj: start=e0000040fab29fc0, len=256
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<a000000100415b20>](skb_release_data+0x1a0/0x1c0)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
-----------------------------------------------------------------------



I startet to pack the acpi functions in arch/ia64/pci/pci.c
(pci_acpi_scan_root()) into:
acpi_dbg_level=0x21FFFF;      /* Enable ACPI DEBUG */
...
acpi_dbg_level=0xF;           /* Disable ACPI_DEBUG */

However I now used a rc3 kernel and the pci_acpi_scan_root() function
with it's ACPI invokations succeeded. Has there any work been made?

The slab error now happens a bit later in (acpi_sba_ioc_add()).
So I set the acpi_debug trace there.

It is probably the:
ACPI_MEM_FREE(dev_info);
in arch/ia64/hp/common/sba_iommu.c:

Output and changes made are attached.
Any ideas?

Thanks,

    Thomas

Attachment: unaligned_access_debug.tar.bz2
Description: BZip2 compressed data

Reply via email to