Index: generic/src/main/kinit.c
===================================================================
--- generic/src/main/kinit.c	(revision b7dcabb5c2118ec7d9e0680db5929cb212188518)
+++ generic/src/main/kinit.c	(revision 5fceec785d6aac1ee91264d9b49d5b564cf108af)
@@ -81,5 +81,5 @@
 		 * Just a beautification.
 		 */
-		if ((t = thread_create(kmp, NULL, TASK, 0))) {
+		if ((t = thread_create(kmp, NULL, TASK, 0, "kmp"))) {
 			spinlock_lock(&t->lock);
 			t->flags |= X_WIRED;
@@ -106,5 +106,5 @@
 		for (i = 0; i < config.cpu_count; i++) {
 
-			if ((t = thread_create(kcpulb, NULL, TASK, 0))) {
+			if ((t = thread_create(kcpulb, NULL, TASK, 0, "kcpulb"))) {
 				spinlock_lock(&t->lock);			
 				t->flags |= X_WIRED;
@@ -127,5 +127,5 @@
 	 * Create kernel console.
 	 */
-	if ((t = thread_create(kconsole, "kconsole", TASK, 0)))
+	if ((t = thread_create(kconsole, "kconsole", TASK, 0, "kconsole")))
 		thread_ready(t);
 	else
@@ -143,5 +143,5 @@
 			panic("init[%d].addr is not frame aligned", i);
 
-		utask = task_run_program((void *) init.tasks[i].addr);
+		utask = task_run_program((void *) init.tasks[i].addr, "USPACE");
 		if (utask) {
 			if (!ipc_phone_0) 
