29jm / SnowflakeOS

"It is very special"
https://jmnl.xyz
MIT License
315 stars 18 forks source link

DOOM startup failure #31

Open google0101-ryan opened 3 years ago

google0101-ryan commented 3 years ago

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 commented 3 years ago

Hi! Thanks for the report. To be sure, are you using the commit tagged v0.7 (https://github.com/29jm/SnowflakeOS/commit/59ddb6ff711f3bf5232e996d19fd640e548778be) or the latest master (https://github.com/29jm/SnowflakeOS/commit/d0d1eb10bf9af33f2fcde93de4719b8ff4015ddf) ? 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.

google0101-ryan commented 3 years ago

I was running on qemu-system-x86_64, and I am using the default master branch that shows upon opening the page. The ISO I downloaded from the releases section (v0.7) worked fine. I am learning to develop operating systems, so the pre-compiled ISO is not of much use to me. Your operating system inspired me, and I would really like to see it functioning when built from source.


From: Johan Manuel @.> Sent: Wednesday, March 24, 2021 4:46 AM To: 29jm/SnowflakeOS @.> Cc: Ilari, Ryan Nathaniel @.>; Manual @.> Subject: Re: [29jm/SnowflakeOS] DOOM startup failure (#31)

[EXTERNAL EMAIL - Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.]

Hi! Thanks for the report. To be sure, are you using the commit tagged v0.7 (59ddb6fhttps://github.com/29jm/SnowflakeOS/commit/59ddb6ff711f3bf5232e996d19fd640e548778be) or the latest master (d0d1eb1https://github.com/29jm/SnowflakeOS/commit/d0d1eb10bf9af33f2fcde93de4719b8ff4015ddf) ? 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/29jm/SnowflakeOS/issues/31#issuecomment-805615555, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANPNOPZIFWU54W7445VSW6DTFGRFFANCNFSM4ZVZLQPA.

google0101-ryan commented 3 years ago

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.


From: Ilari, Ryan Nathaniel @.> Sent: Thursday, March 25, 2021 7:37 PM To: 29jm/SnowflakeOS @.> Subject: Re: [29jm/SnowflakeOS] DOOM startup failure (#31)

I was running on qemu-system-x86_64, and I am using the default master branch that shows upon opening the page. The ISO I downloaded from the releases section (v0.7) worked fine. I am learning to develop operating systems, so the pre-compiled ISO is not of much use to me. Your operating system inspired me, and I would really like to see it functioning when built from source.


From: Johan Manuel @.> Sent: Wednesday, March 24, 2021 4:46 AM To: 29jm/SnowflakeOS @.> Cc: Ilari, Ryan Nathaniel @.>; Manual @.> Subject: Re: [29jm/SnowflakeOS] DOOM startup failure (#31)

[EXTERNAL EMAIL - Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.]

Hi! Thanks for the report. To be sure, are you using the commit tagged v0.7 (59ddb6fhttps://github.com/29jm/SnowflakeOS/commit/59ddb6ff711f3bf5232e996d19fd640e548778be) or the latest master (d0d1eb1https://github.com/29jm/SnowflakeOS/commit/d0d1eb10bf9af33f2fcde93de4719b8ff4015ddf) ? 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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/29jm/SnowflakeOS/issues/31#issuecomment-805615555, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANPNOPZIFWU54W7445VSW6DTFGRFFANCNFSM4ZVZLQPA.

29jm commented 3 years ago

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 commented 3 years ago

Sure, as soon as I can. But it may be a while before I am able to. Thanks!


From: Johan Manuel @.> Sent: Friday, March 26, 2021 3:56 AM To: 29jm/SnowflakeOS @.> Cc: Ilari, Ryan Nathaniel @.>; Manual @.> Subject: Re: [29jm/SnowflakeOS] DOOM startup failure (#31)

[EXTERNAL EMAIL - Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.]

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 yhe 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) ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/29jm/SnowflakeOS/issues/31#issuecomment-808017087, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANPNOP45J6T46BXWXRW6UDLTFQ437ANCNFSM4ZVZLQPA.

google0101-ryan commented 3 years ago

SnowflakeOS.zip

29jm commented 3 years ago

Thanks a bunch!