Date: Thu, 25 Jan 2001 01:19:45 +0100 From: "Rogier R. Mulhuijzen" <drwilco@drwilco.net> To: freebsd-current@freebsd.org Subject: panic in netgraph (caught by WITNESS) in custom UP kernel Message-ID: <4.3.2.7.0.20010125011302.00beb520@mail.drwilco.net>
next in thread | raw e-mail | index | archive | help
--=====================_492334963==_ Content-Type: text/plain; charset="us-ascii"; format=flowed FYI: Full source CVSupped on the 18th or 19th Panic came about when I did a 'ls' in ngctl(8). Kernel config attached, gdb of core follows below: This GDB was configured as "i386-unknown-freebsd"... IdlePTD 5300224 initial pcb at 31c4e0 panicstr: from debugger panic messages: --- panic: mutex_enter: MTX_SPIN on MTX_DEF mutex netgraph node mutex @ ../../netgraph/ng_base.c:2205 panic: from debugger Uptime: 1d4h5m24s dumping to dev ad0s2b, offset 262144 dump ata0: resetting devices .. done 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 dumpsys () at ../../kern/kern_shutdown.c:477 477 if (dumping++) { (kgdb) trace trace command requires an argument (kgdb) where #0 dumpsys () at ../../kern/kern_shutdown.c:477 #1 0xc0187342 in boot (howto=260) at ../../kern/kern_shutdown.c:320 #2 0xc0187711 in panic (fmt=0xc02a1794 "from debugger") at ../../kern/kern_shutdown.c:570 #3 0xc0142b51 in db_panic (addr=-1071151608, have_addr=0, count=-1, modif=0xc7f70bac "") at ../../ddb/db_command.c:433 #4 0xc0142af1 in db_command (last_cmdp=0xc02e20f4, cmd_table=0xc02e1f54, aux_cmd_tablep=0xc0305e7c) at ../../ddb/db_command.c:333 #5 0xc0142bb6 in db_command_loop () at ../../ddb/db_command.c:455 #6 0xc0144d83 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71 #7 0xc027839a in kdb_trap (type=3, code=0, regs=0xc7f70cb0) at ../../i386/i386/db_interface.c:164 #8 0xc028376c in trap (frame={tf_fs = -1070530536, tf_es = 16, tf_ds = -940113904, tf_edi = -1056367804, tf_esi = 256, tf_ebp = -940110596, tf_isp = -940110628, tf_ebx = 2, tf_edx = -1072984320, tf_ecx = 32, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071151608, tf_cs = 8, tf_eflags = 70, tf_esp = -1070788385, tf_ss = -1070936125}) at ../../i386/i386/trap.c:596 #9 0xc0278608 in Debugger (msg=0xc02acfc3 "panic") at machine/cpufunc.h:60 #10 0xc0187708 in panic ( fmt=0xc02ac060 "mutex_enter: MTX_SPIN on MTX_DEF mutex %s @ %s:%d") at ../../kern/kern_shutdown.c:568 #11 0xc01813aa in witness_enter (m=0xc1091b48, flags=1, file=0xc02b5c91 "../../netgraph/ng_base.c", line=2205) ---Type <return> to continue, or q <return> to quit--- at ../../kern/kern_mutex.c:842 #12 0xc01e25e6 in ng_snd_item (item=0xc132e740, queue=1) at ../../sys/mutex.h:528 #13 0xc01e4640 in ng_generic_msg (here=0xc1091b00, item=0xc132e740, lasthook=0x0) at ../../netgraph/ng_base.c:2855 #14 0xc01e2f14 in ng_apply_item (node=0xc1091b00, item=0xc132e740) at ../../netgraph/ng_base.c:2386 #15 0xc01e2ab0 in ng_snd_item (item=0xc132e740, queue=0) at ../../netgraph/ng_base.c:2249 #16 0xc139890f in ?? () #17 0xc01ae707 in sosend (so=0xc81e2c00, addr=0xc0f5fb30, uio=0xc7f70edc, top=0xc0b3fa00, control=0x0, flags=0, p=0xc8d83ca0) at ../../kern/uipc_socket.c:620 #18 0xc01b3668 in sendit (p=0xc8d83ca0, s=3, mp=0xc7f70f1c, flags=0) at ../../kern/uipc_syscalls.c:577 #19 0xc01b371e in sendto (p=0xc8d83ca0, uap=0xc7f70f80) at ../../kern/uipc_syscalls.c:630 #20 0xc0284551 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077967404, tf_esi = -1077967406, tf_ebp = -1077966892, tf_isp = -940109868, tf_ebx = 671528168, tf_edx = -1077967408, tf_ecx = -1077967408, tf_eax = 133, tf_trapno = 12, tf_err = 2, tf_eip = 671772124, tf_cs = 31, tf_eflags = 518, tf_esp = -1077967496, tf_ss = 47}) at ../../i386/i386/trap.c:1153 #21 0xc0278d03 in Xint0x80_syscall () ---Type <return> to continue, or q <return> to quit--- #22 0x28069995 in ?? () #23 0x8049dc7 in ?? () #24 0x8049119 in ?? () #25 0x80490ca in ?? () #26 0x804904b in ?? () #27 0x8048d1f in ?? () #28 0x8048acd in ?? () (kgdb) --=====================_492334963==_ Content-Type: application/octet-stream; name="VENUS" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="VENUS" bWFjaGluZQkJaTM4NgppZGVudAkJVkVOVVMKbWF4dXNlcnMJMzIKI21ha2VvcHRpb25zCUNPTkZf Q0ZMQUdTPSItZm5vLWJ1aWx0aW4gLW1jcHU9cGVudGl1bXBybyAtbWFyY2g9cGVudGl1bXBybyIK bWFrZW9wdGlvbnMJQ09ORl9DRkxBR1M9Ii1PIC1waXBlIgpvcHRpb25zIAlCTEtERVZfSU9TSVpF PTgxOTIKb3B0aW9ucyAJUFFfTk9PUFQKb3B0aW9ucyAJSU5DTFVERV9DT05GSUdfRklMRSAgICAg CmNwdQkJSTY4Nl9DUFUJCQpvcHRpb25zIAlOT19GMDBGX0hBQ0sJCQpvcHRpb25zIAlDT01QQVRf NDMKb3B0aW9ucyAJVVNFUl9MRFQJCQpvcHRpb25zIAlTWVNWU0hNCm9wdGlvbnMgCVNZU1ZTRU0K b3B0aW9ucyAJU1lTVk1TRwpvcHRpb25zIAlVQ09OU09MRQpvcHRpb25zIAlVU0VSQ09ORklHCQkK b3B0aW9ucyAJVklTVUFMX1VTRVJD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gpvcHRpb25zIAlQQ0lDX1JFU1VNRV9SRVNFVAkKb3B0aW9ucyAJUE9XRVJGQUlM X05NSQkKI2RldmljZQkJc21idXMJCQojZGV2aWNlCQlpbnRwbQojZGV2aWNlCQlpY2hzbWIKI2Rl dmljZQkJc21iCiNkZXZpY2UJCWlpY2J1cwkJCiNkZXZpY2UJCWlpY2JiCiNkZXZpY2UJCWljCiNk ZXZpY2UJCWlpYwojZGV2aWNlCQlpaWNzbWIJCQojZGV2aWNlCQlwY2YKb3B0aW9ucwkJUFBDX1BS T0JFX0NISVBTRVQgCm9wdGlvbnMgCURPTlRQUk9CRV8xMjg0CQpkZXZpY2UJCXBwYwpkZXZpY2UJ CXBwYnVzCmRldmljZQkJbHB0CiNkZXZpY2UJCXVoY2kKI2RldmljZQkJdXNiCiNkZXZpY2UJCXVk YnAKI2RldmljZQkJdWdlbgojZGV2aWNlCQl1aGlkCiNkZXZpY2UJCXVrYmQKI2RldmljZQkJdWxw dAojZGV2aWNlCQl1bWFzcwojZGV2aWNlCQl1bW9kZW0KI2RldmljZQkJdW1zCiNkZXZpY2UJCXVy aW8KI2RldmljZQkJYXVlCiNkZXZpY2UJCWN1ZQojZGV2aWNlCQlrdWUKZGV2aWNlICAgICAgICAg IGFjcGljYQojb3B0aW9ucyAgICAgICAgIEFDUElfREVCVUcKb3B0aW9ucwkJRElBR05PU1RJQwpv cHRpb25zICAgICAgICAgTVVURVhfREVCVUcKb3B0aW9ucyAgICAgICAgIFdJVE5FU1MKb3B0aW9u cyAgICAgICAgIFdJVE5FU1NfRERCCiNvcHRpb25zICAgICAgICAgV0lUTkVTU19TS0lQU1BJTgpv cHRpb25zICAgICAgICAgRERCICAgCgo= --=====================_492334963==_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.0.20010125011302.00beb520>