From: "H. Peter Anvin" <hpa@transmeta.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Kai Germaschewski <kai@thphy.uni-duesseldorf.de>,
Alan Cox <alan@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: That horrible hack from hell called A20
Date: Tue, 05 Dec 2000 17:10:08 -0800 [thread overview]
Message-ID: <3A2D91F0.D8FE8BBC@transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10012051703080.811-100000@penguin.transmeta.com>
Linus Torvalds wrote:
>
> Actually, I bet I know what's up.
>
> Want to bet $5 USD that suspend/resume saves the keyboard A20 state, but
> does NOT save the fast-A20 gate information?
>
> So anything that enables A20 with only the fast A20 gate will find that
> A20 is disabled again on resume.
>
> Which would make Linux _really_ unhappy, needless to say. Instant death in
> the form of a triple fault (all of the Linux kernel code is in the 1-2MB
> area, which would be invisible), resulting in an instant reboot.
>
> Peter, we definitely need to do the keyboard A20, even if fast-A20 works
> fine.
>
Yup. It's a BIOS bug, oh what a shocker... (that never happens, right)?
I might hack on using INT 15h to do the jump to protected mode, as ugly
as it is, but I won't have time before my trip. It would require quite a
bit of restructuring in setup.S, and would probably break LOADLIN.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-06 1:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-05 23:30 That horrible hack from hell called A20 H. Peter Anvin
2000-12-06 0:13 ` Linus Torvalds
2000-12-06 0:15 ` H. Peter Anvin
2000-12-06 1:26 ` Alan Cox
2000-12-06 0:21 ` Kai Germaschewski
2000-12-06 0:48 ` Linus Torvalds
2000-12-06 15:53 ` Richard B. Johnson
2000-12-06 18:26 ` H. Peter Anvin
2000-12-06 1:07 ` Linus Torvalds
2000-12-06 1:10 ` H. Peter Anvin [this message]
2000-12-06 1:37 ` Linus Torvalds
2000-12-06 1:41 ` Linus Torvalds
2000-12-06 2:38 ` H. Peter Anvin
2000-12-08 10:33 ` Riley Williams
2000-12-06 10:16 ` Kai Germaschewski
2000-12-06 1:25 ` Alan Cox
2000-12-06 2:05 ` H. Peter Anvin
[not found] <fa.mnh2nkv.1kkusq6@ifi.uio.no>
[not found] ` <fa.enh20bv.1pkea3o@ifi.uio.no>
2000-12-06 12:43 ` Giacomo Catenazzi
2000-12-06 13:01 ` Alan Cox
2000-12-06 17:37 ` H. Peter Anvin
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=3A2D91F0.D8FE8BBC@transmeta.com \
--to=hpa@transmeta.com \
--cc=alan@redhat.com \
--cc=kai@thphy.uni-duesseldorf.de \
--cc=linux-kernel@vger.kernel.org \
--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