OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 24, 2024 8:05 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 3:17 am 
Hi people ;D
I have released an alpha version of my operating system. As I don't have any floppy disk drive on my laptop, I cannot check if it works on real hardware.
By now, the only things Klesh does is to initialize the floppy disk and the Ext2 driver, search on the floppy the (future) shell executable and show a message. I had some problems with stack overflows so any bug reports will be very helpful! 8)

Download it at http://klesh.altervista.org/Klesh-0.1.0.alpha2-img.bz2

By the way, do you think I should mail the Clash rock band to ask if I can use the name Klesh? :o LOL

Thanx


Top
  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 3:24 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
- direct download doesn't seem to be allowed by your provider (e.g. i got a weird stuff when clicking)

- trying to get to the site then download result in 404 error.

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 3:31 am 
I managed to get it, go to http://klesh.altervista.org then in the URL add "/Klesh-0.1.0.alpha2-img.bz2" to the end, note that you must have the index page open before trying to open the disk image.

It works in Bochs 2.2, I'll try on a physical computer later.


Top
  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 3:35 am 
Yea, it seems that my provider doesn't allow direct download. I have just registered to a new one 2 minutes ago..
Once set up, I'm move to that host, meanwhile try to follow the AR's instruction (thanks).

Bye.

Try this one: http://web.cheapnet.it/syslord/Klesh-0.1.0.alpha2-img.bz2


Top
  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 4:40 am 
Offline
Member
Member

Joined: Wed Oct 18, 2006 11:59 am
Posts: 1600
Location: Vienna/Austria
have given it a test.

it displays "loading shell ... " followed by a Div/0 exception (exception 0), obviously in Kernel space.

Could it be by any chance that your Prog-Loader or the FS-Handler have some issues with Division by Zero?

I recommend you to

a. Get a full disassembly of your kernel (with function names & symbols so to say)

b. Go to that address:08:00106EB7 and look what function it is in.

c. put some printf's into the function to follow the course of operation and to narrow down the point where it craps out.

Hope these hints help :-)

_________________
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image


Top
 Profile  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 8:12 am 
The function at that address is ext2_inode_read, in the instruction:
Code:
group_index = inode_index / superblock->inodes_per_group;


The superblock is read at offset 1024 from disk, which AFAIK is the standard position. If you had block sizes different than 2 sectors (1024 bytes), the driver would complain and display a message.
Are you sure the Ext2 partition is not corrupted? Could you try with another floppy disk? Thanks a lot! ;D


Top
  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 8:14 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

I tested Klesh 0.1.0-alpha2 on some computers (I didn't try Bochs or QEMU). Results follow...


For the first 2 computers it always died during boot (a total of 5 attempts). The screen looked like this:

[tt] Initializing Klesh...0
Unexpected interrupt. Panic.
[................................................................][/tt]

These computers are:

[tt]Computer N - AMD-K6(tm) 3D processor 300 Mhz
64 Mb memory
24x CD-rom
1335Mb hard disk
S3 video card
ethernet card

COMPUTER O - Pentium Pro 200 MHz
128 Mb RAM
Adaptec AHA-2940 SCSI controller
Compaq ST32550W SCSI hard-drive
IBM DCAS-34330W SCSI hard-drive
IBM DGHS09U SCSI hard-drive
Sony CDU-76S SCSI CD-ROM
Ethernet on motherboard[/tt]


For the next computer, it locked up or something on the first boot. The screen looked like it did for the first computers, except there was no message between the "Initializing Klesh" and progress bar. For three more attempts it did the same as the first computers ("Unexpected interrupt. Panic."). I couldn't get this computer to lock up without the message again (after getting the same thing on COMPUTER Q I thought it may be a difference between using the reset button and "power off", but it wasn't). This computer is:

[tt]COMPUTER H - 160Mhz Cryix/Pentium
16Mb Memory
1.44 Mb floppy
514Mb Hard disk
CDrom using IDE interface
Cirrus Logic 5430/40 PCI video card
ESS ES688 Audiodrive sound card
NE2000 compatible ethernet card[/tt]


The next two computers always locked up during boot without a message (same as the first time I tried it on "COMPUTER H"). On the third attempt for COMPUTER Q I left it running for 10 minutes just to see if anything would happen after a while (no change).

These computers are:

[tt]COMPUTER Q (Compaq Proliant 1600) - Dual Pentium II 400 MHz
384 Mb RAM
Dual-channel SCSI on motherboard
5 * 4.5 Gb SCSI hard-drives
IDE CD-ROM
Ethernet on motherboard

WORK MACHINE - Pentium IV 1.66 Ghz
256 Mb RAM
40 Gb hard drive
8 Gb hard drive
NVIDEA RIVA TNT2 Model64 Pro video card
NETGEAR FA311/FA312 PCI Ethernet card[/tt]


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 8:27 am 
Offline
Member
Member

Joined: Wed Oct 18, 2006 11:59 am
Posts: 1600
Location: Vienna/Austria
look, lad, I've just downloaded the *.img and thrown it to virtualPC as a feisty meal and it booted up and gave me this result. Have you managed to get it loading whilst doing prelim. tests?

_________________
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image


Top
 Profile  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 8:38 am 
LOL, I couldn't remember where that "Unexpected interrupt" string was located :P
However, it does print this message when the floppy driver does receive an unexpected floppy IRQ. IIRC, the linux driver does reset the floppy drive on those cases.
Gonna modify that and post alpha3 release. Thanks a lot Brendan.


Top
  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 8:43 am 
beyond infinity wrote:
look, lad, I've just downloaded the *.img and thrown it to virtualPC as a feisty meal and it booted up and gave me this result. Have you managed to get it loading whilst doing prelim. tests?


The only tests I have done were using QEMU (version 0.7.0 without accelerator) and Bochs 2.1.
It seems there's a lot to do on this release (and on PC emulators ;D)
Or maybe I should develop the ATA/ATAPI disk reader to test in on my hardware..


Top
  
 
 Post subject: Re:Klesh 0.1.0 alpha2 release
PostPosted: Thu Jun 09, 2005 10:55 am 
I'm the second developer of 'Klesh'. Klesh r0x ;D


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 117 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group