Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Initial Version and Version 1 of ReleaseNotes/0.8.0

2018-12-19T17:58:29Z (2 years ago)
Jakub Jermář


  • ReleaseNotes/0.8.0

    v1 v1  
     1= Release Notes for HelenOS 0.8.0 =
     3HelenOS ''0.8.0 (Speranza)'' was released on ''December 19, 2018''.
     5This document contains a summary of changes made to HelenOS since release 0.7.2.
     7== Special Notes for this Release ==
     9== Features Introduced in This Release ==
     11=== General ===
     13 * We partially revived the Doxygen [ reference documentation] and plan to further improve it.
     14 * HelenOS abandoned the `*-linux-gnu` and `*-unknown-elf` toolchain targets in favor of its [ own] `-helenos` target. Utilizing the compiler-provided headers and libraries avoids a number of problems and reduces the amount of architecture-support code that otherwise needs to be provided directly in HelenOS.
     16=== Kernel ===
     18 * Kernel is now stored in standard ELF format
     19 * Ordered dictionary ({{{odict.h}}}) now available in kernel
     20   * Container based on red-black trees
     21   * Replaced AVL trees and B+trees
     22   * Unlike the B+tree implementation, which was also used in HelenOS address space management, the ordered dictionary comes with an API which does not allocate memory itself and is thus more favorable from the point of view of resource management.
     23 * The kernel used to pass kernel addresses of IPC phone objects (a.k.a. phone hashes) as connection identifiers to userspace. This intentional but unfortunate information leak was replaced in this release by purely user-defined labels negotiated during IPC connection setup handshake. Each connected phone now has a user-defined label and imprints this label on each IPC call which is routed through it.
     24 * In 2014 HelenOS got its own implementation of RCU (Read-Copy-Update) synchronization primitive along with a CHT (Concurrent Hash Table) data type based on RCU. Although sophisticated and interesting from the technological point of view, the RCU and CHT were mostly unused and unmaintained. We therefore decided to remove these very complex features.
     25 * The kernel waitq synchronization primitive was made available to userspace via capabilities. Consequently the userspace implementation of futexes was rewritten to use waitq's as the underlying synchronization mechanism. The custom support for futexes was removed from the kernel. One ramification of this change is that the underlying kernel object is no longer allocated lazily. This increases startup times of components that use futexes, but provides better failure modes, and better resource management possibilities in the future.
     27=== Services and Drivers ===
     29 * Fixed support for ISA-only PCs
     30   * Was broken since 0.5.0/0.6.0 since DDF could not enumerate ISA-only PC
     31   * With custom build (ia32 + CPU=486) you can run in {{{qemu-system-i386 -M isapc}}}
     32 * Added standard PC parallel port driver
     33 * Running HelenOS on the Ski IA-64 simulator will show console output also before the userspace driver takes over.
     34 * Naming service improvements
     35   * Services now register individual interfaces with the naming service. This adds a degree of type safety, potentially allows the individual interfaces to be implemented by independent tasks and moves the code slightly closer to the full-fledged ports design.
     36   * Broker services (e.g. the location service) can still register a fallback port for receiving connections to all interface types explicitly using {{{service_register_broker()}}}.
     37 * Intel HD Audio
     38   * Added PCI IDs for Wildcat Point-LP and Broadwell-U audio controllers
     40=== GUI ===
     42 * Fix some display issues related to a bug in the alpha blending implementation
     44=== File Systems ===
     46 * {{{fdisk}}} can now configure mount point for a volume
     47 * We can now create Ext4 (Ext2, actually) file systems
     48 * Support volume labels with Ext4
     49 * Ext4(2) is the default new file system type for fdisk
     50 * Sysinst now creates Ext4(2) to install HelenOS to
     51 * {{{vol insert}}} can be used to re-insert a previously ejected volume
     52 * Persistent storage / system volume
     53   * Sysinst will now configure a persistent /w directory
     54     * As a reminder, this can only be used to install on some ia32/amd64 configurations
     55   * Tetris will now store high-score table under /w
     56     * Allowing it to persist across reboots - on a system installed by sysinst
     58=== Applications ===
     60 * [ GZX], a ZX Spectrum emulator
     61   * Experimental HelenOS support in upstream since January 2018
     62   * Now available via a harbour/package ({{{pkg install gzx}}})
     63 * [ Ccheck], C-style checker used to check HelenOS code ported to HelenOS
     64   * Available via harbour/package ({{{pkg install sycek}}})
     65 * {{{perf}}} is a new tool collecting several simple benchmarks
     66   * {{{perf ns_ping}}} moved from {{{tester ping_pong}}} now computes average and standard deviation across multiple runs
     67   * {{{perf ping_pong}}} IPC ping-pong benchmark using new dedicated IPC test server
     68   * {{{perf malloc1}}}, {{{perf malloc2}}} two simple user-space memory allocator benchmarks
     69 * {{{contacts}}} is a trivial interactive utility to demonstrate the use of SIF
     70 * {{{wavplay}}} and {{{modplay}}} now accept {{{-t <target>}}} option to select non-default audio target
     71 * {{{lprint}}} utility can be used to [wiki:UsersGuide/Printing print] a file or a short message
     73=== Libraries ===
     75 * libc
     76    * Clean separation of fibrils and async framework
     77    * The async framework defines the label stored in connected IPC phones to be the userspace address of the connection structure. Because of this, the connection lookup hash table could have been dropped entirely as each incoming call already knows the connection from the label
     78    * added {{{strtold}}}
     79    * replaced {{{<atomic.h>}}} with standard {{{<stdatomic.h>}}}
     80    * replaced {{{<sys/time.h>}}} with standard {{{<time.h>}}}
     81    * 'x' fopen file mode modifier from C11
     82 * SIF an API for managing structured data
     84=== Miscellaneous ===
     86 * Prevent endless loops when printing userspace stack traces
     87 * Eliminate use of custom linker scripts for user space code
     88 * Init data is now stored as a tar archive of gzip-compressed files
     89 * Server binaries under {{{/srv}}} are now in sub-directories (and /srv is no longer a search directory for commands)
     90 * Init data can now be configured to be uncompressed (used by default on GTA02 and ski) for faster boot
     91 * Can compile with undefined behavior sanitizer in either kernel, user space or both
     92 * XCW tools used to cross-compile out-of-tree HelenOS applications received fixes and enhancements
     93   * Fixed compilation on some ARM platforms
     94   * Use of export dir for better integration with Coastline
     95   * {{{helenos-bld-config --install-dir}}} useful when installing application into HelenOS workspace
     96   * {{{helenos-test}}} rebuilds HelenOS workspace and starts emulation
     98== Regressions in This Release ==
     100We have found the following regressions that prevent releasing the image for the respective platform:
     102 * #782 HelenOS does not boot on Raspberry Pi
     103 * #783 HelenOS does not boot on GTA02
     104 * #784 HelenOS does not boot on Dell !PowerEdge 3250
     106== Fixed Logged Bugs & Enhancements ==
     108 * For the list of all logged defects fixed in this release, see this [query:status=closed&resolution=fixed&milestone=0.8.0&type=defect report].
     109 * For the list of all logged enhancements integrated in this release, see this [query:status=closed&resolution=fixed&milestone=0.8.0&type=enhancement report].
     111== Known Bugs ==
     113 * For the list of known bugs still not fixed in this release, see this [report:3 report].
     114 * For the list of all open tickets, see this [report:1 report].