Date: Sun, 28 Oct 2001 17:35:23 -0700 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Jim Durham <durham@w2xo.pgh.pa.us> Cc: freebsd-mobile@FreeBSD.org Subject: RE: Inspiron crashes with 4.4-RELEASE Message-ID: <XFMail.011028173523.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.21.0110281439210.16532-100000@w2xo.pgh.pa.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011028173523.jhb>