Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 1999 01:03:02 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: panic in recent kernel
Message-ID:  <Pine.OSF.4.10.9907050049170.19262-100000@fly.HiWAAY.net>
In-Reply-To: <Pine.OSF.4.10.9907050000210.19262-100000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
To followup on my own post I rebuilt a kernel with debugging
symbols and DDB.  Here's what I get now.

Preloader elf kernel "kernel" at 0xfffffc000060a000.

fatal kernel trap:

    trap entry = 0x2 (memory management fault)
    a0         = 0x168
    a1         = 0x1
    a2         = 0x0
    pc         = 0xfffffc0000361c3c
    ra         = 0xfffffc0000361de8
    curproc    = 0xfffffc00005a97f0
        pid = 0, comm = swapper

ddbprinttrap from 0xfffffc0000361c3c
ddbprinttrap(0x168, 0x1, 0x0, 0x2)
panic: trap
panic
Stopped at	Debugger+0x2c:	ldq	ra,0(sp) <0xfffffc000060faf0>	<ra=0xfffffc00004cc8a0,sp=0xfffffc000060faf0>
db> 

Unfortunately I'm unable to type in anything at the prompt.
Every character results in a carriage return and a new prompt. :/

It appears the problem is somewhere in cdevsw_add and may be
related to Poul-Henning's commit to "Remove cmaj and bmaj args
from DEV_DRIVER_MODULE."

$ nm /kernel.debug | grep fffffc0000361 | sort
fffffc0000361040 T nanouptime
fffffc0000361100 t tco_setscales
fffffc0000361160 T update_timecounter
fffffc0000361180 T init_timecounter
fffffc0000361320 T set_timecounter
fffffc00003613c0 t sync_other_counter
fffffc00003614a0 t tco_forward
fffffc0000361680 T pps_ioctl
fffffc0000361800 T pps_init
fffffc0000361840 T pps_event
fffffc0000361a20 T chrtoblk
fffffc0000361ac0 T devsw
fffffc0000361b00 T bdevsw
fffffc0000361be0 T cdevsw_add
fffffc0000361d20 T cdevsw_remove
fffffc0000361da0 T devsw_module_handler
fffffc0000361ea0 T major
fffffc0000361ec0 T minor
fffffc0000361ee0 T makebdev
fffffc0000361f20 T makedev
fffffc0000361f40 T dev2udev
fffffc0000361fa0 T udev2dev
$ 

-steve



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




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