[Linux-disciples] Keyboard and mouse cut out

Stephen R Laniel linux-disciples@bostoncoop.net
Mon, 22 Sep 2003 14:08:46 -0400


On Wed, Sep 10, 2003 at 12:47:33PM -0400, Adam Kessel wrote:
> Have you tried a more recent kernel? It would be worth trying with 2.4.22
> and/or 2.6.0test5.

Following my longstanding habit of taking Adam's advice several weeks
after he gives it, I just ran into the same keyboard-and-mouse-bailing
problem that produced the above advice. Previously, it took three reboots
to get the keys and mouse back. This time it took FIVE. So, that's bad.

I downloaded the 2.4.22 kernel from kernels.org back when Adam gave that
advice, but didn't follow through until now. I'm following the advice in
~/linux-2.4.22/README, namely (short form)

1) make oldinstall
2) make dep
3) make bzImage
4) some other stuff

I say "some other stuff" because I'm stuck on 3). See the sequence of
errors below for what that gets me. I don't know why these errors are
showing up; some of the files that it says are missing are, in fact,
there - such as /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h. Any
idea what these errors are all about?

I hope fixing the kernel will fix this problem, or else I can see a
future device failure requiring 1200 reboots.

Errors follow.

gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
scripts/mkdep.c:33: ctype.h: No such file or directory
scripts/mkdep.c:34: fcntl.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
                 from scripts/mkdep.c:35:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such file or directory
scripts/mkdep.c:36: stdio.h: No such file or directory
scripts/mkdep.c:37: stdlib.h: No such file or directory
scripts/mkdep.c:38: string.h: No such file or directory
scripts/mkdep.c:39: unistd.h: No such file or directory
scripts/mkdep.c:41: sys/fcntl.h: No such file or directory
scripts/mkdep.c:42: sys/mman.h: No such file or directory
scripts/mkdep.c:43: sys/stat.h: No such file or directory
scripts/mkdep.c:44: sys/types.h: No such file or directory
make: *** [scripts/mkdep] Error 1

-- 
```All placebos are not the same,' Eli Lilly spokesman Giles French
   said. `Pacifex is the only placebo that's green and shaped like a
   triangle. Pacifex: A doctor gave it to you.''
  -http://www.theonion.com/3936/news2.html