From: baswaraj kasture <kbaswaraj@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Problem with __alt_instructions array on IA-32
Date: Wed, 1 Jun 2005 23:35:58 -0700 (PDT) [thread overview]
Message-ID: <20050602063558.68968.qmail@web51105.mail.yahoo.com> (raw)
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/
reply other threads:[~2005-06-02 6:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050602063558.68968.qmail@web51105.mail.yahoo.com \
--to=kbaswaraj@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®