From owner-freebsd-current@FreeBSD.ORG Wed Dec 3 09:51:37 2003 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 D7EEB16A4CE for ; Wed, 3 Dec 2003 09:51:37 -0800 (PST) Received: from zxy.spb.ru (zxy.spb.ru [194.58.105.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CAEA43FDD for ; Wed, 3 Dec 2003 09:51:35 -0800 (PST) (envelope-from slw@zxy.spb.ru) Received: from mail.acropolis.ru (office.acropolis.ru [195.239.136.194] (may be forged)) by zxy.spb.ru (8.12.9/8.12.9) with ESMTP id hB3HpW58055214 for ; Wed, 3 Dec 2003 20:51:33 +0300 (MSK) (envelope-from slw@zxy.spb.ru) Received: from mail.acropolis.ru (localhost.office.acropolis.ru [127.0.0.1]) by mail.acropolis.ru (8.12.9p2/8.12.9) with ESMTP id hB3HpUgO002927 for ; Wed, 3 Dec 2003 20:51:30 +0300 (MSK) (envelope-from slw@zxy.spb.ru) Received: (from slw@localhost) by mail.acropolis.ru (8.12.9p2/8.12.9/Submit) id hB3HpUtZ002926 for freebsd-current@freebsd.org; Wed, 3 Dec 2003 20:51:30 +0300 (MSK) (envelope-from slw@zxy.spb.ru) X-Authentication-Warning: mail.acropolis.ru: slw set sender to slw@zxy.spb.ru using -f Date: Wed, 3 Dec 2003 20:51:30 +0300 From: Slawa Olhovchenkov To: freebsd-current@freebsd.org Message-ID: <20031203175130.GA2786@mail.acropolis.ru> Mail-Followup-To: freebsd-current@freebsd.org References: <200312031419.hB3EJTT3004151@green.bikeshed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-4.9 required=15.0 tests=BAYES_00 autolearn=ham version=2.60-rc3 X-Spam-Checker-Version: SpamAssassin 2.60-rc3 (1.202-2003-08-29-exp) on mail.acropolis.ru Subject: Re: A page fault in subr_turnstile.c:propogate_priority() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 03 Dec 2003 17:51:38 -0000 On Wed, Dec 03, 2003 at 05:43:13PM +0300, Igor Sysoev wrote: > panic: page fault > panic messages: > --- > Fatal trap 12: page fault while in kernel mode > cpuid = 2; apic id = 02 > fault virtual address = 0xe5 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc053f197 > stack pointer = 0x10:0xe3c21c80 > frame pointer = 0x10:0xe3c21ca0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 42 (irq29: ahd0) > trap number = 12 > panic: page fault > cpuid = 2; > boot() called on cpu#2 > > syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a queue > cpuid = 2; > boot() called on cpu#2 > Uptime: 1d2h4m15s > Dumping 2047 MB > jmp 0xc053f2b2 > 0xc053f187 : cmp (%edi),%ebx > 0xc053f189 : > je 0xc053f290 > 0xc053f18f : mov 0x24(%ebx),%eax > 0xc053f192 : mov 0x4(%eax),%eax > 0xc053f195 : mov (%eax),%edx > > [ FAULT ] > /usr/src/sys/kern/subr_turnstile.c:256 td1 = TAILQ_PREV(td, threadqueue, td_lockq); if (td1->td_priority <= pri) { mtx_unlock_spin(&tc->tc_lock); continue; } > 0xc053f197 : movzbl 0xe5(%edx),%eax > 0xc053f19e : cmp 0xfffffff0(%ebp),%eax > 0xc053f1a1 : > jle 0xc053f290 > 0xc053f1a7 : call 0xc051e650 > 0xc053f1ac : mov %fs:0x0,%edx > 0xc053f1b3 : mov $0x4,%eax > 0xc053f1b8 : lock cmpxchg %edx,0xc06ac7fc > 0xc053f1c0 : sete %al > 0xc053f1c3 : movzbl %al,%eax > 0xc053f1c6 : test %eax,%eax > 0xc053f1c8 : > jne 0xc053f210 > 0xc053f1ca : mov %fs:0x0,%edx -- Slawa Olhovchenkov