When your OS goes crazy - Screenshots

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: When your OS goes crazy - Screenshots

Post by Schol-R-LEA »

Fair enough. TBH, I wasn't even sure if you recognized the text, or were just puzzled by the date. Hey, these days, I'm sure that there are a lot of people who wouldn't, especially on an international forum - AFAICT, it was sort of a period thing from the 1960s through 1980s and early 1990s, and mostly in the US, UK and parts of Northern Europe (in the 1940s and 1950s it was overshadowed by Animal Farm, and not highly regarded until around 1965 I gather), and while most educated people know of the book, it seems that not all that many have actually read it.

I seem to recall hearing that it had some popularity in Russia after 1991, but I don't know if that lasted very long; since I don't know how old you are off hand, I wasn't sure if you would have read it or not. Mind you, I would not expect some of the younger crowd to know it regardless - while the theme certainly has relevance, a lot of people seem to think the book itself is dated and quaint, and it seems to be dropping out of high school and college reading lists over time.
Last edited by Schol-R-LEA on Sun May 08, 2016 2:04 pm, edited 1 time in total.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
alexfru
Member
Member
Posts: 1109
Joined: Tue Mar 04, 2014 5:27 am

Re: When your OS goes crazy - Screenshots

Post by alexfru »

Schol-R-LEA wrote:I seem to recall hearing that it had some popularity in Russia after 1991, but I don't know if that lasted very long; since I don't know how old you are off hand, I wasn't sure if you would have read it or not.
Orwell has gained some popularity again because of Russia's current internal problems.
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: When your OS goes crazy - Screenshots

Post by Schol-R-LEA »

That makes quite a bit of sense, OK.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
User avatar
osdever
Member
Member
Posts: 492
Joined: Fri Apr 03, 2015 9:41 am
Contact:

Re: When your OS goes crazy - Screenshots

Post by osdever »

Schol-R-LEA wrote:Fair enough. TBH, I wasn't even sure if you recognized the text, or were just puzzled by the date. Hey, these days, I'm sure that there are a lot of people who wouldn't, especially on an international forum - AFAICT, it was sort of a period thing from the 1960s through 1980s and early 1990s, and mostly in the US, UK and parts of Northern Europe (in the 1940s and 1950s it was overshadowed by Animal Farm, and not highly regarded until around 1965 I gather), and while most educated people know of the book, it seems that not all that many have actually read it.

I seem to recall hearing that it had some popularity in Russia after 1991, but I don't know if that lasted very long; since I don't know how old you are off hand, I wasn't sure if you would have read it or not. Mind you, I would not expect some of the younger crowd to know it regardless - while the theme certainly has relevance, a lot of people seem to think the book itself is dated and quaint, and it seems to be dropping out of high school and college reading lists over time.
I didn't read it, but I know its contents: this is 1984 year, this is totalitaristic state named Oceania, and everything is controlled with government.
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing

OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
Peterbjornx
Member
Member
Posts: 116
Joined: Thu May 06, 2010 4:34 am
Libera.chat IRC: peterbjornx
Location: Leiden, The Netherlands
Contact:

Re: When your OS goes crazy - Screenshots

Post by Peterbjornx »

Well, I used it for testing as it was the only book I had in raw text format, also amongst most young(16-~24) programmers I know 1984 is a very common book to have read.
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

Re: When your OS goes crazy - Screenshots

Post by mariuszp »

I decided to set the WP bit to prevent my kernel from writing to read-only pages. Unfortunately quite a lot of paging structures had their RW bit clear, making them read-only when they should actualyl be writeable. Running the kernel in this state caused a lot of exceptions which led to more exceptions, causing the stack to overflow, write all over video memory, and keep going until it reached non-present memory and triple faulted.
glauxosdever
Member
Member
Posts: 501
Joined: Wed Jun 17, 2015 9:40 am
Libera.chat IRC: glauxosdever
Location: Athens, Greece

Re: When your OS goes crazy - Screenshots

Post by glauxosdever »

Hi,

mariuszp wrote:I decided to set the WP bit to prevent my kernel from writing to read-only pages. Unfortunately quite a lot of paging structures had their RW bit clear, making them read-only when they should actualyl be writeable. Running the kernel in this state caused a lot of exceptions which led to more exceptions, causing the stack to overflow, write all over video memory, and keep going until it reached non-present memory and triple faulted.
You should had set the WP bit the first time you implemented paging. These exceptions, stack overflows, overwriting video memory and triple faults would not happen now.

By the way, I have the WP bit set from the time I added paging to one of my official branches.


Regards,
glauxosdever
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

Re: When your OS goes crazy - Screenshots

Post by mariuszp »

glauxosdever wrote:Hi,

mariuszp wrote:I decided to set the WP bit to prevent my kernel from writing to read-only pages. Unfortunately quite a lot of paging structures had their RW bit clear, making them read-only when they should actualyl be writeable. Running the kernel in this state caused a lot of exceptions which led to more exceptions, causing the stack to overflow, write all over video memory, and keep going until it reached non-present memory and triple faulted.
You should had set the WP bit the first time you implemented paging. These exceptions, stack overflows, overwriting video memory and triple faults would not happen now.

By the way, I have the WP bit set from the time I added paging to one of my official branches.


Regards,
glauxosdever
Yeah.. if only I knew it existed at that time :D
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: When your OS goes crazy - Screenshots

Post by max »

My new font rendering with cairo appears to cause some issues. :mrgreen:

User avatar
Ycep
Member
Member
Posts: 401
Joined: Mon Dec 28, 2015 11:11 am

Re: When your OS goes crazy - Screenshots

Post by Ycep »

max wrote:My new font rendering with cairo appears to cause some issues. :mrgreen:

My first question would be why?
User avatar
Ycep
Member
Member
Posts: 401
Joined: Mon Dec 28, 2015 11:11 am

Re: When your OS goes crazy - Screenshots

Post by Ycep »

This is how double buffering should look in 12h, right? :lol:
Image
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: When your OS goes crazy - Screenshots

Post by max »

lukaandjelkovic wrote:My first question would be why?
I think it's related to some illegal memory access, I had this before but I have to figure out what the exact problem is there :)
User avatar
Ycep
Member
Member
Posts: 401
Joined: Mon Dec 28, 2015 11:11 am

Re: When your OS goes crazy - Screenshots

Post by Ycep »

max wrote:
lukaandjelkovic wrote:My first question would be why?
I think it's related to some illegal memory access, I had this before but I have to figure out what the exact problem is there :)
Oh OK... I'm just impressed with your UI style. That makes your OS very attractive.
User avatar
max
Member
Member
Posts: 616
Joined: Mon Mar 05, 2012 11:23 am
Libera.chat IRC: maxdev
Location: Germany
Contact:

Re: When your OS goes crazy - Screenshots

Post by max »

lukaandjelkovic wrote:Oh OK... I'm just impressed with your UI style. That makes your OS very attractive.
Thanks!! I really enjoy creating UIs :P
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

Re: When your OS goes crazy - Screenshots

Post by mariuszp »

Chaos has ensued in some part (or parts) of my OS. I'm still trying to figure out what went wrong. Yesterday I implemented mutexes and semaphores in userspace, and as I tried installing the GUI package, the filesystem driver paniced due to some data corruption. Upon reboot, the OS decided to format the drive and re-install itself (that's how corrupt the filesystem has become), and after installing the GUI package, I attempted to start the GUI. It came up with a black screen, randomly-plotted pixels (which in fact depend on which video mode is in use!!) and a functional mouse cursor. I pressed F11 to force a kernel panic and see the console, and I could see that for some reason, libpng suddenly fails to read some PNG files (probably the wallpaper); no GUI application started either.
Post Reply