From owner-freebsd-alpha Sun Jul 4 23: 3: 6 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 2200214D20 for ; Sun, 4 Jul 1999 23:03:03 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id BAA32618 for ; Mon, 5 Jul 1999 01:03:03 -0500 (CDT) Date: Mon, 5 Jul 1999 01:03:02 -0500 (CDT) From: Steve Price To: freebsd-alpha@FreeBSD.ORG Subject: Re: panic in recent kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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> 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