Use of printf's inside a kernel thread

Patrick Mahan mahan at mahan.org
Thu Jul 15 21:52:35 UTC 2010


Just wondering if there is some constraints to using printf() calls
inside a kernel thread (created by kthread_create()).  I'm currently
trying to debug a worker thread but the printf's are coming out
garbled.  Not entirely sure why this could be occurring.

OS: FreeBSD 7.3 on an Intel Xeon with 8 Gbytes of memory.

Any ideas?

Thanks,

Patrick


More information about the freebsd-hackers mailing list