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

Can't start MINIX 3.2.1 in VmWare?

I try to start MINIX in VmWare, however, there it is stucked in "Started VFS:8 worker thread(s)" I don't know why? does anyone have the problem? Normal boot process continues with mounting /dev/c0d0p0s0..2
fhlkm
  • 333
  • 1
  • 6
  • 14
0
votes
1 answer

Adding a new Kernel Call in Minix 3

I have been trying to write a kernel call in Minix 3. I looked at the developer's guide and tried doing it, but came across an error in step 9. # make /usr/src/${MACHINE_ARCH} install ===> tools install ===> lib install ===> lib/csu install…
Madhura Das
  • 31
  • 1
  • 3
0
votes
1 answer

Need to have users in multiple protection groups

I have a project that I'm doing for my OS class and there's a part of it that has me a bit stumped: Have at least 3 different ordinary users on your system, and at least three different protection groups, with each protection group consisting of…
jocab_w
  • 33
  • 5
0
votes
0 answers

Minix 3 Number of processes

I'm working in a Unix-Like Kernel called Minix 3. I am having some trouble creating a function within the kernel that will allow me to output the number of processes being run. This is my code I have so far: PUBLIC void numproc_dmp() { …
Gamme40
  • 33
  • 6
0
votes
1 answer

Compiling MINIX kernel

I downloaded Minix 3 yesterday so that I could play around with an operating system and learn a bit more about its performance. After installation, when I had not made a single change to anything, I thought it would be a good idea to see if the…
0
votes
1 answer

MINIX stripped down shell example

I came across a stripped down shell program in Tannenbaum's book on MINIX. while(1) { read_command(command, parameters); if (fork() != 0) wait(&status); /* parent code */ } else { execve(command, parameters, 0); /* child code…
0
votes
1 answer

Mtools not found on Minix 3.2.1

I can't use the mtools command on Minix 3.2.1, i tried installing all the packages whit pkgin-all but didnt work, still saying mtools: not found when trying to use it How can I install it?
Jadelabe
  • 37
  • 8
0
votes
1 answer

undefined reference.. linker command failed with exit code 1

I want to create a shell file using the c language programming. I have this scheleton given already by the professor, but wen I try to executed I have this error and I have this problem the myshell.c file (and this file is the one that I have to…
user3340449
  • 15
  • 1
  • 7
0
votes
1 answer

How can I get the output of ls

How can I get the output of ls? I want to add a indirection operator =>, and it's function is same as >, it means in the command line $ls => Files, the list of files in the directory is stored in the file Files
0
votes
1 answer

Minix 3 TTY incoming character to int

Please refer to the following code snippet, I will be referring to the line numbers on it: https://gist.github.com/wilbertcr/474c6a13e377dc8ce51a As you can see on line 172-200, I created a modified version of the original back_over function, which…
0
votes
1 answer

Creating Makefile that compiles multiple C files for use in Minix

I am trying to create a Makefile that compiles multiple C files for use in Minix. How would I change the Makefile so that it compiles multiple files at the same time? Below is the current state of my Makefile. CFLAGS = -D_POSIX_SOURCE LDFLAGS = CC …
johns4ta
  • 886
  • 2
  • 12
  • 38
0
votes
1 answer

What functions are involved in minix 3's echo

I'd like to understand what actual files and functions are used in minix 3s echo function.The actual function that is called in the console.
0
votes
3 answers

Function missing from proc.c in minix 3

I installed minix 3 on vmware player and i'm trying to find a function which as i read is in /usr/src/kernel in file "proc.c". The function is called sched(). It should be between this 2 functions: …
Pch
  • 41
  • 1
  • 6
0
votes
1 answer

Trying compiling in minix3

I'm using minix3 on VMware Player and i'm having trouble compiling a system call. I actually tried to see if i can add a simple command in a system call just to see that working and i put a simple printf("my message"); in protect.c file which it is…
Pch
  • 41
  • 1
  • 6
0
votes
1 answer

In terminal driver keyboard.c of minix3, why does the ibuf exist?

《Operating systems design and oragnization》3rd, page 351. The keyboard interrupt service routine is kbd_interrupt (line 15335), called whenever a key is pressed or released. It calls scode to get the scan code from the keyboard controller chip. ...…
ling
  • 11