From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 08:57:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1835216A4CE; Tue, 11 Nov 2003 08:57:02 -0800 (PST) Received: from cheer.mahoroba.org (flets19-018.kamome.or.jp [218.45.19.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FD3E43FAF; Tue, 11 Nov 2003 08:57:00 -0800 (PST) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:E2VfnZZLwlqDniE95ivBORJ+cvnvKlVb3Sibr1MJqBxV/I8pSuECFOMQYM3w3UlA@lyrics.mahoroba.org [IPv6:3ffe:501:185b:8010:280:88ff:fe03:4841]) (user=ume mech=CRAM-MD5 bits=0)hABGu1EU036553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Nov 2003 01:56:04 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 12 Nov 2003 01:56:01 +0900 Message-ID: From: Hajimu UMEMOTO To: Andre Oppermann In-Reply-To: <3FAE68FB.64D262FF@pipeline.ch> References: <3FAE68FB.64D262FF@pipeline.ch> User-Agent: xcite1.38> Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.1-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.6 required=5.0 tests=DOMAIN_4U2 autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on cheer.mahoroba.org cc: mb@imp.ch cc: freebsd-current@freebsd.org cc: ume@freebsd.org cc: sam@errno.com cc: freebsd-net@freebsd.org Subject: Re: tcp hostcache and ip fastforward for review X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 16:57:02 -0000 Hi, >>>>> On Sun, 09 Nov 2003 17:19:07 +0100 >>>>> Andre Oppermann said: oppermann> The patch is here (relative to -CURRENT as of 2003-11-09): oppermann> http://www.nrg4u.com/freebsd/tcphostcache+ipfastforward-20031109.patch It panics at boot around invoking rtsol(8): Fatal trap 12: page fault while in kernel mode fault virtual address = 0x80 fault code = supervisor write, page not present instruction pointer = 0x8:0xc05b5278 stack pointer = 0x10:0xd7be0944 frame pointer = 0x10:0xd7be0998 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 = 4912 (rtsol) trap number = 12 panic: page fault #0 doadump () at /usr/home/ume/cvs/freefall/current/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) bt #0 doadump () at /usr/home/ume/cvs/freefall/current/src/sys/kern/kern_shutdown.c:240 #1 0xc04fad80 in boot (howto=256) at /usr/home/ume/cvs/freefall/current/src/sys/kern/kern_shutdown.c:372 #2 0xc04fb168 in panic () at /usr/home/ume/cvs/freefall/current/src/sys/kern/kern_shutdown.c:550 #3 0xc0662316 in trap_fatal (frame=0xd7be0904, eva=0) at /usr/home/ume/cvs/freefall/current/src/sys/i386/i386/trap.c:821 #4 0xc0661fb2 in trap_pfault (frame=0xd7be0904, usermode=0, eva=128) at /usr/home/ume/cvs/freefall/current/src/sys/i386/i386/trap.c:735 #5 0xc0661b05 in trap (frame= {tf_fs = -1068629992, tf_es = -675414000, tf_ds = -675414000, tf_edi = -1010894932, tf_esi = -675411476, tf_ebp = -675411560, tf_isp = -675411664, tf_ebx = 0, tf_edx = -1010048384, tf_ecx = 0, tf_eax = 4, tf_trapno = 12, tf_err = 2, tf_eip = -1067756936, tf_cs = 8, tf_eflags = 66118, tf_esp = -675411440, tf_ss = -675411320}) at /usr/home/ume/cvs/freefall/current/src/sys/i386/i386/trap.c:420 #6 0xc0652df8 in calltrap () at {standard input}:94 #7 0xc05b4b5b in in6_selectsrc (dstsock=0xd7be09ec, opts=0xd7be0a88, mopts=0x0, ro=0x0, laddr=0xc3bef7ac, errorp=0xd7be0a84) at /usr/home/ume/cvs/freefall/current/src/sys/netinet6/in6_src.c:242 #8 0xc05cda65 in rip6_output (m=0xc19a1000) at /usr/home/ume/cvs/freefall/current/src/sys/netinet6/raw_ip6.c:426 #9 0xc05ce4ec in rip6_send (so=0xc3bdf660, flags=0, m=0xc19a1000, nam=0x0, control=0x0, td=0xc3cbe280) at /usr/home/ume/cvs/freefall/current/src/sys/netinet6/raw_ip6.c:742 #10 0xc053a62d in sosend (so=0xc3bdf660, addr=0xc39bbb20, uio=0xd7be0bf4, top=0xc19a1000, control=0xc19a1100, flags=0, td=0xc3cbe280) at /usr/home/ume/cvs/freefall/current/src/sys/kern/uipc_socket.c:715 #11 0xc053ef7c in kern_sendit (td=0xc3cbe280, s=3, mp=0xd7be0ca4, flags=0, control=0x0) ---Type to continue, or q to quit--- at /usr/home/ume/cvs/freefall/current/src/sys/kern/uipc_syscalls.c:722 #12 0xc053ed9e in sendit (td=0x0, s=0, mp=0xd7be0ca4, flags=0) at /usr/home/ume/cvs/freefall/current/src/sys/kern/uipc_syscalls.c:662 #13 0xc053f393 in sendmsg (td=0x0, uap=0xd7be0d10) at /usr/home/ume/cvs/freefall/current/src/sys/kern/uipc_syscalls.c:900 #14 0xc06626a0 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 5, tf_esi = 1, tf_ebp = -1077940776, tf_isp = -675410572, tf_ebx = 134549504, tf_edx = 134545504, tf_ecx = 134545504, tf_eax = 28, tf_trapno = 12, tf_err = 2, tf_eip = 671923007, tf_cs = 31, tf_eflags = 514, tf_esp = -1077940852, tf_ss = 47}) at /usr/home/ume/cvs/freefall/current/src/sys/i386/i386/trap.c:1010 #15 0xc0652e4d in Xint0x80_syscall () at {standard input}:136 ---Can't read userspace from dump, or kernel process--- (kgdb) frame 7 #7 0xc05b4b5b in in6_selectsrc (dstsock=0xd7be09ec, opts=0xd7be0a88, mopts=0x0, ro=0x0, laddr=0xc3bef7ac, errorp=0xd7be0a84) at /usr/home/ume/cvs/freefall/current/src/sys/netinet6/in6_src.c:242 242 if ((*errorp = in6_selectif(dstsock, opts, mopts, ro, &ifp)) != 0) (kgdb) Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/