Git Product home page Git Product logo

posnk's Introduction

posnk

An operating system project.

posnk's People

Contributors

peterbjornx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

posnk's Issues

Userland projects in kernel repository

The following posnk original user projects are still in the kernel repo:

  • All GUI applications
  • Old shell
  • Test cases

The following third party projects are still in the kernel repo

  • libvterm
  • klange's nyancat

ATA Driver initialization lockup on VirtualBox

Serial output doesn't reveal much:

Debugger console up on ttyS0
Bootloader VBE info @C0010558 : {mode: 324,  lfb: E0000000, w:1024, h: 768, bpp: 32}
info: registered handler for IRQ1!
info: registered handler for IRQ12!
Enumerating PCI...
0:0.0 - Intel Corporation PCI & Memory NO DRIVER FOUND!!!
0:1.0 - Intel Corporation PIIX3 PCI-to-ISA Bridge (Triton II) NO DRIVER FOUND!!!
ata_pci: initializing controller 0:1.1 (0, 0, 0, 0, D000)->IRQ0
info: registered handler for IRQ14!

Call to null after sys_execve() failure

A jump to address 0x00000000 occurs when sys_execve fails on ARMv7.

Debug log:

[init:4] execve(BFBBEF67, BFBBEFB7, 4020000, 8066440) = 
error loading elf /busybox
sending signal to pid 4 : 12
[0x0] page fault in 4 @ 0xBFFFFFEC (P:0, W:0, U:0) 
Userland exception: Unresolved page fault(10), sending SIGSEGV!
Exception occurred at 0xBFFFFFEC
Register dump: 
sending signal to pid 4 : 11
sighandle: 4
handling signal: 6144
killedby: 6144
4 (Errno: 0)

No filesystem sync implemented

No filesystem synchronization has been implemented.
On shutdown any modified inodes are lost and the superblock is not updated either

dirent structure problem

ext2 and probably other fses require variable size dirent structure, which is supported but unusable due to the layout of the fields, suggested fix:
move name field to the end of the struct

Race condition on icache evict

When the inode store operation blocks the inode may be evicted again causing two processes to race in the evictor function thereby causing one to continue trying to remove an nonexistent inode object.

Memory management issues in forked processes on ARMv7

sbrk() throws ENOMEM on a newly spawned process even though the system has enough memory available.

Debug log:
[init:1] fork(0, 0, 0, 0) = 3 (Errno: 0)
[init:3] sbrk(20, 0, 0, 0) = FFFFFFFF (Errno: 12)
[init:3] sbrk(20, 0, 0, 0) = FFFFFFFF (Errno: 12)
[init:1] sbrk(418, 0, 0, 0) = 8066000 (Errno: 0)

VFS keeps unnecessary data cached

The current path resolution system maintains a list of all open directories and their trees back to the root, this is not necessary and should be replaced by a more memory efficient method of lookup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.