Questions tagged [minix]

is a Unix-like computer operating system based on a microkernel architecture created by Andrew S. Tanenbaum for educational purposes.

MINIX is a Unix-like computer operating system based on a microkernel architecture created by Andrew S. Tanenbaum for educational purposes; MINIX also inspired the creation of the Linux kernel.

MINIX (from "mini-Unix") was first released in 1987, with its complete source code made available to universities for study in courses and research. It has been free and open source software since it was re-licensed under the BSD license in April 2000.

Sizeable subset of Minix source code is also published in the book by its creator Design and Implementation of Operating Systems.

230 questions
0
votes
1 answer

C - Unable to get shmget/shmat to compile

I'm pulling out my hair trying to figure out why this isn't working on my Minix system. When I try to compile my C program, I get the following error: #make link pm/pm program.o: In function `do_function': program.c:(.text+0x1e): undefined…
404 Not Found
  • 3,635
  • 2
  • 28
  • 34
0
votes
2 answers

How to wait inside a system call in Minix 3

I need to implement a system call inside minix that waits until some condition is true before it returns. However, I am finding that simply trying something like while (var != desired_value) { // wait } does not work because while it does…
0
votes
1 answer

VirtualBox Minix3 panic

Have googled, search reports, that such error could be if virtualization is disabled on PC. I've checked in BIOS config, it's enabled. My CPU is Core i3.
Secret
  • 2,627
  • 7
  • 32
  • 46
0
votes
0 answers

Minix - Creating a stack trace in C

This is using Minix (http://www.minix3.org). For a project for Uni, I am creating a stacktrace using an fkey. I have access to the process table and I am printing the Process Counter, the Stack Pointer and the Base Pointer. Now, I am stuck - I need…
Sam P
  • 453
  • 6
  • 19
0
votes
1 answer

Minix3 read only issue

I would just like to know is there a way you can overwrite the main.c file in the kernel folder (dir /usr/src/kernel/main.c) in MINIX 3. I want to change some code in the file (I know the risks involved) but the problem is I can't save it. I've…
Muppet
  • 356
  • 1
  • 4
  • 14
0
votes
1 answer

SYSTEM: denied request 44 in Minix

I get "SYSTEM: denied request 44 from 109894" when trying to execute my own code in Minix 3.2. I typed over the code and the makefile so there could be some typos. The program compiles fine however. My c file: #include #include…
RobotRock
  • 4,211
  • 6
  • 46
  • 86
0
votes
1 answer

GCC Linker error presumably

I am getting the following error: I am following this tutorial: http://wiki.minix3.org/en/DevelopersGuide/DriverProgramming This is my makefile: My code is on pastebin: http://pastebin.com/Jtn2cEsW http://pastebin.com/YrpKh32m Edit: Changing LPADD…
RobotRock
  • 4,211
  • 6
  • 46
  • 86
0
votes
1 answer

Sending message from Driver to TTY in MINIX 3.2

I'm trying to read input from the user and in the case the g is pressed I output "Done" while when any other button is pressed the terminal works normally. What I have now is that it does print done when g is pressed but I can't pass the message to…
Diaa
  • 869
  • 3
  • 7
  • 19
0
votes
1 answer

How do I make a C program executable on the command line in Minix 3?

I need to make a program, ioloop.c, which takes two command line parameters that determine the number of iterations of two nested for loops. The inner loop performs a more time-consuming function, such as a trig function. The outer loop first…
Garrison_Laforge
  • 137
  • 2
  • 10
-1
votes
1 answer

Entry point of Minix's processes

I'm studying Operating Systems and, of course, Minix 3. Can someone tell me which file and line of code in Minix 3 are the entry points of: Kernel; Process Manager; Memory Manager; Virtual Memory Manager; Any Device Driver. Any of above will help…
-1
votes
1 answer

Unknown type name 'EXTERN' error Minix

Working on a project for class and I am getting an unknown type name 'EXTERN' error. I am creating system calls (which later will be accessed by library calls). For some reason, I cannot figure out why my mproc.h file is not cooperating when I try…
-1
votes
1 answer

How to build a kernel in Minix 3?

Please someone explain complete step by step procedure of building of a kernel in Minix 3. Thanks
jeevan
  • 81
  • 2
  • 6
-1
votes
1 answer

Weird directory created after executing mkdir after fork in Minix (USER=root)

I'm busy coding a simple terminal in C on Minix 3.1. Simple commands such as touch a.txtor date is working perfectly. But when I make a directory such as mkdir test it creates a directory called USER=root and when I try create another one it says…
Gordy
  • 15
  • 5
-1
votes
1 answer

How do I output execvp on a single line?

I need help, i am trying to create a shell in minix3, and i want to create my own "ls" command, so at the moment i am using the execvp command. The only problem is that i would like it to all output on a single line, instead of each directory on…
-1
votes
1 answer

bad include syntax Error in minix

#include #include int mq_close(int queue) { message m; m.m3_i1= queue; return (_syscall(PM_PROC_NR,MQ_CLOSE,&m)); } While I am updating my libraries in minix I am getting this error "bad include syntax error".. Help…
1 2 3
15
16