From owner-freebsd-stable Wed Nov 15 21:34: 9 2000 Delivered-To: freebsd-stable@freebsd.org Received: from wyattearp.stanford.edu (wyattearp.Stanford.EDU [171.64.180.171]) by hub.freebsd.org (Postfix) with ESMTP id BD17037B479 for ; Wed, 15 Nov 2000 21:34:01 -0800 (PST) Received: (from richw@localhost) by wyattearp.stanford.edu (8.9.3/8.9.3) id VAA85502; Wed, 15 Nov 2000 21:33:24 -0800 (PST) (envelope-from richw) Date: Wed, 15 Nov 2000 21:33:24 -0800 (PST) From: Rich Wales X-Sender: richw@wyattearp.stanford.edu To: freebsd-stable@freebsd.org Subject: Re: Bridging code in 4.2RC1 still not fixed Message-ID: <20001116051639.85232.richw@wyattearp.stanford.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bosko Milekic wrote: > What's unfortunate is that this entire thread has failed > to provide any single piece of VALID debugging information, > despite my (and I'm sure others') efforts in obtaining that. OK, here's the best I can do for the moment. I didn't have debugging enabled in the kernel I was running at the time (yes, I know, stupid of me), but I did get a crash dump (see below). Remember, again, that this is 3.4-RELEASE. The crash occurred in in_cksum() in i386/i386/in_cksum.c. As best I can tell from disassembling the in_cksum() routine, the trap happened near the top of the "while ((mlen -= 32) >= 0)" loop (line 149 of the source code). I hope this is enough to help someone. Rich Wales richw@webcom.com http://www.webcom.com/richw/ ======================================================================== Script started on Wed Nov 15 21:10:32 2000 Warning: imported path contains relative components gateway# gdb -k kernel.1 vmcore.1 GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... IdlePTD 3354624 initial pcb at 2a9224 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc04f3000 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0230ddc stack pointer = 0x10:0xc0292100 frame pointer = 0x10:0xc0292110 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 = Idle interrupt mask = trap number = 12 panic: page fault syncing disks... done dumping to dev 50009, offset 53376 dump 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 0xc01335b7 in boot () (kgdb) where #0 0xc01335b7 in boot () #1 0xc013383c in at_shutdown () #2 0xc023a781 in trap_fatal () #3 0xc023a45f in trap_pfault () #4 0xc023a0d6 in trap () #5 0xc0230ddc in in_cksum () #6 0xc0194d69 in udp_input () #7 0xc018748b in ip_input () #8 0xc01874fb in ipintr () (kgdb) disassemble in_cksum Dump of assembler code for function in_cksum: 0xc0230cec : pushl %ebp 0xc0230ced : movl %esp,%ebp 0xc0230cef : subl $0x4,%esp 0xc0230cf2 : pushl %edi 0xc0230cf3 : pushl %esi 0xc0230cf4 : pushl %ebx 0xc0230cf5 : xorl %ebx,%ebx 0xc0230cf7 : xorl %esi,%esi 0xc0230cf9 : movl $0x0,0xfffffffc(%ebp) 0xc0230d00 : cmpl $0x0,0x8(%ebp) 0xc0230d04 : je 0xc0230ee3 0xc0230d0a : movl %esi,%esi 0xc0230d0c : cmpl $0x0,0xc(%ebp) 0xc0230d10 : je 0xc0230ef3 0xc0230d16 : movl 0x8(%ebp),%edx 0xc0230d19 : cmpl $0x0,0xc(%edx) 0xc0230d1d : je 0xc0230ed3 0xc0230d23 : movl 0x8(%edx),%ecx 0xc0230d26 : cmpl $0xffffffff,%esi 0xc0230d29 : jne 0xc0230d48 0xc0230d2b : movb (%ecx),%al 0xc0230d2d : shlw $0x8,%ax 0xc0230d31 : andw $0xff,%di 0xc0230d36 : orw %ax,%di 0xc0230d39 : movzwl %di,%eax 0xc0230d3c : addl %eax,%ebx 0xc0230d3e : incl %ecx 0xc0230d3f : movl 0xc(%edx),%esi 0xc0230d42 : decl %esi 0xc0230d43 : decl 0xc(%ebp) 0xc0230d46 : jmp 0xc0230d4e 0xc0230d48 : movl 0x8(%ebp),%edx 0xc0230d4b : movl 0xc(%edx),%esi 0xc0230d4e : cmpl %esi,0xc(%ebp) 0xc0230d51 : jnl 0xc0230d56 0xc0230d53 : movl 0xc(%ebp),%esi 0xc0230d56 : subl %esi,0xc(%ebp) 0xc0230d59 : testb $0x3,%cl 0xc0230d5c : je 0xc0230da7 0xc0230d5e : movzwl %bx,%edx 0xc0230d61 : movl %ebx,%eax 0xc0230d63 : shrl $0x10,%eax 0xc0230d66 : leal (%eax,%edx,1),%ebx 0xc0230d69 : cmpl $0xffff,%ebx 0xc0230d6f : jbe 0xc0230d77 0xc0230d71 : addl $0xffff0001,%ebx 0xc0230d77 : testb $0x1,%cl 0xc0230d7a : je 0xc0230d92 0xc0230d7c : testl %esi,%esi 0xc0230d7e : jle 0xc0230d92 0xc0230d80 : shll $0x8,%ebx 0xc0230d83 : movl %edi,%edx 0xc0230d85 : movb (%ecx),%dl 0xc0230d87 : movl %edx,%edi 0xc0230d89 : incl %ecx 0xc0230d8a : decl %esi 0xc0230d8b : movl $0x1,0xfffffffc(%ebp) 0xc0230d92 : testb $0x2,%cl 0xc0230d95 : je 0xc0230da7 0xc0230d97 : cmpl $0x1,%esi 0xc0230d9a : jle 0xc0230da7 0xc0230d9c : movzwl (%ecx),%eax 0xc0230d9f : addl %eax,%ebx 0xc0230da1 : addl $0x2,%ecx 0xc0230da4 : addl $0xfffffffe,%esi 0xc0230da7 : testb $0x4,%cl 0xc0230daa : je 0xc0230dbd 0xc0230dac : cmpl $0x3,%esi 0xc0230daf : jle 0xc0230dbd 0xc0230db1 : addl 0x0(%ecx),%ebx 0xc0230db4 : adcl $0x0,%ebx 0xc0230db7 : addl $0x4,%ecx 0xc0230dba : addl $0xfffffffc,%esi 0xc0230dbd : testb $0x8,%cl 0xc0230dc0 : je 0xc0230dd6 0xc0230dc2 : cmpl $0x7,%esi 0xc0230dc5 : jle 0xc0230dd6 0xc0230dc7 : addl 0x0(%ecx),%ebx 0xc0230dca : adcl 0x4(%ecx),%ebx 0xc0230dcd : adcl $0x0,%ebx 0xc0230dd0 : addl $0x8,%ecx 0xc0230dd3 : addl $0xfffffff8,%esi 0xc0230dd6 : addl $0xffffffdf,%esi 0xc0230dd9 : js 0xc0230e02 0xc0230ddb : nop 0xc0230ddc : addl 0x10(%ecx),%ebx 0xc0230ddf : adcl 0x0(%ecx),%ebx 0xc0230de2 : adcl 0x4(%ecx),%ebx 0xc0230de5 : adcl 0x8(%ecx),%ebx 0xc0230de8 : adcl 0xc(%ecx),%ebx 0xc0230deb : movb 0x20(%ecx),%al 0xc0230dee : adcl 0x14(%ecx),%ebx 0xc0230df1 : adcl 0x18(%ecx),%ebx 0xc0230df4 : adcl 0x1c(%ecx),%ebx 0xc0230df7 : adcl $0x0,%ebx 0xc0230dfa : addl $0x20,%ecx 0xc0230dfd : addl $0xffffffe0,%esi 0xc0230e00 : jns 0xc0230ddc 0xc0230e02 : addl $0x21,%esi 0xc0230e05 : cmpl $0x1f,%esi 0xc0230e08 : jle 0xc0230e2b 0xc0230e0a : addl 0x10(%ecx),%ebx 0xc0230e0d : adcl 0x0(%ecx),%ebx 0xc0230e10 : adcl 0x4(%ecx),%ebx 0xc0230e13 : adcl 0x8(%ecx),%ebx 0xc0230e16 : adcl 0xc(%ecx),%ebx 0xc0230e19 : adcl 0x14(%ecx),%ebx 0xc0230e1c : adcl 0x18(%ecx),%ebx 0xc0230e1f : adcl 0x1c(%ecx),%ebx 0xc0230e22 : adcl $0x0,%ebx 0xc0230e25 : addl $0x20,%ecx 0xc0230e28 : addl $0xffffffe0,%esi 0xc0230e2b : cmpl $0xf,%esi 0xc0230e2e : jle 0xc0230e45 0xc0230e30 : addl 0x0(%ecx),%ebx 0xc0230e33 : adcl 0x4(%ecx),%ebx 0xc0230e36 : adcl 0x8(%ecx),%ebx 0xc0230e39 : adcl 0xc(%ecx),%ebx 0xc0230e3c : adcl $0x0,%ebx 0xc0230e3f : addl $0x10,%ecx 0xc0230e42 : addl $0xfffffff0,%esi 0xc0230e45 : cmpl $0x7,%esi 0xc0230e48 : jle 0xc0230e59 0xc0230e4a : addl 0x0(%ecx),%ebx 0xc0230e4d : adcl 0x4(%ecx),%ebx 0xc0230e50 : adcl $0x0,%ebx 0xc0230e53 : addl $0x8,%ecx 0xc0230e56 : addl $0xfffffff8,%esi 0xc0230e59 : testl %esi,%esi 0xc0230e5b : jne 0xc0230e63 0xc0230e5d : cmpl $0x0,0xfffffffc(%ebp) 0xc0230e61 : je 0xc0230ed3 0xc0230e63 : movzwl %bx,%edx 0xc0230e66 : movl %ebx,%eax 0xc0230e68 : shrl $0x10,%eax 0xc0230e6b : leal (%eax,%edx,1),%ebx 0xc0230e6e : cmpl $0xffff,%ebx 0xc0230e74 : jbe 0xc0230e7c 0xc0230e76 : addl $0xffff0001,%ebx 0xc0230e7c : addl $0xfffffffe,%esi 0xc0230e7f : js 0xc0230e91 0xc0230e81 : leal 0x0(%esi),%esi 0xc0230e84 : movzwl (%ecx),%eax 0xc0230e87 : addl %eax,%ebx 0xc0230e89 : addl $0x2,%ecx 0xc0230e8c : addl $0xfffffffe,%esi 0xc0230e8f : jns 0xc0230e84 0xc0230e91 : cmpl $0x0,0xfffffffc(%ebp) 0xc0230e95 : je 0xc0230ec8 0xc0230e97 : shll $0x8,%ebx 0xc0230e9a : movl $0x0,0xfffffffc(%ebp) 0xc0230ea1 : cmpl $0xffffffff,%esi 0xc0230ea4 : jne 0xc0230ec0 0xc0230ea6 : movb (%ecx),%al 0xc0230ea8 : shlw $0x8,%ax 0xc0230eac : andw $0xff,%di 0xc0230eb1 : orw %ax,%di 0xc0230eb4 : movzwl %di,%eax 0xc0230eb7 : addl %eax,%ebx 0xc0230eb9 : xorl %esi,%esi 0xc0230ebb : jmp 0xc0230ed3 0xc0230ebd : leal 0x0(%esi),%esi 0xc0230ec0 : movl $0xffffffff,%esi 0xc0230ec5 : jmp 0xc0230ed3 0xc0230ec7 : nop 0xc0230ec8 : cmpl $0xffffffff,%esi 0xc0230ecb : jne 0xc0230ed3 0xc0230ecd : movl %edi,%edx 0xc0230ecf : movb (%ecx),%dl 0xc0230ed1 : movl %edx,%edi 0xc0230ed3 : movl 0x8(%ebp),%edx 0xc0230ed6 : movl (%edx),%edx 0xc0230ed8 : movl %edx,0x8(%ebp) 0xc0230edb : testl %edx,%edx 0xc0230edd : jne 0xc0230d0c 0xc0230ee3 : cmpl $0x0,0xc(%ebp) 0xc0230ee7 : je 0xc0230ef3 0xc0230ee9 : pushl $0xc0284b86 0xc0230eee : call 0xc013c3f8 0xc0230ef3 : cmpl $0xffffffff,%esi 0xc0230ef6 : jne 0xc0230eff 0xc0230ef8 : movl %edi,%edx 0xc0230efa : movzbl %dl,%eax 0xc0230efd : addl %eax,%ebx 0xc0230eff : movzwl %bx,%edx 0xc0230f02 : movl %ebx,%eax 0xc0230f04 : shrl $0x10,%eax 0xc0230f07 : leal (%eax,%edx,1),%ebx 0xc0230f0a : cmpl $0xffff,%ebx 0xc0230f10 : jbe 0xc0230f18 0xc0230f12 : addl $0xffff0001,%ebx 0xc0230f18 : movl %ebx,%eax 0xc0230f1a : notl %eax 0xc0230f1c : andl $0xffff,%eax 0xc0230f21 : leal 0xfffffff0(%ebp),%esp 0xc0230f24 : popl %ebx 0xc0230f25 : popl %esi 0xc0230f26 : popl %edi 0xc0230f27 : leave 0xc0230f28 : ret 0xc0230f29 : leal 0x0(%esi),%esi End of assembler dump. (kgdb) quit gateway# Script done on Wed Nov 15 21:11:11 2000 ======================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message