Date: Wed, 2 Aug 2006 10:08:35 +0200 From: m.ehinger@ltur.de To: freebsd-stable@freebsd.org Cc: John Baldwin <john@baldwin.cx> Subject: Re: ncplogin panic [backtrace with module symbols loaded] Message-ID: <OFA573AA94.E6741B95-ONC12571BE.002C066F-C12571BE.002CC00E@gateway-inter.net> In-Reply-To: <200608011515.37682.john@baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, here is mine backtrace with module symbols loaded. Thanks, Maik Kernel Source: /usr/obj/usr/src/sys/GENERIC Getting KLD information and locations... Traceback (most recent call last): File "kld_deb.py", line 139, in ? a =3D int(j[5], 16) ValueError: invalid literal for int(): file source /tmp/kgdb.asf.6179 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db= .so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and yo= u are welcome to change it and/or distribute copies of it under certain condi= tions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. This GDB was configured as "i386-marcel-freebsd". Ready to go. Enter 'tr' to connect to the remote target with /dev/cuad0, 'tr /dev/cuad1' to connect to a different port or 'trf portno' to connect to the remote target with the firewire interface. portno defaults to 5556. Type 'getsyms' after connection to load kld symbols. If you're debugging a local system, you can use 'kldsyms' instead to load the kld symbols. That's a less obnoxious interface. Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x0 fault code =3D supervisor write, page not present instruction pointer =3D 0x20:0xc068a3fc stack pointer =3D 0x28:0xdcebc8dc frame pointer =3D 0x28:0xdcebc8e4 code segment =3D base 0x0, limit 0xfffff, type = 0x1b =3D DPL 0, pres 1, def32 1, gran 1= processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 772 (ncplogin) trap number =3D 12 panic: page fault Uptime: 16m46s Dumping 494 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 495MB (126511 pages) 479 463 447 431 415 399 383 367 351 335= 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td= )); (kgdb) getsm=08 =08yms During symbol reading, Incomplete CFI data; unspecified registers at 0x= c0666959. Id Refs Address Size Name 1 18 0xc0400000 6e15d0 kernel 2 1 0xc0ae2000 5f60 snd_ich.ko 3 2 0xc0ae8000 22b88 sound.ko 4 2 0xc0b0b000 fd68 drm.ko 5 1 0xc0b1b000 615c i915.ko 6 1 0xc0b22000 5984c acpi.ko 7 1 0xc3574000 16000 linux.ko 8 1 0xc369b000 4000 logo_saver.ko 9 1 0xc3816000 8000 ncp.ko 10 1 0xc381e000 3000 libmchain.ko Select the list above with the mouse, paste into the screen and then press ^D. Yes, this is annoying. 1 18 0xc0400000 6e15d0 kernel 2 1 0xc0ae2000 5f60 snd_ich.ko 3 2 0xc0ae8000 22b88 sound.ko 4 2 0xc0b0b000 fd68 drm.ko 5 1 0xc0b1b000 615c i915.ko 6 1 0xc0b22000 5984c acpi.ko 7 1 0xc3574000 16000 linux.ko 8 1 0xc369b000 4000 logo_saver.ko 9 1 0xc3816000 8000 ncp.ko 10 1 0xc381e000 3000 libmchain.ko ^D=08=08add symbol table from file "/usr/obj/usr/src/sys/GENERIC/module= s/usr/src/sys/modules/acpi/acpi/acpi.ko.debug" at .text_addr =3D 0xc0b32de0 .data_addr =3D 0xc0b661a0 .bss_addr =3D 0xc0b684e0 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/drm/drm/drm.ko.debug" at .text_addr =3D 0xc0b0e68c .data_addr =3D 0xc0b18100 .bss_addr =3D 0xc0b18b24 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/drm/i915/i915.ko.debug" at .text_addr =3D 0xc0b1c1b4 .data_addr =3D 0xc0b1fd80 .bss_addr =3D 0xc0b1fff4 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/libmchain/libmchain.ko.debug" at .text_addr =3D 0xc381e60c .data_addr =3D 0xc38200b8 .bss_addr =3D 0xc3820150 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/linux/linux.ko.debug" at .text_addr =3D 0xc357ab44 .data_addr =3D 0xc3588000 .bss_addr =3D 0xc35896c0 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/ncp/ncp.ko.debug" at .text_addr =3D 0xc3817e40 .data_addr =3D 0xc381d280 .bss_addr =3D 0xc381db80 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/sound/sound/sound.ko.debug" at .text_addr =3D 0xc0af0c30 .data_addr =3D 0xc0aff4c0 .bss_addr =3D 0xc0b02d80 add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/sound/driver/ich/snd_ich.ko.debug" at .text_addr =3D 0xc0ae3b08 .data_addr =3D 0xc0ae6960 .bss_addr =3D 0xc0ae6bdc add symbol table from file "/usr/obj/usr/src/sys/GENERIC/modules/usr/sr= c/sys/modules/syscons/logo/logo_saver.ko.debug" at .text_addr =3D 0xc369b784 .data_addr =3D 0xc369cb60 .bss_addr =3D 0xc369edcc (kgdb) whe=08 =08=08 =08=08 =08bt #0 doadump () at pcpu.h:165 During symbol reading, Incomplete CFI data; unspecified registers at 0x= c0666959. #1 0xc0666e3a in boot (howto=3D0x104) at /usr/src/sys/kern/kern_shutdo= wn.c:409 #2 0xc06670d0 in panic (fmt=3D0xc08cbf3d "%s") at /usr/src/sys/kern/ke= rn_shutdown.c:565 #3 0xc0876534 in trap_fatal (frame=3D0xdcebc89c, eva=3D0x0) at /usr/sr= c/sys/i386/i386/trap.c:836 #4 0xc087629b in trap_pfault (frame=3D0xdcebc89c, usermode=3D0x0, eva=3D= 0x0) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc0875ed9 in trap (frame=3D {tf_fs =3D 0x360008, tf_es =3D 0x28, tf_ds =3D 0xf6520028, tf_edi= =3D 0x0, tf_esi =3D 0xc33f9a80, tf_ebp =3D 0xdcebc8e4, tf_isp =3D 0xdcebc8c8, tf_ebx =3D 0xc363a8a8, tf_edx =3D 0xc33f9a80, tf_ecx =3D 0x= c363a858, tf_eax =3D 0x0, tf_trapno =3D 0xc, tf_err =3D 0x2, tf_eip =3D= 0xc068a3fc, tf_cs =3D 0x20, tf_eflags =3D 0x10246, tf_esp =3D 0xc363a85= 8, tf_ss =3D 0x1}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc086465a in calltrap () at /usr/src/sys/i386/i386/exception.s:139= #7 0xc068a3fc in selrecord (selector=3D0xc33f9a80, sip=3D0xc363a8a8) a= t /usr/src/sys/kern/sys_generic.c:1105 #8 0xc06a1b0f in sopoll (so=3D0xc363a858, events=3D0x1, active_cred=3D= 0x0, td=3D0xc33f9a80) at /usr/src/sys/kern/uipc_socket.c:2059 #9 0xc3818de5 in ncp_poll (so=3D0xc363a858, events=3D0x1) at /usr/src/= sys/modules/ncp/../../netncp/ncp_sock.c:192 #10 0xc381b74a in ncp_request_int (rqp=3D0xc3498080) at /usr/src/sys/mo= dules/ncp/../../netncp/ncp_rq.c:270 #11 0xc38195ee in ncp_ncp_connect (conn=3D0xc37e7b00) at /usr/src/sys/m= odules/ncp/../../netncp/ncp_ncp.c:122 #12 0xc3818456 in ncp_conn_reconnect (ncp=3D0xc37e7b00) at /usr/src/sys= /modules/ncp/../../netncp/ncp_conn.c:333 #13 0xc381aa57 in ncp_ioctl (dev=3D0xc37e7500, cmd=3D0x0, data=3D0xc32a= e030 "@=EC=BF=BF=E8=EB=BF=BFstrings", flag=3D0x3, td=3D0xc33f9a80) at /usr/src/sys/modules/ncp/../../netncp/ncp_mod.c:121 #14 0xc063dd7a in giant_ioctl (dev=3D0xc37e7500, cmd=3D0x80084e64, data= =3D0xc32ae030 "@=EC=BF=BF=E8=EB=BF=BFstrings", fflag=3D0x3, td=3D0xc33f9a80) at /usr/src/sys/kern/kern_conf.c:288 #15 0xc061bb07 in devfs_ioctl_f (fp=3D0xc36d6000, com=3D0x80084e64, dat= a=3D0xc32ae030, cred=3D0xc3427e00, td=3D0xc33f9a80) at /usr/src/sys/fs/devfs/devfs_vnops.c:407 #16 0xc06891c5 in ioctl (td=3D0xc33f9a80, uap=3D0xdcebcd04) at file.h:2= 64 #17 0xc087684b in syscall (frame=3D {tf_fs =3D 0x3b, tf_es =3D 0x3b, tf_ds =3D 0x3b, tf_edi =3D 0x3, = tf_esi =3D 0x0, tf_ebp =3D 0xbfbfebc8, tf_isp =3D 0xdcebcd64, tf_ebx =3D= 0x28085790, tf_edx =3D 0xffffffff, tf_ecx =3D 0x28155d80, tf_eax =3D 0x= 36, tf_trapno =3D 0xc, tf_err =3D 0x2, tf_eip =3D 0x281472c3, tf_cs =3D= 0x33, tf_eflags =3D 0x212, tf_esp =3D 0xbfbfeb9c, tf_ss =3D 0x3b}) at /= usr/src/sys/i386/i386/trap.c:981 #18 0xc08646af in Xint0x80_syscall () at /usr/src/sys/i386/i386/excepti= on.s:200 #19 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) i=08 =08l *0xc068a3fc 0xc068a3fc is in selrecord (/usr/src/sys/kern/sys_generic.c:1105). 1100 * it alone as we've already added pointed it = at us and added it to 1101 * our list. 1102 */ 1103 if (sip->si_thread =3D=3D NULL) { 1104 sip->si_thread =3D selector; 1105 TAILQ_INSERT_TAIL(&selector->td_se= lq, sip, si_thrlist); 1106 } else if (sip->si_thread !=3D selector) { 1107 sip->si_flags |=3D SI_COLL; 1108 } 1109 (kgdb) up 9 #9 0xc3818de5 in ncp_poll (so=3D0xc363a858, events=3D0x1) at /usr/src/= sys/modules/ncp/../../netncp/ncp_sock.c:192 warning: Source file is more recent than executable. 192 return so->so_proto->pr_usrreqs->pru_sopoll(so, events= , cred, td); (kgdb)=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFA573AA94.E6741B95-ONC12571BE.002C066F-C12571BE.002CC00E>