ELKS 0.0.80 has been released
ELKS 0.0.80 has been released and is available from the following sites:- ftp://ftp.ecs.soton.ac.uk/pub/elks/elks-0.0.80 ftp://linux.mit.edu/pub/ELKS/kernel/elks-0.0.80 This is the first release for a while, and it contains a number of significant bug fixes:- The bug that meant that the floppy was not spinning down reliably which was due to the code that called the BIOS timer interrupt not reliably detecting that irq0 was being called, is now fixed. The problem with 14 character length filenames was fixed by Blaz Antonic. The bug in fchown() that meant tty ownership was not handled correctly was fixed by Blaz Antonic. The bug in map_buffer() which meant that a buffer did not get freed every time a directory entry was created has been fixed. In addition, much of the filesystem has been cleaned yp by Thomas G. McWilliams and various new features and code optimisations have been included. I have also started work on making ELKS build for use in small embedded systems, in preparation for merging work contributed by another developer. This is the first release to be made since the new bug tracking web page went online. To submit bugs or to view the status of the current known bugs, please go to http://www.elks.ecs.soton.ac.uk/bugs/ Bugs may also be submitted by posting to the mainling list in the normal way. Al
Re: ELKS 0.0.80
> I have checked through this, and added the full Linux features to kill(2), > and the call to getpgid(3) in killpg(3) is not necessary, as calling > kill(0, SIGNAL) automatically kill the current processes pgrp. > > Any thoughts on where the best place to put this is? Well, this stuff is supposed to be in Rob's libc code, for kill(2). But you may put up a patch for libc in a root ELKS subdirectory, until Rob patches the devkit. This is what I did for putenv(), which fixed some nasty shell behaviour. Greg
Re: ELKS 0.0.80
Greg Haerr writes: > > Also, on another note, in catching signals in Linux from the terminal > emulator, I attempt to send them to the process group with killpg(). > This routine under ELKS causes an undefined symbol getgpid() when > linking. It appears there's an error in linux-8086 libc. > I have checked through this, and added the full Linux features to kill(2), and the call to getpgid(3) in killpg(3) is not necessary, as calling kill(0, SIGNAL) automatically kill the current processes pgrp. Any thoughts on where the best place to put this is? Al
Re: ELKS 0.0.80
Greg Haerr writes: > > Al, > Good to hear you've got another version of ELKS coming. I've > completed the first round of getting an actual graphical scrolling terminal > emulator running under ELKS. It's done. Except that the code to open > the /dev/ptypX and /dev/ttypX fails. My version of ELKS (0.77) > doesn't have these /dev/ entries. I need to know the magic numbers. > Also, does version 0.77 support pseudo ttys? I wanted to make sure > this support is complete in the 0.0.80 version, as Microwindows > now supports a terminal emulator. (No it won't quite yet run vi, > that's coming) ptys were introduced in 78 and improved to the pont where they actually worked in 79. The device files were not included in the distribution as the code was still preliminary. Here are the details:- $MKDEV ttyp0 c 4 8 $MKDEV ttyp1 c 4 9 $MKDEV ttyp2 c 4 10 $MKDEV ttyp3 c 4 11 $MKDEV ptyp0 c 4 8 $MKDEV ptyp1 c 4 9 $MKDEV ptyp2 c 4 10 $MKDEV ptyp3 c 4 11 > > Also, on another note, in catching signals in Linux from the terminal > emulator, I attempt to send them to the process group with killpg(). > This routine under ELKS causes an undefined symbol getgpid() when > linking. It appears there's an error in linux-8086 libc. > The error is not in libc, and there are two problems with this. Firstly getpgid() is currently not implemented int the kernel, and almost certainly needs to be, and secondly it is not yet possible to kill process groups using the kill system call. This too needs to be added. Al
ELKS 0.0.80
Al, Good to hear you've got another version of ELKS coming. I've completed the first round of getting an actual graphical scrolling terminal emulator running under ELKS. It's done. Except that the code to open the /dev/ptypX and /dev/ttypX fails. My version of ELKS (0.77) doesn't have these /dev/ entries. I need to know the magic numbers. Also, does version 0.77 support pseudo ttys? I wanted to make sure this support is complete in the 0.0.80 version, as Microwindows now supports a terminal emulator. (No it won't quite yet run vi, that's coming) Also, on another note, in catching signals in Linux from the terminal emulator, I attempt to send them to the process group with killpg(). This routine under ELKS causes an undefined symbol getgpid() when linking. It appears there's an error in linux-8086 libc. Greg