Klesh 0.1.0 alpha2 release

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
Neuromancer

Klesh 0.1.0 alpha2 release

Post by Neuromancer »

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
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Klesh 0.1.0 alpha2 release

Post by Pype.Clicker »

- 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.
AR

Re:Klesh 0.1.0 alpha2 release

Post by AR »

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.
Neuromancer

Re:Klesh 0.1.0 alpha2 release

Post by Neuromancer »

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
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Klesh 0.1.0 alpha2 release

Post by distantvoices »

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
Neuromancer

Re:Klesh 0.1.0 alpha2 release

Post by Neuromancer »

The function at that address is ext2_inode_read, in the instruction:

Code: Select all

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
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:Klesh 0.1.0 alpha2 release

Post by Brendan »

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.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Klesh 0.1.0 alpha2 release

Post by distantvoices »

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
Neuromancer

Re:Klesh 0.1.0 alpha2 release

Post by Neuromancer »

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.
Neuromancer

Re:Klesh 0.1.0 alpha2 release

Post by Neuromancer »

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..
Jack`

Re:Klesh 0.1.0 alpha2 release

Post by Jack` »

I'm the second developer of 'Klesh'. Klesh r0x ;D
Post Reply