On Thu, Jul 4, 2024 at 4:44 PM Marco Feichtinger <ma...@germteig.com> wrote: > > Trying to compile a kernel on a local fossil machine, > I get following errors during the build > rc: 1844: suicide: sys: trap: fault read addr=0x965708 pc=0x0000b5d9 > mk: 8c -I../boot -FTVw ../boot/printstub.c : exit status=rc 1844: > suicide: sys: trap: fault read addr=0x965708 pc=0x0000b5d9 > > At the same time /dev/kprint outputs > 1844 rc: checked 20 page table entries > > Every time i retried to compile, that error comes up, but on different steps > during the build. > It even happens during 'mk clean'. > > One time i even got > rc 1148: suicide: sys: trap: general protection violation > pc=0x0000744c > mk: 8c -I../boot -FTVw ../port/print.c: exit status=rc 1148: suicide: > sys: trap: general protection violation pc=0x0000744c > > What do these error mean? > > -marco >
Inspecting the process in the debugger might be insightful. The Debugging section of https://9p.io/sys/doc/comp.pdf demonstrates how to do it, and the error message exemplified is very similar to what you got. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T68f44cf88ca61ff3-Mfb345e61d3b891c4ee4ba725 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription