From owner-freebsd-current@FreeBSD.ORG Sat Apr 23 06:29:35 2005 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 2F06E16A4CE for ; Sat, 23 Apr 2005 06:29:35 +0000 (GMT) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B3F843D31 for ; Sat, 23 Apr 2005 06:29:34 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (localhost [127.0.0.1]) j3N6TVnd093201; Sat, 23 Apr 2005 02:29:31 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)j3N6TVxw093198; Sat, 23 Apr 2005 02:29:31 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: lexi.siliconlandmark.com: andy owned process doing -bs Date: Sat, 23 Apr 2005 02:29:31 -0400 (EDT) From: Andre Guibert de Bruet To: othermark In-Reply-To: Message-ID: <20050423022707.J68772@lexi.siliconlandmark.com> References: <20050420214259.GA46821@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Information: Please contact the ISP for more information X-SL-MailScanner: Found to be clean X-SL-SpamCheck: not spam, SpamAssassin (score=-2.536, required 6, autolearn=not spam, AWL 0.06, BAYES_00 -2.60) X-MailScanner-From: andy@siliconlandmark.com cc: freebsd-current@freebsd.org Subject: Re: LOR/page fault panic vfs_mountroot 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: Sat, 23 Apr 2005 06:29:35 -0000 On Thu, 21 Apr 2005, othermark wrote: > In this kernel, if I boot to single user, and simply do 'sysctl -a' > I'll get this panic. Here's the output -- corruption seems to start at > hw.kbd.keymap_restrict_change: > > [...] > > hw.intr_storm_threshold: 500 > hw.availpages: 259958 > hw.bus.devctl_disable: 0 > hw.dc_quick: 1 > hw.ste.rxsyncs: 0 > hw.kbd.keymap_restrict_change: > 0 > hw.syscons.sa > Fer.keybonly: 1 > hw.syscons.bellat: 1 > hw.syscons.alsc_no_suspend_vt switch: 0 > hw.butrsdma.total_bpageaps: 544 > hw.busdm a.zone0.total_bp1ages: 512 > hw.bu2sdma.zone0.free_:bpages: 512 > aw. busdma.zone0.resperved_bpages: 0 > hw.busdma.zone0g.active_bpages: e0 > hw.busdma.zon e0.total_bouncedf: 0 > hw.busdma.zaone0.total_deferured: 0 > hw.busdmla.zone0.lowaddr:t 0xffffffff > hw. busdma.zone0.aliwgnment: 4096 > hwh.busdma.zone0.boiundary: 0 > hw.bulsdma.zone1.totale_bpages: 32 > hw. in kernel mode > cpuid = 1; apic id = 00 > fault virtual address = 0x4ac0c092 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0703f88 > stack pointer = 0x28:0xe50a1b78 > frame pointer = 0x28:0xe50a1b78 > 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 = 73 (sysctl) > [thread pid 73 tid 100055 ] > Stopped at strlen+0x8: cmpb $0,0(%edx) As expected by the fault code, the unscrambled version of that is: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 00 fault virtual address = 0x4ac0c092 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0703f88 stack pointer = 0x28:0xe50a1b78 frame pointer = 0x28:0xe50a1b78 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 = 73 (sysctl) [thread pid 73 tid 100055 ] Stopped at strlen+0x8: cmpb $0,0(%edx) Andy | Andre Guibert de Bruet | Enterprise Software Consultant > | Silicon Landmark, LLC. | http://siliconlandmark.com/ >