lkml.org 
[lkml]   [2000]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: KERNEL BUG: console not working in linux
On Mon, Nov 27, 2000 at 11:08:10AM -0800, H. Peter Anvin wrote:

> It would have been somewhat different if there had been a standard
> BIOS function for enabling A20, but there isn't one.
>
> Sometimes, in the PC world, you just have to draw a line and say "this
> is too broken to use". I think the original posters' video card falls
> in that category. Get a new video card, they're cheap these days.

Hi,
could original complainer (and peoples with AMD SC*) test following
patch? It just does nothing in case that A20 enabled bit is already
set - such as in case when there is nobody listening on 0x92 and
so inb returns 0xFF... (patch is for 2.4.0-test11)
Thanks,
Petr Vandrovec
vandrove@vc.cvut.cz


--- linux/arch/i386/boot/setup.S.orig Mon Oct 30 23:44:29 2000
+++ linux/arch/i386/boot/setup.S Mon Nov 27 20:22:04 2000
@@ -647,8 +647,11 @@
# Brown from Linux 2.2
#
inb $0x92, %al #
+ testb $02, %al
+ jnz no92
orb $02, %al # "fast A20" version
outb %al, $0x92 # some chips have only this
+no92:

# wait until a20 really *is* enabled; it can take a fair amount of
# time on certain systems; Toshiba Tecras are known to have this
-
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/
\
 
 \ /
  Last update: 2005-03-22 12:47    [from the cache]
©2003-2011 Jasper Spaans