[Bug 266419] mrsas: Corrupts memory (crashes) when reading data from NVMe disk attached to PERC H755N controller

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266419

--- Comment #5 from Rebecca Cran  ---
Commit f28ecf2b63ff886fa59637c8aa8f0ce7b7f4202f from 13-CURRENT appears to
work.

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


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

2022-09-18 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 |197876 | [devfs] an error in devfs leads to data loss and  
New |198797 | [PATCH] Added an option to install BSDstats to bs 
New |202362 | ntp: restore refclocks selection (10.2-RELEASE re 
New |202740 | vi/ex string substitution problem when there is m 
New |204097 | witness_initialize() does not perform bound check 
New |206336 | [patch] usr.sbin/freebsd-update allow proxy confi 
New |209213 | UEFI Loader shows only black screen with Nvidia G 
New |210804 | installerconfig - using ZFS create in custom scri 
New |223470 | freebsd-update: Cannot identify running kernel (/ 
New |230620 | "install -d" issue
New |235085 | [PATCH] Option to make rc.d/sysctl more verbose ( 
New |252123 | fetch(3): Fix wrong usage of proxy when request i 
Open|177821 | sysctl: Some security.jail nodes are funky, dupli 
Open|182466 | [headers] [patch] make  self-contained  
Open|183618 | [panic] Dell PowerEdge R620 -- PERC H710 Mini (mf 
Open|187015 | agpgart: Panic make_dev_credv: bad si_name (error 
Open|192573 | Add ps(1) option: Print process start time in sec 
Open|194925 | [pf] [ifconfig] interface group keywords do not w 
Open|197921 | scheduler: Allow non-migratable threads to bind t 
Open|206528 | Emulex LPe 16002 FC HBA Not Recognized by oce(4)  
Open|206649 | cyapa(4): Add common gestures for Cypress APA I2C 
Open|207940 | stand/efi/boot1: Add boot partition selection 
Open|212608 | sockstat(1) and lsof(8) can not identity the owne 
Open|220246 | syslogd does not send RFC3164-conformant messages 
Open|221305 | Mouse cursor loss when moving cursor while loadin 
Open|221550 | kern.bootfile returns only /kernel on mips64 (ERL 
Open|221854 | makefs: Reject UFS labels that are too long to fi 
Open|226893 | freebsd-update: Support patchlevel argument for f 
Open|231810 | [build] release always fails with "mkimg: partiti 
Open|233578 | Unprivileged local user can prevent other users l 
Open|233988 | freebsd-update: Improve progress output on termin 
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|247132 | Fix build error: use of undeclared identifier 'cp 
Open|248352 | mfi(4): Remove RAID map sync functionality
Open|257149 | CFLAGS not passed to whole build  
New |260138 | TPM2 Support in bootloader / kernel in order to r 
New |261306 | Geli rc.d script does not support insertion of US 
New |262957 | mpr(4), mps(4): change formally to formerly   
Open|179832 | manual page of mac_from_text suggests incorrect f 

47 problems total for which you should take action.


[Bug 266486] panic in iflib: Assertion CPU_COUNT(>ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266486

--- Comment #1 from Rebecca Cran  ---
Created attachment 236674
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236674=edit
Linux kernel 5.10 dmesg showing SRAT etc.

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


[Bug 266486] panic in iflib: Assertion CPU_COUNT(>ifc_cpus) > 0 failed at /usr/src/sys/net/iflib.c:5150

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266486

Bug ID: 266486
   Summary: panic in iflib: Assertion CPU_COUNT(>ifc_cpus) >
0 failed at /usr/src/sys/net/iflib.c:5150
   Product: Base System
   Version: CURRENT
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: bc...@freebsd.org

Machine: PowerEdge R7525 with 2x EPYC 7713
FreeBSD 14.0-CURRENT #0 main-n257957-975407b1d8d-dirty: Sun Sep 18 10:05:52 MDT
2022

After bumping MAXMEMDOM in acpica from 8 to 16 in an attempt to resolve the
boot message "SRAT: Too many memory domains", FreeBSD panics on boot.

---<>---
Copyright (c) 1992-2022 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.0-CURRENT #0 main-n257957-975407b1d8d-dirty: Sun Sep 18 10:05:52 MDT
2022
bcran@timp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git
llvmorg-14.0.5-0-gc12386ae247c)
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 1024x768
CPU: AMD EPYC 7713 64-Core Processor (1996.37-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0xa00f11  Family=0x19  Model=0x1  Stepping=1
 
Features=0x178bfbff
 
Features2=0x7efa320b
  AMD Features=0x2e500800
  AMD
Features2=0x75c237ff
  Structured Extended
Features=0x219c97a9
  Structured Extended Features2=0x40069c
  Structured Extended Features3=0x10
  XSAVE Features=0xf
  AMD Extended Feature Extensions ID
EBX=0x91bef75f
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 277021196288 (264188 MB)
avail memory = 267217731584 (254838 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 256 CPUs
FreeBSD/SMP: 2 package(s) x 8 cache groups x 8 core(s) x 2 hardware threads
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0  irqs 0-23
ioapic1  irqs 120-151
ioapic2  irqs 88-119
ioapic3  irqs 56-87
ioapic4  irqs 24-55
ioapic5  irqs 248-279
ioapic6  irqs 216-247
ioapic7  irqs 184-215
ioapic8  irqs 152-183
Launching APs: 53 59 50 55 58 54 63 51 49 62 48 61 56 60 57 52 37 39 35 43 36
42 38 34 46 44 47 33 45 32 41 25 40 29 22 27 23 28 19 26 18 30 17 31 16 24 20 4
2 21 9 3 6 10 7 1 11 8 15 12 14 5 13 105 106 104 102 107 103 98 111 99 110 108
96 109 97 101 120 122 115 100 121 123 118 126 119 114 127 125 112 124 113 116
69 67 75 70 74 66 71 78 65 79 117 68 76 72 64 77 73 93 90 82 86 83 92 87 91 95
80 94 81 84 89 85 88 181 180 186 179 177 187 183 176 182 178 190 185 191 188
184 189 165 170 162 164 168 171 167 160 166 175 163 161 174 172 169 173 216 218
210 214 213 219 211 209 215 208 220 223 221 222 212 217 207 203 198 202 195 199
196 194 197 205 206 193 204 192 200 244 250 245 251 246 243 247 242 254 240 255
253 241 252 248 201 249 228 234 227 231 235 226 230 239 225 229 238 237 224 236
233 148 154 159 150 155 146 145 147 151 144 157 158 156 153 149 152 232 137 132
138 133 140 139 136 135 128 141 134 142 131 129 143 130
random: entropy device external interface
kbd0 at kbdmux0
efirtc0: 
efirtc0: registered as a time-of-day clock, resolution 1.00s
smbios0:  at iomem 0x69796000-0x6979601e
smbios0: Version: 3.3, BCD Revision: 3.3
aesni0: 
acpi0: 
acpi0: Power Button (fixed)
hpet0:  iomem 0xfed0-0xfed001ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 350
Event timer "HPET2" frequency 14318180 Hz quality 350
attimer0:  port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0:  port 0x70-0x71 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.00s
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
apei0:  on acpi0
pcib0:  port 0xcf8-0xcff numa-domain 6 on acpi0
pci0:  numa-domain 6 on pcib0
pci0:  at device 0.2 (no driver attached)
pcib1:  at device 1.1 numa-domain 7 on pci0
pci1:  numa-domain 7 on pcib1
AVAGO MegaRAID SAS FreeBSD mrsas driver version: 07.709.04.00-fbsd
mrsas0:  port 0x2000-0x20ff mem
0x9ec0-0x9ecf,0x9ed0-0x9edf,0x9f20-0x9f2f at device 0.0
numa-domain 7 on pci1
mrsas0: FW now in Ready state
mrsas0: Using MSI-X with 128 number of vectors
mrsas0: FW supports <128> MSIX vector,Online CPU 256 Current MSIX <128>
mrsas0: mrsas_init_adapter: sc->reply_q_depth 

[Bug 235657] /usr/libexec/atrun race causes missed jobs

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235657

k...@denninger.net changed:

   What|Removed |Added

 Resolution|--- |Overcome By Events
 Status|New |Closed

--- Comment #6 from k...@denninger.net ---
At some point in more-recent builds this has disappeared; with 12.3 I cannot
duplicate it without the patch, thus closed.

My system did not have the "extra" (old) entry as bitbucket noted.

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


[Bug 266482] Linprocfs: /proc/net/route would be nice to have

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266482

Bug ID: 266482
   Summary: Linprocfs:  /proc/net/route would be nice to have
   Product: Base System
   Version: 13.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: p...@freebsd.org

It would be nice if linprocfs supported /proc/net/route.

My specific need is Siemens PLC-configuration tool "LOGO Comfort"

I managed to find a workaround, but it is clunky:

https://wiki.freebsd.org/electronics/plc

Thanks in advance!

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


[Bug 266480] Panic "sleeping thread" with qlnxe driver

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266480

Bug ID: 266480
   Summary: Panic "sleeping thread" with qlnxe driver
   Product: Base System
   Version: 12.3-STABLE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: leonardo.se...@unirel.com

Created attachment 236659
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236659=edit
Dump info

Dear Support Team,

I am experiencing problems using the qlnxe driver with a QLogic 41000 series
device.

A crash occurs simply by enabling or disabling a VLAN interface created on a
NIC .

I assume that the operation triggers a series of hotplug events raises critical
runs that generates conflicts.

Attached is the crash report.

Best regards

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


[Bug 266477] PF does not obey ICMP rate limits

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266477

--- Comment #1 from Daniel O'Connor  ---
Also, there is net.inet6.icmp6.errppslimit however it does not appear to be
connected to anything..

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


[Bug 266477] PF does not obey ICMP rate limits

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266477

Bug ID: 266477
   Summary: PF does not obey ICMP rate limits
   Product: Base System
   Version: 13.1-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: dar...@dons.net.au
CC: k...@freebsd.org

PF emits ICMP messages for blocked connections (when return is set) but it does
not call the rate limit code (badport_bandlim) and hence will send them at an
unlimited rate. IMO this is a POLA violation.

Furthermore the IPv6 stack does not appear to call it either, badport_bandilm
has BANDLIM_ICMP6_UNREACH but it does not appear to be used.

I think it would make more sense to move the rate limiting code into
icmp_error/icmp6_error and perhaps also add some per-ICMP type stats exposed as
sysctls.

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


[Bug 233098] can not find lua loader

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098

Kyle Evans  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed
  Flags||mfc-stable13+,
   ||mfc-stable12+

--- Comment #12 from Kyle Evans  ---
Please open a new report for any similar errors that still reproduce after
upcoming snapshots. Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 233098] can not find lua loader

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098

--- Comment #11 from commit-h...@freebsd.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8a832ed2f8c1f87f6461d7a6932cec357b04e538

commit 8a832ed2f8c1f87f6461d7a6932cec357b04e538
Author: Kyle Evans 
AuthorDate: 2022-09-08 00:35:06 +
Commit: Kyle Evans 
CommitDate: 2022-09-17 19:32:52 +

stand: i386: take into account disk sector size for blk calculation

disk_blocks assumes BIOSDISK_SECSIZE, but the media may not be using
it.  In particular, bioscd on Parallels presents a 2K sector size, so
we end up with a short disk_blocks and subsequent validation fails when
trying to read /boot/lua.

PR: 233098
Reviewed by:imp, tsoome

(cherry picked from commit 72291cee075d9ef1a608b2a67762b44e024cc0d4)

 stand/i386/libi386/biosdisk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug 233098] can not find lua loader

2022-09-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098

--- Comment #10 from commit-h...@freebsd.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=7e04dc0797f3265a10975cac2670f0407487a925

commit 7e04dc0797f3265a10975cac2670f0407487a925
Author: Kyle Evans 
AuthorDate: 2022-09-08 00:35:06 +
Commit: Kyle Evans 
CommitDate: 2022-09-18 06:26:40 +

stand: i386: take into account disk sector size for blk calculation

disk_blocks assumes BIOSDISK_SECSIZE, but the media may not be using
it.  In particular, bioscd on Parallels presents a 2K sector size, so
we end up with a short disk_blocks and subsequent validation fails when
trying to read /boot/lua.

PR: 233098
Reviewed by:imp, tsoome

(cherry picked from commit 72291cee075d9ef1a608b2a67762b44e024cc0d4)

 stand/i386/libi386/biosdisk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.