Idylla OS development version

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
milyges

Idylla OS development version

Post by milyges »

Hello.
I decided to give my OS for yours tests. In this version my os do not do a lot of. I have already written microkernel (ready in 75%), init.sys (now loading other modules and wait for reboot message, and rebooting computer), keybd.sys (ready in 90%) and simple shell.

You can download floppy image from
http://sourceforge.net/project/showfile ... _id=175107

After boot we should get:
Idylla OS Shell, version 0.1
#

Enter help for commands

PS.: I have error in video driver :/ They sometimes print stiupid messages.
PS2.: ps command do not show list process yet.
PS3.: On bochs sometimes system hang and last message is Sheduler initialized ::)

I invite for testing

Greetings.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re:Idylla OS development version

Post by Combuster »

Started a test run on bochs, several issues: (race conditions, bad memory management?)

- random runtime errors when typing onto the shell. (only seems to occur on keypress, no issues when keyboard is left alone)

trying several different commands in a row seems to be the way to reveal it, i had crashes after 6 characters and sometimes after about 50.

example output:

Code: Select all

Creating process sh.exe on level 1
  sh.exe [ SUCCESS ]
Idylla OS Shell, version 0.1
# uname
Idylla OS version 0.1 Beta
# uname
Idylla OS version 0.1 Beta
# uname
Idylla OS version 0.1 Beta
# help
Commands:
help - show this message
uname - show kernel version
ps - show process list
reboot - reboot computer
uptime - show system uptime
exit - exit shell
# upti*************************************************************************
Page fault exception in process sh.exe (pid=5, tid=7, state=0, level=1)
cr0=0xC0010011 cr2=0x154 cr3=0x528000 cr4=0x0
error code=2 cs=0x8 eip=0xC01033CD
Phys addr of page: 0x0
System halted
*************************************************************************
of which there have been many more, different cr2/cr3/eips/error code. CS seems to remain constant though

- random lockups, same circumstance
- random reboots, again just the same time
- Infinite loop of "Warring: Trying to sleep not running thread", once again under the same circumstances

- scheduler failure (you gave it, but right now its just cause of only 5% of reboots so...)

summary:
5% boot prob, 10% triple fault, 20% lockup, 40% dump, 25% error loop
(over far too few samples, i must add)

Apart from that, the system behaves the way one expects.

Less serious:
- arrows and delete (just any non-enter non-backspace) resolves to a character

- render bug: (seem to be able to appear anywhere)

Code: Select all

# help
Commands:
help - show this message
uname - show kernel version
ps - show process list
reboot - reboot computer
reboot - reboot computer
exit - exit shell
#
Not sure wether this is the bug you were aware of

- and some typos (not serious, just plain annoying)
Exceptions handling, Warring, iddle.

Let me know if this is just bochsness or that normal systems are way more stable than that, since this is barely worth testing on real hardware.

Good luck bugfixing
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
milyges

Re:Idylla OS development version

Post by milyges »

Thanks for tests, I found big error in my sheduler code. This bug make Page Faults, and hang system. Maybe this do error in render code. I'll try to fix it.
milyges

Re:Idylla OS development version

Post by milyges »

I fixed some bugs and Update floppy image on sf.net (http://sourceforge.net/project/showfile ... _id=440352)
I'm testing this on Bochs and work well:
# uname
Idylla OS version 0.1 Beta
# uname
Idylla OS version 0.1 Beta
# uptime
System uptime: 153 seconds
# ps
Running processes 4, threads 6
# ps
Running processes 4, threads 6
# ps
Running processes 4, threads 6
# uname
Idylla OS version 0.1 Beta
# iptime
iptime: command not found
# help
Commands:
help - show this message
uname - show kernel version
ps - show process list
reboot - reboot computer
uptime - show system uptime
exit - exit shell
#
I have bug in sys_sleep code :)
Greetings.
Post Reply