OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 1:44 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 809 posts ]  Go to page Previous  1 ... 48, 49, 50, 51, 52, 53, 54  Next
Author Message
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Mar 30, 2020 11:04 pm 
Offline
Member
Member

Joined: Wed Sep 01, 2010 3:54 pm
Posts: 36
This is mine while I try to figure out why I'm getting a page fault when reading a memory mapped io device.


Attachments:
page fault.png
page fault.png [ 75.52 KiB | Viewed 21522 times ]
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Mon Apr 06, 2020 1:59 am 
Offline
Member
Member

Joined: Sat Sep 07, 2019 5:17 pm
Posts: 34
This happened when i tried to load a .COM without properly setting segments


Attachments:
Screenshot from 2020-04-06 07-55-29.png
Screenshot from 2020-04-06 07-55-29.png [ 79.57 KiB | Viewed 21405 times ]
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Tue Apr 21, 2020 4:26 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
Image decoder faults are a bit cliché, but since I've finally gotten around to working on a PNG decoder here's a WIP screenshot where things went a bit wrong:

Image

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Fri Apr 24, 2020 9:33 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 812
Location: Hyperspace
SuperLeaf1995 wrote:
This happened when i tried to load a .COM without properly setting segments

Reminds me of a friend's real-mode assembly-language unix. A program could be loaded wrong depending on its size, of all things. He suspected a bug in the FAT12 driver, but it was already an abandoned project by that point. It was only written to settle an argument, and my friend was too inexperienced to code assembler well.

_________________
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat May 02, 2020 7:47 am 
Offline

Joined: Tue Jul 10, 2018 2:11 pm
Posts: 12
Image
Most kernel in this topic


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat May 02, 2020 10:30 am 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 812
Location: Hyperspace
I'm a little concerned about Bart's state of mind... :lol:

_________________
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Fri Jul 17, 2020 2:06 am 
Offline
Member
Member

Joined: Fri Sep 09, 2016 5:52 pm
Posts: 44
Location: Australia
Image
This isn't what is supposed to happen on loading a DOOM save

_________________
My OS:
https://github.com/fido2020/Lemon-OS
https://lemonos.org
https://discord.gg/NAYp6AUYWM


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Jul 18, 2020 10:22 am 
Offline
Member
Member

Joined: Wed Aug 10, 2016 3:07 am
Posts: 31
A classic


Attachments:
z5IH3e8.png
z5IH3e8.png [ 7.22 KiB | Viewed 19484 times ]


Last edited by Haoud on Fri Jul 31, 2020 1:25 pm, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Thu Jul 23, 2020 8:57 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 1584
I've upgraded my build environment to the latest, and strange things started to appear...

With gcc, it doesn't matter if I compile for AArch64 or x86_64, with or without optimizations. Everything works (at this point all processes must block waiting for messages).
With CLang, everything works as expected for AArch64, but for x86_64 I get the following error. The interesting thing is, I don't even tried to mount root file system yet (FS task should just block too). Also, the backtrace looks pretty funky: "seterr" just sets a thread-local variable, it calls no function at all, definitely not "pipe_read", and there's no way that "mq_recv" called "main" either...
Attachment:
ubbug.png
ubbug.png [ 8.75 KiB | Viewed 19766 times ]

Okay, there's no other solution, it's time for a through debug!

Cheers,
bzt


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Fri Jul 24, 2020 3:20 pm 
Offline

Joined: Tue Jul 10, 2018 2:11 pm
Posts: 12
This is a neat looking kernel debugger


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jul 26, 2020 9:12 am 
Offline
User avatar

Joined: Sat Jul 27, 2019 5:47 pm
Posts: 10
Location: Granada, Spain
bzt wrote:
Okay, there's no other solution, it's time for a through debug!


Quite an epic debugger you got there mate. Is it worth coding? Is it better than plain old Bochs?


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sun Jul 26, 2020 10:20 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 1584
@Monax, @jlxip: thanks!

jlxip wrote:
Quite an epic debugger you got there mate. Is it worth coding? Is it better than plain old Bochs?
Well, I needed a debugger that I can run on real hardware using only minicom on the other side. I was thinking about implementing gdb-server, but that protocol is just too dumb for what I need. So for me it wasn't a question of worth it, but it was a necessity, a must have.

Otherwise writing a debugger is not a big deal. Here's a minimal one, only ca. 300 SLoC. It is for AArch64, but the code would be pretty much the same for x86 (except for the disassembler). This one is MIT licensed.

The code for the debugger you see on the screenshot is here. It's more complex, the common part being more than 1000 SLoC. The architecture specific parts are in their corresponding directories (supports x86_64 and AArch64). This is not a free software, licensed under CC-by-nc-sa.

As for the disassembler, it's available as a separate project, udisasm (for AArch64, I haven't migrated the x86 disassembler to this new format yet, but I'm going to. Any help would be appreciated :-) ). The udisasm is licensed interestingly, the instruction tables and the generator script is licensed under GPL (so it's free, but copyleft), while the generated C headers are MIT licensed (so you can include the generated disassembler code in any project, even in proprietary ones).

Cheers,
bzt


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Wed Jul 29, 2020 11:35 am 
Offline
Member
Member

Joined: Tue Jun 30, 2020 2:09 pm
Posts: 33
Location: Langeskov, Denmark
So what should have been my page table ended up in the screen buffer.
If that's even what happen.

But given the repeating graphic pattern in the top of the screen, and that the setup of the page table is pretty much all that's happens in this test,
my guess is that my page table ended up in the screen buffer. #-o


Attachments:
File comment: Page table in screen buffer
Screenshot at 2020-07-28 20-47-33.png
Screenshot at 2020-07-28 20-47-33.png [ 4.05 KiB | Viewed 19547 times ]
Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Aug 08, 2020 9:41 am 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
My all new panic screen:
Image

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: When your OS goes crazy - Screenshots
PostPosted: Sat Sep 12, 2020 10:14 pm 
Offline
Member
Member

Joined: Tue Jul 14, 2020 4:01 am
Posts: 70
Just testing NetDOS/32's page fault handler


Attachments:
Screenshot_20200913_121347.png
Screenshot_20200913_121347.png [ 14.26 KiB | Viewed 19010 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 809 posts ]  Go to page Previous  1 ... 48, 49, 50, 51, 52, 53, 54  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 68 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