From owner-freebsd-net@freebsd.org Mon Jan 14 14:25:57 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 748CE14A1556 for ; Mon, 14 Jan 2019 14:25:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF098A713 for ; Mon, 14 Jan 2019 14:25:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C4A8414A1555; Mon, 14 Jan 2019 14:25:56 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89DEB14A1554 for ; Mon, 14 Jan 2019 14:25:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 292678A711 for ; Mon, 14 Jan 2019 14:25:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4EA0B13BD7 for ; Mon, 14 Jan 2019 14:25:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0EEPth0051792 for ; Mon, 14 Jan 2019 14:25:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0EEPtpq051789 for net@FreeBSD.org; Mon, 14 Jan 2019 14:25:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 234444] cc_htcp + TCP_RFC7413 panic Date: Mon, 14 Jan 2019 14:25:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gonzahq@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 14:25:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234444 --- Comment #6 from Sergey Samoyloff --- (In reply to Michael Tuexen from comment #5) the problem without running squid again, compile and load kernel with options TCP_RFC7413 root@hq:~ # sysctl -w net.inet.tcp.fastopen.enabled=3D1 net.inet.tcp.fastopen.enabled: 0 -> 1 root@hq:~ # kldload cc_htcp root@hq:~ # kldstat Id Refs Address Size Name 1 3 0xffffffff80200000 dd2e30 kernel 2 1 0xffffffff81211000 8e4 cc_htcp.ko root@hq:~ # sysctl -w net.inet.tcp.cc.algorithm=3Dhtcp net.inet.tcp.cc.algorithm: newreno -> htcp root@hq:~ # sysctl -w net.inet.tcp.cc.htcp.adaptive_backoff=3D1 net.inet.tcp.cc.htcp.adaptive_backoff: 0 -> 1 root@hq:~ # sysctl -w net.inet.tcp.cc.htcp.rtt_scaling=3D1 net.inet.tcp.cc.htcp.rtt_scaling: 0 -> 1 root@hq:~ # root@hq:~ # sync root@hq:~ # service tried to start squid but kernel panic hq dumped core - see /var/crash/vmcore.2 Mon Jan 14 17:06:50 MSK 2019 FreeBSD hq 11.2-STABLE FreeBSD 11.2-STABLE #2: Mon Jan 14 16:48:06 MSK 2019= =20=20=20=20 root@hq:/usr/src/sys/amd64/compile/HQ amd64 panic: page fault GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: [308] [308] [308] Fatal trap 12: page fault while in kernel mode [308] cpuid =3D 0; apic id =3D 00 [308] fault virtual address =3D 0x30 [308] fault code =3D supervisor read data, page not present [308] instruction pointer =3D 0x20:0xffffffff804eab36 [308] stack pointer =3D 0x28:0xfffffe083ed92920 [308] frame pointer =3D 0x28:0xfffffe083ed929c0 [308] code segment =3D base 0x0, limit 0xfffff, type 0x1b [308] =3D DPL 0, pres 1, long 1, def32 0, gran 1 [308] processor eflags =3D interrupt enabled, resume, IOPL =3D 0 [308] current process =3D 12 (swi4: clock (0)) [308] trap number =3D 12 [308] panic: page fault [308] cpuid =3D 0 [308] KDB: stack backtrace: [308] #0 0xffffffff805175c7 at kdb_backtrace+0x67 [308] #1 0xffffffff804d3277 at vpanic+0x177 [308] #2 0xffffffff804d30f3 at panic+0x43 [308] #3 0xffffffff807e4c1f at trap_fatal+0x35f [308] #4 0xffffffff807e4c79 at trap_pfault+0x49 [308] #5 0xffffffff807e4473 at trap+0x2d3 [308] #6 0xffffffff807c661c at calltrap+0x8 [308] #7 0xffffffff804eb029 at softclock+0x79 [308] #8 0xffffffff804a2189 at intr_event_execute_handlers+0xe9 [308] #9 0xffffffff804a2466 at ithread_loop+0xe6 [308] #10 0xffffffff8049f642 at fork_exit+0x82 [308] #11 0xffffffff807c75ce at fork_trampoline+0xe [308] Uptime: 5m8s [308] Dumping 1197 out of 32728 MB:..2%..11%..21%..31%..41%..51%..61%..71%..81%..91% Reading symbols from /boot/kernel/cc_htcp.ko...Reading symbols from /usr/lib/debug//boot/kernel/cc_htcp.ko.debug...done . done. Loaded symbols for /boot/kernel/cc_htcp.ko #0 doadump (textdump=3D) at pcpu.h:230 230 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3D) at pcpu.h:230 #1 0xffffffff804d2e8a in kern_reboot (howto=3D260) at ../../../kern/kern_shutdown.c:383 #2 0xffffffff804d32b1 in vpanic (fmt=3D, ap=3D) at ../../../kern/kern_shutdown.c:776 #3 0xffffffff804d30f3 in panic (fmt=3D) at ../../../kern/kern_shutdown.c:707 #4 0xffffffff807e4c1f in trap_fatal (frame=3D0xfffffe083ed92860, eva=3D) at ../../../amd64/amd64/trap.c:877 #5 0xffffffff807e4c79 in trap_pfault (frame=3D0xfffffe083ed92860, usermode=3D) at cpufunc.h:832 #6 0xffffffff807e4473 in trap (frame=3D0xfffffe083ed92860) at ../../../amd64/amd64/trap.c:415 #7 0xffffffff807c661c in calltrap () at ../../../amd64/amd64/exception.S:2= 31 #8 0xffffffff804eab36 in softclock_call_cc (c=3D, cc=3D0xffffffff80d79e80, direct=3D0) at ../../../kern/kern_timeout.c:749 #9 0xffffffff804eb029 in softclock (arg=3D0xffffffff80d79e80) at ../../../kern/kern_timeout.c:867 #10 0xffffffff804a2189 in intr_event_execute_handlers ( p=3D, ie=3D0xfffff80008291600) at ../../../kern/kern_intr.c:1336 #11 0xffffffff804a2466 in ithread_loop (arg=3D0xfffff800082aa880) at ../../../kern/kern_intr.c:1349 #12 0xffffffff8049f642 in fork_exit ( callout=3D0xffffffff804a2380 , arg=3D, frame=3D) at ../../../kern/kern_fork.c:1072 #13 0xffffffff807c75ce in fork_trampoline () at ../../../amd64/amd64/exception.S:972 #14 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=