SeaKernel 0......I forgot the version number.

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
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

SeaKernel 0......I forgot the version number.

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
jzgriffin
Member
Member
Posts: 190
Joined: Tue Sep 26, 2006 1:40 pm
Libera.chat IRC: Nokurn
Location: Ontario, CA, USA
Contact:

Post 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?
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
jzgriffin
Member
Member
Posts: 190
Joined: Tue Sep 26, 2006 1:40 pm
Libera.chat IRC: Nokurn
Location: Ontario, CA, USA
Contact:

Post 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. :-P
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
jzgriffin
Member
Member
Posts: 190
Joined: Tue Sep 26, 2006 1:40 pm
Libera.chat IRC: Nokurn
Location: Ontario, CA, USA
Contact:

Post by jzgriffin »

I just booted Sea on a real machine (512MB of memory, no hard drive, old Athlon). It works. :-)
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

On an Athlon? Thanks!

I got it working on my old Intel P2....so I'm pretty happy..

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
jzgriffin
Member
Member
Posts: 190
Joined: Tue Sep 26, 2006 1:40 pm
Libera.chat IRC: Nokurn
Location: Ontario, CA, USA
Contact:

Post 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.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
jzgriffin
Member
Member
Posts: 190
Joined: Tue Sep 26, 2006 1:40 pm
Libera.chat IRC: Nokurn
Location: Ontario, CA, USA
Contact:

Post by jzgriffin »

Okay, cool. Good luck. :-)
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Post Reply