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





------- Additional Comments From [EMAIL PROTECTED]  2006-03-07 12:39 -------
changing acpi_ut_allocate() to call kmalloc directly,
instead of via acpi_os_allocate(), and and updating
verify_slab_redzone() to dump the whole buffer, we see this:

slab size-512: redzone mismatch in slab f7d71040, obj f7d71078, bufctl 
0xfffffffe
Redzone: 0x170fc2a5/0x170fc200.
Last user: [<c01f9d25>](acpi_ex_load_op+0x10c/0x267)
000: 53 53 44 54 fa 01 00 00 01 f9 50 6d 52 65 66 00
010: 43 70 75 30 49 73 74 00 00 30 00 00 49 4e 54 4c
020: 24 06 05 20 10 45 1d 5c 2e 5f 50 52 5f 43 50 55
030: 30 14 0b 5f 50 50 43 00 a4 50 50 43 53 14 47 07
040: 5f 50 43 54 00 a0 41 04 90 7b 43 46 47 44 0a 01
050: 00 7b 50 44 43 30 0a 01 00 a4 12 2c 02 11 14 0a
060: 11 82 0c 00 7f 00 00 00 00 00 00 00 00 00 00 00
070: 79 00 11 14 0a 11 82 0c 00 7f 00 00 00 00 00 00
080: 00 00 00 00 00 79 00 a4 12 2c 02 11 14 0a 11 82
090: 0c 00 01 10 00 00 b2 00 00 00 00 00 00 00 79 00
0a0: 11 14 0a 11 82 0c 00 01 08 00 00 b3 00 00 00 00
0b0: 00 00 00 79 00 14 1a 58 50 53 53 00 a0 0e 7b 50
0c0: 44 43 30 0a 01 00 a4 4e 50 53 53 a4 53 50 53 53
0d0: 08 53 50 53 53 12 46 06 03 12 20 06 0c 29 07 00
0e0: 00 0c 78 69 00 00 0c 6e 00 00 00 0c 0a 00 00 00
0f0: 0c 83 00 00 00 0c 00 00 00 00 12 20 06 0c 35 05
100: 00 00 0c 38 4a 00 00 0c 6e 00 00 00 0c 0a 00 00
110: 00 0c 83 01 00 00 0c 01 00 00 00 12 20 06 0c e8
120: 03 00 00 0c c8 32 00 00 0c 6e 00 00 00 0c 0a 00
130: 00 00 0c 83 02 00 00 0c 02 00 00 00 08 5f 50 53
140: 53 12 46 06 03 12 20 06 0c 29 07 00 00 0c 78 69
150: 00 00 0c 0a 00 00 00 0c 0a 00 00 00 0c 2c 0b 00
160: 00 0c 2c 0b 00 00 12 20 06 0c 35 05 00 00 0c 38
170: 4a 00 00 0c 0a 00 00 00 0c 0a 00 00 00 0c 20 08
180: 00 00 0c 20 08 00 00 12 20 06 0c e8 03 00 00 0c
190: c8 32 00 00 0c 0a 00 00 00 0c 0a 00 00 00 0c 17
1a0: 06 00 00 0c 17 06 00 00 14 41 05 5f 50 53 44 00
1b0: a0 38 7b 43 46 47 44 0c 00 00 00 01 00 a0 1a 7b
1c0: 50 44 43 30 0a 20 00 a4 12 0f 01 12 0c 05 0a 05
1d0: 0a 00 0a 00 0a fd 0a 02 a4 12 0f 01 12 0c 05 0a
1e0: 05 0a 00 0a 00 0a fe 0a 02 a4 12 0f 01 12 0c 05
1f0: 0a 05 0a 00 0a 00 0a fc 0a 01 00 00 00 00 00 00

Enabling CONFIG_ACPI_DEBUG=y makes the failure go away.

So adding some lines to print the size and address
from acpi_ex_load_op() we see this:

acpi_ex_load_op()
load from REGION f7cc3314
 lenb: table length 506
lenb: table pointer  f7d7107c
acpi_ex_load_op()
load from REGION c1bd2828
 lenb: table length 350
lenb: table pointer  f7d7fd04
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
acpi_ex_load_op()
load from REGION c1bd27f4
 lenb: table length 188
lenb: table pointer  f7d70164
acpi_ex_load_op()
load from REGION f7cc3584
 lenb: table length 133
lenb: table pointer  f7d70058

The first allocation of 506 is the buffer in question.
Looks like byes 506-512 at the end of the buffer are zero,
as expected.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to