Date: Fri, 23 Feb 2024 11:11:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277240] sysctl -A crashing host. sysctl -a works Message-ID: <bug-277240-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277240 Bug ID: 277240 Summary: sysctl -A crashing host. sysctl -a works Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lindens09.grouses@icloud.com System is a CWWK N6005 Appliance with i226 NICs running OPNsense. root@opnframe:~ # uname -a FreeBSD opnframe.removed 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 stable/24.1-n254984-f7b006edfa8 SMP amd64 root@opnframe:~ # execution of sysctl -A causes a instant reboot.=20 sysctl -a works. output until crash: root@opnframe:~ # sysctl -A kern.ostype: FreeBSD kern.osrelease: 13.2-RELEASE-p10 kern.osrevision: 199506 kern.version: FreeBSD 13.2-RELEASE-p10 stable/24.1-n254984-f7b006edfa8 SMP kern.maxvnodes: 345608 kern.maxproc: 21508 kern.maxfiles: 515848 kern.argmax: 524288 kern.securelevel: -1 kern.hostname: opnframe.REMOVED kern.hostid: 1391663422 kern.clockrate: { hz =3D 1000, tick =3D 1000, profhz =3D 8128, stathz =3D 1= 27 } kern.proc.all: Format:S,proc Length:459136 Dump:0x40040000000000000000000000000000... kern.proc.proc: Format:N Length:94656 Dump:0x40040000000000000000000000000000... kern.proc.proc_td: Format:N Length:459136 Dump:0x40040000000000000000000000000000... kern.file: Format:S,xfile Length:110464 Dump:0x80000000000000009ef7000000000000... kern.posix1version: 200112 kern.ngroups: 1023 kern.job_control: 1 kern.saved_ids: 0 kern.boottime: { sec =3D 1708607767, usec =3D 919207 } Thu Feb 22 14:16:07 = 2024 kern.domainname: kern.osreldate: 1302001 kern.bootfile: /boot/kernel/kernel kern.maxfilesperproc: 464256 kern.maxprocperuid: 19357 kern.ipc.maxsockbuf: 4262144 kern.ipc.sockbuf_waste_factor: 8 kern.ipc.max_linkhdr: 16 kern.ipc.max_protohdr: 60 kern.ipc.max_hdr: 76 kern.ipc.max_datalen: 92 kern.ipc.sooverinterval: 60 kern.ipc.maxsockets: 515848 kern.ipc.numopensockets: 207 kern.ipc.soacceptqueue: 128 kern.ipc.tls.toe.chacha20: 0 kern.ipc.tls.toe.gcm: 0 kern.ipc.tls.toe.cbc: 0 kern.ipc.tls.ifnet.permitted: 0 kern.ipc.tls.ifnet.reset_failed: 0 kern.ipc.tls.ifnet.reset_dropped: 0 kern.ipc.tls.ifnet.reset: 0 kern.ipc.tls.ifnet.chacha20: 0 kern.ipc.tls.ifnet.gcm: 0 kern.ipc.tls.ifnet.cbc: 0 kern.ipc.tls.sw.chacha20: 0 kern.ipc.tls.sw.gcm: 0 kern.ipc.tls.sw.cbc: 0 kern.ipc.tls.tasks_active: 0 kern.ipc.tls.cbc_enable: 1 kern.ipc.tls.enable: 0 kern.ipc.tls.maxlen: 16384 kern.ipc.tls.bind_threads: 1 kern.ipc.tls.allow_unload: 0 kern.ipc.tls.stats.switch_failed: 0 kern.ipc.tls.stats.switch_to_sw: 0 kern.ipc.tls.stats.switch_to_ifnet: 0 kern.ipc.tls.stats.failed_crypto: 0 kern.ipc.tls.stats.corrupted_records: 0 kern.ipc.tls.stats.active: 0 kern.ipc.tls.stats.enable_calls: 0 kern.ipc.tls.stats.offload_total: 0 kern.ipc.tls.stats.sw_rx_inqueue: 0 kern.ipc.tls.stats.sw_tx_inqueue: 0 kern.ipc.tls.stats.sw_tx_pending: 0 kern.ipc.tls.stats.threads: 4 kern.ipc.shmsegs: Format: Length:19968 Dump:0x00000000000000000000000000000000... kern.ipc.shm_allow_removed: 1 kern.ipc.shm_use_phys: 0 kern.ipc.shmall: 131072 kern.ipc.shmseg: 128 kern.ipc.shmmni: 192 kern.ipc.shmmin: 1 kern.ipc.shmmax: 536870912 kern.ipc.sema: Format: Length:4000 Dump:0x00000000000000000000000000000000.= .. kern.ipc.semaem: 16384 kern.ipc.semvmx: 32767 kern.ipc.semusz: 632 kern.ipc.semume: 50 kern.ipc.semopm: 100 kern.ipc.semmsl: 340 kern.ipc.semmnu: 150 kern.ipc.semmns: 340 kern.ipc.semmni: 50 kern.ipc.msqids: Format: Length:4800 Dump:0x0000000000000000000000000000000= 0... kern.ipc.msgseg: 2048 kern.ipc.msgssz: 8 kern.ipc.msgtql: 40 kern.ipc.msgmnb: 2048 kern.ipc.msgmni: 40 kern.ipc.msgmax: 16384 kern.ipc.aio.lifetime: 30000 kern.ipc.aio.target_procs: 4 kern.ipc.aio.num_procs: 0 kern.ipc.aio.max_procs: 32 kern.ipc.aio.empty_retries: 0 kern.ipc.aio.empty_results: 0 kern.ipc.piperesizeallowed: 1 kern.ipc.piperesizefail: 0 kern.ipc.pipeallocfail: 0 kern.ipc.pipefragretry: 0 kern.ipc.pipekva: 827392 kern.ipc.maxpipekva: 264114176 kern.ipc.umtx_max_robust: 1000 kern.ipc.umtx_vnode_persistent: 0 kern.ipc.sfstat: Format:I Length:88 Dump:0x00000000000000000000000000000000= ... kern.ipc.nmbufs: 6409532 kern.ipc.nmbjumbo16: 83457 kern.ipc.nmbjumbo9: 148368 kern.ipc.nmbjumbop: 500744 kern.ipc.nmbclusters: 1001489 kern.ipc.num_snd_tags: 0 kern.ipc.maxmbufmem: 8204201984 kern.ipc.mb_use_ext_pgs: 1 kern.ps_strings: 49749686519200 kern.usrstack: 49749686521856 kern.logsigexit: 1 kern.iov_max: 1024 kern.hostuuid: 3752709c-7b23-11ec-9ae2-7c2be113920f kern.maxphys: 1048576 kern.lockf: Format:S,lockf Length:59840 Dump:0x400400000200000001000000ffffffff... kern.cryptodevallowsoft: 0 kern.userasymcrypto: 1 kern.crypto_workers_num: 4 kern.crypto.stats: Format:S Length:64 Dump:0x63190000000000000000000000000000... kern.crypto.allow_soft: 0 kern.crypto.asym_enable: 1 kern.crypto.num_workers: 4 kern.minvnodes: 86402 kern.metadelay: 28 kern.dirdelay: 29 kern.filedelay: 30 kern.tty_nout: 2670637 kern.tty_nin: 52880 kern.tty_inq_flush_secure: 1 kern.tty_info_kstacks: 2 parall in /var/log/system/latest <45>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED syslog-ng 15995 - [meta sequenceId=3D"1"] syslog-ng starting up; version=3D'4.6.0' <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"2"] frame pointer =3D 0x28:0xfffffe0117267bd0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"3"] code segment =3D base 0x0, limit 0xfffff, type 0= x1b <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"4"] =3D DPL 0, pres 1, long 1, def32 0,= gran 1 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"5"] processor eflags =3D interrupt enabled, resume, IOPL= =3D 0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"6"] current process =3D 63390 (sysctl) <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"7"] trap number =3D 12 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"8"] panic: page fault <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"9"] cpuid =3D 0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"10"] time =3D 1708607919 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"11"] KDB: stack backtrace: <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"12"] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/fr= ame 0xfffffe0117267950 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"13"] vpanic() at vpanic+0x151/frame 0xfffffe01172679a0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"14"] panic() at panic+0x43/frame 0xfffffe0117267a00 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"15"] trap_fatal() at trap_fatal+0x387/frame 0xfffffe0117267a60 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"16"] trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0117267a= c0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"17"] calltrap() at calltrap+0x8/frame 0xfffffe0117267ac0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"18"] --- trap 0xc, rip =3D 0xffffffff80d13641, rsp =3D 0xfffffe0117267b90, rbp =3D 0xfffffe0117267bd0 --- <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"19"] sysctl_kern_ttys() at sysctl_kern_ttys+0xb1/frame 0xfffffe0117267bd0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"20"] sysctl_root_handler_locked() at sysctl_root_handler_locked+0x90/frame 0xfffffe0117267c20 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"21"] sysctl_root() at sysctl_root+0x299/frame 0xfffffe0117267= ca0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"22"] userland_sysctl() at userland_sysctl+0x177/frame 0xfffffe0117267d50 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"23"] sys___sysctl() at sys___sysctl+0x5c/frame 0xfffffe011726= 7e00 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"24"] amd64_syscall() at amd64_syscall+0x10c/frame 0xfffffe0117267f30 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"25"] fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0117267f30 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"26"] --- syscall (202, FreeBSD ELF64, __sysctl), rip =3D 0x2d3f42169a6a, rsp =3D 0x2d3f40646898, rbp =3D 0x2d3f406468d0 --- <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"27"] KDB: enter: panic <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"28"] ---<<BOOT>>--- <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"29"] Copyright (c) 1992-2021 The FreeBSD Project. <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"30"] Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, = 1992, 1993, 1994 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"31"] The Regents of the University of California. All ri= ghts reserved. <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"32"] FreeBSD is a registered trademark of The FreeBSD Foundat= ion. <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"33"] FreeBSD 13.2-RELEASE-p10 stable/24.1-n254984-f7b006edfa8= SMP amd64 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"34"] FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"35"] VT(vga): resolution 640x480 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"36"] CPU: Intel(R) Pentium(R) Silver N6005 @ 2.00GHz (1996.80= -MHz K8-class CPU) <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"37"] Origin=3D"GenuineIntel" Id=3D0x906c0 Family=3D0x6 M= odel=3D0x9c=20 Stepping=3D0 <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"38"]=20=20 Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,= MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"39"]=20=20 Features2=3D0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,S= DBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSX= SAVE,RDRAND> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"40"] AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"41"] AMD Features2=3D0x101<LAHF,Prefetch> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"42"] Structured Extended Features=3D0x2394a2c3<FSGSBASE,TSCADJ,FDPEXC,SMEP,ERMS,NFPUSG,PQE,RDSEED,SM= AP,CLFLUSHOPT,CLWB,PROCTRACE,SHA> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"43"] Structured Extended Features2=3D0x18400124<UMIP,WAITPKG,GFNI,RDPID,MOVDIRI,MOVDIR64B> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"44"] Structured Extended Features3=3D0xfc000400<MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,CORE_CAP,SSBD> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"45"] XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"46"] IA32_ARCH_CAPS=3D0x6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,= MDS_NO> <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"47"] VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"48"] TSC: P-state invariant, performance statistics <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"49"] real memory =3D 17179869184 (16384 MB) <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"50"] avail memory =3D 16354148352 (15596 MB) <13>1 2024-02-22T14:19:39+01:00 opnframe.REMOVED kernel - - [meta sequenceId=3D"51"] Event timer "LAPIC" quality 600 --=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-277240-227>