Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 02:29:31 -0400 (EDT)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        othermark <atkin901@yahoo.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: LOR/page fault panic vfs_mountroot
Message-ID:  <20050423022707.J68772@lexi.siliconlandmark.com>
In-Reply-To: <d490el$avd$1@sea.gmane.org>
References:  <d46cbi$8pl$1@sea.gmane.org> <20050420214259.GA46821@xor.obsecurity.org> <d48n4h$am5$1@sea.gmane.org> <d490el$avd$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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/    >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050423022707.J68772>