more infos about kernel panic fujitsu

From: Cedric Hans <hidden>
Date: 2003-09-07 21:34:11

Hi,

I have more infos about the kernel panic experienced on Fujitsu E7010 series laptop when ACPI is enabled.
(see http://www.ussg.iu.edu/hypermail/linux/kernel/0307.2/0713.html )

(kernel-2.6.0-test4)
The kernel crash in resource/nsutils.c line 740 :
if (ACPI_GET_DESCRIPTOR_TYPE (handle) != ACPI_DESC_TYPE_NAMED) {

because handle == 7 and
#define ACPI_GET_DESCRIPTOR_TYPE(d)     (((union acpi_descriptor *)(void *)(d))->descriptor_id)

this value is set in resource/rsmisc.c line 95 function acpi_rs_end_tag_resource:
output_struct->id = ACPI_RSTYPE_END_TAG;

in resource/rslist.c function acpi_rs_byte_stream_to_list
output_buffer (= output_struct) is changed to the same value than handle

Since I don't see how to fix the code, I have this ugly workaround :
in pci_root.c line 294:
handle = device->handle;
acpi_pci_evaluate_crs(root);
device->handle = handle;
handle = NULL;

-- 
Cedric Hans



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help