Messages in this thread Patch in this message | | | Date | Tue, 22 Jun 1999 16:51:30 +0300 (EEST) | From | Pekka Riikonen <> | Subject | Re: 2.2.10 won't boot w/o keyboard |
| |
> alan@lxorguk.ukuu.org.uk writes: > > Can you build 2.2.10 with the 2.2.9 arch/i386/boot/setup.S and let me know > > if it then works. That will confirm your suspicion if its correct > > I did, and it boots fine. The problem definitely lies with the setup.S > changes. > Niku, test this small patch. Apply it in /usr/src/linux/arch/i386/boot folder by
patch < empty_8042.patch (or what ever)
See if this helps or not.
Pekka
the patch:
--- setup.S Tue Jun 22 16:46:09 1999 +++ setup.S.new Tue Jun 22 16:46:41 1999 @@ -757,11 +757,11 @@ ! with no keyboard attached... empty_8042: - push cx - mov cx,#0xFFFF + push ecx + mov ecx,#0xFFFFFF empty_8042_loop: - dec cx + dec ecx jz empty_8042_end_loop call delay @@ -775,7 +775,7 @@ test al,#2 ! is input buffer full? jnz empty_8042_loop ! yes - loop empty_8042_end_loop: - pop cx + pop ecx ret !
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |