kern/68066: recent kernel cannot boot on pc98 with ata disks

NAKAJI Hiroyuki nakaji at tutrp.tut.ac.jp
Mon Jun 28 07:42:35 PDT 2004


I found this change is enough,

Index: ata-queue.c
===================================================================
RCS file: /net/pcat/home/ncvs/src/sys/dev/ata/ata-queue.c,v
retrieving revision 1.29
diff -u -u -r1.29 ata-queue.c
--- ata-queue.c	1 Jun 2004 12:26:08 -0000	1.29
+++ ata-queue.c	22 Jun 2004 23:38:57 -0000
@@ -219,7 +219,7 @@
 	    bio_taskqueue(request->bio, (bio_task_t *)ata_completed, request);
 	else {
 	    TASK_INIT(&request->task, 0, ata_completed, request);
-	    taskqueue_enqueue(taskqueue_thread, &request->task);
+	    taskqueue_enqueue(taskqueue_swi, &request->task);
 	}
     }
 }

But what is the difference between taskqueue_thread() and
taskqueue_swi()? And why taskqueue_thread() causes error?

Anyway I'm live with newer kernel and userland now.

$ uname -a
FreeBSD xa12.heimat.gr.jp 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Jun 27 20:52:34 JST 2004     root at xa12.heimat.gr.jp:/usr/obj/home/nakaji/FreeBSD-PC98/src/sys/NAKAJI  i386
-- 
NAKAJI Hiroyuki


More information about the freebsd-bugs mailing list