mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problem with __alt_instructions array on IA-32
@ 2005-06-02  6:35 baswaraj kasture
  0 siblings, 0 replies; only message in thread
From: baswaraj kasture @ 2005-06-02  6:35 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-02  6:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-02  6:35 Problem with __alt_instructions array on IA-32 baswaraj kasture

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®