[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectProblem with __alt_instructions array on IA-32

I am building linux kernel 2.6.9-6 with Intel
Compilation is successfull.
While booting, kernel panic is reprted.
I also found the place of kernel panic. It is in
"apply_alternatives" function. Commenting this
function boots the kernel, but then there are Xserver
and network related problems.

I found that in __alt_instructions is array of
structures of "alt_instr".

struct alt_instr {
__u8 *instr; /* original
instruction */
__u8 *replacement;
__u8 cpuid; /* cpuid bit set for
replacement */
__u8 instrlen; /* length of original
instruction */
__u8 replacementlen; /* length of new
instruction, <= instrlen */
__u8 pad;

While debuging it is found that this array has NULL
value for member 'instr' (except first ).

i.e. __alt_instrctions[1].instr ,
__alt_instrctions[2].instr , ... are all NULL.

This causes Kernel panic.

Could you please suggest why these member are NULL ?

Thanks in advance.


Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-02 08:41    [W:0.028 / U:33.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site