On Fri, May 28, 2021 at 03:21:15PM -0700, Bakul Shah wrote:
> On May 28, 2021, at 3:12 PM, Mark Johnston wrote:
> >
> > On Fri, May 28, 2021 at 02:40:26PM -0700, Bakul Shah wrote:
> >> ttcp runs fine on 13.0-RELEASE but fails on -stable.
> >>
> >> The culprit seems to be bind(2). Running ttcp un
On May 28, 2021, at 3:12 PM, Mark Johnston wrote:
>
> On Fri, May 28, 2021 at 02:40:26PM -0700, Bakul Shah wrote:
>> ttcp runs fine on 13.0-RELEASE but fails on -stable.
>>
>> The culprit seems to be bind(2). Running ttcp under gdb:
>>
>> $ gdb a.out
>> Reading symbols from a.out...
>> (gdb) b
On Fri, May 28, 2021 at 02:40:26PM -0700, Bakul Shah wrote:
> ttcp runs fine on 13.0-RELEASE but fails on -stable.
>
> The culprit seems to be bind(2). Running ttcp under gdb:
>
> $ gdb a.out
> Reading symbols from a.out...
> (gdb) b 295
> Breakpoint 1 at 0x203127: file ttcp.c, line 295.
> (gdb)
ttcp runs fine on 13.0-RELEASE but fails on -stable.
The culprit seems to be bind(2). Running ttcp under gdb:
$ gdb a.out
Reading symbols from a.out...
(gdb) b 295
Breakpoint 1 at 0x203127: file ttcp.c, line 295.
(gdb) run -s -r
Starting program: /usr/ports/benchmarks/ttcp/work/ttcp-1.12_2/a.out
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256217
--- Comment #6 from Michael Tuexen ---
(In reply to Christos Chatzaras from comment #5)
Thanks for testing, I guess you confirmed what I assumed is causing the
behaviour.
I have no idea why this happens and if it is sort of expected or not
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256217
--- Comment #5 from Christos Chatzaras ---
To avoid reboot I did this which I believe is the same:
sysctl net.inet.tcp.functions_default
net.inet.tcp.functions_default: freebsd
kldload tcp_rack
sysctl net.inet.tcp.functions_default=rack
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256217
--- Comment #4 from Michael Tuexen ---
So loading the RACK module, but not loading it, does not trigger the issue.
Getting rid of all RACK based TCP connections seems to resolve the issue.
Can you do the following experiment?
1) Load RAC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256217
Mark Linimon changed:
What|Removed |Added
Assignee|b...@freebsd.org|n...@freebsd.org
--
You are receiv