Re: sc3200 cpu + apm module kernel crash

From: Alan Cox
Date: Sun Nov 05 2006 - 13:18:31 EST


Ar Sad, 2006-11-04 am 00:06 +0100, ysgrifennodd Nicolas FR:
> I have thrown a bunch of "printk(KERN_INFO "apm: I am here\n");" and
> noticed the crash is happening just when calling apm_event_handler();
> and does not even execute any instruction in this function... This is
> the point I don't understand, how can it crash just on calling a
> function and not executing the first statement in this function?

APM is BIOS code so the assembler inlines trap into the firmware and the
firmware sometimes isn't very good, particularly the 32bit entry points
which are not used by a certain other vendors products.

In those cases you need to trace the asm code in the firmware and see if
the firmware is buggy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/