Re: Kernel crash w/o reason

2004-12-24 Thread Jan Engelhardt
a structure on initialization, so as to >avoid initializing again. And where do I do that? Do you mean in the struct cdevsw? Jan Engelhardt -- ENOSPC ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: Kernel crash w/o reason

2004-12-24 Thread Jan Engelhardt
>> What should I use instead? A semaphore? >You shouldn't have unrelated kernel threads waiting for a user >process at all, so this sounds like a design problem, regardless >of which mutual exclusion primitive you use. (Bear in mind that I >haven't actually looked into what you're trying to do.)

Re: Kernel crash w/o reason

2004-12-23 Thread Jan Engelhardt
. >4) Why on earth do you use gmake? What's wrong with bsd.*.mk? It's a whole lot >easier. Because non-BSD (read: Linux, MINGW/MSYS and Cygwin) do not ship BSD make. And of course, that I got to GNU make first and had few joy to learn another make syntax. Jan Engelhardt

Kernel crash w/o reason

2004-12-23 Thread Jan Engelhardt
o find the shortest codepiece showing the problem. Well, you can retrieve the short prog at http://linux01.org/~jengelh/BUG.tbz2 Both files (rpldev.c and rpld.c) seem perfectly fine, but ... see rpld.c for the details of the crash. Hope someone can shed some light on this. Thanks, Jan Engelhardt