When your OS goes crazy - Screenshots
-
- Posts: 2
- Joined: Mon Jul 12, 2010 10:00 am
Re: When your OS goes crazy - Screenshots
I think my timer tick interrupt was called while handling an exception. (screen 1)
It's happy about something.
Either that happens or my kernel log gets filled with garbage (screen 2)
edit: can't be running my tick isr, irqs are disabled. Must be something else
edit: seems to be have just jumped to random code before.
Result of doing jmp _shell (which is a C function) before the iret in the exception handler (screen 3)
Probably a result of stuff not being declared volatile - I never do end up iretting from my exception . Later i'll try hacking up the stack to jump to _shell when I do an iret. This is NOT supposed to be reliable, this is just fun (and it IS fun. I've always loved executing random data, from Pokemon on Gameboy to smashthestack.org pointing somewhere it shouldn't, on purpose I love chaos.)
edit: Fixed it all up by using the old eip where the exception occured as an unsigned short pointer, and set the instruction to 0x9090 - two NOPs. It's crap but it works so for the moment, as my OS's 'feature' is that it's unstable, it's staying . All exceptions are handled like this, not just interrupt 0, so i'd love to see what happens when I GPF or something . I wasn't implying I needed help before. Just idly discussing the state of my kernel
It's happy about something.
Either that happens or my kernel log gets filled with garbage (screen 2)
edit: can't be running my tick isr, irqs are disabled. Must be something else
edit: seems to be have just jumped to random code before.
Result of doing jmp _shell (which is a C function) before the iret in the exception handler (screen 3)
Probably a result of stuff not being declared volatile - I never do end up iretting from my exception . Later i'll try hacking up the stack to jump to _shell when I do an iret. This is NOT supposed to be reliable, this is just fun (and it IS fun. I've always loved executing random data, from Pokemon on Gameboy to smashthestack.org pointing somewhere it shouldn't, on purpose I love chaos.)
edit: Fixed it all up by using the old eip where the exception occured as an unsigned short pointer, and set the instruction to 0x9090 - two NOPs. It's crap but it works so for the moment, as my OS's 'feature' is that it's unstable, it's staying . All exceptions are handled like this, not just interrupt 0, so i'd love to see what happens when I GPF or something . I wasn't implying I needed help before. Just idly discussing the state of my kernel
Define the x86 architecture?
Take a turd from every animal that ever existed and put it all around your "ON" switch- the only way to get to the on switch is through the crap.
Projects: QuenchlessOS - no plan no rules
blaRPG - my RPG.
Take a turd from every animal that ever existed and put it all around your "ON" switch- the only way to get to the on switch is through the crap.
Projects: QuenchlessOS - no plan no rules
blaRPG - my RPG.
Re: When your OS goes crazy - Screenshots
Don't panic - all is fine as long as you remember to blink and breathe at predictable intervalsdoublebeta wrote:
edit: can't be running my tick isr, irqs are disabled. Must be something else
edit: seems to be have just jumped to random code before.
Result of doing jmp _shell (which is a C function) before the iret in the exception handler (screen 3)
Probably a result of stuff not being declared volatile - I never do end up iretting from my exception . Later i'll try hacking up the stack to jump to _shell when I do an iret. This is NOT supposed to be reliable, this is just fun (and it IS fun. I've always loved executing random data, from Pokemon on Gameboy to smashthestack.org pointing somewhere it shouldn't, on purpose I love chaos.)
...
edit: Fixed it all up by using the old eip where the exception occured as an unsigned short pointer, and set the instruction to 0x9090 - two NOPs. It's crap but it works so for the moment, as my OS's 'feature' is that it's unstable, it's staying . All exceptions are handled like this, not just interrupt 0, so i'd love to see what happens when I GPF or something . I wasn't implying I needed help before. Just idly discussing the state of my kernel
--
Cheers,
Shirk
Cheers,
Shirk
-
- Posts: 2
- Joined: Mon Jul 12, 2010 10:00 am
Re: When your OS goes crazy - Screenshots
Eh? I'm not panicking. Just making a whole lot of edits so people can see my progress, even though they probably don't care(and of course would not be offended). Something to do.
I do forget to breathe+blink though, thankyou for the tip
I do forget to breathe+blink though, thankyou for the tip
Define the x86 architecture?
Take a turd from every animal that ever existed and put it all around your "ON" switch- the only way to get to the on switch is through the crap.
Projects: QuenchlessOS - no plan no rules
blaRPG - my RPG.
Take a turd from every animal that ever existed and put it all around your "ON" switch- the only way to get to the on switch is through the crap.
Projects: QuenchlessOS - no plan no rules
blaRPG - my RPG.
-
- Posts: 5
- Joined: Thu Feb 24, 2011 11:54 am
Re: When your OS goes crazy - Screenshots
Hahahaha, I remember when mine did this back in the day.. err wait.. it still does it.. crap... :/
Re: When your OS goes crazy - Screenshots
My new project (deleted my old one because I overcomplicated it by trying to make my first kernel "perfect". This one is deliberately simplistic, hence the name).
Beware of the name of the project if you're at work or something.
http://www.youtube.com/watch?v=3_oPhe0o-Vg
Edit: I fixed it a while ago, I don't remember what the problem was, it's almost 3 am.
Beware of the name of the project if you're at work or something.
http://www.youtube.com/watch?v=3_oPhe0o-Vg
Edit: I fixed it a while ago, I don't remember what the problem was, it's almost 3 am.
Re: When your OS goes crazy - Screenshots
LOL stupid youtube i went on the video (which you deleted), so then this 'missing' message comes up and the polish version says:Synon wrote:My new project (deleted my old one because I overcomplicated it by trying to make my first kernel "perfect". This one is deliberately simplistic, hence the name).
Beware of the name of the project if you're at work or something.
http://www.youtube.com/watch?v=3_oPhe0o-Vg
Edit: I fixed it a while ago, I don't remember what the problem was, it's almost 3 am.
This video has been removed by the user. sorry for bugs
Re: When your OS goes crazy - Screenshots
Now it's time for some serious kprint stress test!!
As you can see my console scroll function works GLORIOUSLY!
As you can see my console scroll function works GLORIOUSLY!
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: When your OS goes crazy - Screenshots
Why do I get the feeling most screenshots here are fake?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: When your OS goes crazy - Screenshots
Because you assume things must go right on first tryLove4Boobies wrote:Why do I get the feeling most screenshots here are fake?
Re: When your OS goes crazy - Screenshots
I guess you expect weird screen shots to be completely random. But they don't have to be.Love4Boobies wrote:Why do I get the feeling most screenshots here are fake?
Re: When your OS goes crazy - Screenshots
Breakthrough innovation : I hereby gloriously introduce the first physical memory manager testing tool (to the best of my knowledge) that works on one virtual machine and fails on another ! Now THAT's useful testing !
EDIT : Not so silly, sadly... But got it anyway.
Oh, well... Guess there's a very silly bug behind this and I'll feel deeply ashamed when I find out.EDIT : Not so silly, sadly... But got it anyway.
Re: When your OS goes crazy - Screenshots
TDD? Nice idea! Is it a kernel space utility or a user space app?
Re: When your OS goes crazy - Screenshots
Not exactly true TDD because I had the idea to write some automated regression tests after having finished the memory manager, but I certainly do think that having these at hand will be pretty good in the future, when I'll have to tweak the code again, as a way to quickly check that everything still works.rand wrote:TDD? Nice idea! Is it a kernel space utility or a user space app?
Currently, the testing tools are an optional kernel space utility. You can choose to link them into the kernel using a flag in the makefile, and after that it's possible to call the testing functions within the kernel's main function. I don't have user space yet, so I didn't exactly have the choice ^^
- gravaera
- Member
- Posts: 737
- Joined: Tue Jun 02, 2009 4:35 pm
- Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Re: When your OS goes crazy - Screenshots
I always wondered about that myself, cos the effects these people produce with that VGA framebuffer are just purely original, every timeLove4Boobies wrote:Why do I get the feeling most screenshots here are fake?
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Re: When your OS goes crazy - Screenshots
Take this:
I have implemented some basic support for shared libraries. Normally, the code works perfectly and the exit() function inside a library is called perfectly, but sometimes, the resolve() function fails right before returning (weird, i know..)
I have implemented some basic support for shared libraries. Normally, the code works perfectly and the exit() function inside a library is called perfectly, but sometimes, the resolve() function fails right before returning (weird, i know..)