From owner-freebsd-current Fri Apr 14 14:56:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from assurance.rstcorp.com (rstcorp2.daf.concentric.net [216.112.242.2]) by hub.freebsd.org (Postfix) with ESMTP id CCC9E37B560 for ; Fri, 14 Apr 2000 14:56:10 -0700 (PDT) (envelope-from vshah@rstcorp.com) Received: (from uucp@localhost) by assurance.rstcorp.com (8.9.3/8.9.3) id QAA23828; Fri, 14 Apr 2000 16:57:57 -0400 Received: from sandbox.rstcorp.com(10.1.30.2) by assurance.rstcorp.com via smap (V2.0) id xma023823; Fri, 14 Apr 00 20:57:52 GMT Received: from jabberwock.rstcorp.com (jabberwock.rstcorp.com [10.1.100.5]) by sandbox.rstcorp.com (8.9.3/8.9.3) with ESMTP id RAA29642; Fri, 14 Apr 2000 17:48:54 -0400 (EDT) Received: by jabberwock.rstcorp.com (Postfix, from userid 93) id 040825AED; Fri, 14 Apr 2000 17:55:22 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14583.37834.772687.845973@jabberwock.rstcorp.com> Date: Fri, 14 Apr 2000 17:55:22 -0400 (EDT) From: "Viren R.Shah" To: "Matthew N. Dodd" Cc: freebsd-current@freebsd.org, Ian Cartwright Subject: Re:cvs commit: src/sys/dev/ida ida_eisa.c In-Reply-To: References: <14583.35935.113164.823737@jabberwock.rstcorp.com> X-Mailer: VM 6.72 under 19.16 "Lille" XEmacs Lucid Reply-To: "Viren R.Shah" X-Face: )~y+U*K:yzjz{q<5lzpI_SVef'U.])9g[C9`1N@]u3,MHY7f*l7C)[_NjM4y4K8$uIUh|\u (K&&HS6,M!61&GMTk'mqmB/Qg]]X}"?TzsFl]"2v!bl8']dma.:^IY^a[lbOI>U:b<~FyK3q-p{HmZ mn~g.`~BE!5{2D:}Yi+\_KkWe?XaHj9$ko1k8iKLYv5*_2c8"G=?Up[}hn+7RNM(bzBZ_wWk6!Pf&B ?3Tcm7M7B~W%K/I0aX3]*=jP?aM]H6HBPT`oLk+0n^_;N\2\%|Rhy;p}34Q.jEsM\qtnxcm;ag%Nq Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "MD" == Matthew N Dodd writes: MD> On Fri, 14 Apr 2000, Viren R.Shah wrote: >> If you will tell me how. Can I just compile in DDB without building >> the kernel with debug enabled? If so, that should work (I'm currently >> gzipping the kernel onto the kern.flp floppy, and booting off of it.). MD> options DDB MD> In your kernel config file. Here it is: mainboard0: eisa0: unknown card CPQ6101 (0x0e116101) at slot 5 ida0: at 0x6000-0x60ff, 0x6c88-0x6c9e ida0: irq 15 (level) on eisa0 slot 6 ida0: drives=1 firm_rev=1.66 idad0: 3002MB (6149631 sectors), blocksize=512 eisa0: u Fatal trap 12: page fault while in kernel mode fault virtual address = 0xd5ff0200 fault code = supervisor read, page not present instruction pointer = 0x8:0xc019733e stack pointer = 0x10:0xc062fde4 frame pointer = 0x10:0xc062fe6c 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 = 0 (swapper) interrupt mask = net tty bio cam kernel: type 12 trap, code=0 Stopped at kvprintf+0x9a: movzbl 0(%eax), %edi db> trace kvprintf(d5ff0200, 2b9005d, ff0000ad, 800ff, 2b90000) at kvprintf+0x9a vprintf(c02a1060, c062fec4, c0bc2500, c0b92028, c0bc2500) at vprintf+0x0x3c device_printf(c0bc2500, c02a1060, 43, 50, 51) at device_printf+0x1c eisa_probe_nomatch(c0bc2500, c0bc2300, c0bc2300, c0bc2680, c0bc2500) at eisa_probe_nomatch+0x114 device_probe_and_attach(c0bc2300) at device_probe_and_attach+0x127 bus_generic_attach(c0bc2500, c0bc2680, c087d800, c0bc2680, 0) at bus_generic_attach+0x16 device_probe_and_attach(c0bc2500) at device_probe_and_attach+0x9e nexus_attach(c0bc2680, c0bc2680, c02c8d30, 634000, 0) at nexus_attach+0x4e device_probe_and_attach(c0bc2680) at device_probe_and_attach+0x9e root_bus_configure(c087d800, c02a31cc, 0) at root_bus_configure+0x16 configure(0, 62dc00, 634000, 0, c011dec6) at configure+0x34 mi_startup(c062ffb4, b0297, ffe, 634000, c0197d25) at mi_startup+0x70 begin() at begin+0x4b I'm gonna keep it up at the ddb prompt -- if you need anything else. I didn't build the kernel I used with "makeoptions -g". I can do that next time if needed. Viren -- Viren R. Shah "Creeping featurism is a disease, fatal if not treated promptly" -- Don Norman in _The Design of Everyday Things_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message