An operating system project.
posnk / posnk Goto Github PK
View Code? Open in Web Editor NEWAn operating system project.
License: Other
An operating system project.
License: Other
Program bug exposed this:
[vi:16] poll(BFBFEF27, 80D11B8, 64, 0) =
yieldig a call to
heapmm_alloc(0x40688c00)
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!
Upon inspection all inodes appear to have atleast 2 references
No filesystem synchronization has been implemented.
On shutdown any modified inodes are lost and the superblock is not updated either
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)
The current build system does not support a seperate output directory, this results in the pollution of the kernel source tree with binaries and object files.
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
Readdir does not correctly skip deleted dirents for ext2
Background jobs sometimes hang the terminal in busybox ash
To try;
nyan > /dev/tty2
ls
nyan > /dev/tty3
ls
ext2_link yields a directory "file" that has a length greater than the number of bytes stored for it, resulting in a sparse file yielding all-zero dirents
At the moment the configuration header does not automatically provide the correct definitions for the selected architecture
Something is corrupting memory around block cache structures
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
execve allows for non-executable files to be run.
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.
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)
The following posnk original user projects are still in the kernel repo:
The following third party projects are still in the kernel repo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.