nanogui: ELKS problems
Subject:
ELKS problems
From:
Greg Haerr ####@####.####
Date:
28 Jun 1999 18:10:58 -0000
Message-Id: <01BEC15E.86EDCA90.greg@censoft.com>
Al,
I worked on getting up to date this weekend on the linux-86 devkit (v0.14.8)
and ELKS (v0.77). After quite a few compile time problems, I got everything
compiling and working. I'll detail the problems later, and submit a patch.
I can't get Micro-Windows to work with the serial mouse driver. It appears
there's still possibly a bug in select(). Basically, the mouse works for about 1 second
and then freezes. This is only the case if I move the mouse rapidly on startup. I
modified mou_ser.c to use /dev/ttys0 and mousetype "pc", as I use a logitech mouse,
but this shouldn't affect anything. If mou_ser.c is compiled -DTEST=1, it will
run as a standalone app, and everything works fine. (it prints the x, y, buttonstatus
to the console.) If I run Microwindows and then move the mouse, nothing happens
after 1 second, and then when I hit ESC to quite Microwindows, and run the mou_ser
test program, it spits out 50 or so mouse moves that appeared to be queued up in
the kernel?? It appears the serial driver queues stuff inbetween close/open's.
Have you seen any of this activity?
Also, when trying to set environment variables, what shell do you use?
I can't get sash to set environment variables, and when I run sh, it chops the PATH
and other env vars short, as though the env space is too small...
Finally, I don't yet understand how you build images.zip. There are
root, boot and comb images, but the Makefiles in elkscmd and elks appear only to make
the following:
elks "make disk" makes boot, which seems to be called root in distribution.
elkscmd "make floppy" makes root, which seems to be called comb...
Isn't there a standard makefile function to make these images?
On my system (Caldera 2.2) the dev86 package won't make. It
requires an old /usr/bin/ar (this core dumps), and a change in elksemu to include
<sys/time.h>. I will send a patch for this.
In addition, the elkscmd requires changes in byacc/Makefile
and ash/mknode.c, and uses a redefinition of utmp stuff in utent.c. I'll send
a patch on this as well.
Greg