diff -Nur freebios/src/arch/i386/lib/hardwaremain.c freebios.kbd/src/arch/i386/lib/hardwaremain.c --- freebios/src/arch/i386/lib/hardwaremain.c 2002-08-22 05:01:37.000000000 +0800 +++ freebios.kbd/src/arch/i386/lib/hardwaremain.c 2002-09-02 14:52:37.000000000 +0800 @@ -23,13 +23,13 @@ /* * C Bootstrap code for the INTEL - * $Id: hardwaremain.c,v 1.29 2002/08/21 21:01:37 rminnich Exp $ + * $Id: hardwaremain.c,v 1.28 2002/07/18 20:30:20 ebiederm Exp $ * */ #define LINUXBIOS #ifndef lint -static char rcsid[] = "$Id: hardwaremain.c,v 1.29 2002/08/21 21:01:37 rminnich Exp $"; +static char rcsid[] = "$Id: hardwaremain.c,v 1.28 2002/07/18 20:30:20 ebiederm Exp $"; #endif #ifndef MAX_PHYSICAL_CPUS @@ -342,7 +342,7 @@ nvram_on(); - //keyboard_on(); + keyboard_on(); #ifndef USE_NEW_SUPERIO_INTERFACE enable_floppy(); diff -Nur freebios/src/lib/elfboot.c freebios.kbd/src/lib/elfboot.c --- freebios/src/lib/elfboot.c 2002-08-22 05:02:38.000000000 +0800 +++ freebios.kbd/src/lib/elfboot.c 2002-09-02 14:52:56.000000000 +0800 @@ -623,7 +623,6 @@ for(i = 0; i < ELF_HEAD_SIZE - (sizeof(Elf_ehdr) + sizeof(Elf_phdr)); i+=16) { ehdr = (Elf_ehdr *)(&header[i]); if (memcmp(ehdr->e_ident, ELFMAG, 4) != 0) { - printk_debug("NO header at %d\n", i); continue; } printk_debug("Found ELF candiate at offset %d\n", i); @@ -642,12 +641,10 @@ } ehdr = 0; } - printk_debug("header_offset is %d\n", header_offset); if (header_offset == -1) { goto out; } - printk_debug("Try to load at offset 0x%x\n", header_offset); result = elfload(stream, mem, header + header_offset , ELF_HEAD_SIZE - header_offset); out: