From owner-freebsd-alpha Mon Jul 5 18:53:21 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 28AD615399 for ; Mon, 5 Jul 1999 18:53:14 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.8.7/8.8.7) with ESMTP id SAA10937; Mon, 5 Jul 1999 18:53:13 -0700 Date: Mon, 5 Jul 1999 18:53:10 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Steve Price Cc: 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 Brain idiocy on my part. I couldn't figure out why this kept panic'ing for ccdconfig when I hadn't config'd ccd in. It turns out there *are* .ko modules in /modules- they're way out of date because the interfaces changed. phk rev'd the kernel version, but that didn't stop the modules from loading. Somebody file the appropriate bugs. On Mon, 5 Jul 1999, Steve Price wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message