lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProblem with __alt_instructions array on IA-32
Hi,

I am building linux kernel 2.6.9-6 with Intel
Compiler.
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.

-Baswaraj



__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  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