Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 14:25:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 234444] cc_htcp + TCP_RFC7413 panic
Message-ID:  <bug-234444-7501-fwdhBdJe34@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234444-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234444-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234444

--- Comment #6 from Sergey Samoyloff <gonzahq@yandex.ru> ---
(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<value optimized out>) at pcpu.h:230
230     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=3D<value optimized out>) at pcpu.h:230
#1  0xffffffff804d2e8a in kern_reboot (howto=3D260)
    at ../../../kern/kern_shutdown.c:383
#2  0xffffffff804d32b1 in vpanic (fmt=3D<value optimized out>,
    ap=3D<value optimized out>) at ../../../kern/kern_shutdown.c:776
#3  0xffffffff804d30f3 in panic (fmt=3D<value optimized out>)
    at ../../../kern/kern_shutdown.c:707
#4  0xffffffff807e4c1f in trap_fatal (frame=3D0xfffffe083ed92860,
    eva=3D<value optimized out>) at ../../../amd64/amd64/trap.c:877
#5  0xffffffff807e4c79 in trap_pfault (frame=3D0xfffffe083ed92860,
    usermode=3D<value optimized out>) 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<value optimized out>,
    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<value optimized out>, 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 <ithread_loop>, arg=3D<value optimized out=
>,
    frame=3D<value optimized out>) 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234444-7501-fwdhBdJe34>