Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 10:54:15 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Gautham Ganapathy <gauthamg123list@myrealbox.com>
Cc:        "FreeBSD.org - Questions" <questions@freebsd.org>, "FreeBSD.org - Hackers" <hackers@freebsd.org>, Gautham Ganapathy <xgautham@ti.com>
Subject:   Re: 4.5-RELEASE generic kernel crashing on sysctl -a
Message-ID:  <20020516104547.U6260-100000@mail1.hub.org>
In-Reply-To: <019a01c1fca3$4d22ce40$1901a8c0@ti.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 May 2002, Gautham Ganapathy wrote:

> Hi
>
> I had posted this sometime back, but didn't receive much feedback
>
> After installing 4.5-RELEASE, (BSD Mall Feb 2002 CD), when I ran
> 'sysctl -a', the kernel crashed with the foll message.
>
> Fault trap 12:   page fault while in kernel mode
> fault virtual address = 0x6351ec0c
> fault code = supervisor read, page not present
> instruction pointer = 0x8:0xc02207c
> stack pointer = 0x10:0xede0ebf8
> frame pointer = 0x10:0xcde0ee20
> code segment = base 0x0, limit 0xffffff, type 0x1b
>              = DPL 0, pres 1, def32 1, gran 1
> processor eflags = interrupts enabled, resume, IOPL = 0
> current process = 228 (sysctl)
> interrupt mask =
> trap number = 12
> panic : page fault


Something cool I just found searching for a similar issue on the WEB is
information contained in:

	http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html

	Section 18.13 talks about how the above is next to useless in
itself, but if you use the 0xc02207c value in the instruction pointer
field, you can narrow down where the problem is using nm ... the problem
is that a new compile of the kernel will show different values ... for
instance, one of my *old* /kernel.GENERICs shows:

jupiter> nm -n /kernel.GENERIC | grep c02207c
jupiter> nm -n /kernel.GENERIC | grep c02207
jupiter> nm -n /kernel.GENERIC | grep c0220
c01c0220 T solisten
c02200dc T nfsrv_getattr
c02206e8 T nfsrv_setattr


	While my 4.5-STABLE kernel from April shows:

jupiter> nm -n /kernel | grep c02207c
jupiter> nm -n /kernel | grep c02207
jupiter> nm -n /kernel | grep c0220
c0220038 t psmintr
c0220844 t psmpoll
c02208a8 t mouse_id_proc1
c0220914 t mouse_ext_command
c0220988 t enable_groller
c02209cc t enable_gmouse
c0220a04 t enable_aglide
c0220a50 t enable_kmouse
c0220b08 t enable_mmanplus
c0220bd0 t enable_msexplorer
c0220c60 t enable_msintelli
c0220cc4 t enable_4dmouse
c0220d28 t enable_4dplus
c0220d5c t enable_versapad
c0220ddc t psmresume
c0220e68 t sysctl_machdep_comdefaultrate
c0220f5c t sio_pci_attach
c0220fd0 t sio_pci_kludge_unit

	So, the question is, what does yours show for your
/kernel.GENERIC?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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