From owner-freebsd-current@FreeBSD.ORG Tue Nov 2 01:25:19 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 687DB16A4CF; Tue, 2 Nov 2004 01:25:19 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C71F43D60; Tue, 2 Nov 2004 01:25:03 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 008927A427; Mon, 1 Nov 2004 17:25:03 -0800 (PST) Message-ID: <4186E1EE.4030203@elischer.org> Date: Mon, 01 Nov 2004 17:25:02 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: "Wilkinson, Alex" References: <20041031.164710.55654061.imp@bsdimp.com> <200411011738.47830.jhb@FreeBSD.org> <20041102010204.GC63210@squash.dsto.defence.gov.au> In-Reply-To: <20041102010204.GC63210@squash.dsto.defence.gov.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: current@freebsd.org Subject: Re: Panic on boot on my Samsung Sens Pro 500 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: Tue, 02 Nov 2004 01:25:19 -0000 Wilkinson, Alex wrote: >Can you expand on the acronym MI please John.B ? > Machine Independent.. code that is for all platforms and not just the PC or alpha or pc98.. MD code is code that is only relevant for one platform. > > - aW > > 0n Mon, Nov 01, 2004 at 05:38:47PM -0500, John Baldwin wrote: > > On Sunday 31 October 2004 06:47 pm, M. Warner Losh wrote: > > # This is RELENG_5 > > > > GDB: no debug ports present > > KDB: debugger backends: ddb > > KDB: current backend: ddb > > SMAP type=01 base=0000000000000000 len=000000000009fc00 > > SMAP type=02 base=000000000009fc00 len=0000000000000400 > > SMAP type=02 base=00000000000e77e2 len=00000000000071d0 > > SMAP type=02 base=00000000000f20a8 len=000000000000df58 > > SMAP type=01 base=0000000000100000 len=0000000001700000 > > SMAP type=02 base=00000000ffff20a8 len=000000000000df58 > > Copyright (c) 1992-2004 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD 5.3-STABLE #1: Sun Oct 31 14:42:40 MST 2004 > > > > imp@paco-paco.village.org:/paco/imp/FreeBSD/5x/src/sys/i386/compile/GENERIC > > kernel trap 12 with interrupts disabled > > > > > > Fatal trap 12: page fault while in kernel mode > > fault virtual address = 0x1c > > fault code = supervisor read, page not present > > instruction pointer = 0x8:0xc0761974 > > stack pointer = 0x10:0xc0c21ba4 > > frame pointer = 0x10:0xc0c21c70 > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 0 () > > [thread 0] > > Stopped at vm_fault+0x1b0: cmpxchgl %ecx,0x1c(%edx) > > db> trace > > vm_fault(c103a000,c0f75000,1,0,c08dc560) at vm_fault+0x1b0 > > trap_pfault(c0c21cd8,0,c0f750f4) at trap_pfault+0x19f > > trap(18,10,10,c1044420,c1045780) at trap+0x315 > > calltrap() at calltrap+0x5 > > --- trap 0xc, eip = 0xc0f750f4, esp = 0xc0c21d18, ebp = 0xc0c21d44 --- > > end(c1044420,102,c0843640,c08b48f0,c26000) at 0xc0f750f4 > > uma_prealloc(c1044420,800,c0c21d84,c07655e4,c10b3000) at uma_prealloc+0x64 > > pmap_init(c10b3000,fffff000,c10b3000,c0c21d98,c05eb4c2) at pmap_init+0x67 > > vm_mem_init(0,c1ec00,c1e000,0,c043fb65) at vm_mem_init+0x38 > > mi_startup() at mi_startup+0x96 > > begin() at begin+0x2c > > db> > > > > uma_prealloc + 100 (0x64) looks like: > > > > 0xc077733a : push %edi > > 0xc077733b : call 0xc0774c78 > > 0xc0777340 : mov %eax,%ecx > > > > 0xc0f750f4 is outside of the text area (so I suspect that our stalk > > walker is a little hozed :-(. Also of interest is that I couldn't > > boot on the video console, but had to boot over serial to even get > > this far. > > > > This seems to correspond to: > > while (slabs > 0) { > > --> slab = slab_zalloc(zone, M_WAITOK); > > LIST_INSERT_HEAD(&keg->uk_free_slab, slab, us_link); > > slabs--; > > > > } > > > > But without more specific information about the zalloc, it is hard to > > know what to do. The crash is 100% repeatable. > > > > Same kernel boots fine on my Dell Inspiron 3000, so it can't be the > > kernel being corrupt. The same disk boots before and after on the > > i3k (the disk was cloned from the i3k disk...) > > > > Ideas? > > I have similar problems on my ultra60 with any kernels other than GENERIC. I > have no idea, but this leads me to believe it is a bug in MI code somewhere. > > -- > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" = http://www.FreeBSD.org > _______________________________________________ > 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" > >_______________________________________________ >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" > >