From owner-freebsd-current@FreeBSD.ORG Fri Jan 20 02:56:18 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BA1A16A41F for ; Fri, 20 Jan 2006 02:56:18 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30C2F43D46 for ; Fri, 20 Jan 2006 02:56:18 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.17.229]) ([10.251.17.229]) by a50.ironport.com with ESMTP; 19 Jan 2006 18:56:18 -0800 X-IronPort-Anti-Spam-Filtered: true Message-ID: <43D05151.5070409@elischer.org> Date: Thu, 19 Jan 2006 18:56:17 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: kernel thread as real threads.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 02:56:18 -0000 some progrsss.. as the first few lines show, it's not quite perfect yet but it's most of the way there.. (Like proc 1 isn't init) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! panic: blockable sleep lock (sleep mutex) buffer daemon lock @ /usr/src/sys/kern/vfs_bio.c:2048 cpuid = 2 KDB: enter: panic [thread pid 0 tid 100051 ] Stopped at kdb_enter+0x2b: nop db> ps pid proc uid ppid pgrp flag stat wmesg wchan cmd 1 c7cb1000 0 0 0 0000200 [SLPQ g_waitidle 0xc07239ec][SLP] swapper 0 c0723c40 0 0 0 0000288 (threaded) swapper thread 0xc7d6a340 ksegrp 0xc7cb0960 [RUNQ] schedcpu thread 0xc7d6a4e0 ksegrp 0xc7cb09c0 [RUNQ] nfsiod 3 thread 0xc7d6a680 ksegrp 0xc7cb0a20 [RUNQ] nfsiod 2 thread 0xc7d6a820 ksegrp 0xc7cb0a80 [RUNQ] nfsiod 1 thread 0xc7d6a9c0 ksegrp 0xc7cb0ae0 [CPU 3] nfsiod 0 thread 0xc7d6ab60 ksegrp 0xc7cb0b40 [CPU 1] syncer thread 0xc7d6ad00 ksegrp 0xc7cb0ba0 [CPU 0] vnlru thread 0xc7e42000 ksegrp 0xc7cb0c00 [CPU 2] bufdaemon thread 0xc7e421a0 ksegrp 0xc7cb0c60 [RUNQ] pagezero thread 0xc7e42340 ksegrp 0xc7cb0cc0 [SLPQ psleep 0xc077f79c][SLP] vmdaemon thread 0xc7e424e0 ksegrp 0xc7cb0d20 [SLPQ psleep 0xc077f75c][SLP] pagedaemon thread 0xc7e42680 ksegrp 0xc7cb0d80 [IWAIT] swi0: sio thread 0xc7e42820 ksegrp 0xc7cb0de0 [IWAIT] irq12: psm0 thread 0xc7d009c0 ksegrp 0xc7cb0e40 [IWAIT] irq1: atkbd0 thread 0xc7d00b60 ksegrp 0xc7cb0ea0 [SLPQ fdcrst 0xc7cfce00][SLP] fdc0 thread 0xc7d00d00 ksegrp 0xc7dd9000 [IWAIT] irq20: fxp0 thread 0xc7d69000 ksegrp 0xc7dd9060 [IWAIT] irq29: bge1 thread 0xc7d691a0 ksegrp 0xc7dd90c0 [IWAIT] irq28: bge0 thread 0xc7d69340 ksegrp 0xc7caf000 [SLPQ aifthd 0xc7d69340][SLP] aac0aif thread 0xc7d694e0 ksegrp 0xc7caf060 [SLPQ usbtsk 0xc0723404][SLP] usbtask thread 0xc7d69680 ksegrp 0xc7caf0c0 [SLPQ usbdly 0xe82ebcf4][SLP] usb0 thread 0xc7d69820 ksegrp 0xc7caf120 [IWAIT] irq5: ohci0 thread 0xc7d699c0 ksegrp 0xc7caf180 [IWAIT] irq15: ata1 thread 0xc7d69b60 ksegrp 0xc7caf1e0 [IWAIT] irq14: ata0 thread 0xc7d69d00 ksegrp 0xc7caf240 [IWAIT] irq9: acpi0 thread 0xc7d6a000 ksegrp 0xc7caf2a0 [IWAIT] swi5: + thread 0xc7cb24e0 ksegrp 0xc7caf300 [SLPQ - 0xc7d68200][SLP] thread taskq thread 0xc7cb2680 ksegrp 0xc7caf360 [SLPQ - 0xc7d68280][SLP] acpi_task_2 thread 0xc7cb2820 ksegrp 0xc7caf3c0 [SLPQ - 0xc7d68280][SLP] acpi_task_1 thread 0xc7cb29c0 ksegrp 0xc7caf420 [SLPQ - 0xc7d68280][SLP] acpi_task_0 thread 0xc7cb2b60 ksegrp 0xc7caf480 [IWAIT] swi6: Giant taskq thread 0xc7cb2d00 ksegrp 0xc7caf4e0 [IWAIT] swi6: task queue thread 0xc7d00000 ksegrp 0xc7caf540 [SLPQ - 0xc7d68500][SLP] kqueue taskq thread 0xc7d001a0 ksegrp 0xc7caf5a0 [IWAIT] swi2: cambio thread 0xc7d00340 ksegrp 0xc7caf600 [SLPQ - 0xc0721400][SLP] yarrow thread 0xc7d004e0 ksegrp 0xc7caf660 [SLPQ - 0xc0723b3c][SLP] g_down thread 0xc7d00680 ksegrp 0xc7caf6c0 [SLPQ - 0xc0723b38][SLP] g_up thread 0xc7d00820 ksegrp 0xc7caf720 [SLPQ fdwait 0xc7e47a00][SLP] g_event thread 0xc7cae1a0 ksegrp 0xc7caf780 [IWAIT] swi3: vm thread 0xc7cae340 ksegrp 0xc7caf7e0 [IWAIT] swi4: clock sio thread 0xc7cae4e0 ksegrp 0xc7caf840 [IWAIT] swi1: net thread 0xc7cae680 ksegrp 0xc7caf8a0 [Can run] idle: cpu0 thread 0xc7cae820 ksegrp 0xc7caf900 [Can run] idle: cpu1 thread 0xc7cae9c0 ksegrp 0xc7caf960 [Can run] idle: cpu2 thread 0xc7caeb60 ksegrp 0xc7caf9c0 [Can run] idle: cpu3 thread 0xc0723e80 ksegrp 0xc0723be0 [IWAIT] db>