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

How to modify a certain system call in minix 3.2.1?

I'm new at minix 3.2.1 and I'd like to change a certain system call and its output. For example when I type mkdir Newdirectory, I want to see in the screen New dir -> myNewDirectory 755 (755 stands for the access rights). How could I achieve this?
Georgia
  • 9
  • 1
0
votes
0 answers

Accessing system call from within a new created system call

I'm working on Minix 3. I'm implementing a new system call called do_identify that returns either the id of the current process or the parent process. Here's the definition of the system call under /usr/src/servers/pm/misc.c and it's library, which…
Lewis Rodriguez
  • 23
  • 1
  • 2
  • 7
0
votes
0 answers

Minix won't boot because of SDL

I have tried literally everything that I was able to find in google and stackoverflow but I am still getting this error message. I use Linux Mint 17.3 Cinnamon and I have downloaded latest version of SDL - 2.0.4 but my Minix still won't…
wieczorekm
  • 158
  • 2
  • 9
0
votes
0 answers

How to choose sun_path using minix3 VM as server and Ubuntu as client? (Unix Domain Sockets)

So, I have created a socket using C programming. I created the server inside /usr/src/server/pm as server.c in Minix3 VM and the client under /usr/Desktop as client.c in the host OS which is an Ubuntu machine. I'm facing the problem of selecting the…
Lewis Rodriguez
  • 23
  • 1
  • 2
  • 7
0
votes
1 answer

Implementing Minix 3.3 system call as libc library call

I've been following this tutorial to create a system call in Minix. http://homepages.cs.ncl.ac.uk/nick.cook/csc2025/minix/syscall-exercise1.html I can use the system call correctly when I use _syscall and now I would like to create a libc library…
SpyMachine
  • 470
  • 1
  • 7
  • 17
0
votes
1 answer

F4 function key in minix 3.1.3

how to test F4 function key for process table printing in minix 3.1.3 installed in virtual box? After rebooting and login , when i press F4 key , project window in my PC opens . I haven't modified kernel till now. Can someone tell me how to test…
skr
  • 127
  • 2
  • 16
0
votes
0 answers

Creating system call in Minix3

I have a problem about system call in minix3.I have to create a system call which is called "deneme" and when i execute this system call, it should print the content of top command (for example. PID,usernama,size ..). Can anyone prepare a list for…
0
votes
1 answer

Unable to update pkgin database in minix

I'm trying to update pkgin database with pkgin update command but i'm getting following error. Unable to fetch pkg_summary.gz
M Tauqeer
  • 348
  • 2
  • 13
0
votes
1 answer

-fopenmp is not recognized by the GCC Compiler?

I want to use -fopenmp in MINX 3, and when I write down the command: gcc -fopenmp test.c -o test.out it shows me this error: cc1: error: unrecognized command line option "-fopenmp" the GCC version of Minix 3 that i am using is GCC 4.1.1. I have to…
user3774470
  • 29
  • 2
  • 10
0
votes
1 answer

Why does double not work in MINIX 3?

I am working on MINIX 3. I changed the process scheduler and I want to do some testing there now. The problem is that when I want to use double I am getting an error. The interesting part is that if I declare and initialize a double variable in the…
user3774470
  • 29
  • 2
  • 10
0
votes
0 answers

Message passing in Minix3

I need to write a simple application that sends messages between two processes in Minix. I need some guidance on how to do this. I checked the Minix documentation and it says that only sendrec(src_dst, &message); can be used to send messages and…
Elsban
  • 1,187
  • 2
  • 13
  • 24
0
votes
1 answer

clang: error: linker command failed with exit code 1 (use -v to see invocation) MINIX3

I am trying to run a C/C++ application on MINIX3 which is supposed to send a messages between two processes using msgsnd() and msgget() using msg.h. This is the error I am getting: send.cpp:(.text+0x7f): undefined reference to…
Elsban
  • 1,187
  • 2
  • 13
  • 24
0
votes
1 answer

How to compile the directory /usr/src/kernel/system in MINIX 3?

I am working in MINIX 3.1.6, and currently I am changing a little thing in do_fork.C class which is located int /usr/src/kernel/system. Usually to compile the files in Kernel folder, is use make install in the kernel directory, and then make…
user3774470
  • 29
  • 2
  • 10
0
votes
0 answers

Minix round robin scheduling with time quanta allocation - how should expected results look like?

I'm supposed to implement a scheduling algorithm for Minix. It should be round robin (which is actually already implemented in Minix 2), but with a little trick: every process should be given a "priority" or "category" 0, 1 or 2 and: processes with…
paolostyle
  • 1,849
  • 14
  • 17
0
votes
3 answers

Search function in minix 3.1

I've been trying to implement a search function in minix that will look for a file in the current or subdirectories and print the path. So far my code compiles without fail but it returns only a couple weird ascii characters for some reason, any…
Shockwave
  • 27
  • 5