From owner-freebsd-current@FreeBSD.ORG Mon Jul 19 08:15:22 2004 Return-Path: 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 7B46E16A4CE for ; Mon, 19 Jul 2004 08:15:22 +0000 (GMT) Received: from cod.melbpc.org.au (cod.melbpc.org.au [203.12.152.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1388043D49 for ; Mon, 19 Jul 2004 08:15:21 +0000 (GMT) (envelope-from kpeter@melbpc.org.au) Received: from localhost (localhost.melbpc.org.au [127.0.0.1]) by cod.melbpc.org.au (Postfix) with ESMTP id 33C6625DC1 for ; Mon, 19 Jul 2004 18:15:20 +1000 (EST) Received: from cod.melbpc.org.au ([127.0.0.1]) by localhost (cod.melbpc.org.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 76417-08 for ; Mon, 19 Jul 2004 18:15:19 +1000 (EST) Received: from [203.12.158.69] (a1-69.melbpc.org.au [203.12.158.69]) by cod.melbpc.org.au (Postfix) with ESMTP id AD77525DC0 for ; Mon, 19 Jul 2004 18:15:18 +1000 (EST) Message-ID: <40FB8313.5050308@melbpc.org.au> Date: Mon, 19 Jul 2004 18:15:15 +1000 From: Peter Kostouros Organization: Melbourne PC User Group User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a2) Gecko/20040710 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at melbpc.org.au Subject: [panic] setrunqueue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kpeter@melbpc.org.au List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 08:15:22 -0000 Hi I received a fatal error and hope the following is useful: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x54 fault code = supervisor write, page not present instruction pointer = 0x8:0xc0545485 stack pointer = 0x10:0xe0209a8c frame pointer = 0x10:0xe0209aac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 2397 (xmms) [thread 100180] Stopped at 0xc0545485 = setrunqueue+0x1b5: movl %edi, 0x54(%edx) Trace gave the following: setrunqueue+0x1b5 sched_switch+0xa4 mi_switch+0x2af maybe_preemt+0xde sched_add_interval+0x2b2 sched_add+0x19 setrunqueue+0x1c6 turnstile_unpend+0x2e8 _mtx_unlock_sleep+0x87 _mtx_unlock_flags+0xd1 soo_write+0xb6 dofilewrite+0xcb write+0x6e syscall+0x2a0 Xint0x80_syscall+0x1f --- syscall(4, FreeBSD ELF32, write), eip = 0x2835d8cb, esp = 0xbfbfe7fc, ebp = 0xbfbfe818 Script started on Sun Jul 18 20:33:54 2004 eva# gdb6 -k kernel.debug GNU gdb 20040713 [GDB v6.x for FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-portbld-freebsd5.2"... (kgdb) l *setrunqueue+0x1b5 0xc0545485 is in setrunqueue (/mnt/cvs/FreeBSD/usr/src/sys/kern/kern_switch.c:422). 417 * put the new kse on whatever is next, 418 * which may or may not be us. 419 */ 420 td2 = TAILQ_NEXT(tda, td_runq); 421 kg->kg_last_assigned = td2; 422 td2->td_kse = ke; 423 ke->ke_thread = td2; 424 } 425 sched_add(ke->ke_thread); 426 } (kgdb) q eva# exit exit Script done on Sun Jul 18 20:41:03 2004 1. The system was built after a cvsup on 17JUL2004 (~midday) (nb, I am at GMT+10); 2. Scheduler is SCHED_ULE; 3. UP machine, no hyperthreading; 4. I have had several panics: all in an X session, some under load (building applications) others under light load (mozilla, multimedia applications). -- Regards Peter As always the organisation disavows knowledge of this email _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"