Re: KERNEL BUG: console not working in linux

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Mon Nov 27 2000 - 14:27:38 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:17 EST