Problem reports for b...@freebsd.org that need special attention

2023-12-17 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
New |223470 | freebsd-update: Cannot identify running kernel (/ 
New |233874 | cron should only read '*.conf' files in the cron. 
New |235085 | [PATCH] Option to make rc.d/sysctl more verbose ( 
New |252123 | fetch(3): Fix wrong usage of proxy when request i 
New |262764 | After DVD1 13.0-R install with ports tree, portsn 
New |262989 | sys/conf/files, sys/conf/options, sys/conf/NOTES: 
New |270536 | By default ntpd does not work on IPv6-only hosts  
Open| 46441 | sh(1): Does not support PS1, PS2, PS4 parameter e 
Open|165059 | vtnet(4): Networking breaks with a router using v 
Open|177821 | sysctl: Some security.jail nodes are funky, dupli 
Open|182466 | headers: make  self-contained   
Open|192573 | Add ps(1) option: Print process start time in sec 
Open|197921 | scheduler: Allow non-migratable threads to bind t 
Open|206649 | cyapa(4): Add common gestures for Cypress APA I2C 
Open|212608 | sockstat(1) and lsof(8) can not identity the owne 
Open|220246 | syslogd does not send RFC3164-conformant messages 
Open|226893 | freebsd-update: Support patchlevel argument for f 
Open|232914 | kern/kern_resource: Integer overflow in function  
Open|233578 | Unprivileged local user can prevent other users l 
Open|233988 | freebsd-update: Improve progress output on termin 
Open|234457 | Reproducible kernel panic on j1900 Intel Baytrail 
Open|236718 | system panics with message: vm_fault_hold: fault  
Open|237287 | moused(8) ignores button release events in virtua 
Open|237924 | Possible infinite loop in function empty_aux_buff 
Open|238183 | cam/scsi/scsi_sa.c: warnings issued by static ana 
Open|238486 | Possible buffer overflow bug in sc_allocate_keybo 
Open|238550 | Touchpad (via SMBus) not working: Synaptics (SYN1 
Open|238638 | mfi: Remove unnecessary pointer printing in mfi.c 
Open|238837 | init: Remove P_SYSTEM flag from PID 1 to allow ea 
Open|241697 | i915kms: Kernel panic loading module on custom ke 
Open|243177 | open(2): Add O_CREATFIFO flag 
Open|248352 | mfi(4): Remove RAID map sync functionality
Open|250309 | devmatch: panic: general protection fault: sysctl 
Open|255130 | Issue with rtsx driver
Open|256952 | kqueue(2): Improve epoll Linux compatibility (com 
Open|257149 | CFLAGS not passed to whole build  
Open|257646 | opensm: rc service is installed by default, but o 
Open|258665 | lib/libfetch: Add Happy Eyeballs (RFC8305) suppor 
Open|259292 | vmware/pvscsi: UNMAP fails on VMWare 6.7 thinly p 
Open|259636 | multiple components: Change "Take Affect" to "Tak 
Open|259640 | snd_hda(4): Fix sound output in Lenovo Ideapad 33 
Open|259655 | periodic: security/security.functions does not re 
Open|259703 | In sys/dev/pci/pci.c, error in do_power_nodriver  
Open|259808 | etc/periodic/daily/100.clean-disks: Fix error (Di 
Open|260214 | acpi_battery: Should provide current/max battery  
Open|260245 | swap/vm: Apparent memory leak: 100% swap usage
Open|261640 | sysctl: Add -F option to display sysctl format st 
Open|261641 | drm-kmod: Launch message is written into (possibl 
Open|261771 | nvme(4): Reports errors every 5 minutes: PRP OFFS 
Open|261971 | kernel crash launching bhyve guest on ZFS: #15 bu 
Open|262157 | su+j: Crashes during mmc(4) fsck after timeout: E 
Open|262192 | Crashes at boot with kern.random.initial_seeding. 
Open|264028 | loader: Incorrect (32gb) memory reported by BTX l 
Open|264075 | freebsd-update in 13.1-RELEASE detects an install 
Open|264188 | kinit(1): Ignores KRB5CCNAME environment variable 
Open|264226 | setting kern.vty=sc causes hang during UEFI boot  
Open|264757 | fetch: Show correct port number in -vv output 
Open|264833 | 12.3-STABLE panic on sync and reboot: panic: slee 
Open|266419 | mrsas: Corrupts memory (crashes) when reading dat 
Open|269767 | VM 

[Bug 275799] Inactive link in /etc/default/rc.conf for variable ntp_leapfile_sources (IETF change)

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275799

Mark Linimon  changed:

   What|Removed |Added

Summary|Inactive link in|Inactive link in
   |/etc/default/rc.conf for|/etc/default/rc.conf for
   |variable|variable
   |ntp_leapfile_sources|ntp_leapfile_sources (IETF
   ||change)
   Assignee|b...@freebsd.org|r...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 275798] panic: sackhint bytes rtx >= 0

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275798

Richard Scheffenegger  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|rsch...@freebsd.org

--- Comment #4 from Richard Scheffenegger  ---
Can you please enable bblogging:

Enable BBR logging for all TCP sessions:

# sysctl net.inet.tcp.bb.log_auto_mode=4
# sysctl net.inet.tcp.bb.log_auto_all=1
# sysctl net.inet.tcp.bb.log_auto_ratio=1

when this panic is easily reproducible? 

Alternatively, a tcpdump of the tcp session(s) within the ipsec tunnel (not a
interface packet capture, but after the decoding). 

The core should then contain full chains of the relevant information we could
extract offline...


The full sequence of tcp packets from the onset of packet loss and the ACKs
(with SACKs) from the remote side should yield some clue why this is happening.

This appears to be some kind of SACK (selective acknowledgment) accounting
error - but no recent change in this area...

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 275798] panic: sackhint bytes rtx >= 0

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275798

--- Comment #3 from Konstantin Belousov  ---
For me it looks as if a special handling is missing for the transient IPSEC
errors, similar to how EPERM from fw is handled.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 275798] panic: sackhint bytes rtx >= 0

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275798

--- Comment #2 from Konstantin Belousov  ---
(In reply to Michael Tuexen from comment #1)
Yes it seems we get it on each internal regressions' run.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 275798] panic: sackhint bytes rtx >= 0

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275798

--- Comment #1 from Michael Tuexen  ---
Is this reproducible in any way?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 275799] Inactive link in /etc/default/rc.conf for variable ntp_leapfile_sources

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275799

Bug ID: 275799
   Summary: Inactive link in /etc/default/rc.conf for variable
ntp_leapfile_sources
   Product: Base System
   Version: 14.0-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: conf
  Assignee: b...@freebsd.org
  Reporter: free...@ovibus.nl

In /etc/default/rc.conf the variable
ntp_leapfile_sources="https://www.ietf.org/timezones/data/leap-seconds.list;
points to an inactive link. 

An active link is "https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list;

Can this be changed?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 275798] panic: sackhint bytes rtx >= 0

2023-12-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275798

Bug ID: 275798
   Summary: panic: sackhint bytes rtx >= 0
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: ddan...@nvidia.com

During IPSEC regression, got Kernel Panic 
when ran traffic over tunnel mode and did ipsec restart in parallel



Unread portion of the kernel message buffer:
[8118.158276] panic: sackhint bytes rtx >= 0
[8118.169026] cpuid = 8
[8118.183306] time = 1702046494
[8118.197593] KDB: stack backtrace:
[8118.212342] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfe01579543b0
[8118.227297] vpanic() at vpanic+0x132/frame 0xfe01579544e0
[8118.241552] panic() at panic+0x43/frame 0xfe0157954540
[8118.255964] tcp_sack_doack() at tcp_sack_doack+0x83c/frame 0xfe01579545d0
[8118.270235] tcp_do_segment() at tcp_do_segment+0x20f2/frame
0xfe01579546b0
[8118.284532] tcp_input_with_port() at tcp_input_with_port+0x1157/frame
0xfe0157954800
[8118.298806] tcp_input() at tcp_input+0xb/frame 0xfe0157954810
[8118.313084] ip_input() at ip_input+0x2ab/frame 0xfe0157954870
[8118.327340] netisr_dispatch_src() at netisr_dispatch_src+0xad/frame
0xfe01579548d0
[8118.341622] gif_input() at gif_input+0x241/frame 0xfe0157954920
[8118.355939] in_gif_input() at in_gif_input+0x74/frame 0xfe0157954960
[8118.370225] encap_input() at encap_input+0xd7/frame 0xfe01579549d0
[8118.384523] encap4_input() at encap4_input+0x26/frame 0xfe0157954a00
[8118.398803] ip_input() at ip_input+0x2ab/frame 0xfe0157954a60
[8118.413058] netisr_dispatch_src() at netisr_dispatch_src+0xad/frame
0xfe0157954ac0
[8118.427347] ether_demux() at ether_demux+0x17a/frame 0xfe0157954af0
[8118.441647] ether_nh_input() at ether_nh_input+0x39f/frame 0xfe0157954b40
[8118.455928] netisr_dispatch_src() at netisr_dispatch_src+0xad/frame
0xfe0157954ba0
[8118.470195] ether_input() at ether_input+0xd9/frame 0xfe0157954c00
[8118.484537] tcp_lro_flush_all() at tcp_lro_flush_all+0xdc/frame
0xfe0157954c50
[8118.498580] mlx5e_rx_cq_comp() at mlx5e_rx_cq_comp+0x1241/frame
0xfe0157954d70
[8118.512841] mlx5_cq_completion() at mlx5_cq_completion+0x74/frame
0xfe0157954dd0
[8118.527130] mlx5_eq_int() at mlx5_eq_int+0x28a/frame 0xfe0157954e30
[8118.541408] mlx5_msix_handler() at mlx5_msix_handler+0x15/frame
0xfe0157954e40
[8118.555698] lkpi_irq_handler() at lkpi_irq_handler+0x29/frame
0xfe0157954e60
[8118.570117] ithread_loop() at ithread_loop+0x266/frame 0xfe0157954ef0
[8118.584389] fork_exit() at fork_exit+0x82/frame 0xfe0157954f30
[8118.598289] fork_trampoline() at fork_trampoline+0xe/frame 0xfe0157954f30
[8118.611898] --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
[8118.626197] Uptime: 2h15m18s
[8118.663701] Dumping 1731 out of 32701
MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

__curthread () at /usr/kernel_git/sys/amd64/include/pcpu_aux.h:57
57  __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct
pcpu,
(kgdb) #0  __curthread () at /usr/kernel_git/sys/amd64/include/pcpu_aux.h:57
#1  doadump (textdump=textdump@entry=1) at
/usr/kernel_git/sys/kern/kern_shutdown.c:403
#2  0x80b3b390 in kern_reboot (howto=260) at
/usr/kernel_git/sys/kern/kern_shutdown.c:521
#3  0x80b3b88f in vpanic (fmt=0x8114668e "sackhint bytes rtx >=
0", ap=ap@entry=0xfe0157954520)
at /usr/kernel_git/sys/kern/kern_shutdown.c:965
#4  0x80b3b633 in panic (fmt=) at
/usr/kernel_git/sys/kern/kern_shutdown.c:889
#5  0x80d3ba6c in tcp_sack_doack (tp=,
to=0xfe01579545e8, th_ack=) at
/usr/kernel_git/sys/netinet/tcp_sack.c:779
#6  0x80d2cbe2 in tcp_do_segment (tp=0xf8022bcf,
tp@entry=,
m=0xf80368fe5000, 
m@entry=,
th=0xf80368fe5098, th@entry=, 
drop_hdrlen=64, drop_hdrlen@entry=, tlen=, 
tlen@entry=,
iptos=, iptos@entry=)
at /usr/kernel_git/sys/netinet/tcp_input.c:2501
#7  0x80d2a0a7 in tcp_input_with_port (mp=,
offp=, proto=, port=port@entry=0)
at /usr/kernel_git/sys/netinet/tcp_input.c:1160
#8  0x80d2aadb in tcp_input (mp=, offp=,
proto=) at /usr/kernel_git/sys/netinet/tcp_input.c:1492
#9  0x80d1888b in ip_input (m=0x0, m@entry=) at /usr/kernel_git/sys/netinet/ip_input.c:861
#10 0x80c9393d in netisr_dispatch_src (proto=proto@entry=1,
source=source@entry=0, m=0xf80368fe5000) at
/usr/kernel_git/sys/net/netisr.c:1152
#11 0x80c93c7f in netisr_dispatch (proto=, proto@entry=1,
m=) at /usr/kernel_git/sys/net/netisr.c:1243
#12 0x80c77da1 in gif_input (m=,
m@entry=0xf80368fe5000, ifp=ifp@entry=0xf8000b26c800,
proto=proto@entry=4, 
ecn=, ecn@entry=0 '\000') at
/usr/kernel_git/sys/net/if_gif.c:587
#13 0x80d092c4