Page 1 of 1
SeaKernel 0......I forgot the version number.
Posted: Sun Mar 09, 2008 4:20 pm
by piranha
So, I have gotten SeaKernel to a point OK-ness. It's Pre-0.1.
It is based off of JamesM's tutorials...
Heres a floppy:
http://seakernel.googlecode.com/files/floppy2.img
It executes program 'init' in the initrd which does nothing except waits for you to type 'die' and press enter. It then exits with code 12.
Heres a happy little link to the main page...
<Insert clever link name here>
Test it, see if it works...
-JL
Posted: Sun Mar 09, 2008 5:08 pm
by jzgriffin
It works. So, the paging doesn't triplefault for you, eh?
Anyways, what direction do you intend to take SeaKernel in? A lot like Linux or a little like Linux?
Posted: Sun Mar 09, 2008 5:25 pm
by piranha
Similar, a little. I'm using some ideas from Linux 0.01 (easy to read).
What do you mean 'bout the paging?
HA! Successful on QEMU, Bochs and VMware!
-JL
Posted: Sun Mar 09, 2008 5:29 pm
by jzgriffin
I just tried it in VPC '07. Here's the output:
Code: Select all
Loading kernel...
(welcome)
Init running @ PID 1
Running init...
Child died with code 0
[BUG] We would normally reset here.
About the paging: Eh, I get triplefaults with any paging implementation, including JamesM's.
Posted: Sun Mar 09, 2008 5:41 pm
by piranha
I'll have to test it on a real machine......
You do? Huh.....I only get that when I run more than 14 or so tasks.....
It has something to do with the init_paging() function, the heap isn't big enough I think.
-JL
Posted: Sun Mar 09, 2008 5:49 pm
by jzgriffin
I just booted Sea on a real machine (512MB of memory, no hard drive, old Athlon). It works.
Posted: Sun Mar 09, 2008 6:06 pm
by piranha
On an Athlon? Thanks!
I got it working on my old Intel P2....so I'm pretty happy..
-JL
Posted: Sun Mar 09, 2008 6:16 pm
by jzgriffin
No problem.
I could bring in my old Pentium box from the garage and give it a go on that, too, if you want.
Posted: Sun Mar 09, 2008 6:58 pm
by piranha
It ok.....I think it's been tested enough for now.
Now I have implemented pretty much everything it does into system calls....
-JL
Posted: Sun Mar 09, 2008 7:09 pm
by jzgriffin
Okay, cool. Good luck.
Posted: Sun Mar 16, 2008 12:26 pm
by piranha
Here's a small update, including usermode, stacks and a scheduler update:
The floppy:
http://generalstupidity.googlepages.com/floppy.img
Google code:
http://code.google.com/p/seakernel/
-JL edit: fixed links