Skip to contentSkip to conversation

more infos about kernel panic fujitsu

DISCUSSION Cedric Hans 1 participant 1 message Sep 7, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

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;

Signature · 8 lines
Cedric Hans



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf