In a move to support real krenel threads doing work in the kernel, the code that creates kerel processes has been renamed kthread_xxx to kproc_xxx teh following ports seem to reference the renamed functions in kld modules they create. I'm not a ports export so I'm not sure how to get a port to change it's behaviour in 8.0 as opposed to 7.0.... these are the ports (in fact the lines in the ports) that will fail at this time.. # find . -name "*.[ch]" |xargs grep kthread ./audio/emu10kx/work/emu10kx-2005-10-21/emu10kx-dev.c:#include <sys/kthread.h> not sure why this is needed as it doesn;t seem to use it.. ./devel/sdl12/work/SDL-1.2.11/src/thread/dc/SDL_systhread_c.h:typedef struct kthread* SYS_ThreadHandle; seems to be a namespace collision. ./emulators/snespp/work/snespp-1.0/snespp.c:#include <sys/kthread.h> ./emulators/snespp/work/snespp-1.0/snespp.c:/* kthread to poll the controllers. ./emulators/snespp/work/snespp-1.0/snespp.c: kthread_exit(error); ./emulators/snespp/work/snespp-1.0/snespp.c: kthread_suspend_check(snespp_eventq_proc); ./emulators/snespp/work/snespp-1.0/snespp.c: kthread_exit(0); ./emulators/snespp/work/snespp-1.0/snespp.c: error = kthread_create(snespp_updateeventq, (void *)sc, ./emulators/snespp/work/snespp-1.0/snespp.c: device_printf(sc->device, "timeout on eventq kthread.\n"); snespp seems to really need some of the entries replaced.. ./misc/zaptel/work/zaptel-bsd-1.4.6/wcfxs/wcfxs.c:#include <sys/kthread.h> ./misc/zaptel/work/zaptel-bsd-1.4.6/wcfxs/wcfxs.c: /* struct proc *kthread; */ ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c:#include <sys/kthread.h> ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c:static struct proc *kthread; ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c:static int kthread_must_exit; ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: wakeup(kthread); ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: if (kthread_must_exit) { ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: kthread_exit(0); ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: tsleep(kthread, PZERO, "waitdata", 10); ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: kthread_must_exit = 0; ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: if (kthread_create(selwakeup_thread_handler, (void *)toselwakeup, &kthread, 0, 0, "zt_selwakeup_thread")) ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: printf("Failed to create kthread\n"); ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: if (kthread) { ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: kthread_must_exit = 1; ./misc/zaptel/work/zaptel-bsd-1.4.6/zaptel/zaptel.c: wakeup(kthread); zaptel seems real. needs to be handled. ./net/p54u/work/p54u-0.8/driver/devnode.c:#include <sys/kthread.h> this seems unused.. I'm not sure how I go about patching these two ports to handle the kthread->kproc for 8.0 rename. Any help appreciated. julianReceived on Sun Oct 21 2007 - 13:35:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC