stardustos icon indicating copy to clipboard operation
stardustos copied to clipboard

[newland] processes not working

Open RossComputerGuy opened this issue 5 years ago • 6 comments

RossComputerGuy avatar Nov 11 '19 02:11 RossComputerGuy

Values that aren't stored correctly:

  • TTY name
  • PID
  • Page directory
  • Process name
  • PWD
  • Entry

RossComputerGuy avatar Nov 11 '19 06:11 RossComputerGuy

Issue may be caused by the proc_create function. Will look into it.

RossComputerGuy avatar Nov 15 '19 02:11 RossComputerGuy

Through more debugging, restoring the interrupts could be what is causing the issue.

RossComputerGuy avatar Nov 15 '19 04:11 RossComputerGuy

Issue still persists

RossComputerGuy avatar Nov 15 '19 17:11 RossComputerGuy

image Restoring the IRQ's is the result of the issue

RossComputerGuy avatar Nov 15 '19 22:11 RossComputerGuy

Currently gets stuck when loading the init program:

250			r = fs_node_read(&node, hdr.phoff + (hdr.phentsize * i), &prog, sizeof(elf_program_t));
(gdb) step
fs_node_read (nodeptr=0x121244, offset=244, buff=0x1211e4, size=32) at /home/ross/stardustos/newland/src/fs.c:29
29		fs_node_t* node = *nodeptr;
(gdb) finish
Run till exit from #0  fs_node_read (nodeptr=0x121244, offset=244, buff=0x1211e4, size=32) at /home/ross/stardustos/newland/src/fs.c:29

RossComputerGuy avatar Nov 18 '19 04:11 RossComputerGuy