Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOOM startup failure #31

Open
google0101-ryan opened this issue Mar 23, 2021 · 7 comments
Open

DOOM startup failure #31

google0101-ryan opened this issue Mar 23, 2021 · 7 comments
Assignees
Labels

Comments

@google0101-ryan
Copy link

I built the latest release from the git repository using clang on debian. It compiles without issue, but when I boot and run doom, it spits out the following message:

[pmm.c] memory stats: available: 127 MiB  
[pmm.c] unavailable: 449 KiB
[pmm.c] taken by modules: 11 MiB
[kernel.c] SnowflakeOS 0.7
[kernel.c] kernel is 214 KiB large
[ps2.c] initializing PS/2 devices
[ps2.c] keyboard
[ps2.c] mouse
[mouse.c] enabled scroll wheel
[mouse.c] five buttons enabled
[kernel.c] loaded module disk
[kernel.c] loaded module symbols
[paging.c] page fault caused by instruction at 00001029 from process 3:
[paging.c] the page at 0005fa48 wasn't present 
[paging.c] when a process tried to write to it
[paging.c] this process was in user mode

I have no idea what caused it. Also, I had to change the Makefile to create misc/root/etc and misc/root/mnt properly.

@29jm
Copy link
Owner

29jm commented Mar 24, 2021

Hi! Thanks for the report. To be sure, are you using the commit tagged v0.7 (59ddb6f) or the latest master (d0d1eb1) ? What emulator are you running on ? I haven't been able to reproduce the crash or Makefile mischiefs yet but I'm very interested to.

@29jm 29jm self-assigned this Mar 24, 2021
@29jm 29jm added the bug label Mar 24, 2021
@google0101-ryan
Copy link
Author

google0101-ryan commented Mar 25, 2021 via email

@google0101-ryan
Copy link
Author

google0101-ryan commented Mar 26, 2021 via email

@29jm
Copy link
Owner

29jm commented Mar 26, 2021

To clarify, I am building on an HP Chromebook 14 G5, using Linux (Beta). I experienced an issue in the makefile were misc/root/etc and misc/root/mnt were created as misc/root/{etc,mnt}. Everything except DOOM works as expected.

Thanks for the info! I'll fix the directory creation thing in a bit, it's due to the {a,b} thing being a bashism, and debian using dash for /bin/sh.

Could you maybe send me an ISO you built that crashes (along with the "isodir/modules/symbols.map" file) ?

@google0101-ryan
Copy link
Author

google0101-ryan commented Mar 27, 2021 via email

@google0101-ryan
Copy link
Author

SnowflakeOS.zip

@29jm
Copy link
Owner

29jm commented Apr 7, 2021

Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants