From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
linux-kernel@vger.kernel.org,
Linus Torvalds <torvalds@transmeta.com>
Subject: Re: Boot failure in 2.5.31 BK with new TLS patch
Date: Sat, 17 Aug 2002 10:16:51 -0500 [thread overview]
Message-ID: <200208171516.g7HFGpK03104@localhost.localdomain> (raw)
In-Reply-To: Message from Ingo Molnar <mingo@elte.hu> of "Sat, 17 Aug 2002 08:51:47 +0200." <Pine.LNX.4.44.0208170845250.3209-100000@localhost.localdomain>
mingo@elte.hu said:
> while your patch looks OK, it would be *really* interesting to find
> out why the previous layout failed. Does the BIOS somehow corrupt the
> GDT? You are using the stock SMP code otherwise, correct? And this
> part of the patch:
Well, I should say, this is the voyager MCA box again...
The boot problem only happens with my quad pentium cards, the dyad pentium and
486 are fine. Originally, a voyager system with quad cards just wouldn't boot
(this was in the 2.2.x days). Eventually, by trial and error and long debug
of the boot process I discovered it would boot if the GDT was 8 bytes aligned
(actually, the manuals say it should be 16 byte aligned, so perhaps we should
also add this to the Linux setup.S?). SUS (the voyager BIOS equivalent)
reports that the CPU took a Trap 6 at FFF38466 in the boot sequence, but I
knew there wasn't an illegal instruction, and the memory address isn't in the
boot code. I suspect that the quad cards have some real mode instruction
emulation and that's where the trap is occuring.
Unfortunately, all the people at NCR who could explain what is going on have
long since departed, so I'm afraid I can only guess.
However, the general point that we should keep the boot sequence as simple as
possible (just in case we run across any other wierd quirks even in modern
PCs) still remains.
James
next prev parent reply other threads:[~2002-08-17 15:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-17 0:31 James Bottomley
2002-08-17 6:51 ` Ingo Molnar
2002-08-17 15:16 ` James Bottomley [this message]
2002-08-17 16:17 ` Ingo Molnar
2001-11-02 8:20 ` Pavel Machek
2002-08-17 17:09 ` Gabriel Paubert
2002-08-17 17:18 ` Ingo Molnar
2002-08-17 17:20 ` James Bottomley
2002-08-17 18:26 ` Gabriel Paubert
2002-08-17 18:36 ` Linus Torvalds
2002-08-17 18:42 ` Ingo Molnar
2002-08-17 18:50 ` Gabriel Paubert
2002-08-17 18:53 ` Ingo Molnar
2002-08-17 21:42 ` Ingo Molnar
2002-08-18 3:29 ` Linus Torvalds
2002-08-17 22:34 ` James Bottomley
2002-08-18 8:35 ` Ingo Molnar
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=200208171516.g7HFGpK03104@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@transmeta.com \
/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®