Hi,
I have minix 3.3.0, and want to create new server, like ds.
Let's say my new server called BS
I do next steps :
1. PATH : /usr/src/minix/servers
cp -r ds bs
2. PATH: /usr/src/minix/servers/bs/Makefile
PROG= bs
3. PATH /usr/src/minix/servers/Makefile
SUBDIR+= ds input pm rs sched vfs vm bs
4. PATH /usr/src/minix/kernel/table.c
{PFS_PROC_NR, "pfs" },
{BS_PROC_NR, "bs" },
{INIT_PROC_NR, "init" },
5. PATH /usr/src/minix/include/minix/com.h
#define PFS_PROC_NR ((endpoint_t) 9)
#define BS_PROC_NR ((endpoint_t) 10)
#define LAST_SPECIAL_PROC_NR 11
6. PATH /usr/src/minix/servers/rs/table.c
{PFS_PROC_NR, "pfs", SRV_F },
{BS_PROC_NR, "bs", SRV_F },
{INIT_PROC_NR, "init", USR_F },
7. PATH /usr/src/releasetools/Makefile
PROGRAMS+= ${PROGROOT}/minix/fs/pfs/pfs
PROGRAMS+= ${PROGROOT}/minix/servers/bs/bs
PROGRAMS+= ${PROGROOT}/sbin/init/init
8. PATH /usr/src/releasetools
make hdboot
than reboot from root
After reboot, there is error :
Started VFS: 9 worker thread(s)
rs(2): panic: unable to get pid: -3
syslib:panic.c: stacktrace: 0x8051e4f 0x8049248 0x8051425 0x805176a 0x80487ec 0x8048273 0x8048198
rs 2 0xf1001339 0x8051fc7 0x8051c60 0x80519ab 0x8051e60 0x8049248 0x8051425 0x805176a 0x80487ec 0x8048273 0x8048198
kernel panic: cause_sig: sig manager 2 gets lethal signal 6 for itself
kernel on CPU 0: 0xf042abcc 0xf042a099 0xf042b29c 0xf0420dcf 0xf0429d5e 0xf0419d85
System has panicked, press any key to reboot
Can you please tell me, what is wrong here, or what I have to do, to fix this, which file to edit etc..
Thank you!