From owner-freebsd-mobile Sun Oct 28 17:35:46 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 0163237B405 for ; Sun, 28 Oct 2001 17:35:29 -0800 (PST) Received: (qmail 13934 invoked from network); 29 Oct 2001 01:35:23 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 29 Oct 2001 01:35:23 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 28 Oct 2001 17:35:23 -0700 (PST) From: John Baldwin To: Jim Durham Subject: RE: Inspiron crashes with 4.4-RELEASE Cc: freebsd-mobile@FreeBSD.org Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 28-Oct-01 Jim Durham wrote: > On Sun, 28 Oct 2001, John Baldwin wrote: >> -- > OK... done... > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x8 > instruction pointer = 0x8:0xc03b48a0 > stack pointer = 0x10:0xcc668b48 > 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 = 304 (ifconfig) > interrupt mask = net tty > kernel: type 12 trap, code=0 > Stopped at ikphy_service+0x48: movl 0x8(%ebx),%eax > db>trace > ukphy_service(c12e08c0,c12e0880,2) at ukphy_service+0x48 > mii_mediachg(c12e0880,c12e6f80) at mii_mediachg+0x29 > ed_init(c12e5000,c12e5000,8020690c,c12e5000,cc668be0) at ed_init+0x3ca > ether_ioctl(c12e5000,8020690c,c12fa400,1,cc668d64) at ether_ioctl+0x5e > ed_ioctl(c12e5000,80206890c,c122fa400,cc668d38) at in6_infinit+0x6f > > and so forth.... > > This is copied by hand so reliability is questionable 8-). > > Looks like the address C12e08c0 was generated by mii_mediachg > and the address c12e0880 was gen'd by ed_init ?? > > I'm not a kernel debugger, just an old C programmer. Hmm, I forgot to tell you a step. :-P Is this kernel compiled with debug symbols? (Use config -g or 'makeoptions DEBUG=-g'.) If it is, you can do 'gdb -k kernel.debug' in the /sys/compile/FOO directory, and then do 'l ukphy_service+0x48' (or maybe 'l *ukphy_service+0x48', whichever works) to get the source line it died at. > -Jim -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message